SAP ISM_BAPI_007_CREATEFROMDATA Function Module for IS-M: BAPI Create Business Partner
ISM_BAPI_007_CREATEFROMDATA is a standard ism bapi 007 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 IS-M: BAPI Create Business Partner 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 ism bapi 007 createfromdata FM, simply by entering the name ISM_BAPI_007_CREATEFROMDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: JGBP_BAPI2
Program Name: SAPLJGBP_BAPI2
Main Program: SAPLJGBP_BAPI2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_BAPI_007_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 'ISM_BAPI_007_CREATEFROMDATA'"IS-M: BAPI Create Business Partner.
EXPORTING
* PARTNER = "Business Partner Number
* CENTRALDATA_X = "SAP BP: BAPI Structure for Central Data, Update Bar
* CENTRALDATAPERSON_X = "SAP BP: BAPI Structure for Personal Data, Update Bar
* CENTRALDATAORGANIZATION_X = "SAP BP: BAPI Structure for Organization Data, Update Bar
* CENTRALDATAGROUP_X = "SAP BP: BAPI Structure for Group Data, Update Bar
* MEDIA_CENTRAL = "
* MEDIA_CUSTOMER_SALES = "IS-M: Business Partner Media Sales Customer (JJTVM) TAB
* RETAILER = "IS-M: Business Partner Retailer (JGTEUWV)
* RETAILER_SALES = "
* CUSTOMER_CENTRAL = "IS-M: Business Partner Customer Master - Central Data (KNA1)
* CUSTOMER_COMPANY = "IS-M: Business Partner Customer Master Company Code (KNB1)
* PARTNERTEMPLATE = "IS-M: Partner Reference
* CUSTOMER_SALES = "IS-M: Business Partner Customer Master Sales & Dist. (KNVV)
* MEDIA_CENTRAL_X = "IS-M: Business Partner Central Data (JGTBP00) X
* MEDIA_CUSTOMER_SALES_X = "IS-M: Business Partner SD Media Customer (JJTVM) X
* RETAILER_X = "IS-M: Business Partner Retailer (JGTEUWV) X
* CUSTOMER_CENTRAL_X = "IS-M: Business Partner Customer Master Central Data (KNA1) X
* RETAILER_SALES_X = "IS-M: Business Partner SD Retailer (JGTEUWVV) X
* CUSTOMER_COMPANY_X = "IS-M: Business Partner Customer Master Company Code (KNB1) X
* CUSTOMER_SALES_X = "IS-M: Business Partner Customer Master Sales & Dist.(KNVV) X
* ADDRESS = "
* ADDRESS_X = "SAP BP: BAPI Structure for Address Data; Update Bar
* PARTNERCATEGORY = "Business Partner Category
* TESTRUN = "Switch to Simulation Mode for Write BAPIs
* PARTNERGROUP = "Business Partner Grouping
PARTNERROLE = "Business Partner Role
* CENTRALDATA = "SAP BP: BAPI Structure for Central Data
* CENTRALDATAPERSON = "SAP BP: BAPI Structure for Personal Data
* CENTRALDATAORGANIZATION = "SAP BP: BAPI Structure for Organization Data
* CENTRALDATAGROUP = "SAP BP: BAPI Structure for Group Data
IMPORTING
BUSINESSPARTNER = "Business Partner Number
TABLES
* CUSTOMER_TAX_INDICATOR = "IS-M: BP Customer Master Tax Indicators (knvi)
* TELETEXDATA = "IS-M: JGBP BABI BAPIADTTX TAB
* TELEXDATA = "IS-M: JGBP BABI BAPIADTLX TAB
* E_MAILDATA = "IS-M: JGBP BABI BAPIADSMTP TAB
* RMLADDRESSDATA = "IS-M: JGBP BABI BAPIADRML TAB
* X400ADDRESSDATA = "IS-M: JGBP BABI BAPIADX400 TAB
* RFCADDRESSDATA = "IS-M: JGBP BABI BAPIADRFC TAB
* PRTADDRESSDATA = "IS-M: JGBP BABI BAPIADPRT TAB
* SSFADDRESSDATA = "IS-M: JGBP BABI BAPIADSSF TAB
* URIADDRESSDATA = "IS-M: JGBP BABI BAPIADURI TAB
* PAGADDRESSDATA = "IS-M: JGBP BABI BAPIADPAG TAB
* CUSTOMER_TAX_INDICATOR_X = "IS-M: BP Customer Master Tax Indicators (knvi) X
* ADDRESSNOTES = "IS-M: JGBP BABI BAPIAD_REM TAB
* COMMUNICATIONNOTES = "IS-M: JGBP BABI BAPICOMREM TAB
* TELEFONDATA_X = "Change BAPI Reference Structure for Structure BAPIADTEL
* FAXDATA_X = "Change BAPI Reference Structure for Structure BAPIADFAXX
* TELETEXDATA_X = "Change BAPI Reference Structure for Structure BAPIADTTX
* TELEXDATA_X = "Change BAPI Reference Structure for Structure BAPIADTLX
* E_MAILDATA_X = "Change BAPI Reference Structure for Structure BAPIADSMTP
* RMLADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADRML
* X400ADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADX400
* RFCADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADRFC
* CUSTOMER_REMINDER = "IS-M: BP Customer Master Dunning Data (knb5)
* PRTADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADPRT
* SSFADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADSSF
* URIADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADURI
* PAGADDRESSDATA_X = "Change BAPI Reference Structure for Structure BAPIADPAG
* ADDRESSNOTES_X = "Change BAPI Reference Structure for Structure BAPIAD_REM
* COMMUNICATIONNOTES_X = "Change BAPI Reference Structure for Structure BAPICOMREM
* EXTENSION_IN = "Reference Structure for BAPI ExtensionIn/ExtensionOut Parameters
* RETURN = "Return Parameter(s)
* CUSTOMER_REMINDER_X = "IS-M: BP Customer Master Dunning Data (KNB5) X
* BANKDETAILS = "IS-M: Business Partner Bank Details
* BANKDETAILS_X = "SAP BP: BAPI Structure for Bank Details Data, Update Bar
* CCARDS = "IS-M: Business Partner Credit Cards
* TELEFONDATA = "IS-M: JGBP BABI BAPIADTEL TAB
* FAXDATA = "IS-M: JGBP BABI BAPIADFAX TAB
IMPORTING Parameters details for ISM_BAPI_007_CREATEFROMDATA
PARTNER - Business Partner Number
Data type: BAPIBUS1006_HEAD-BPARTNEROptional: Yes
Call by Reference: Yes
CENTRALDATA_X - SAP BP: BAPI Structure for Central Data, Update Bar
Data type: BAPIBUSISM007_SAPGP_XOptional: Yes
Call by Reference: Yes
CENTRALDATAPERSON_X - SAP BP: BAPI Structure for Personal Data, Update Bar
Data type: BAPIBUSISM007_SAPGP_PERS_XOptional: Yes
Call by Reference: Yes
CENTRALDATAORGANIZATION_X - SAP BP: BAPI Structure for Organization Data, Update Bar
Data type: BAPIBUSISM007_SAPGP_ORG_XOptional: Yes
Call by Reference: Yes
CENTRALDATAGROUP_X - SAP BP: BAPI Structure for Group Data, Update Bar
Data type: BAPIBUSISM007_SAPGP_GRP_XOptional: Yes
Call by Reference: Yes
MEDIA_CENTRAL -
Data type: BAPIBUSISM007_CENTRALOptional: Yes
Call by Reference: Yes
MEDIA_CUSTOMER_SALES - IS-M: Business Partner Media Sales Customer (JJTVM) TAB
Data type: BAPIBUSISM007_MC_SALESOptional: Yes
Call by Reference: Yes
RETAILER - IS-M: Business Partner Retailer (JGTEUWV)
Data type: BAPIBUSISM007_RETAILEROptional: Yes
Call by Reference: Yes
RETAILER_SALES -
Data type: BAPIBUSISM007_RET_SALESOptional: Yes
Call by Reference: Yes
CUSTOMER_CENTRAL - IS-M: Business Partner Customer Master - Central Data (KNA1)
Data type: BAPIBUSISM007_CUST_CENTOptional: Yes
Call by Reference: Yes
CUSTOMER_COMPANY - IS-M: Business Partner Customer Master Company Code (KNB1)
Data type: BAPIBUSISM007_CUST_COMPOptional: Yes
Call by Reference: Yes
PARTNERTEMPLATE - IS-M: Partner Reference
Data type: BAPIBUSISM007_HEADER-PARTNER_TEMPLATEOptional: Yes
Call by Reference: Yes
CUSTOMER_SALES - IS-M: Business Partner Customer Master Sales & Dist. (KNVV)
Data type: BAPIBUSISM007_CUST_SALESOptional: Yes
Call by Reference: Yes
MEDIA_CENTRAL_X - IS-M: Business Partner Central Data (JGTBP00) X
Data type: BAPIBUSISM007_CENTRAL_XOptional: Yes
Call by Reference: Yes
MEDIA_CUSTOMER_SALES_X - IS-M: Business Partner SD Media Customer (JJTVM) X
Data type: BAPIBUSISM007_MC_SALES_XOptional: Yes
Call by Reference: Yes
RETAILER_X - IS-M: Business Partner Retailer (JGTEUWV) X
Data type: BAPIBUSISM007_RETAILER_XOptional: Yes
Call by Reference: Yes
CUSTOMER_CENTRAL_X - IS-M: Business Partner Customer Master Central Data (KNA1) X
Data type: BAPIBUSISM007_CUST_CENT_XOptional: Yes
Call by Reference: Yes
RETAILER_SALES_X - IS-M: Business Partner SD Retailer (JGTEUWVV) X
Data type: BAPIBUSISM007_RET_SALES_XOptional: Yes
Call by Reference: Yes
CUSTOMER_COMPANY_X - IS-M: Business Partner Customer Master Company Code (KNB1) X
Data type: BAPIBUSISM007_CUST_COMP_XOptional: Yes
Call by Reference: Yes
CUSTOMER_SALES_X - IS-M: Business Partner Customer Master Sales & Dist.(KNVV) X
Data type: BAPIBUSISM007_CUST_SALES_XOptional: Yes
Call by Reference: Yes
ADDRESS -
Data type: BAPIBUSISM007_ADDRESSOptional: Yes
Call by Reference: Yes
ADDRESS_X - SAP BP: BAPI Structure for Address Data; Update Bar
Data type: BAPIBUSISM007_ADDRESS_XOptional: Yes
Call by Reference: Yes
PARTNERCATEGORY - Business Partner Category
Data type: BAPIBUS1006_HEAD-PARTN_CATOptional: Yes
Call by Reference: Yes
TESTRUN - Switch to Simulation Mode for Write BAPIs
Data type: BAPI_VBKA_MISC-TESTRUNOptional: Yes
Call by Reference: Yes
PARTNERGROUP - Business Partner Grouping
Data type: BAPIBUS1006_HEAD-PARTN_GRPOptional: Yes
Call by Reference: Yes
PARTNERROLE - Business Partner Role
Data type: BAPIBUS1006_HEAD-PARTNROLEOptional: No
Call by Reference: Yes
CENTRALDATA - SAP BP: BAPI Structure for Central Data
Data type: BAPIBUSISM007_SAPGPOptional: Yes
Call by Reference: Yes
CENTRALDATAPERSON - SAP BP: BAPI Structure for Personal Data
Data type: BAPIBUSISM007_SAPGP_PERSONOptional: Yes
Call by Reference: Yes
CENTRALDATAORGANIZATION - SAP BP: BAPI Structure for Organization Data
Data type: BAPIBUSISM007_SAPGP_ORGANOptional: Yes
Call by Reference: Yes
CENTRALDATAGROUP - SAP BP: BAPI Structure for Group Data
Data type: BAPIBUSISM007_SAPGP_GROUPOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISM_BAPI_007_CREATEFROMDATA
BUSINESSPARTNER - Business Partner Number
Data type: BAPIBUS1006_HEAD-BPARTNEROptional: No
Call by Reference: Yes
TABLES Parameters details for ISM_BAPI_007_CREATEFROMDATA
CUSTOMER_TAX_INDICATOR - IS-M: BP Customer Master Tax Indicators (knvi)
Data type: BAPIBUSISM007_CUST_TAX_IOptional: Yes
Call by Reference: Yes
TELETEXDATA - IS-M: JGBP BABI BAPIADTTX TAB
Data type: BAPIADTTXOptional: Yes
Call by Reference: No ( called with pass by value option)
TELEXDATA - IS-M: JGBP BABI BAPIADTLX TAB
Data type: BAPIADTLXOptional: Yes
Call by Reference: No ( called with pass by value option)
E_MAILDATA - IS-M: JGBP BABI BAPIADSMTP TAB
Data type: BAPIADSMTPOptional: Yes
Call by Reference: No ( called with pass by value option)
RMLADDRESSDATA - IS-M: JGBP BABI BAPIADRML TAB
Data type: BAPIADRMLOptional: Yes
Call by Reference: No ( called with pass by value option)
X400ADDRESSDATA - IS-M: JGBP BABI BAPIADX400 TAB
Data type: BAPIADX400Optional: Yes
Call by Reference: No ( called with pass by value option)
RFCADDRESSDATA - IS-M: JGBP BABI BAPIADRFC TAB
Data type: BAPIADRFCOptional: Yes
Call by Reference: No ( called with pass by value option)
PRTADDRESSDATA - IS-M: JGBP BABI BAPIADPRT TAB
Data type: BAPIADPRTOptional: Yes
Call by Reference: No ( called with pass by value option)
SSFADDRESSDATA - IS-M: JGBP BABI BAPIADSSF TAB
Data type: BAPIADSSFOptional: Yes
Call by Reference: No ( called with pass by value option)
URIADDRESSDATA - IS-M: JGBP BABI BAPIADURI TAB
Data type: BAPIADURIOptional: Yes
Call by Reference: No ( called with pass by value option)
PAGADDRESSDATA - IS-M: JGBP BABI BAPIADPAG TAB
Data type: BAPIADPAGOptional: Yes
Call by Reference: No ( called with pass by value option)
CUSTOMER_TAX_INDICATOR_X - IS-M: BP Customer Master Tax Indicators (knvi) X
Data type: BAPIBUSISM007_CUST_TAX_I_XOptional: Yes
Call by Reference: Yes
ADDRESSNOTES - IS-M: JGBP BABI BAPIAD_REM TAB
Data type: BAPIBUSISM007_AD_REMOptional: Yes
Call by Reference: Yes
COMMUNICATIONNOTES - IS-M: JGBP BABI BAPICOMREM TAB
Data type: BAPICOMREMOptional: Yes
Call by Reference: No ( called with pass by value option)
TELEFONDATA_X - Change BAPI Reference Structure for Structure BAPIADTEL
Data type: BAPIADTELXOptional: Yes
Call by Reference: Yes
FAXDATA_X - Change BAPI Reference Structure for Structure BAPIADFAXX
Data type: BAPIADFAXXOptional: Yes
Call by Reference: Yes
TELETEXDATA_X - Change BAPI Reference Structure for Structure BAPIADTTX
Data type: BAPIADTTXXOptional: Yes
Call by Reference: Yes
TELEXDATA_X - Change BAPI Reference Structure for Structure BAPIADTLX
Data type: BAPIADTLXXOptional: Yes
Call by Reference: Yes
E_MAILDATA_X - Change BAPI Reference Structure for Structure BAPIADSMTP
Data type: BAPIADSMTXOptional: Yes
Call by Reference: Yes
RMLADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADRML
Data type: BAPIADRMLXOptional: Yes
Call by Reference: Yes
X400ADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADX400
Data type: BAPIADX40XOptional: Yes
Call by Reference: Yes
RFCADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADRFC
Data type: BAPIADRFCXOptional: Yes
Call by Reference: Yes
CUSTOMER_REMINDER - IS-M: BP Customer Master Dunning Data (knb5)
Data type: BAPIBUSISM007_CUST_REMINOptional: Yes
Call by Reference: Yes
PRTADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADPRT
Data type: BAPIADPRTXOptional: Yes
Call by Reference: Yes
SSFADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADSSF
Data type: BAPIADSSFXOptional: Yes
Call by Reference: Yes
URIADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADURI
Data type: BAPIADURIXOptional: Yes
Call by Reference: Yes
PAGADDRESSDATA_X - Change BAPI Reference Structure for Structure BAPIADPAG
Data type: BAPIADPAGXOptional: Yes
Call by Reference: Yes
ADDRESSNOTES_X - Change BAPI Reference Structure for Structure BAPIAD_REM
Data type: BAPIAD_REXOptional: Yes
Call by Reference: Yes
COMMUNICATIONNOTES_X - Change BAPI Reference Structure for Structure BAPICOMREM
Data type: BAPICOMREXOptional: Yes
Call by Reference: Yes
EXTENSION_IN - Reference Structure for BAPI ExtensionIn/ExtensionOut Parameters
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
CUSTOMER_REMINDER_X - IS-M: BP Customer Master Dunning Data (KNB5) X
Data type: BAPIBUSISM007_CUST_REMIN_XOptional: Yes
Call by Reference: Yes
BANKDETAILS - IS-M: Business Partner Bank Details
Data type: BAPIBUSISM007_BANKOptional: Yes
Call by Reference: Yes
BANKDETAILS_X - SAP BP: BAPI Structure for Bank Details Data, Update Bar
Data type: BAPIBUSISM007_BANK_XOptional: Yes
Call by Reference: Yes
CCARDS - IS-M: Business Partner Credit Cards
Data type: BAPIBUSISM007_CCARDSOptional: Yes
Call by Reference: No ( called with pass by value option)
TELEFONDATA - IS-M: JGBP BABI BAPIADTEL TAB
Data type: BAPIADTELOptional: Yes
Call by Reference: No ( called with pass by value option)
FAXDATA - IS-M: JGBP BABI BAPIADFAX TAB
Data type: BAPIADFAXOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_BAPI_007_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: | ||||
| lv_partner | TYPE BAPIBUS1006_HEAD-BPARTNER, " | |||
| lv_businesspartner | TYPE BAPIBUS1006_HEAD-BPARTNER, " | |||
| lt_customer_tax_indicator | TYPE STANDARD TABLE OF BAPIBUSISM007_CUST_TAX_I, " | |||
| lt_teletexdata | TYPE STANDARD TABLE OF BAPIADTTX, " | |||
| lv_centraldata_x | TYPE BAPIBUSISM007_SAPGP_X, " | |||
| lt_telexdata | TYPE STANDARD TABLE OF BAPIADTLX, " | |||
| lv_centraldataperson_x | TYPE BAPIBUSISM007_SAPGP_PERS_X, " | |||
| lt_e_maildata | TYPE STANDARD TABLE OF BAPIADSMTP, " | |||
| lv_centraldataorganization_x | TYPE BAPIBUSISM007_SAPGP_ORG_X, " | |||
| lt_rmladdressdata | TYPE STANDARD TABLE OF BAPIADRML, " | |||
| lv_centraldatagroup_x | TYPE BAPIBUSISM007_SAPGP_GRP_X, " | |||
| lv_media_central | TYPE BAPIBUSISM007_CENTRAL, " | |||
| lt_x400addressdata | TYPE STANDARD TABLE OF BAPIADX400, " | |||
| lt_rfcaddressdata | TYPE STANDARD TABLE OF BAPIADRFC, " | |||
| lv_media_customer_sales | TYPE BAPIBUSISM007_MC_SALES, " | |||
| lv_retailer | TYPE BAPIBUSISM007_RETAILER, " | |||
| lt_prtaddressdata | TYPE STANDARD TABLE OF BAPIADPRT, " | |||
| lv_retailer_sales | TYPE BAPIBUSISM007_RET_SALES, " | |||
| lt_ssfaddressdata | TYPE STANDARD TABLE OF BAPIADSSF, " | |||
| lt_uriaddressdata | TYPE STANDARD TABLE OF BAPIADURI, " | |||
| lv_customer_central | TYPE BAPIBUSISM007_CUST_CENT, " | |||
| lt_pagaddressdata | TYPE STANDARD TABLE OF BAPIADPAG, " | |||
| lv_customer_company | TYPE BAPIBUSISM007_CUST_COMP, " | |||
| lv_partnertemplate | TYPE BAPIBUSISM007_HEADER-PARTNER_TEMPLATE, " | |||
| lt_customer_tax_indicator_x | TYPE STANDARD TABLE OF BAPIBUSISM007_CUST_TAX_I_X, " | |||
| lt_addressnotes | TYPE STANDARD TABLE OF BAPIBUSISM007_AD_REM, " | |||
| lv_customer_sales | TYPE BAPIBUSISM007_CUST_SALES, " | |||
| lv_media_central_x | TYPE BAPIBUSISM007_CENTRAL_X, " | |||
| lt_communicationnotes | TYPE STANDARD TABLE OF BAPICOMREM, " | |||
| lt_telefondata_x | TYPE STANDARD TABLE OF BAPIADTELX, " | |||
| lv_media_customer_sales_x | TYPE BAPIBUSISM007_MC_SALES_X, " | |||
| lt_faxdata_x | TYPE STANDARD TABLE OF BAPIADFAXX, " | |||
| lv_retailer_x | TYPE BAPIBUSISM007_RETAILER_X, " | |||
| lt_teletexdata_x | TYPE STANDARD TABLE OF BAPIADTTXX, " | |||
| lv_customer_central_x | TYPE BAPIBUSISM007_CUST_CENT_X, " | |||
| lt_telexdata_x | TYPE STANDARD TABLE OF BAPIADTLXX, " | |||
| lv_retailer_sales_x | TYPE BAPIBUSISM007_RET_SALES_X, " | |||
| lt_e_maildata_x | TYPE STANDARD TABLE OF BAPIADSMTX, " | |||
| lv_customer_company_x | TYPE BAPIBUSISM007_CUST_COMP_X, " | |||
| lv_customer_sales_x | TYPE BAPIBUSISM007_CUST_SALES_X, " | |||
| lt_rmladdressdata_x | TYPE STANDARD TABLE OF BAPIADRMLX, " | |||
| lv_address | TYPE BAPIBUSISM007_ADDRESS, " | |||
| lt_x400addressdata_x | TYPE STANDARD TABLE OF BAPIADX40X, " | |||
| lv_address_x | TYPE BAPIBUSISM007_ADDRESS_X, " | |||
| lt_rfcaddressdata_x | TYPE STANDARD TABLE OF BAPIADRFCX, " | |||
| lv_partnercategory | TYPE BAPIBUS1006_HEAD-PARTN_CAT, " | |||
| lt_customer_reminder | TYPE STANDARD TABLE OF BAPIBUSISM007_CUST_REMIN, " | |||
| lv_testrun | TYPE BAPI_VBKA_MISC-TESTRUN, " | |||
| lt_prtaddressdata_x | TYPE STANDARD TABLE OF BAPIADPRTX, " | |||
| lt_ssfaddressdata_x | TYPE STANDARD TABLE OF BAPIADSSFX, " | |||
| lt_uriaddressdata_x | TYPE STANDARD TABLE OF BAPIADURIX, " | |||
| lt_pagaddressdata_x | TYPE STANDARD TABLE OF BAPIADPAGX, " | |||
| lt_addressnotes_x | TYPE STANDARD TABLE OF BAPIAD_REX, " | |||
| lt_communicationnotes_x | TYPE STANDARD TABLE OF BAPICOMREX, " | |||
| lt_extension_in | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_partnergroup | TYPE BAPIBUS1006_HEAD-PARTN_GRP, " | |||
| lt_customer_reminder_x | TYPE STANDARD TABLE OF BAPIBUSISM007_CUST_REMIN_X, " | |||
| lt_bankdetails | TYPE STANDARD TABLE OF BAPIBUSISM007_BANK, " | |||
| lv_partnerrole | TYPE BAPIBUS1006_HEAD-PARTNROLE, " | |||
| lv_centraldata | TYPE BAPIBUSISM007_SAPGP, " | |||
| lt_bankdetails_x | TYPE STANDARD TABLE OF BAPIBUSISM007_BANK_X, " | |||
| lt_ccards | TYPE STANDARD TABLE OF BAPIBUSISM007_CCARDS, " | |||
| lv_centraldataperson | TYPE BAPIBUSISM007_SAPGP_PERSON, " | |||
| lt_telefondata | TYPE STANDARD TABLE OF BAPIADTEL, " | |||
| lv_centraldataorganization | TYPE BAPIBUSISM007_SAPGP_ORGAN, " | |||
| lt_faxdata | TYPE STANDARD TABLE OF BAPIADFAX, " | |||
| lv_centraldatagroup | TYPE BAPIBUSISM007_SAPGP_GROUP. " |
|   CALL FUNCTION 'ISM_BAPI_007_CREATEFROMDATA' "IS-M: BAPI Create Business Partner |
| EXPORTING | ||
| PARTNER | = lv_partner | |
| CENTRALDATA_X | = lv_centraldata_x | |
| CENTRALDATAPERSON_X | = lv_centraldataperson_x | |
| CENTRALDATAORGANIZATION_X | = lv_centraldataorganization_x | |
| CENTRALDATAGROUP_X | = lv_centraldatagroup_x | |
| MEDIA_CENTRAL | = lv_media_central | |
| MEDIA_CUSTOMER_SALES | = lv_media_customer_sales | |
| RETAILER | = lv_retailer | |
| RETAILER_SALES | = lv_retailer_sales | |
| CUSTOMER_CENTRAL | = lv_customer_central | |
| CUSTOMER_COMPANY | = lv_customer_company | |
| PARTNERTEMPLATE | = lv_partnertemplate | |
| CUSTOMER_SALES | = lv_customer_sales | |
| MEDIA_CENTRAL_X | = lv_media_central_x | |
| MEDIA_CUSTOMER_SALES_X | = lv_media_customer_sales_x | |
| RETAILER_X | = lv_retailer_x | |
| CUSTOMER_CENTRAL_X | = lv_customer_central_x | |
| RETAILER_SALES_X | = lv_retailer_sales_x | |
| CUSTOMER_COMPANY_X | = lv_customer_company_x | |
| CUSTOMER_SALES_X | = lv_customer_sales_x | |
| ADDRESS | = lv_address | |
| ADDRESS_X | = lv_address_x | |
| PARTNERCATEGORY | = lv_partnercategory | |
| TESTRUN | = lv_testrun | |
| PARTNERGROUP | = lv_partnergroup | |
| PARTNERROLE | = lv_partnerrole | |
| CENTRALDATA | = lv_centraldata | |
| CENTRALDATAPERSON | = lv_centraldataperson | |
| CENTRALDATAORGANIZATION | = lv_centraldataorganization | |
| CENTRALDATAGROUP | = lv_centraldatagroup | |
| IMPORTING | ||
| BUSINESSPARTNER | = lv_businesspartner | |
| TABLES | ||
| CUSTOMER_TAX_INDICATOR | = lt_customer_tax_indicator | |
| TELETEXDATA | = lt_teletexdata | |
| TELEXDATA | = lt_telexdata | |
| E_MAILDATA | = lt_e_maildata | |
| RMLADDRESSDATA | = lt_rmladdressdata | |
| X400ADDRESSDATA | = lt_x400addressdata | |
| RFCADDRESSDATA | = lt_rfcaddressdata | |
| PRTADDRESSDATA | = lt_prtaddressdata | |
| SSFADDRESSDATA | = lt_ssfaddressdata | |
| URIADDRESSDATA | = lt_uriaddressdata | |
| PAGADDRESSDATA | = lt_pagaddressdata | |
| CUSTOMER_TAX_INDICATOR_X | = lt_customer_tax_indicator_x | |
| ADDRESSNOTES | = lt_addressnotes | |
| COMMUNICATIONNOTES | = lt_communicationnotes | |
| TELEFONDATA_X | = lt_telefondata_x | |
| FAXDATA_X | = lt_faxdata_x | |
| TELETEXDATA_X | = lt_teletexdata_x | |
| TELEXDATA_X | = lt_telexdata_x | |
| E_MAILDATA_X | = lt_e_maildata_x | |
| RMLADDRESSDATA_X | = lt_rmladdressdata_x | |
| X400ADDRESSDATA_X | = lt_x400addressdata_x | |
| RFCADDRESSDATA_X | = lt_rfcaddressdata_x | |
| CUSTOMER_REMINDER | = lt_customer_reminder | |
| PRTADDRESSDATA_X | = lt_prtaddressdata_x | |
| SSFADDRESSDATA_X | = lt_ssfaddressdata_x | |
| URIADDRESSDATA_X | = lt_uriaddressdata_x | |
| PAGADDRESSDATA_X | = lt_pagaddressdata_x | |
| ADDRESSNOTES_X | = lt_addressnotes_x | |
| COMMUNICATIONNOTES_X | = lt_communicationnotes_x | |
| EXTENSION_IN | = lt_extension_in | |
| RETURN | = lt_return | |
| CUSTOMER_REMINDER_X | = lt_customer_reminder_x | |
| BANKDETAILS | = lt_bankdetails | |
| BANKDETAILS_X | = lt_bankdetails_x | |
| CCARDS | = lt_ccards | |
| TELEFONDATA | = lt_telefondata | |
| FAXDATA | = lt_faxdata | |
| . " ISM_BAPI_007_CREATEFROMDATA | ||
ABAP code using 7.40 inline data declarations to call FM ISM_BAPI_007_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 BPARTNER FROM BAPIBUS1006_HEAD INTO @DATA(ld_partner). | ||||
| "SELECT single BPARTNER FROM BAPIBUS1006_HEAD INTO @DATA(ld_businesspartner). | ||||
| "SELECT single PARTNER_TEMPLATE FROM BAPIBUSISM007_HEADER INTO @DATA(ld_partnertemplate). | ||||
| "SELECT single PARTN_CAT FROM BAPIBUS1006_HEAD INTO @DATA(ld_partnercategory). | ||||
| "SELECT single TESTRUN FROM BAPI_VBKA_MISC INTO @DATA(ld_testrun). | ||||
| "SELECT single PARTN_GRP FROM BAPIBUS1006_HEAD INTO @DATA(ld_partnergroup). | ||||
| "SELECT single PARTNROLE FROM BAPIBUS1006_HEAD INTO @DATA(ld_partnerrole). | ||||
Search for further information about these or an SAP related objects