SAP RFC_SDCONOIL_CREATEFROMDATA Function Module for Create Customer Contract with add. Oil-fields
RFC_SDCONOIL_CREATEFROMDATA is a standard rfc sdconoil createfromdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Customer Contract with add. Oil-fields 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 rfc sdconoil createfromdata FM, simply by entering the name RFC_SDCONOIL_CREATEFROMDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: OI0_BAPI
Program Name: SAPLOI0_BAPI
Main Program: SAPLOI0_BAPI
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RFC_SDCONOIL_CREATEFROMDATA 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 'RFC_SDCONOIL_CREATEFROMDATA'"Create Customer Contract with add. Oil-fields.
EXPORTING
* SALESDOCUMENT = "Sales Document Number
* CONVERT_PARVW_AUART = ' ' "Conversion of Partner Function and Order Type
* CONT_HEADER_IN_MAP = "IS-OIL: Comm. Fields: SD Doc. Header MAP
* CONT_HEADER_IN_MCOE = "IS-OIL: Comm. Fields: SD Doc. Header MCOE
* CONT_HEADER_IN_EXG = "IS-OIL: Comm. Fields: SD Doc. Header Exchange
CONTRACT_HEADER_IN = "Document Header Data
* CONTRACT_HEADER_INX = "Checklist for Header Data
* SENDER = "Logical System - Sender
* BINARY_RELATIONSHIPTYPE = ' ' "Binary Relationship Type (Private)
* INT_NUMBER_ASSIGNMENT = ' ' "Internal Item Number Assignment
* BEHAVE_WHEN_ERROR = ' ' "Error Handling
* LOGIC_SWITCH = ' ' "Internal Control Parameter
* TESTRUN = "Test Run
IMPORTING
SALESDOCUMENT_EX = "Number of Generated Document
CONTRACT_HEADER_OUT = "BAPI Structure of VBAK with English Field Names
TABLES
* RETURN = "Return Messages
* CONTRACT_CFGS_BLOB = "Configuration: BLOB Internal Data (SCE)
* CONTRACT_CFGS_VK = "Configuration: Variant Condition Key
* CONTRACT_CFGS_REFINST = "Configuration: Reference Item / Instance
* CONTRACT_DATA_IN = "Contract Data
* CONTRACT_DATA_INX = "Contract Data Checklist
* CONTRACT_TEXT = "Texts
* CONTRACT_KEYS = "Output Table of Reference Keys
* EXTENSIONIN = "Customer Enhancement for VBAK, VBAP, VBEP
* PARTNERADDRESSES = "BAPI Reference Structure for Addresses (Organization/Company)
* CONT_ITEMS_IN_MAP = "IS-OIL: Comm. Fields: SD Doc. Item MAP
* CONTRACT_ITEMS_IN = "Item Data
* CONT_ITEMS_IN_MCOE = "IS-OIL: Comm. Fields: SD Doc. Header MCOE
* CONT_ITEMS_IN_EXG = "IS-OIL: Comm. Fields: SD Doc. Item Exchange
* CONT_ITEMS_IN_EXG_FEES = "IS-OIL: Comm. Fields: SD Doc. Item Exchange Fees
* CONT_ITEMS_IN_TDP = "IS-OIL: Comm. Fields: SD Doc. Item TDP
* CONT_ITEMS_IN_TSW = "IS-OIL: Comm. Fields: SD Doc. Item TSW
* CONT_ITEMS_IN_TSW_X = "IS-OIL: TSW Doc. Item details Check List
* CONT_ITEMS_IN_TSW_MOT = "IS-OIL: TSW Multile MOT Doc. Item details
* CONT_ITEMS_IN_TSW_MOT_X = "IS-OIL: TSW Multile MOT Doc. Item details
* CONT_ITEMS_IN_TSW_FC = "Comm. Fields: SD Doc. Item Freight Contract
* CONT_ITEMS_IN_TSW_FC_X = "Comm. Fields: SD Doc. Item Freight Contract Check List
* CONTRACT_ITEMS_INX = "Item Data Checklist
* CONT_ITEMS_IN_TSW_EV = "Comm. Fields: SD Doc. Item Event Rules
* CONT_ITEMS_IN_TSW_EV_X = "Comm. Fields: SD Doc. Item Event Rules
* CONT_ITEMS_IN_TSW_LOC = "Comm. Fields: SD Doc. Item load/discharge locations
* CONT_ITEMS_IN_TSW_LOC_X = "SD Doc. Item load/discharge locations Check list
* CONT_ITEMS_IN_TSW_PROD = "Comm. Fields: SD Doc. Item Products
* CONT_ITEMS_IN_TSW_PROD_X = "Comm. Fields: SD Doc. Item Products Check List
* CONT_ITEMS_IN_TSW_LT = "Comm. Fields: SD Doc. Item Laytime Terms
* CONT_ITEMS_IN_TSW_LT_X = "IS-OIL: Comm. Fields: SD Doc. Item TSW Check List
* CONT_ITEMS_IN_TSW_LTEV = "Comm. Fields: SD Doc. Item Laytime Events
* CONT_ITEMS_IN_TSW_LTEV_X = "Comm. Fields: SD Doc. Item Laytime Events Check List
CONTRACT_PARTNERS = "Document Partner
* CONTRACT_CONDITIONS_IN = "Conditions
* CONTRACT_CFGS_REF = "Configuration: Reference Data
* CONTRACT_CFGS_INST = "Configuration: Instances
* CONTRACT_CFGS_PART_OF = "Configuration: Part-of Specifications
* CONTRACT_CFGS_VALUE = "Configuration: Characteristic Values
IMPORTING Parameters details for RFC_SDCONOIL_CREATEFROMDATA
SALESDOCUMENT - Sales Document Number
Data type: BAPIVBELN-VBELNOptional: Yes
Call by Reference: No ( called with pass by value option)
CONVERT_PARVW_AUART - Conversion of Partner Function and Order Type
Data type: BAPIFLAG-BAPIFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONT_HEADER_IN_MAP - IS-OIL: Comm. Fields: SD Doc. Header MAP
Data type: BAPIOILSDHD1_MAPOptional: Yes
Call by Reference: No ( called with pass by value option)
CONT_HEADER_IN_MCOE - IS-OIL: Comm. Fields: SD Doc. Header MCOE
Data type: BAPIOILSDHD1_MCOEOptional: Yes
Call by Reference: No ( called with pass by value option)
CONT_HEADER_IN_EXG - IS-OIL: Comm. Fields: SD Doc. Header Exchange
Data type: BAPIOILSDHD1_EXGOptional: Yes
Call by Reference: No ( called with pass by value option)
CONTRACT_HEADER_IN - Document Header Data
Data type: BAPISDHD1Optional: No
Call by Reference: No ( called with pass by value option)
CONTRACT_HEADER_INX - Checklist for Header Data
Data type: BAPISDHD1XOptional: Yes
Call by Reference: No ( called with pass by value option)
SENDER - Logical System - Sender
Data type: BAPI_SENDEROptional: Yes
Call by Reference: No ( called with pass by value option)
BINARY_RELATIONSHIPTYPE - Binary Relationship Type (Private)
Data type: BAPIRELTYPE-RELTYPEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
INT_NUMBER_ASSIGNMENT - Internal Item Number Assignment
Data type: BAPIFLAG-BAPIFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BEHAVE_WHEN_ERROR - Error Handling
Data type: BAPIFLAG-BAPIFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LOGIC_SWITCH - Internal Control Parameter
Data type: BAPISDLSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TESTRUN - Test Run
Data type: BAPIFLAG-BAPIFLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RFC_SDCONOIL_CREATEFROMDATA
SALESDOCUMENT_EX - Number of Generated Document
Data type: BAPIVBELN-VBELNOptional: No
Call by Reference: No ( called with pass by value option)
CONTRACT_HEADER_OUT - BAPI Structure of VBAK with English Field Names
Data type: BAPISDHDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RFC_SDCONOIL_CREATEFROMDATA
RETURN - Return Messages
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
CONTRACT_CFGS_BLOB - Configuration: BLOB Internal Data (SCE)
Data type: BAPICUBLBOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_VK - Configuration: Variant Condition Key
Data type: BAPICUVKOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_REFINST - Configuration: Reference Item / Instance
Data type: BAPICUREFOptional: Yes
Call by Reference: Yes
CONTRACT_DATA_IN - Contract Data
Data type: BAPICTROptional: Yes
Call by Reference: Yes
CONTRACT_DATA_INX - Contract Data Checklist
Data type: BAPICTRXOptional: Yes
Call by Reference: Yes
CONTRACT_TEXT - Texts
Data type: BAPISDTEXTOptional: Yes
Call by Reference: Yes
CONTRACT_KEYS - Output Table of Reference Keys
Data type: BAPISDKEYOptional: Yes
Call by Reference: Yes
EXTENSIONIN - Customer Enhancement for VBAK, VBAP, VBEP
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
PARTNERADDRESSES - BAPI Reference Structure for Addresses (Organization/Company)
Data type: BAPIADDR1Optional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_MAP - IS-OIL: Comm. Fields: SD Doc. Item MAP
Data type: BAPIOILSDITM_MAPOptional: Yes
Call by Reference: Yes
CONTRACT_ITEMS_IN - Item Data
Data type: BAPISDITMOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_MCOE - IS-OIL: Comm. Fields: SD Doc. Header MCOE
Data type: BAPIOILSDITM_MCOEOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_EXG - IS-OIL: Comm. Fields: SD Doc. Item Exchange
Data type: BAPIOILSDITM_EXGOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_EXG_FEES - IS-OIL: Comm. Fields: SD Doc. Item Exchange Fees
Data type: BAPIOILSDITM_EXG_FEESOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TDP - IS-OIL: Comm. Fields: SD Doc. Item TDP
Data type: BAPIOILSDITM_TDPOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW - IS-OIL: Comm. Fields: SD Doc. Item TSW
Data type: BAPIOILSDITM_TSWOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_X - IS-OIL: TSW Doc. Item details Check List
Data type: BAPIOILSDITM_TSW_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_MOT - IS-OIL: TSW Multile MOT Doc. Item details
Data type: BAPIOILSDITM_TSW_MOTOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_MOT_X - IS-OIL: TSW Multile MOT Doc. Item details
Data type: BAPIOILSDITM_TSW_MOT_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_FC - Comm. Fields: SD Doc. Item Freight Contract
Data type: BAPIOILSDITM_TSW_FCOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_FC_X - Comm. Fields: SD Doc. Item Freight Contract Check List
Data type: BAPIOILSDITM_TSW_FC_XOptional: Yes
Call by Reference: Yes
CONTRACT_ITEMS_INX - Item Data Checklist
Data type: BAPISDITMXOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_EV - Comm. Fields: SD Doc. Item Event Rules
Data type: BAPIOILSDITM_TSW_EVOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_EV_X - Comm. Fields: SD Doc. Item Event Rules
Data type: BAPIOILSDITM_TSW_EV_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LOC - Comm. Fields: SD Doc. Item load/discharge locations
Data type: BAPIOILSDITM_TSW_LOCOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LOC_X - SD Doc. Item load/discharge locations Check list
Data type: BAPIOILSDITM_TSW_LOC_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_PROD - Comm. Fields: SD Doc. Item Products
Data type: BAPIOILSDITM_TSW_PRODOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_PROD_X - Comm. Fields: SD Doc. Item Products Check List
Data type: BAPIOILSDITM_TSW_PROD_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LT - Comm. Fields: SD Doc. Item Laytime Terms
Data type: BAPIOILSDITM_TSW_LTOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LT_X - IS-OIL: Comm. Fields: SD Doc. Item TSW Check List
Data type: BAPIOILSDITM_TSW_LT_XOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LTEV - Comm. Fields: SD Doc. Item Laytime Events
Data type: BAPIOILSDITM_TSW_LTEVOptional: Yes
Call by Reference: Yes
CONT_ITEMS_IN_TSW_LTEV_X - Comm. Fields: SD Doc. Item Laytime Events Check List
Data type: BAPIOILSDITM_TSW_LTEV_XOptional: Yes
Call by Reference: Yes
CONTRACT_PARTNERS - Document Partner
Data type: BAPIPARNROptional: No
Call by Reference: Yes
CONTRACT_CONDITIONS_IN - Conditions
Data type: BAPICONDOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_REF - Configuration: Reference Data
Data type: BAPICUCFGOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_INST - Configuration: Instances
Data type: BAPICUINSOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_PART_OF - Configuration: Part-of Specifications
Data type: BAPICUPRTOptional: Yes
Call by Reference: Yes
CONTRACT_CFGS_VALUE - Configuration: Characteristic Values
Data type: BAPICUVALOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for RFC_SDCONOIL_CREATEFROMDATA 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_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_salesdocument | TYPE BAPIVBELN-VBELN, " | |||
| lv_salesdocument_ex | TYPE BAPIVBELN-VBELN, " | |||
| lt_contract_cfgs_blob | TYPE STANDARD TABLE OF BAPICUBLB, " | |||
| lv_convert_parvw_auart | TYPE BAPIFLAG-BAPIFLAG, " SPACE | |||
| lt_contract_cfgs_vk | TYPE STANDARD TABLE OF BAPICUVK, " | |||
| lv_cont_header_in_map | TYPE BAPIOILSDHD1_MAP, " | |||
| lv_cont_header_in_mcoe | TYPE BAPIOILSDHD1_MCOE, " | |||
| lt_contract_cfgs_refinst | TYPE STANDARD TABLE OF BAPICUREF, " | |||
| lt_contract_data_in | TYPE STANDARD TABLE OF BAPICTR, " | |||
| lv_cont_header_in_exg | TYPE BAPIOILSDHD1_EXG, " | |||
| lt_contract_data_inx | TYPE STANDARD TABLE OF BAPICTRX, " | |||
| lt_contract_text | TYPE STANDARD TABLE OF BAPISDTEXT, " | |||
| lt_contract_keys | TYPE STANDARD TABLE OF BAPISDKEY, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_partneraddresses | TYPE STANDARD TABLE OF BAPIADDR1, " | |||
| lt_cont_items_in_map | TYPE STANDARD TABLE OF BAPIOILSDITM_MAP, " | |||
| lt_contract_items_in | TYPE STANDARD TABLE OF BAPISDITM, " | |||
| lv_contract_header_in | TYPE BAPISDHD1, " | |||
| lv_contract_header_out | TYPE BAPISDHD, " | |||
| lt_cont_items_in_mcoe | TYPE STANDARD TABLE OF BAPIOILSDITM_MCOE, " | |||
| lt_cont_items_in_exg | TYPE STANDARD TABLE OF BAPIOILSDITM_EXG, " | |||
| lt_cont_items_in_exg_fees | TYPE STANDARD TABLE OF BAPIOILSDITM_EXG_FEES, " | |||
| lt_cont_items_in_tdp | TYPE STANDARD TABLE OF BAPIOILSDITM_TDP, " | |||
| lt_cont_items_in_tsw | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW, " | |||
| lt_cont_items_in_tsw_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_X, " | |||
| lt_cont_items_in_tsw_mot | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_MOT, " | |||
| lt_cont_items_in_tsw_mot_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_MOT_X, " | |||
| lt_cont_items_in_tsw_fc | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_FC, " | |||
| lt_cont_items_in_tsw_fc_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_FC_X, " | |||
| lt_contract_items_inx | TYPE STANDARD TABLE OF BAPISDITMX, " | |||
| lv_contract_header_inx | TYPE BAPISDHD1X, " | |||
| lt_cont_items_in_tsw_ev | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_EV, " | |||
| lt_cont_items_in_tsw_ev_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_EV_X, " | |||
| lt_cont_items_in_tsw_loc | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LOC, " | |||
| lt_cont_items_in_tsw_loc_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LOC_X, " | |||
| lt_cont_items_in_tsw_prod | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_PROD, " | |||
| lt_cont_items_in_tsw_prod_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_PROD_X, " | |||
| lt_cont_items_in_tsw_lt | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LT, " | |||
| lt_cont_items_in_tsw_lt_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LT_X, " | |||
| lt_cont_items_in_tsw_ltev | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LTEV, " | |||
| lt_cont_items_in_tsw_ltev_x | TYPE STANDARD TABLE OF BAPIOILSDITM_TSW_LTEV_X, " | |||
| lv_sender | TYPE BAPI_SENDER, " | |||
| lt_contract_partners | TYPE STANDARD TABLE OF BAPIPARNR, " | |||
| lt_contract_conditions_in | TYPE STANDARD TABLE OF BAPICOND, " | |||
| lv_binary_relationshiptype | TYPE BAPIRELTYPE-RELTYPE, " SPACE | |||
| lt_contract_cfgs_ref | TYPE STANDARD TABLE OF BAPICUCFG, " | |||
| lv_int_number_assignment | TYPE BAPIFLAG-BAPIFLAG, " SPACE | |||
| lv_behave_when_error | TYPE BAPIFLAG-BAPIFLAG, " SPACE | |||
| lt_contract_cfgs_inst | TYPE STANDARD TABLE OF BAPICUINS, " | |||
| lv_logic_switch | TYPE BAPISDLS, " SPACE | |||
| lt_contract_cfgs_part_of | TYPE STANDARD TABLE OF BAPICUPRT, " | |||
| lv_testrun | TYPE BAPIFLAG-BAPIFLAG, " | |||
| lt_contract_cfgs_value | TYPE STANDARD TABLE OF BAPICUVAL. " |
|   CALL FUNCTION 'RFC_SDCONOIL_CREATEFROMDATA' "Create Customer Contract with add. Oil-fields |
| EXPORTING | ||
| SALESDOCUMENT | = lv_salesdocument | |
| CONVERT_PARVW_AUART | = lv_convert_parvw_auart | |
| CONT_HEADER_IN_MAP | = lv_cont_header_in_map | |
| CONT_HEADER_IN_MCOE | = lv_cont_header_in_mcoe | |
| CONT_HEADER_IN_EXG | = lv_cont_header_in_exg | |
| CONTRACT_HEADER_IN | = lv_contract_header_in | |
| CONTRACT_HEADER_INX | = lv_contract_header_inx | |
| SENDER | = lv_sender | |
| BINARY_RELATIONSHIPTYPE | = lv_binary_relationshiptype | |
| INT_NUMBER_ASSIGNMENT | = lv_int_number_assignment | |
| BEHAVE_WHEN_ERROR | = lv_behave_when_error | |
| LOGIC_SWITCH | = lv_logic_switch | |
| TESTRUN | = lv_testrun | |
| IMPORTING | ||
| SALESDOCUMENT_EX | = lv_salesdocument_ex | |
| CONTRACT_HEADER_OUT | = lv_contract_header_out | |
| TABLES | ||
| RETURN | = lt_return | |
| CONTRACT_CFGS_BLOB | = lt_contract_cfgs_blob | |
| CONTRACT_CFGS_VK | = lt_contract_cfgs_vk | |
| CONTRACT_CFGS_REFINST | = lt_contract_cfgs_refinst | |
| CONTRACT_DATA_IN | = lt_contract_data_in | |
| CONTRACT_DATA_INX | = lt_contract_data_inx | |
| CONTRACT_TEXT | = lt_contract_text | |
| CONTRACT_KEYS | = lt_contract_keys | |
| EXTENSIONIN | = lt_extensionin | |
| PARTNERADDRESSES | = lt_partneraddresses | |
| CONT_ITEMS_IN_MAP | = lt_cont_items_in_map | |
| CONTRACT_ITEMS_IN | = lt_contract_items_in | |
| CONT_ITEMS_IN_MCOE | = lt_cont_items_in_mcoe | |
| CONT_ITEMS_IN_EXG | = lt_cont_items_in_exg | |
| CONT_ITEMS_IN_EXG_FEES | = lt_cont_items_in_exg_fees | |
| CONT_ITEMS_IN_TDP | = lt_cont_items_in_tdp | |
| CONT_ITEMS_IN_TSW | = lt_cont_items_in_tsw | |
| CONT_ITEMS_IN_TSW_X | = lt_cont_items_in_tsw_x | |
| CONT_ITEMS_IN_TSW_MOT | = lt_cont_items_in_tsw_mot | |
| CONT_ITEMS_IN_TSW_MOT_X | = lt_cont_items_in_tsw_mot_x | |
| CONT_ITEMS_IN_TSW_FC | = lt_cont_items_in_tsw_fc | |
| CONT_ITEMS_IN_TSW_FC_X | = lt_cont_items_in_tsw_fc_x | |
| CONTRACT_ITEMS_INX | = lt_contract_items_inx | |
| CONT_ITEMS_IN_TSW_EV | = lt_cont_items_in_tsw_ev | |
| CONT_ITEMS_IN_TSW_EV_X | = lt_cont_items_in_tsw_ev_x | |
| CONT_ITEMS_IN_TSW_LOC | = lt_cont_items_in_tsw_loc | |
| CONT_ITEMS_IN_TSW_LOC_X | = lt_cont_items_in_tsw_loc_x | |
| CONT_ITEMS_IN_TSW_PROD | = lt_cont_items_in_tsw_prod | |
| CONT_ITEMS_IN_TSW_PROD_X | = lt_cont_items_in_tsw_prod_x | |
| CONT_ITEMS_IN_TSW_LT | = lt_cont_items_in_tsw_lt | |
| CONT_ITEMS_IN_TSW_LT_X | = lt_cont_items_in_tsw_lt_x | |
| CONT_ITEMS_IN_TSW_LTEV | = lt_cont_items_in_tsw_ltev | |
| CONT_ITEMS_IN_TSW_LTEV_X | = lt_cont_items_in_tsw_ltev_x | |
| CONTRACT_PARTNERS | = lt_contract_partners | |
| CONTRACT_CONDITIONS_IN | = lt_contract_conditions_in | |
| CONTRACT_CFGS_REF | = lt_contract_cfgs_ref | |
| CONTRACT_CFGS_INST | = lt_contract_cfgs_inst | |
| CONTRACT_CFGS_PART_OF | = lt_contract_cfgs_part_of | |
| CONTRACT_CFGS_VALUE | = lt_contract_cfgs_value | |
| . " RFC_SDCONOIL_CREATEFROMDATA | ||
ABAP code using 7.40 inline data declarations to call FM RFC_SDCONOIL_CREATEFROMDATA
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 VBELN FROM BAPIVBELN INTO @DATA(ld_salesdocument). | ||||
| "SELECT single VBELN FROM BAPIVBELN INTO @DATA(ld_salesdocument_ex). | ||||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_convert_parvw_auart). | ||||
| DATA(ld_convert_parvw_auart) | = ' '. | |||
| "SELECT single RELTYPE FROM BAPIRELTYPE INTO @DATA(ld_binary_relationshiptype). | ||||
| DATA(ld_binary_relationshiptype) | = ' '. | |||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_int_number_assignment). | ||||
| DATA(ld_int_number_assignment) | = ' '. | |||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_behave_when_error). | ||||
| DATA(ld_behave_when_error) | = ' '. | |||
| DATA(ld_logic_switch) | = ' '. | |||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_testrun). | ||||
Search for further information about these or an SAP related objects