on 2018 Aug 08 2:53 PM - last edited on 2024 Feb 04 6:34 AM by postmig_api_4
Hi, I'm working on a B2C project, where the customer requested an optional fields to be exported to the SAP ERP via the DataHub, namely: VAT Registration number and company name of the buyer. I have a problem with sending the VAT Registration number using the functionallities provided by DataHub and saporder extenstion.
DataHub's saporder extension uses BAPI_SALESORDER_CREATEFROMDAT2 function call to create the order in the SAP ERP. The function though does not allow for setting the STCEG field - that is the VAT Registration number field in customer's address. Also separate customer replication, from what I've found out does not allow to easily send the required information.
Has anyone been in a simillar situation and sorted that out? Any suggestions would be greatly appreciated.
The BAPI BAPI_SALESDOCU_CREATEFROMDATA1 contains in structure / table SALES_PARTNERS the VAT reg. number (VAT_REG_NO). I have not used that myself. With BAPI_SALESORDER_CREATEFROMDAT2 it seems you need to program the VAT reg. by using the EXTENSIONIN table. You transport there any field but an ABAP coder needs to program in a user exit the field transfer to correct place. But I would not even know where you put that. In a B2C scenario where you would have a VAT reg. number. So there are customers that are actually a company. For your second part, I assume you use DEBMAS message for master data integration. DEBMAS06 for example contains the VAT reg. numbers in segment E1KNASM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
29 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.