cancel
Showing results for 
Search instead for 
Did you mean: 

Customer data is available in KNA1 table. But customer does not exist in BP transaction.

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

pradeep_reddy17
Participant
0 Kudos

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.

Former Member
0 Kudos

Hi Reddy,

Thanks for the quick answer. I'm yet to work on the object. Will make the changes and let you know if I am successful.

Edit1: Success. Thanks pradeep.reddy17

Answers (0)