Ansicht
Dokumentation

/PMG/ABT_GET_SA_METADATA - Read Sample Application Metadata RFC

/PMG/ABT_GET_SA_METADATA - Read Sample Application Metadata RFC

ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

,,Function module which will use 'Sample Application ID' 'Sample Application Version ID' 'Language' 'Fast Entry Application' as import parameters to get 'Sample Application' metadata from related tables.

Example

Import Parameters:

,,'Sample Application ID' = 54

,,'Sample Application Version ID' = 00001

,,'Language' = 'D'

,,'Fast Entry Application' = 00001

Example Code:

CALL FUNCTION '/PMG/ABT_GET_SA_METADATA'

EXPORTING

iv_pattern_id ,, = 54

IV_VERSION_ID = 00001

IV_LANGU = 'D'

IV_APPLICATION = 00001

IMPORTING

ES_PATTERN = LS_PATTERN

ES_NAME = LS_NAME

ES_TEMPLATE = LS_TEMPLATE

ES_FOLDER = LS_FOLDER.

Parameters:

The parameters uses in the function module are explained below:

Import Parameters:

1. IV_PATTERN_ID: This is the sample application ID, it is a required field.

2. IV_VERSION_ID: This is the sample application version ID. It is for filter 'Version' of the sample application.

3. IV_LANGU: This is the language key of the sample application. It is for filter 'Language' of the sample application because there maybe have more than one language be maintained for the sample application in the system.

4. IV_APPLICATION: This is application name; it is for filter the fast entry record in table '/PM0/3FJTEMPLATE' to get the template XML of the sample application.

Export Parameters:

1. ES_PATTERN: A structure containing the sample application's master data, for example: The sample application's ID, version and subordinated policy's ID.

2. ES_NAME: A structure containing language information of the sample application.

3. ES_TEMPLATE: A structure containing fast entry information of the sample application, for example: the template XML information of the sample application.

4. ES_FOLDER: A structure containing folder information of the sample application.

5. ET_BAPIRET2: A table containing the return information of the function module. The information message or error message will be returning to the user by the parameter.

Errors

Errors will be thrown under the following conditions:

1. If the import parameter 'Sample Application ID' is empty.

Notes

Further information





Parameters

ES_FOLDER
ES_NAME
ES_PATTERN
ES_TEMPLATE
ET_BAPIRET2
IV_APPLICATION
IV_LANGU
IV_PATTERN_ID
IV_VERSION_ID

Exceptions

Function Group

/SAPLGE_PROCESS_API

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3078 Date: 20240420 Time: 000320     sap01-206 ( 50 ms )