SAP SMC_SUPPLIER_CHANGE_BP_RFCWRAP Function Module for Creates a Supplier (optionally plus Contact Persons)









SMC_SUPPLIER_CHANGE_BP_RFCWRAP is a standard smc supplier change bp rfcwrap SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Creates a Supplier (optionally plus Contact Persons) 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 smc supplier change bp rfcwrap FM, simply by entering the name SMC_SUPPLIER_CHANGE_BP_RFCWRAP into the relevant SAP transaction such as SE37 or SE38.

Function Group: ERP_SMC_BUPA_INTEGRATION
Program Name: SAPLERP_SMC_BUPA_INTEGRATION
Main Program: SAPLERP_SMC_BUPA_INTEGRATION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SMC_SUPPLIER_CHANGE_BP_RFCWRAP 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 'SMC_SUPPLIER_CHANGE_BP_RFCWRAP'"Creates a Supplier (optionally plus Contact Persons)
EXPORTING
* IV_LOG_NUMBER = "Application Log: Log Number
* IS_CONTROL_DATA = "Suppliers Control and Information Data
* IS_CONTROL_DATA_X = "Suppliers Control and Information Data - Change Info
IS_SUPPLIER_MAPPING = "Supplier Keys for distribution
* IT_CONTACT_IDS_X = "TTyp for SMC_S_CONTACT_S_KEY_X
* IV_SUPPLIER_ROLES_CHANGED = "Checkbox
* IV_SUPPLIER_IDENT_CHANGED = "Checkbox
* IV_SUPPLIER_IND_CHANGED = "Checkbox
* IV_SUPPLIER_BANK_CHANGED = "Checkbox
* IV_SUPPLIER_TAX_CHANGED = "Checkbox
* IV_SUPPLIER_QMS_CHANGED = "Checkbox
IV_SOURCE_LOGSYS = "Logical System
* IS_DATA = "General BP Data, Independent of Business Partner Category
* IS_DATA_X = "SAP BP: BAPI Structure for Central Data, Update Bar
* IS_DATA_ORGAN = "SAP BP: BAPI Structure for Organization Data
* IS_DATA_ORGAN_X = "SAP BP: BAPI Structure for Organization Data, Update Bar
* IV_WEB_ADDRIND = "URI, e.g. Homepage or ftp Address
* IV_WEB_ADDRIND_X = "Checkbox
* IV_STD_ADDR_GUID = "Key: Address GUID

