2007 Sep 14 11:44 AM
Hi consultants
I created a customer using fm BAPI_CUSTOMER_CREATEFROMDATA1 (and selection-data fm BAPI_CUSTOMER_GETDETAIL1 to have some reference data).
I had to create customer in 4 divisions. When I create it in loop using CUSTOMER_CREATEFROMDATA1 , i create 4 customers with different numbers.
How to solve this problem using function group V02D?
Thans for possible answers
Bst regds
T.Maj
Hi consultants
I created a customer using fm BAPI_CUSTOMER_CREATEFROMDATA1 (and selection-data fm BAPI_CUSTOMER_GETDETAIL1 to have some reference data).
I had to create customer in 4 divisions. When I create it in loop using CUSTOMER_CREATEFROMDATA1 , i create 4 customers with different numbers.
How to solve this problem using function group V02D?
Thans for possible answers
Bst regds
T.Maj
2007 Sep 14 12:03 PM
Hi Thomasz,
create in one division and call BAPI_CUSTOMER_CHANGEFROMDATA1 for the other divisios. If you have lock problems, you must BAPI_COMMIT with wait parameter set.
Regards,
Clemens
2007 Sep 14 1:30 PM
Hi Clemens
I tried to code as You inform me, but in BAPI_CUSTOMER_CHANGEFROMDATA1 i dont see fields for reference and new division. So I insert to parameter pi_division new values - bapi return that everything is ok and then "commit and wait".
But when i use transaction vd02 or xd02 I see that customer is created only for first division..
Some sugestions??
2007 Dec 10 7:19 PM
Hi,
Were you able to extend customer using any BAPI.If so please let me knoe ASAP. I really need a BAPI to do that
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |