on 06-13-2018 10:41 AM
A process in the client is as follows.
Customer data is pushed from Salesforce as XML. A new customer is created using the function modules:
SD_CUSTOMER_MAINTAIN_ALL
SD_CUSTOMER_MAINTAIN_KNKA_K
ADDR_COMM_GET
ADDR_COMM_MAINTAIN
ADDR_SINGLE_SAVE
along with a
BAPI_TRANSACTION_COMMIT.
The new customer gets created and I can see the data in KNA1 table. But when I try to view the customer in BP transaction, it does not exist.
I'm of the understanding that for creating a new customer through BP transaction, a BP number is required. And some configurations need to be maintained for synchronisation.
So if I have to create a new customer through the aforementioned process (programmatically), how do I create it with a BP number?
I also checked the configuration. In the following path, it is maintained as such.
Cross-Application Components->Master Data Synchronization->Synchronization Control->Synchronization Control->Activate Synchronization Options
If Customer to BP sync is activated, will a BP be created automatically for the new customer created programmatically? And can the customer be viewed through BP transaction?
Hi,
use BAPI_BUPA_FS_CREATE_FROM_DATA2 function module to create BP with customer. Pass customer role in the BAPI. It creates customer auto automatically based on the role.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.