SAP BAPI_1198_SAVEREP_MULTIPLE_SR Function Module for NOTRANSL: General Recipe sichern
BAPI_1198_SAVEREP_MULTIPLE_SR is a standard bapi 1198 saverep multiple sr 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: General Recipe sichern 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 bapi 1198 saverep multiple sr FM, simply by entering the name BAPI_1198_SAVEREP_MULTIPLE_SR into the relevant SAP transaction such as SE37 or SE38.
Function Group: RCP993
Program Name: SAPLRCP993
Main Program: SAPLRCP993
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_1198_SAVEREP_MULTIPLE_SR 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 'BAPI_1198_SAVEREP_MULTIPLE_SR'"NOTRANSL: General Recipe sichern.
TABLES
IT_RCP = "RMS-RCP: API - Recipe Data Structure
IT_RCTX_TX = "BAPI - General Texts Structure
IT_LTX = "BAPI - Long Texts Structure
IT_LTX_TLINE = "BAPI: SAPscript: Text Lines
IT_DOC = "RMS-RCP: API - Document Links Structure
IT_CLA = "BAPI - Classification Structure
IT_CLA_VAL = "BAPI - Structure: Characteristic Values Classification
IT_IDENT = "RMS-RCP: API - Identifiers Structure
IT_IDENT_TXT = "RMS-RCP: API - Identifier Texts Structure
IT_IDENT_TXT_TLINE = "BAPI: SAPscript: Text Lines
IT_ASCOPE = "BAPI - Scope of Application Structure
IT_PRO = "BAPI - Process Data Structure
IT_ASCOPE_EHS_ASCOPE = "BAPI:General Scope of Application
IT_REPLACE = "BAPI - Recipe Replacement Structure
IT_REPLACE_REPL = "RMS-RCP: API - Recipe Replaces Structure
IT_REPLACE_REPLBY = "RMS-RCP: API - Recipe Replaced by Structure
IT_OP_SUC = "RMS-RCP: API - Process Operation Structure - Successor
IT_PP = "BAPI - Process Parameters Structure
IT_PP_VH = "EHS: API Structure Value Assignment Header
IT_PP_VA = "EHS: API Structure Value Assignments
IT_PP_PROP = "EHS: API Structure Value Assignment Data (Characteristic Values)
IT_PP_DF = "EHS: API Structure Value Assignment User-Defined Texts
IT_PST = "BAPI - Process Stage Structure
IT_PP_FL = "BAPI: API Value Assignment Texts Structure (SAPscript Long Texts)
IT_PVS_STRUCT = "PVS Structure Information
* RETURN = "Return Parameters
IT_POP = "RMS-RCP: API - Process Operation Structure
IT_PAC = "RMS-RCP: API - Process Action Structure
IT_EQR = "BAPI - Equipment Requirement Structure
IT_STX = "BAPI - Short Texts Structure
IT_STX_TX = "BAPI - General Texts Structure
IT_RCTX = "RMS-RCP: API - Reason for Creation Texts Structure
TABLES Parameters details for BAPI_1198_SAVEREP_MULTIPLE_SR
IT_RCP - RMS-RCP: API - Recipe Data Structure
Data type: BAPI1198_SR_RCPOptional: No
Call by Reference: No ( called with pass by value option)
IT_RCTX_TX - BAPI - General Texts Structure
Data type: BAPI1198_SR_RCTX_TXOptional: No
Call by Reference: No ( called with pass by value option)
IT_LTX - BAPI - Long Texts Structure
Data type: BAPI1198_SR_LTXOptional: No
Call by Reference: No ( called with pass by value option)
IT_LTX_TLINE - BAPI: SAPscript: Text Lines
Data type: BAPI1198_SR_LTX_TLINEOptional: No
Call by Reference: No ( called with pass by value option)
IT_DOC - RMS-RCP: API - Document Links Structure
Data type: BAPI1198_SR_DOCOptional: No
Call by Reference: No ( called with pass by value option)
IT_CLA - BAPI - Classification Structure
Data type: BAPI1198_SR_CLAOptional: No
Call by Reference: No ( called with pass by value option)
IT_CLA_VAL - BAPI - Structure: Characteristic Values Classification
Data type: BAPI1198_SR_VALOptional: No
Call by Reference: No ( called with pass by value option)
IT_IDENT - RMS-RCP: API - Identifiers Structure
Data type: BAPI1198_SR_IDENTOptional: No
Call by Reference: No ( called with pass by value option)
IT_IDENT_TXT - RMS-RCP: API - Identifier Texts Structure
Data type: BAPI1198_SR_IDENT_TXTOptional: No
Call by Reference: No ( called with pass by value option)
IT_IDENT_TXT_TLINE - BAPI: SAPscript: Text Lines
Data type: BAPI1198_SR_IDENT_TLINEOptional: No
Call by Reference: No ( called with pass by value option)
IT_ASCOPE - BAPI - Scope of Application Structure
Data type: BAPI1198_SR_ASCOPEOptional: No
Call by Reference: No ( called with pass by value option)
IT_PRO - BAPI - Process Data Structure
Data type: BAPI1198_SR_PROOptional: No
Call by Reference: No ( called with pass by value option)
IT_ASCOPE_EHS_ASCOPE - BAPI:General Scope of Application
Data type: BAPI1198_SR_EHS_ASCOPEOptional: No
Call by Reference: No ( called with pass by value option)
IT_REPLACE - BAPI - Recipe Replacement Structure
Data type: BAPI1198_SR_REPLACEOptional: No
Call by Reference: No ( called with pass by value option)
IT_REPLACE_REPL - RMS-RCP: API - Recipe Replaces Structure
Data type: BAPI1198_SR_REPLOptional: No
Call by Reference: No ( called with pass by value option)
IT_REPLACE_REPLBY - RMS-RCP: API - Recipe Replaced by Structure
Data type: BAPI1198_SR_REPLBYOptional: No
Call by Reference: No ( called with pass by value option)
IT_OP_SUC - RMS-RCP: API - Process Operation Structure - Successor
Data type: BAPI1198_SR_OP_SUCOptional: No
Call by Reference: No ( called with pass by value option)
IT_PP - BAPI - Process Parameters Structure
Data type: BAPI1198_SR_PPOptional: No
Call by Reference: No ( called with pass by value option)
IT_PP_VH - EHS: API Structure Value Assignment Header
Data type: BAPI1198_SR_RCGAPIVHOptional: No
Call by Reference: Yes
IT_PP_VA - EHS: API Structure Value Assignments
Data type: BAPI1198_SR_RCGAPIVAOptional: No
Call by Reference: Yes
IT_PP_PROP - EHS: API Structure Value Assignment Data (Characteristic Values)
Data type: BAPI1198_SR_PP_PROPOptional: No
Call by Reference: Yes
IT_PP_DF - EHS: API Structure Value Assignment User-Defined Texts
Data type: BAPI1198_SR_RCGAPIDFOptional: No
Call by Reference: Yes
IT_PST - BAPI - Process Stage Structure
Data type: BAPI1198_SR_PSTOptional: No
Call by Reference: No ( called with pass by value option)
IT_PP_FL - BAPI: API Value Assignment Texts Structure (SAPscript Long Texts)
Data type: BAPI1198_SR_RCGAPIFLOptional: No
Call by Reference: Yes
IT_PVS_STRUCT - PVS Structure Information
Data type: BAPI1198_SR_PVS_STRUCTOptional: No
Call by Reference: Yes
RETURN - Return Parameters
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
IT_POP - RMS-RCP: API - Process Operation Structure
Data type: BAPI1198_SR_POPOptional: No
Call by Reference: No ( called with pass by value option)
IT_PAC - RMS-RCP: API - Process Action Structure
Data type: BAPI1198_SR_PACOptional: No
Call by Reference: No ( called with pass by value option)
IT_EQR - BAPI - Equipment Requirement Structure
Data type: BAPI1198_SR_EQROptional: No
Call by Reference: No ( called with pass by value option)
IT_STX - BAPI - Short Texts Structure
Data type: BAPI1198_SR_STXOptional: No
Call by Reference: No ( called with pass by value option)
IT_STX_TX - BAPI - General Texts Structure
Data type: BAPI1198_SR_STX_TXOptional: No
Call by Reference: No ( called with pass by value option)
IT_RCTX - RMS-RCP: API - Reason for Creation Texts Structure
Data type: BAPI1198_SR_RCTXOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_1198_SAVEREP_MULTIPLE_SR 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_it_rcp | TYPE STANDARD TABLE OF BAPI1198_SR_RCP, " | |||
| lt_it_rctx_tx | TYPE STANDARD TABLE OF BAPI1198_SR_RCTX_TX, " | |||
| lt_it_ltx | TYPE STANDARD TABLE OF BAPI1198_SR_LTX, " | |||
| lt_it_ltx_tline | TYPE STANDARD TABLE OF BAPI1198_SR_LTX_TLINE, " | |||
| lt_it_doc | TYPE STANDARD TABLE OF BAPI1198_SR_DOC, " | |||
| lt_it_cla | TYPE STANDARD TABLE OF BAPI1198_SR_CLA, " | |||
| lt_it_cla_val | TYPE STANDARD TABLE OF BAPI1198_SR_VAL, " | |||
| lt_it_ident | TYPE STANDARD TABLE OF BAPI1198_SR_IDENT, " | |||
| lt_it_ident_txt | TYPE STANDARD TABLE OF BAPI1198_SR_IDENT_TXT, " | |||
| lt_it_ident_txt_tline | TYPE STANDARD TABLE OF BAPI1198_SR_IDENT_TLINE, " | |||
| lt_it_ascope | TYPE STANDARD TABLE OF BAPI1198_SR_ASCOPE, " | |||
| lt_it_pro | TYPE STANDARD TABLE OF BAPI1198_SR_PRO, " | |||
| lt_it_ascope_ehs_ascope | TYPE STANDARD TABLE OF BAPI1198_SR_EHS_ASCOPE, " | |||
| lt_it_replace | TYPE STANDARD TABLE OF BAPI1198_SR_REPLACE, " | |||
| lt_it_replace_repl | TYPE STANDARD TABLE OF BAPI1198_SR_REPL, " | |||
| lt_it_replace_replby | TYPE STANDARD TABLE OF BAPI1198_SR_REPLBY, " | |||
| lt_it_op_suc | TYPE STANDARD TABLE OF BAPI1198_SR_OP_SUC, " | |||
| lt_it_pp | TYPE STANDARD TABLE OF BAPI1198_SR_PP, " | |||
| lt_it_pp_vh | TYPE STANDARD TABLE OF BAPI1198_SR_RCGAPIVH, " | |||
| lt_it_pp_va | TYPE STANDARD TABLE OF BAPI1198_SR_RCGAPIVA, " | |||
| lt_it_pp_prop | TYPE STANDARD TABLE OF BAPI1198_SR_PP_PROP, " | |||
| lt_it_pp_df | TYPE STANDARD TABLE OF BAPI1198_SR_RCGAPIDF, " | |||
| lt_it_pst | TYPE STANDARD TABLE OF BAPI1198_SR_PST, " | |||
| lt_it_pp_fl | TYPE STANDARD TABLE OF BAPI1198_SR_RCGAPIFL, " | |||
| lt_it_pvs_struct | TYPE STANDARD TABLE OF BAPI1198_SR_PVS_STRUCT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_it_pop | TYPE STANDARD TABLE OF BAPI1198_SR_POP, " | |||
| lt_it_pac | TYPE STANDARD TABLE OF BAPI1198_SR_PAC, " | |||
| lt_it_eqr | TYPE STANDARD TABLE OF BAPI1198_SR_EQR, " | |||
| lt_it_stx | TYPE STANDARD TABLE OF BAPI1198_SR_STX, " | |||
| lt_it_stx_tx | TYPE STANDARD TABLE OF BAPI1198_SR_STX_TX, " | |||
| lt_it_rctx | TYPE STANDARD TABLE OF BAPI1198_SR_RCTX. " |
|   CALL FUNCTION 'BAPI_1198_SAVEREP_MULTIPLE_SR' "NOTRANSL: General Recipe sichern |
| TABLES | ||
| IT_RCP | = lt_it_rcp | |
| IT_RCTX_TX | = lt_it_rctx_tx | |
| IT_LTX | = lt_it_ltx | |
| IT_LTX_TLINE | = lt_it_ltx_tline | |
| IT_DOC | = lt_it_doc | |
| IT_CLA | = lt_it_cla | |
| IT_CLA_VAL | = lt_it_cla_val | |
| IT_IDENT | = lt_it_ident | |
| IT_IDENT_TXT | = lt_it_ident_txt | |
| IT_IDENT_TXT_TLINE | = lt_it_ident_txt_tline | |
| IT_ASCOPE | = lt_it_ascope | |
| IT_PRO | = lt_it_pro | |
| IT_ASCOPE_EHS_ASCOPE | = lt_it_ascope_ehs_ascope | |
| IT_REPLACE | = lt_it_replace | |
| IT_REPLACE_REPL | = lt_it_replace_repl | |
| IT_REPLACE_REPLBY | = lt_it_replace_replby | |
| IT_OP_SUC | = lt_it_op_suc | |
| IT_PP | = lt_it_pp | |
| IT_PP_VH | = lt_it_pp_vh | |
| IT_PP_VA | = lt_it_pp_va | |
| IT_PP_PROP | = lt_it_pp_prop | |
| IT_PP_DF | = lt_it_pp_df | |
| IT_PST | = lt_it_pst | |
| IT_PP_FL | = lt_it_pp_fl | |
| IT_PVS_STRUCT | = lt_it_pvs_struct | |
| RETURN | = lt_return | |
| IT_POP | = lt_it_pop | |
| IT_PAC | = lt_it_pac | |
| IT_EQR | = lt_it_eqr | |
| IT_STX | = lt_it_stx | |
| IT_STX_TX | = lt_it_stx_tx | |
| IT_RCTX | = lt_it_rctx | |
| . " BAPI_1198_SAVEREP_MULTIPLE_SR | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_1198_SAVEREP_MULTIPLE_SR
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