TABLES
* IT_SUPPLIER_ROLES = "SAP BP: BAPI Structure for BP Roles
* IT_SUPPLIER_WEBADDR = "SMC_S_WEBADDR plus Address GUID-Key
* IT_SUPPLIER_WEBADDR_CHANGED = "Info whether a comm.-data set of an address was changed
* IT_SUPPLIER_ADDRUSE = "BAPIBUS1006_ADDRESSUSAGE plus Address GUID-Key
* IT_SUPPLIER_ADDRUSE_CHANGED = "Info whether a comm.-data set of an address was changed
* IT_SUPPLIER_IDENTIFICATION = "SAP BP: BAPI Structure for ID Number Details
* IT_SUPPLIER_BANKDATA = "SAP BP: BAPI Structure for Bank Details Data
* IT_SUPPLIER_TAXDATA = "BAPI Structure Data Part VAT Identification Number
* IT_SUPPLIER_INDUSTRIES = "SAP BP: BAPI Structure for Industries
* IT_SUPPLIER_QMSYSTEMS = "Quality Management Systems
* IT_SUP_ADDR_MAPPING = "Address mapping (internal + external number + guid)
* IT_SUPPLIER_ADDRESSES = "BAPIBUS1006_ADDRESS with Address GUID-KEY
* IT_CONT_ID_MAPPINGS = "Contact Person Key Structure for Distribution
* IT_CONTACT_DATA = "BAPIBUS1006_CENTRAL plus Contact Person GUID-Key
* IT_CONTACT_DATA_X = "BAPIBUS1006_CENTRAL plus Contact Person GUID-Key
* IT_CONTACT_DATA_PERSON = "BAPIBUS1006_CENTRAL_PERSON plus Contact GUID-Key
* IT_CONTACT_DATA_PERSON_X = "BAPIBUS1006_CENTRAL_PERSON plus Contact GUID-Key Change Info
* IT_REL_DATA_X = "BBP_S_CONTREL_DATA plus Contact Person GUID-Key Change
* IT_REL_ADDRESS = "BAPIBUS1006002_ADDRESS plus Contact and Address GUID-Key
* IT_REL_ADDRESS_X = "BAPIBUS1006002_ADDRESS plus Contact and Address GUID-Key Chg
* IT_CONTACT_ROLES = "BAPIBUS1006_ROLES plus Contact GUID-Key
* IT_CONTACT_ROLES_CHANGED = "Info whether contact person roles changed
* IT_SUPPLIER_ADDRESSES_X = "BAPIBUS1006_ADDRESS with Address GUID-KEY Change info
* IT_CONTACT_PHONE = "BAPIADTEL plus Contact Person GUID-Key
* IT_CONTACT_PHONE_CHANGED = "Indicates tha a comm.-data set of a contact has changed
* IT_CONTACT_FAX = "BAPIADFAX plus Contact Person GUID-Key
* IT_CONTACT_FAX_CHANGED = "Indicates tha a comm.-data set of a contact has changed
* IT_CONTACT_EMAIL = "BAPIADSMTP plus Contact Person GUID-Key
* IT_CONTACT_EMAIL_CHANGED = "Indicates tha a comm.-data set of a contact has changed
* IT_CONTACT_MAPPING = "Mapping: used for dupicate check only
* IT_TABLE_OF_CONTENT = "Structure table of content
* IT_DATA_CONTAINER = "Structure data container
* IT_SUPPLIER_PHONE = "BAPIADTEL plus Address GUID-Key
* IT_SUPPLIER_PHONE_CHANGED = "Info whether a comm.-data set of an address was changed
* IT_SUPPLIER_FAX = "BAPIADFAX plus Address GUID-Key
* IT_SUPPLIER_FAX_CHANGED = "Info whether a comm.-data set of an address was changed
* IT_SUPPLIER_EMAIL = "BAPIADSMTP plus Address GUID-Key
* IT_SUPPLIER_EMAIL_CHANGED = "Info whether a comm.-data set of an address was changed
.



IMPORTING Parameters details for SMC_SUPPLIER_CHANGE_BP_RFCWRAP

IV_LOG_NUMBER - Application Log: Log Number

Data type: BALOGNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_CONTROL_DATA - Suppliers Control and Information Data

Data type: SMC_S_SUP_CTRL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_CONTROL_DATA_X - Suppliers Control and Information Data - Change Info

Data type: SMC_S_SUP_CTRL_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_SUPPLIER_MAPPING - Supplier Keys for distribution

Data type: SMC_S_SUP_DISTRIB_KEYS
Optional: No
Call by Reference: No ( called with pass by value option)

IT_CONTACT_IDS_X - TTyp for SMC_S_CONTACT_S_KEY_X

Data type: SMC_T_CONTACT_S_KEY_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_ROLES_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_IDENT_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_IND_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_BANK_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_TAX_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUPPLIER_QMS_CHANGED - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SOURCE_LOGSYS - Logical System

Data type: LOGSYS
Optional: No
Call by Reference: No ( called with pass by value option)

IS_DATA - General BP Data, Independent of Business Partner Category

Data type: BAPIBUS1006_CENTRAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_X - SAP BP: BAPI Structure for Central Data, Update Bar

Data type: BAPIBUS1006_CENTRAL_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_ORGAN - SAP BP: BAPI Structure for Organization Data

Data type: BAPIBUS1006_CENTRAL_ORGAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_ORGAN_X - SAP BP: BAPI Structure for Organization Data, Update Bar

Data type: BAPIBUS1006_CENTRAL_ORGAN_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_WEB_ADDRIND - URI, e.g. Homepage or ftp Address

Data type: AD_URISCR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_WEB_ADDRIND_X - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_STD_ADDR_GUID - Key: Address GUID

Data type: SMC_ADDRESS_GUID_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SMC_SUPPLIER_CHANGE_BP_RFCWRAP

