cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send customer to ERP in SCCO

RicardoRenteria
Participant
458

Hello everyone,

I have a piece of code that creates a customer in SCCO quick service mode. What should I do to sent that customer to SAP B1? Which is the function/method to start sync this object? (This is because I'm analyzing the posibility to create a form for customer creation, since the standard form can't be modified to get additional data).

Attached you will find the piece of code.

Accepted Solutions (1)

Accepted Solutions (1)

Klaus_Frick
Active Participant
0 Likes

Hello ricardo.renteria2

I will have the same issue in some time, so I tried to find a solution for your question. Adding the following lines worked for me with FP10.

BusinessPartnerErpService bpErpService = ServiceFactory.INSTANCE.getOrCreateServiceInstance(BusinessPartnerErpService.class, cdbSession);

bpErpService.sendToBackend(bp);

Please let me know if that worked for you. And it might be nice, if you could share your client creation form....

Best Regards
Klaus

RicardoRenteria
Participant
0 Likes

Hello kfrick

great answer! Just what I'm look for!

I don't have any form creation yet because I was testing the customer creation within the code.

Thanks a lot.

Answers (2)

Answers (2)

RicardoRenteria
Participant
0 Likes

Hi rzieschang Do you have some solution for this, isn´t it?

Give me a hand.

Thanks.

RicardoRenteria
Participant
0 Likes

Hi all,

can anyone share some thoughts about this topic?