RM_APPEND_TO_ORDER is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RM_APPEND_TO_ORDER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JBRTR
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RM_APPEND_TO_ORDER' "RM: Einfügen in einen bestehenden Transportauftrag
EXPORTING
i_order = " e070-trkorr Transportauftrag
IMPORTING
sysubrc = " sy-subrc Rückgabewert
* TABLES
* i_e071 = " e071 Objekte
* i_e071k = " e071k Tabellenschlüssel
. " RM_APPEND_TO_ORDER
The ABAP code below is a full code listing to execute function module RM_APPEND_TO_ORDER including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_sysubrc | TYPE SY-SUBRC , |
| it_i_e071 | TYPE STANDARD TABLE OF E071,"TABLES PARAM |
| wa_i_e071 | LIKE LINE OF it_i_e071 , |
| it_i_e071k | TYPE STANDARD TABLE OF E071K,"TABLES PARAM |
| wa_i_e071k | LIKE LINE OF it_i_e071k . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_sysubrc | TYPE SY-SUBRC , |
| ld_i_order | TYPE E070-TRKORR , |
| it_i_e071 | TYPE STANDARD TABLE OF E071 , |
| wa_i_e071 | LIKE LINE OF it_i_e071, |
| it_i_e071k | TYPE STANDARD TABLE OF E071K , |
| wa_i_e071k | LIKE LINE OF it_i_e071k. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RM_APPEND_TO_ORDER or its description.
RM_APPEND_TO_ORDER - RM: Einfügen in einen bestehenden Transportauftrag RM_APPEND_GLOBAL_DATA_FOR_M_SC - RM: Append to the global memory for due date scenarios from ALM RM_ALV_STAND_DISPLAY - RM: Anzeigen der Daten eines gesicherten Stands mit Hilfe der ALV-List RM_ALV_SFGDT_DISPLAY - Darstellung eines FO mit ALV-Tree-Control RM_ALV_LIST_ENTRY_GET - RM: liefert einen Eintrag aus der ALV-Tabelle RM_ALV_LIST_DISPLAY - RM: Listenanzeige mit ALV, ergänzt um Merkmalswerte