IT_SUPPLIER_ROLES - SAP BP: BAPI Structure for BP Roles

Data type: BAPIBUS1006_ROLES
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_WEBADDR - SMC_S_WEBADDR plus Address GUID-Key

Data type: SMC_S_WEBADDR_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_WEBADDR_CHANGED - Info whether a comm.-data set of an address was changed

Data type: SMC_S_COMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_ADDRUSE - BAPIBUS1006_ADDRESSUSAGE plus Address GUID-Key

Data type: SMC_S_BB1006_ADUSE_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_ADDRUSE_CHANGED - Info whether a comm.-data set of an address was changed

Data type: SMC_S_COMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_IDENTIFICATION - SAP BP: BAPI Structure for ID Number Details

Data type: BAPIBUS1006_ID_DETAILS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_BANKDATA - SAP BP: BAPI Structure for Bank Details Data

Data type: BAPIBUS1006_BANKDETAILS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_TAXDATA - BAPI Structure Data Part VAT Identification Number

Data type: BAPIBUS1006TAX
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_INDUSTRIES - SAP BP: BAPI Structure for Industries

Data type: BAPIBUS1006_INDUSTRYSECTOR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_QMSYSTEMS - Quality Management Systems

Data type: SMC_S_QMSYSTEM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUP_ADDR_MAPPING - Address mapping (internal + external number + guid)

Data type: SMC_S_SUP_ADDR_MAPPING
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_ADDRESSES - BAPIBUS1006_ADDRESS with Address GUID-KEY

Data type: SMC_S_BB1006_ADDR_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONT_ID_MAPPINGS - Contact Person Key Structure for Distribution

Data type: SMC_S_CONT_DISTRIB_KEYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_DATA - BAPIBUS1006_CENTRAL plus Contact Person GUID-Key

Data type: SMC_S_BB1006_CENT_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_DATA_X - BAPIBUS1006_CENTRAL plus Contact Person GUID-Key

Data type: SMC_S_BB1006_CENT_C_KEY_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_DATA_PERSON - BAPIBUS1006_CENTRAL_PERSON plus Contact GUID-Key

Data type: SMC_S_BB1006_PERS_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_DATA_PERSON_X - BAPIBUS1006_CENTRAL_PERSON plus Contact GUID-Key Change Info

Data type: SMC_S_BB1006_PERS_C_KEY_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REL_DATA_X - BBP_S_CONTREL_DATA plus Contact Person GUID-Key Change

Data type: SMC_S_CONTREL_C_KEY_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REL_ADDRESS - BAPIBUS1006002_ADDRESS plus Contact and Address GUID-Key

Data type: SMC_S_BB10062_ADDR_CA_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REL_ADDRESS_X - BAPIBUS1006002_ADDRESS plus Contact and Address GUID-Key Chg

Data type: SMC_S_BB10062_ADDR_CA_KEYX
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_ROLES - BAPIBUS1006_ROLES plus Contact GUID-Key

Data type: SMC_S_BB1006_ROLE_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_ROLES_CHANGED - Info whether contact person roles changed

Data type: SMC_S_CONTROLES_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_ADDRESSES_X - BAPIBUS1006_ADDRESS with Address GUID-KEY Change info

Data type: SMC_S_BB1006_ADDR_A_KEY_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_PHONE - BAPIADTEL plus Contact Person GUID-Key

Data type: SMC_S_BADTEL_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_PHONE_CHANGED - Indicates tha a comm.-data set of a contact has changed

Data type: SMC_S_CONTCOMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_FAX - BAPIADFAX plus Contact Person GUID-Key

Data type: SMC_S_BADFAX_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_FAX_CHANGED - Indicates tha a comm.-data set of a contact has changed

Data type: SMC_S_CONTCOMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_EMAIL - BAPIADSMTP plus Contact Person GUID-Key

Data type: SMC_S_BADSMTP_C_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_EMAIL_CHANGED - Indicates tha a comm.-data set of a contact has changed

Data type: SMC_S_CONTCOMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CONTACT_MAPPING - Mapping: used for dupicate check only

