SAP MEREP_FIX_INT_TO_EXT_CONVERT_1 Function Module for Convert Fixed Format: Internal to External









MEREP_FIX_INT_TO_EXT_CONVERT_1 is a standard merep fix int to ext convert 1 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Convert Fixed Format: Internal to External processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for merep fix int to ext convert 1 FM, simply by entering the name MEREP_FIX_INT_TO_EXT_CONVERT_1 into the relevant SAP transaction such as SE37 or SE38.

Function Group: MEREP_RUNTIME_MASS
Program Name: SAPLMEREP_RUNTIME_MASS
Main Program: SAPLMEREP_RUNTIME_MASS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function MEREP_FIX_INT_TO_EXT_CONVERT_1 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'MEREP_FIX_INT_TO_EXT_CONVERT_1'"Convert Fixed Format: Internal to External
EXPORTING
DATA_IMPORT = "
MBL_ID = "ME Replica: ID of a mobile
* SCENARIO_ROOT = "SyncBO ID
* SCENARIO_CHILD = "SyncBO ID
* PARENT_SYNC_KEY = "Synchronization Key

IMPORTING
DATA_EXPORT = "ME Replica: Character 2048

CHANGING
* SYNC_KEY_ROOT = "Synchronization Key

TABLES
I_METADATA = "SAP Mobile: Metadata structure for scenario
* IE_CASCADE_DATA = "Cascade data
* IE_CASCADE_HEADER = "Container of Sync Key for TOP Structure
* IE_CASCADE_HEADER_ALL = "Container of Sync Key for TOP Structure
* IE_CASCADE_ITEM = "Container of Sync Key for Item Structure
* IE_REFERENCE = "Reference Recording
* IE_REFERENCE_CUR = "Reference Recording
* RETURN = "Return Parameter
.



IMPORTING Parameters details for MEREP_FIX_INT_TO_EXT_CONVERT_1

DATA_IMPORT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

MBL_ID - ME Replica: ID of a mobile

Data type: MEREP_MBL_ID
Optional: No
Call by Reference: Yes

SCENARIO_ROOT - SyncBO ID

Data type: MEREP_SCENARIO
Optional: Yes
Call by Reference: Yes

SCENARIO_CHILD - SyncBO ID

Data type: MEREP_SCENARIO
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARENT_SYNC_KEY - Synchronization Key

Data type: MEREP_SYNC_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for MEREP_FIX_INT_TO_EXT_CONVERT_1

DATA_EXPORT - ME Replica: Character 2048

Data type: MEREP_CHAR2048
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for MEREP_FIX_INT_TO_EXT_CONVERT_1

SYNC_KEY_ROOT - Synchronization Key

Data type: MEREP_SYNC_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MEREP_FIX_INT_TO_EXT_CONVERT_1

I_METADATA - SAP Mobile: Metadata structure for scenario

Data type: MEREP_SCEN_METADATA
Optional: No
Call by Reference: No ( called with pass by value option)

IE_CASCADE_DATA - Cascade data

Data type: MEREP_CASCADE_DATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

IE_CASCADE_HEADER - Container of Sync Key for TOP Structure

Data type: MEREP_TOP_CONTAINER
Optional: Yes
Call by Reference: No ( called with pass by value option)

IE_CASCADE_HEADER_ALL - Container of Sync Key for TOP Structure

Data type: MEREP_TOP_CONTAINER
Optional: Yes
Call by Reference: Yes

IE_CASCADE_ITEM - Container of Sync Key for Item Structure

Data type: MEREP_ITEM_CONTAINER
Optional: Yes
Call by Reference: No ( called with pass by value option)

IE_REFERENCE - Reference Recording

Data type: MEREP_108
Optional: Yes
Call by Reference: No ( called with pass by value option)

IE_REFERENCE_CUR - Reference Recording

Data type: MEREP_108
Optional: Yes
Call by Reference: No ( called with pass by value option)

RETURN - Return Parameter

Data type: BAPIRET2
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for MEREP_FIX_INT_TO_EXT_CONVERT_1 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_i_metadata  TYPE STANDARD TABLE OF MEREP_SCEN_METADATA, "   
lv_data_export  TYPE MEREP_CHAR2048, "   
lv_data_import  TYPE MEREP_CHAR2048, "   
lv_sync_key_root  TYPE MEREP_SYNC_KEY, "   
lv_mbl_id  TYPE MEREP_MBL_ID, "   
lt_ie_cascade_data  TYPE STANDARD TABLE OF MEREP_CASCADE_DATA, "   
lv_scenario_root  TYPE MEREP_SCENARIO, "   
lt_ie_cascade_header  TYPE STANDARD TABLE OF MEREP_TOP_CONTAINER, "   
lv_scenario_child  TYPE MEREP_SCENARIO, "   
lt_ie_cascade_header_all  TYPE STANDARD TABLE OF MEREP_TOP_CONTAINER, "   
lt_ie_cascade_item  TYPE STANDARD TABLE OF MEREP_ITEM_CONTAINER, "   
lv_parent_sync_key  TYPE MEREP_SYNC_KEY, "   
lt_ie_reference  TYPE STANDARD TABLE OF MEREP_108, "   
lt_ie_reference_cur  TYPE STANDARD TABLE OF MEREP_108, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'MEREP_FIX_INT_TO_EXT_CONVERT_1'  "Convert Fixed Format: Internal to External
    EXPORTING
         DATA_IMPORT = lv_data_import
         MBL_ID = lv_mbl_id
         SCENARIO_ROOT = lv_scenario_root
         SCENARIO_CHILD = lv_scenario_child
         PARENT_SYNC_KEY = lv_parent_sync_key
    IMPORTING
         DATA_EXPORT = lv_data_export
    CHANGING
         SYNC_KEY_ROOT = lv_sync_key_root
    TABLES
         I_METADATA = lt_i_metadata
         IE_CASCADE_DATA = lt_ie_cascade_data
         IE_CASCADE_HEADER = lt_ie_cascade_header
         IE_CASCADE_HEADER_ALL = lt_ie_cascade_header_all
         IE_CASCADE_ITEM = lt_ie_cascade_item
         IE_REFERENCE = lt_ie_reference
         IE_REFERENCE_CUR = lt_ie_reference_cur
         RETURN = lt_return
. " MEREP_FIX_INT_TO_EXT_CONVERT_1




ABAP code using 7.40 inline data declarations to call FM MEREP_FIX_INT_TO_EXT_CONVERT_1

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!