SAP ALM_MEREP_030_CHANGE_SD Function Module for NOTRANSL: Ändern Technischer Platz Server-Driven
ALM_MEREP_030_CHANGE_SD is a standard alm merep 030 change sd SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ändern Technischer Platz Server-Driven 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 alm merep 030 change sd FM, simply by entering the name ALM_MEREP_030_CHANGE_SD into the relevant SAP transaction such as SE37 or SE38.
Function Group: ALM_MEREP_030
Program Name: SAPLALM_MEREP_030
Main Program: SAPLALM_MEREP_030
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ALM_MEREP_030_CHANGE_SD 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 'ALM_MEREP_030_CHANGE_SD'"NOTRANSL: Ändern Technischer Platz Server-Driven.
EXPORTING
FUNCLOC_HEADER = "Equipment Number
* USER = "User Name
TABLES
* INSTALLATION_CHANGE = "Installation / Dismantling of Equipment in Technical Object
* CE_FLOC_INST_EQUIS = "Transfer User-Specific Fields to Mobile Device
* CE_FLOC_NOTIF_HISTORY = "Transfer User-Specific Fields to Mobile Device
* CE_FLOC_ORDER_HISTORY = "Transfer User-Specific Fields to Mobile Device
* CE_FLOC_CONTRACTS = "Transfer User-Specific Fields to Mobile Device
* CE_FLOC_WARRANTY = "Transfer User-Specific Fields to Mobile Device
* RETURN = "Return Parameter(s)
* WSAP_EXTENSION = "SAP SyncBO Enhancement
* FUNCLOC_INST_EQUIS = "Installed Equipment
* FUNCLOC_NOTIF_HISTORY = "Notification History for Technical Object
* FUNCLOC_ORDER_HISTORY = "Order History for Technical Object
* FUNCLOC_MEAS_POINTS = "Measuring Point Key
* FUNCLOC_CONTRACTS = "Contract Header
* FUNCLOC_PARTNERS = "Partner Key
* FUNCLOC_WARRANTY = "Warranty Data for Technical Object
* CE_FLOC_HEADER = "Transfer User-Specific Fields to Mobile Device
IMPORTING Parameters details for ALM_MEREP_030_CHANGE_SD
FUNCLOC_HEADER - Equipment Number
Data type: MAM_20_TOB_HEADER_SDOptional: No
Call by Reference: No ( called with pass by value option)
USER - User Name
Data type: ALM_ME_USER_DATA-USERIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ALM_MEREP_030_CHANGE_SD
INSTALLATION_CHANGE - Installation / Dismantling of Equipment in Technical Object
Data type: ALM_ME_TOB_INST_UNINSTOptional: Yes
Call by Reference: Yes
CE_FLOC_INST_EQUIS - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_NOTIF_HISTORY - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_ORDER_HISTORY - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_CONTRACTS - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_WARRANTY - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
WSAP_EXTENSION - SAP SyncBO Enhancement
Data type: ALM_ME_SAP_EXTENSIONOptional: Yes
Call by Reference: Yes
FUNCLOC_INST_EQUIS - Installed Equipment
Data type: MAM_20_INSTALLED_EQUIOptional: Yes
Call by Reference: Yes
FUNCLOC_NOTIF_HISTORY - Notification History for Technical Object
Data type: MAM_20_TOB_NOTIF_HISTORYOptional: Yes
Call by Reference: Yes
FUNCLOC_ORDER_HISTORY - Order History for Technical Object
Data type: MAM_20_TOB_ORDER_HISTORYOptional: Yes
Call by Reference: Yes
FUNCLOC_MEAS_POINTS - Measuring Point Key
Data type: ALM_ME_MEASMNT_PT_KEYOptional: Yes
Call by Reference: Yes
FUNCLOC_CONTRACTS - Contract Header
Data type: MAM_20_CONTRACT_HEADEROptional: Yes
Call by Reference: Yes
FUNCLOC_PARTNERS - Partner Key
Data type: ALM_ME_PARTNER_KEY_STRUCTOptional: Yes
Call by Reference: Yes
FUNCLOC_WARRANTY - Warranty Data for Technical Object
Data type: MAM_20_TOB_WARRANTYOptional: Yes
Call by Reference: Yes
CE_FLOC_HEADER - Transfer User-Specific Fields to Mobile Device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ALM_MEREP_030_CHANGE_SD 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: | ||||
| lv_funcloc_header | TYPE MAM_20_TOB_HEADER_SD, " | |||
| lt_installation_change | TYPE STANDARD TABLE OF ALM_ME_TOB_INST_UNINST, " | |||
| lt_ce_floc_inst_equis | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_notif_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_order_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_contracts | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_warranty | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_wsap_extension | TYPE STANDARD TABLE OF ALM_ME_SAP_EXTENSION, " | |||
| lv_user | TYPE ALM_ME_USER_DATA-USERID, " | |||
| lt_funcloc_inst_equis | TYPE STANDARD TABLE OF MAM_20_INSTALLED_EQUI, " | |||
| lt_funcloc_notif_history | TYPE STANDARD TABLE OF MAM_20_TOB_NOTIF_HISTORY, " | |||
| lt_funcloc_order_history | TYPE STANDARD TABLE OF MAM_20_TOB_ORDER_HISTORY, " | |||
| lt_funcloc_meas_points | TYPE STANDARD TABLE OF ALM_ME_MEASMNT_PT_KEY, " | |||
| lt_funcloc_contracts | TYPE STANDARD TABLE OF MAM_20_CONTRACT_HEADER, " | |||
| lt_funcloc_partners | TYPE STANDARD TABLE OF ALM_ME_PARTNER_KEY_STRUCT, " | |||
| lt_funcloc_warranty | TYPE STANDARD TABLE OF MAM_20_TOB_WARRANTY, " | |||
| lt_ce_floc_header | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT. " |
|   CALL FUNCTION 'ALM_MEREP_030_CHANGE_SD' "NOTRANSL: Ändern Technischer Platz Server-Driven |
| EXPORTING | ||
| FUNCLOC_HEADER | = lv_funcloc_header | |
| USER | = lv_user | |
| TABLES | ||
| INSTALLATION_CHANGE | = lt_installation_change | |
| CE_FLOC_INST_EQUIS | = lt_ce_floc_inst_equis | |
| CE_FLOC_NOTIF_HISTORY | = lt_ce_floc_notif_history | |
| CE_FLOC_ORDER_HISTORY | = lt_ce_floc_order_history | |
| CE_FLOC_CONTRACTS | = lt_ce_floc_contracts | |
| CE_FLOC_WARRANTY | = lt_ce_floc_warranty | |
| RETURN | = lt_return | |
| WSAP_EXTENSION | = lt_wsap_extension | |
| FUNCLOC_INST_EQUIS | = lt_funcloc_inst_equis | |
| FUNCLOC_NOTIF_HISTORY | = lt_funcloc_notif_history | |
| FUNCLOC_ORDER_HISTORY | = lt_funcloc_order_history | |
| FUNCLOC_MEAS_POINTS | = lt_funcloc_meas_points | |
| FUNCLOC_CONTRACTS | = lt_funcloc_contracts | |
| FUNCLOC_PARTNERS | = lt_funcloc_partners | |
| FUNCLOC_WARRANTY | = lt_funcloc_warranty | |
| CE_FLOC_HEADER | = lt_ce_floc_header | |
| . " ALM_MEREP_030_CHANGE_SD | ||
ABAP code using 7.40 inline data declarations to call FM ALM_MEREP_030_CHANGE_SD
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.| "SELECT single USERID FROM ALM_ME_USER_DATA INTO @DATA(ld_user). | ||||
Search for further information about these or an SAP related objects