SAP UDM_RSM_MODIFY Function Module for Change resubmission
UDM_RSM_MODIFY is a standard udm rsm modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change resubmission 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 udm rsm modify FM, simply by entering the name UDM_RSM_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: UDM_RESUBMISSION
Program Name: SAPLUDM_RESUBMISSION
Main Program: SAPLUDM_RESUBMISSION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function UDM_RSM_MODIFY 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 'UDM_RSM_MODIFY'"Change resubmission.
EXPORTING
* IT_NOTE = "FSCM-DM: Note for Dispute Case
IT_RSM_GUID = "
* IX_NEW_NOTE = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
IT_RSM_ATTRIBUTES = "Resubmission: Attributes for Creation and Change
* IX_CLOSE_RSM = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
I_CHANGED_BY = "
IMPORTING
RETURN = "Return Parameter(s)
ES_NOTE_PROT_LINE = "Return Parameter(s)
IMPORTING Parameters details for UDM_RSM_MODIFY
IT_NOTE - FSCM-DM: Note for Dispute Case
Data type: BDM_T_DISPUTE_NOTEOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RSM_GUID -
Data type: SCMG_TT_CASE_GUIDOptional: No
Call by Reference: No ( called with pass by value option)
IX_NEW_NOTE - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_RSM_ATTRIBUTES - Resubmission: Attributes for Creation and Change
Data type: BDM_T_RSM_ATTROptional: No
Call by Reference: No ( called with pass by value option)
IX_CLOSE_RSM - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHANGED_BY -
Data type: BDM_COLL_SPECIALISTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for UDM_RSM_MODIFY
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
ES_NOTE_PROT_LINE - Return Parameter(s)
Data type: TLINEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for UDM_RSM_MODIFY 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_return | TYPE BAPIRET2, " | |||
| lv_it_note | TYPE BDM_T_DISPUTE_NOTE, " | |||
| lv_it_rsm_guid | TYPE SCMG_TT_CASE_GUID, " | |||
| lv_es_note_prot_line | TYPE TLINE, " | |||
| lv_ix_new_note | TYPE BOOLE_D, " | |||
| lv_it_rsm_attributes | TYPE BDM_T_RSM_ATTR, " | |||
| lv_ix_close_rsm | TYPE BOOLE_D, " | |||
| lv_i_changed_by | TYPE BDM_COLL_SPECIALIST. " |
|   CALL FUNCTION 'UDM_RSM_MODIFY' "Change resubmission |
| EXPORTING | ||
| IT_NOTE | = lv_it_note | |
| IT_RSM_GUID | = lv_it_rsm_guid | |
| IX_NEW_NOTE | = lv_ix_new_note | |
| IT_RSM_ATTRIBUTES | = lv_it_rsm_attributes | |
| IX_CLOSE_RSM | = lv_ix_close_rsm | |
| I_CHANGED_BY | = lv_i_changed_by | |
| IMPORTING | ||
| RETURN | = lv_return | |
| ES_NOTE_PROT_LINE | = lv_es_note_prot_line | |
| . " UDM_RSM_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM UDM_RSM_MODIFY
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