SAP ALE_1194_SAVEREP_MULTIPLE_GR Function Module for BAPI -> IDoc: ALE_1194_SAVEREP_MULTIPLE_GR
ALE_1194_SAVEREP_MULTIPLE_GR is a standard ale 1194 saverep multiple gr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI -> IDoc: ALE_1194_SAVEREP_MULTIPLE_GR 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 ale 1194 saverep multiple gr FM, simply by entering the name ALE_1194_SAVEREP_MULTIPLE_GR into the relevant SAP transaction such as SE37 or SE38.
Function Group: RCP990
Program Name: SAPLRCP990
Main Program: SAPLRCP990
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ALE_1194_SAVEREP_MULTIPLE_GR 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 'ALE_1194_SAVEREP_MULTIPLE_GR'"BAPI -> IDoc: ALE_1194_SAVEREP_MULTIPLE_GR.
EXPORTING
* OBJ_TYPE = 'BUS1194' "
* SERIAL_ID = '0' "
TABLES
ITRCP = "
ITRCTXTX = "
ITLTX = "
ITLTXTLINE = "
ITDOC = "
ITCLA = "
ITCLAVAL = "
ITIDENT = "
ITIDENTTXT = "
ITIDENTTXTTLINE = "
ITASCOPE = "
ITPRO = "
ITASCOPEEHSASCOPE = "
ITREPLACE = "
ITREPLACEREPL = "
ITREPLACEREPLBY = "
ITOPSUC = "
ITPP = "
ITPPVH = "
ITPPVA = "
ITPPPROP = "
ITPPDF = "
ITPST = "
ITPPFL = "
ITPVSSTRUCT = "
RECEIVERS = "
* COMMUNICATION_DOCUMENTS = "
* APPLICATION_OBJECTS = "
ITPOP = "
ITPAC = "
ITEQR = "
ITSTX = "
ITSTXTX = "
ITRCTX = "
EXCEPTIONS
ERROR_CREATING_IDOCS = 1
IMPORTING Parameters details for ALE_1194_SAVEREP_MULTIPLE_GR
OBJ_TYPE -
Data type: SERIAL-OBJ_TYPEDefault: 'BUS1194'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SERIAL_ID -
Data type: SERIAL-CHNUMDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ALE_1194_SAVEREP_MULTIPLE_GR
ITRCP -
Data type: BAPI1194_GR_RCPOptional: No
Call by Reference: No ( called with pass by value option)
ITRCTXTX -
Data type: BAPI1194_GR_RCTX_TXOptional: No
Call by Reference: No ( called with pass by value option)
ITLTX -
Data type: BAPI1194_GR_LTXOptional: No
Call by Reference: No ( called with pass by value option)
ITLTXTLINE -
Data type: BAPI1194_GR_LTX_TLINEOptional: No
Call by Reference: No ( called with pass by value option)
ITDOC -
Data type: BAPI1194_GR_DOCOptional: No
Call by Reference: No ( called with pass by value option)
ITCLA -
Data type: BAPI1194_GR_CLAOptional: No
Call by Reference: No ( called with pass by value option)
ITCLAVAL -
Data type: BAPI1194_GR_VALOptional: No
Call by Reference: No ( called with pass by value option)
ITIDENT -
Data type: BAPI1194_GR_IDENTOptional: No
Call by Reference: No ( called with pass by value option)
ITIDENTTXT -
Data type: BAPI1194_GR_IDENT_TXTOptional: No
Call by Reference: No ( called with pass by value option)
ITIDENTTXTTLINE -
Data type: BAPI1194_GR_IDENT_TLINEOptional: No
Call by Reference: No ( called with pass by value option)
ITASCOPE -
Data type: BAPI1194_GR_ASCOPEOptional: No
Call by Reference: No ( called with pass by value option)
ITPRO -
Data type: BAPI1194_GR_PROOptional: No
Call by Reference: No ( called with pass by value option)
ITASCOPEEHSASCOPE -
Data type: BAPI1194_GR_EHS_ASCOPEOptional: No
Call by Reference: No ( called with pass by value option)
ITREPLACE -
Data type: BAPI1194_GR_REPLACEOptional: No
Call by Reference: No ( called with pass by value option)
ITREPLACEREPL -
Data type: BAPI1194_GR_REPLOptional: No
Call by Reference: No ( called with pass by value option)
ITREPLACEREPLBY -
Data type: BAPI1194_GR_REPLBYOptional: No
Call by Reference: No ( called with pass by value option)
ITOPSUC -
Data type: BAPI1194_GR_OP_SUCOptional: No
Call by Reference: No ( called with pass by value option)
ITPP -
Data type: BAPI1194_GR_PPOptional: No
Call by Reference: No ( called with pass by value option)
ITPPVH -
Data type: BAPI1194_GR_RCGAPIVHOptional: No
Call by Reference: No ( called with pass by value option)
ITPPVA -
Data type: BAPI1194_GR_RCGAPIVAOptional: No
Call by Reference: No ( called with pass by value option)
ITPPPROP -
Data type: BAPI1194_GR_PP_PROPOptional: No
Call by Reference: No ( called with pass by value option)
ITPPDF -
Data type: BAPI1194_GR_RCGAPIDFOptional: No
Call by Reference: No ( called with pass by value option)
ITPST -
Data type: BAPI1194_GR_PSTOptional: No
Call by Reference: No ( called with pass by value option)
ITPPFL -
Data type: BAPI1194_GR_RCGAPIFLOptional: No
Call by Reference: No ( called with pass by value option)
ITPVSSTRUCT -
Data type: BAPI1194_GR_PVS_STRUCTOptional: No
Call by Reference: No ( called with pass by value option)
RECEIVERS -
Data type: BDI_LOGSYSOptional: No
Call by Reference: No ( called with pass by value option)
COMMUNICATION_DOCUMENTS -
Data type: SWOTOBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION_OBJECTS -
Data type: SWOTOBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
ITPOP -
Data type: BAPI1194_GR_POPOptional: No
Call by Reference: No ( called with pass by value option)
ITPAC -
Data type: BAPI1194_GR_PACOptional: No
Call by Reference: No ( called with pass by value option)
ITEQR -
Data type: BAPI1194_GR_EQROptional: No
Call by Reference: No ( called with pass by value option)
ITSTX -
Data type: BAPI1194_GR_STXOptional: No
Call by Reference: No ( called with pass by value option)
ITSTXTX -
Data type: BAPI1194_GR_STX_TXOptional: No
Call by Reference: No ( called with pass by value option)
ITRCTX -
Data type: BAPI1194_GR_RCTXOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_CREATING_IDOCS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ALE_1194_SAVEREP_MULTIPLE_GR 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_itrcp | TYPE STANDARD TABLE OF BAPI1194_GR_RCP, " | |||
| lv_obj_type | TYPE SERIAL-OBJ_TYPE, " 'BUS1194' | |||
| lv_error_creating_idocs | TYPE SERIAL, " | |||
| lt_itrctxtx | TYPE STANDARD TABLE OF BAPI1194_GR_RCTX_TX, " | |||
| lt_itltx | TYPE STANDARD TABLE OF BAPI1194_GR_LTX, " | |||
| lt_itltxtline | TYPE STANDARD TABLE OF BAPI1194_GR_LTX_TLINE, " | |||
| lt_itdoc | TYPE STANDARD TABLE OF BAPI1194_GR_DOC, " | |||
| lt_itcla | TYPE STANDARD TABLE OF BAPI1194_GR_CLA, " | |||
| lt_itclaval | TYPE STANDARD TABLE OF BAPI1194_GR_VAL, " | |||
| lt_itident | TYPE STANDARD TABLE OF BAPI1194_GR_IDENT, " | |||
| lt_itidenttxt | TYPE STANDARD TABLE OF BAPI1194_GR_IDENT_TXT, " | |||
| lt_itidenttxttline | TYPE STANDARD TABLE OF BAPI1194_GR_IDENT_TLINE, " | |||
| lt_itascope | TYPE STANDARD TABLE OF BAPI1194_GR_ASCOPE, " | |||
| lt_itpro | TYPE STANDARD TABLE OF BAPI1194_GR_PRO, " | |||
| lv_serial_id | TYPE SERIAL-CHNUM, " '0' | |||
| lt_itascopeehsascope | TYPE STANDARD TABLE OF BAPI1194_GR_EHS_ASCOPE, " | |||
| lt_itreplace | TYPE STANDARD TABLE OF BAPI1194_GR_REPLACE, " | |||
| lt_itreplacerepl | TYPE STANDARD TABLE OF BAPI1194_GR_REPL, " | |||
| lt_itreplacereplby | TYPE STANDARD TABLE OF BAPI1194_GR_REPLBY, " | |||
| lt_itopsuc | TYPE STANDARD TABLE OF BAPI1194_GR_OP_SUC, " | |||
| lt_itpp | TYPE STANDARD TABLE OF BAPI1194_GR_PP, " | |||
| lt_itppvh | TYPE STANDARD TABLE OF BAPI1194_GR_RCGAPIVH, " | |||
| lt_itppva | TYPE STANDARD TABLE OF BAPI1194_GR_RCGAPIVA, " | |||
| lt_itppprop | TYPE STANDARD TABLE OF BAPI1194_GR_PP_PROP, " | |||
| lt_itppdf | TYPE STANDARD TABLE OF BAPI1194_GR_RCGAPIDF, " | |||
| lt_itpst | TYPE STANDARD TABLE OF BAPI1194_GR_PST, " | |||
| lt_itppfl | TYPE STANDARD TABLE OF BAPI1194_GR_RCGAPIFL, " | |||
| lt_itpvsstruct | TYPE STANDARD TABLE OF BAPI1194_GR_PVS_STRUCT, " | |||
| lt_receivers | TYPE STANDARD TABLE OF BDI_LOGSYS, " | |||
| lt_communication_documents | TYPE STANDARD TABLE OF SWOTOBJID, " | |||
| lt_application_objects | TYPE STANDARD TABLE OF SWOTOBJID, " | |||
| lt_itpop | TYPE STANDARD TABLE OF BAPI1194_GR_POP, " | |||
| lt_itpac | TYPE STANDARD TABLE OF BAPI1194_GR_PAC, " | |||
| lt_iteqr | TYPE STANDARD TABLE OF BAPI1194_GR_EQR, " | |||
| lt_itstx | TYPE STANDARD TABLE OF BAPI1194_GR_STX, " | |||
| lt_itstxtx | TYPE STANDARD TABLE OF BAPI1194_GR_STX_TX, " | |||
| lt_itrctx | TYPE STANDARD TABLE OF BAPI1194_GR_RCTX. " |
|   CALL FUNCTION 'ALE_1194_SAVEREP_MULTIPLE_GR' "BAPI -> IDoc: ALE_1194_SAVEREP_MULTIPLE_GR |
| EXPORTING | ||
| OBJ_TYPE | = lv_obj_type | |
| SERIAL_ID | = lv_serial_id | |
| TABLES | ||
| ITRCP | = lt_itrcp | |
| ITRCTXTX | = lt_itrctxtx | |
| ITLTX | = lt_itltx | |
| ITLTXTLINE | = lt_itltxtline | |
| ITDOC | = lt_itdoc | |
| ITCLA | = lt_itcla | |
| ITCLAVAL | = lt_itclaval | |
| ITIDENT | = lt_itident | |
| ITIDENTTXT | = lt_itidenttxt | |
| ITIDENTTXTTLINE | = lt_itidenttxttline | |
| ITASCOPE | = lt_itascope | |
| ITPRO | = lt_itpro | |
| ITASCOPEEHSASCOPE | = lt_itascopeehsascope | |
| ITREPLACE | = lt_itreplace | |
| ITREPLACEREPL | = lt_itreplacerepl | |
| ITREPLACEREPLBY | = lt_itreplacereplby | |
| ITOPSUC | = lt_itopsuc | |
| ITPP | = lt_itpp | |
| ITPPVH | = lt_itppvh | |
| ITPPVA | = lt_itppva | |
| ITPPPROP | = lt_itppprop | |
| ITPPDF | = lt_itppdf | |
| ITPST | = lt_itpst | |
| ITPPFL | = lt_itppfl | |
| ITPVSSTRUCT | = lt_itpvsstruct | |
| RECEIVERS | = lt_receivers | |
| COMMUNICATION_DOCUMENTS | = lt_communication_documents | |
| APPLICATION_OBJECTS | = lt_application_objects | |
| ITPOP | = lt_itpop | |
| ITPAC | = lt_itpac | |
| ITEQR | = lt_iteqr | |
| ITSTX | = lt_itstx | |
| ITSTXTX | = lt_itstxtx | |
| ITRCTX | = lt_itrctx | |
| EXCEPTIONS | ||
| ERROR_CREATING_IDOCS = 1 | ||
| . " ALE_1194_SAVEREP_MULTIPLE_GR | ||
ABAP code using 7.40 inline data declarations to call FM ALE_1194_SAVEREP_MULTIPLE_GR
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 OBJ_TYPE FROM SERIAL INTO @DATA(ld_obj_type). | ||||
| DATA(ld_obj_type) | = 'BUS1194'. | |||
| "SELECT single CHNUM FROM SERIAL INTO @DATA(ld_serial_id). | ||||
| DATA(ld_serial_id) | = '0'. | |||
Search for further information about these or an SAP related objects