Data type: SMC_S_CONTACT_MAPPING
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TABLE_OF_CONTENT - Structure table of content

Data type: SMC_S_TOC
Optional: Yes
Call by Reference: Yes

IT_DATA_CONTAINER - Structure data container

Data type: SMC_S_DATA_CONTAINER
Optional: Yes
Call by Reference: Yes

IT_SUPPLIER_PHONE - BAPIADTEL plus Address GUID-Key

Data type: SMC_S_BADTEL_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_PHONE_CHANGED - Info whether a comm.-data set of an address was changed

Data type: SMC_S_COMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_FAX - BAPIADFAX plus Address GUID-Key

Data type: SMC_S_BADFAX_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_FAX_CHANGED - Info whether a comm.-data set of an address was changed

Data type: SMC_S_COMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_EMAIL - BAPIADSMTP plus Address GUID-Key

Data type: SMC_S_BADSMTP_A_KEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SUPPLIER_EMAIL_CHANGED - Info whether a comm.-data set of an address was changed

Data type: SMC_S_COMMDATA_CHANGED
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SMC_SUPPLIER_CHANGE_BP_RFCWRAP 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_iv_log_number  TYPE BALOGNR, "   
lt_it_supplier_roles  TYPE STANDARD TABLE OF BAPIBUS1006_ROLES, "   
lv_is_control_data  TYPE SMC_S_SUP_CTRL, "   
lt_it_supplier_webaddr  TYPE STANDARD TABLE OF SMC_S_WEBADDR_A_KEY, "   
lv_is_control_data_x  TYPE SMC_S_SUP_CTRL_X, "   
lt_it_supplier_webaddr_changed  TYPE STANDARD TABLE OF SMC_S_COMMDATA_CHANGED, "   
lv_is_supplier_mapping  TYPE SMC_S_SUP_DISTRIB_KEYS, "   
lt_it_supplier_addruse  TYPE STANDARD TABLE OF SMC_S_BB1006_ADUSE_A_KEY, "   
lv_it_contact_ids_x  TYPE SMC_T_CONTACT_S_KEY_X, "   
lt_it_supplier_addruse_changed  TYPE STANDARD TABLE OF SMC_S_COMMDATA_CHANGED, "   
lv_iv_supplier_roles_changed  TYPE XFELD, "   
lt_it_supplier_identification  TYPE STANDARD TABLE OF BAPIBUS1006_ID_DETAILS, "   
lt_it_supplier_bankdata  TYPE STANDARD TABLE OF BAPIBUS1006_BANKDETAILS, "   
lv_iv_supplier_ident_changed  TYPE XFELD, "   
lt_it_supplier_taxdata  TYPE STANDARD TABLE OF BAPIBUS1006TAX, "   
lv_iv_supplier_ind_changed  TYPE XFELD, "   
lt_it_supplier_industries  TYPE STANDARD TABLE OF BAPIBUS1006_INDUSTRYSECTOR, "   
lv_iv_supplier_bank_changed  TYPE XFELD, "   
lt_it_supplier_qmsystems  TYPE STANDARD TABLE OF SMC_S_QMSYSTEM, "   
lv_iv_supplier_tax_changed  TYPE XFELD, "   
lt_it_sup_addr_mapping  TYPE STANDARD TABLE OF SMC_S_SUP_ADDR_MAPPING, "   
lv_iv_supplier_qms_changed  TYPE XFELD, "   
lv_iv_source_logsys  TYPE LOGSYS, "   
lt_it_supplier_addresses  TYPE STANDARD TABLE OF SMC_S_BB1006_ADDR_A_KEY, "   
lt_it_cont_id_mappings  TYPE STANDARD TABLE OF SMC_S_CONT_DISTRIB_KEYS, "   
lt_it_contact_data  TYPE STANDARD TABLE OF SMC_S_BB1006_CENT_C_KEY, "   
lt_it_contact_data_x  TYPE STANDARD TABLE OF SMC_S_BB1006_CENT_C_KEY_X, "   
lt_it_contact_data_person  TYPE STANDARD TABLE OF SMC_S_BB1006_PERS_C_KEY, "   
lt_it_contact_data_person_x  TYPE STANDARD TABLE OF SMC_S_BB1006_PERS_C_KEY_X, "   
lt_it_rel_data_x  TYPE STANDARD TABLE OF SMC_S_CONTREL_C_KEY_X, "   
lt_it_rel_address  TYPE STANDARD TABLE OF SMC_S_BB10062_ADDR_CA_KEY, "   
lt_it_rel_address_x  TYPE STANDARD TABLE OF SMC_S_BB10062_ADDR_CA_KEYX, "   
lt_it_contact_roles  TYPE STANDARD TABLE OF SMC_S_BB1006_ROLE_C_KEY, "   
lt_it_contact_roles_changed  TYPE STANDARD TABLE OF SMC_S_CONTROLES_CHANGED, "   
lv_is_data  TYPE BAPIBUS1006_CENTRAL, "   
lt_it_supplier_addresses_x  TYPE STANDARD TABLE OF SMC_S_BB1006_ADDR_A_KEY_X, "   
lt_it_contact_phone  TYPE STANDARD TABLE OF SMC_S_BADTEL_C_KEY, "   
lt_it_contact_phone_changed  TYPE STANDARD TABLE OF SMC_S_CONTCOMMDATA_CHANGED, "   
lt_it_contact_fax  TYPE STANDARD TABLE OF SMC_S_BADFAX_C_KEY, "   
lt_it_contact_fax_changed  TYPE STANDARD TABLE OF SMC_S_CONTCOMMDATA_CHANGED, "   
lt_it_contact_email  TYPE STANDARD TABLE OF SMC_S_BADSMTP_C_KEY, "   
lt_it_contact_email_changed  TYPE STANDARD TABLE OF SMC_S_CONTCOMMDATA_CHANGED, "   
lt_it_contact_mapping  TYPE STANDARD TABLE OF SMC_S_CONTACT_MAPPING, "   
lt_it_table_of_content  TYPE STANDARD TABLE OF SMC_S_TOC, "   
lt_it_data_container  TYPE STANDARD TABLE OF SMC_S_DATA_CONTAINER, "   
lv_is_data_x  TYPE BAPIBUS1006_CENTRAL_X, "   
lt_it_supplier_phone  TYPE STANDARD TABLE OF SMC_S_BADTEL_A_KEY, "   
lv_is_data_organ  TYPE BAPIBUS1006_CENTRAL_ORGAN, "   
lt_it_supplier_phone_changed  TYPE STANDARD TABLE OF SMC_S_COMMDATA_CHANGED, "   
lv_is_data_organ_x  TYPE BAPIBUS1006_CENTRAL_ORGAN_X, "   
lt_it_supplier_fax  TYPE STANDARD TABLE OF SMC_S_BADFAX_A_KEY, "   
lv_iv_web_addrind  TYPE AD_URISCR, "   
lt_it_supplier_fax_changed  TYPE STANDARD TABLE OF SMC_S_COMMDATA_CHANGED, "   
lv_iv_web_addrind_x  TYPE XFELD, "   
lt_it_supplier_email  TYPE STANDARD TABLE OF SMC_S_BADSMTP_A_KEY, "   
lv_iv_std_addr_guid  TYPE SMC_ADDRESS_GUID_KEY, "   
lt_it_supplier_email_changed  TYPE STANDARD TABLE OF SMC_S_COMMDATA_CHANGED. "   

  CALL FUNCTION 'SMC_SUPPLIER_CHANGE_BP_RFCWRAP'  "Creates a Supplier (optionally plus Contact Persons)
    EXPORTING
         IV_LOG_NUMBER = lv_iv_log_number
         IS_CONTROL_DATA = lv_is_control_data
         IS_CONTROL_DATA_X = lv_is_control_data_x
         IS_SUPPLIER_MAPPING = lv_is_supplier_mapping
         IT_CONTACT_IDS_X = lv_it_contact_ids_x
         IV_SUPPLIER_ROLES_CHANGED = lv_iv_supplier_roles_changed
         IV_SUPPLIER_IDENT_CHANGED = lv_iv_supplier_ident_changed
         IV_SUPPLIER_IND_CHANGED = lv_iv_supplier_ind_changed
         IV_SUPPLIER_BANK_CHANGED = lv_iv_supplier_bank_changed
         IV_SUPPLIER_TAX_CHANGED = lv_iv_supplier_tax_changed
         IV_SUPPLIER_QMS_CHANGED = lv_iv_supplier_qms_changed
         IV_SOURCE_LOGSYS = lv_iv_source_logsys
         IS_DATA = lv_is_data
         IS_DATA_X = lv_is_data_x
         IS_DATA_ORGAN = lv_is_data_organ
         IS_DATA_ORGAN_X = lv_is_data_organ_x
         IV_WEB_ADDRIND = lv_iv_web_addrind
         IV_WEB_ADDRIND_X = lv_iv_web_addrind_x
         IV_STD_ADDR_GUID = lv_iv_std_addr_guid
    TABLES
         IT_SUPPLIER_ROLES = lt_it_supplier_roles
         IT_SUPPLIER_WEBADDR = lt_it_supplier_webaddr
         IT_SUPPLIER_WEBADDR_CHANGED = lt_it_supplier_webaddr_changed
         IT_SUPPLIER_ADDRUSE = lt_it_supplier_addruse
         IT_SUPPLIER_ADDRUSE_CHANGED = lt_it_supplier_addruse_changed
         IT_SUPPLIER_IDENTIFICATION = lt_it_supplier_identification
         IT_SUPPLIER_BANKDATA = lt_it_supplier_bankdata
         IT_SUPPLIER_TAXDATA = lt_it_supplier_taxdata
         IT_SUPPLIER_INDUSTRIES = lt_it_supplier_industries
         IT_SUPPLIER_QMSYSTEMS = lt_it_supplier_qmsystems
         IT_SUP_ADDR_MAPPING = lt_it_sup_addr_mapping
         IT_SUPPLIER_ADDRESSES = lt_it_supplier_addresses
         IT_CONT_ID_MAPPINGS = lt_it_cont_id_mappings
         IT_CONTACT_DATA = lt_it_contact_data
         IT_CONTACT_DATA_X = lt_it_contact_data_x
         IT_CONTACT_DATA_PERSON = lt_it_contact_data_person
         IT_CONTACT_DATA_PERSON_X = lt_it_contact_data_person_x
         IT_REL_DATA_X = lt_it_rel_data_x
         IT_REL_ADDRESS = lt_it_rel_address
         IT_REL_ADDRESS_X = lt_it_rel_address_x
         IT_CONTACT_ROLES = lt_it_contact_roles
         IT_CONTACT_ROLES_CHANGED = lt_it_contact_roles_changed
         IT_SUPPLIER_ADDRESSES_X = lt_it_supplier_addresses_x
         IT_CONTACT_PHONE = lt_it_contact_phone
         IT_CONTACT_PHONE_CHANGED = lt_it_contact_phone_changed
         IT_CONTACT_FAX = lt_it_contact_fax
         IT_CONTACT_FAX_CHANGED = lt_it_contact_fax_changed
         IT_CONTACT_EMAIL = lt_it_contact_email
         IT_CONTACT_EMAIL_CHANGED = lt_it_contact_email_changed
         IT_CONTACT_MAPPING = lt_it_contact_mapping
         IT_TABLE_OF_CONTENT = lt_it_table_of_content
         IT_DATA_CONTAINER = lt_it_data_container
         IT_SUPPLIER_PHONE = lt_it_supplier_phone
         IT_SUPPLIER_PHONE_CHANGED = lt_it_supplier_phone_changed
         IT_SUPPLIER_FAX = lt_it_supplier_fax
         IT_SUPPLIER_FAX_CHANGED = lt_it_supplier_fax_changed
         IT_SUPPLIER_EMAIL = lt_it_supplier_email
         IT_SUPPLIER_EMAIL_CHANGED = lt_it_supplier_email_changed
. " SMC_SUPPLIER_CHANGE_BP_RFCWRAP




ABAP code using 7.40 inline data declarations to call FM SMC_SUPPLIER_CHANGE_BP_RFCWRAP

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!