Ansicht
Dokumentation

RFC_CVI_EI_INBOUND_MAIN - Processing RFC BP in CVI

RFC_CVI_EI_INBOUND_MAIN - Processing RFC BP in CVI

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Customer Vendor Integration(VMI)

Functionality

This RFC "RFC_CVI_EI_INBOUND_MAIN" is used to create a Business Partner as a Customer or Supplier with a contact in a remote system.

The RFC interface is mass-enabled which mean that you can create several different Customers or Suppliers at the same time.

You can either create Customers with Contacts or Supplier with Contacts.

The relationship between different Contacts and an Organization (Customer or Supplier) will be maintained via the same sequential ID (RUN_ID).

Example:

The new customer Smith & Co (RUN_ID 1) with his new default contact Mr. Smith (RUN_ID 2) shall be replicated via the RFC.

The following tables show the necessary entries to replicate both new Business Partners and the relationship between Smith & Co and Mr. Smith.

Import table IT_BP_GENERAL:

RUN ID BPPARTNER Category
1 Smith & Co 2 (Organization)
2 Mr. Smith 1 (Person)

Import table IT_BP_ROLE:

RUN ID Data_Key
1 FLCU01 (Customer)
2 BUP001(Contact)

Import table IT_BP_RELATIONS :

RUN ID PARTNER1 PARTNER2 RELAT_Category
1 Smith & Co Mr. Smith BUR001
1 Smith & Co BUR001

Only the operation insert is allowed, update and deletion is not supported. By assigning values to import segment table, you can specify which segments are to be created. At least the header and a role segment are mandatory.

Error Handling

For every Business Partner with the corresponding data in the input parameter table with the same RUN_ID an all-or-nothing approach is used.

Details on the rejected Business Partner instances together with other messages will be provided in the optional Application Log and in the message return table.

You will find the messages in the Application Log with the Object BUS1006.


Example

Notes

Further information





Parameters

CT_RETURN
IT_BP_ADDRESS
IT_BP_ADDRESS_EMAIL
IT_BP_ADDRESS_EMAIL_REMARKS
IT_BP_ADDRESS_FAXNO
IT_BP_ADDRESS_TELENO
IT_BP_ADDRESS_TELENO_REMARKS
IT_BP_ADDRESS_URI
IT_BP_ADDRESS_USAGE
IT_BP_BANK_DETAILS
IT_BP_FINSERV
IT_BP_GENERAL
IT_BP_IDENT_NUMBERS
IT_BP_INDUSTRY
IT_BP_PAYMENT_CARD
IT_BP_RELATIONS
IT_BP_ROLE
IT_BP_TAX_NUMBER
IT_BP_TAX_NUMBER_COMMON
IT_CUST_COMPANY
IT_CUST_COMPANY_ALT_PAYEE
IT_CUST_COMPANY_TEXTS
IT_CUST_COMPANY_WTAX
IT_CUST_COMP_DUNNING
IT_CUST_CONTACTS
IT_CUST_CONT_ADDRESS1
IT_CUST_CONT_ADDRESS2
IT_CUST_CONT_ADDRESS3
IT_CUST_CONT_EMAIL1
IT_CUST_CONT_EMAIL2
IT_CUST_CONT_EMAIL3
IT_CUST_CONT_FAX1
IT_CUST_CONT_FAX2
IT_CUST_CONT_FAX3
IT_CUST_CONT_TELENO1
IT_CUST_CONT_TELENO2
IT_CUST_CONT_TELENO3
IT_CUST_CONT_TEXTS
IT_CUST_GENERAL
IT_CUST_GENERAL_ALT_PAYEE
IT_CUST_GENERAL_CREDITCARD
IT_CUST_GENERAL_EXPORT
IT_CUST_GENERAL_LOADING
IT_CUST_GENERAL_TEXTS
IT_CUST_GENERAL_VAT
IT_CUST_SALES
IT_CUST_SALES_FUNCTIONS
IT_CUST_SALES_TEXTS
IT_CUST_TAX_INDICATOR
IT_SUPPLIER_CONTACTS
IT_SUP_COMPANY
IT_SUP_COMPANY_ALT_PAYEE
IT_SUP_COMPANY_TEXTS
IT_SUP_COMPANY_WTAX
IT_SUP_CONT_ADDRESS1
IT_SUP_CONT_ADDRESS2
IT_SUP_CONT_ADDRESS3
IT_SUP_CONT_EMAIL1
IT_SUP_CONT_EMAIL2
IT_SUP_CONT_EMAIL3
IT_SUP_CONT_FAX1
IT_SUP_CONT_FAX2
IT_SUP_CONT_FAX3
IT_SUP_CONT_TELENO1
IT_SUP_CONT_TELENO2
IT_SUP_CONT_TELENO3
IT_SUP_GENERAL
IT_SUP_GENERAL_ALT_PAYEE
IT_SUP_GENERAL_TEXTS
IT_SUP_GENERAL_VAT
IT_SUP_PURCHASING
IT_SUP_PURCHASING2
IT_SUP_PURCHASING_TEXTS
IT_SUP_PURCH_FUNCTIONS
IV_CREATE_APPLOG
IV_DOCOMMIT
IV_SUPPRESS_TAXJUR_CHECK

Exceptions

Function Group

RFC_CVI_EI_INBOUND_MAIN

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 5595 Date: 20240523 Time: 182049     sap01-206 ( 91 ms )