‎2009 Dec 21 4:07 PM
Hi Gurus,
Do you know any BAPI to create customers with sales area, company code? BAPI_CUSTOMER_CREATEFROMDATA1, BAPI_CUSTOMER_CREATEFROMDATA do not help me in my requirement. I need to create customers with differents account groups.
Thanks & Kind Regards
Ezequiel
‎2009 Dec 22 12:01 PM
HI Chervo ,
you need to use following BAPI's in sucession :
BAPI_BUPA_CREATE_FROM_DATA
BAPI_BUPA_ADDRESS_ADD
BAPI_BUPA_ROLE_ADD
Hope this helps to you.
regards,
Nikhil
‎2009 Dec 21 4:37 PM
‎2009 Dec 21 8:23 PM
Hi,
Try using SD_CUSTOMER_MAINTAIN_ALL function module and wrap it inside an RFC.
Regards
Prasenjit
‎2009 Dec 22 11:22 AM
Hi.
The following is function module responsible for customer creation with account groups. But the first requirement is you need to create the address num explicitely and the pass the same address num to the function module interface.
Here is the complete code:.
<< Please respect the 2,500 character posting limit - post only the relevant portions of your code. >>
Thanx
surya.
Edited by: surya ramireddy on Dec 22, 2009 1:23 PM
Edited by: Rob Burbank on Dec 22, 2009 4:25 PM
‎2009 Dec 22 12:01 PM
HI Chervo ,
you need to use following BAPI's in sucession :
BAPI_BUPA_CREATE_FROM_DATA
BAPI_BUPA_ADDRESS_ADD
BAPI_BUPA_ROLE_ADD
Hope this helps to you.
regards,
Nikhil
‎2009 Dec 22 12:51 PM
‎2009 Dec 22 6:28 PM
‎2009 Dec 22 6:46 PM