ā2012 Apr 05 6:33 AM
hi my requirement is to create customer first then again i want to create address for that customer and then i will go to xd02 and link both customer and address is ther any bapi which can help in doing these?
Moderator message : Search for available information, discussion locked.
Message was edited by: Vinod Kumar
ā2012 Apr 05 6:55 AM
Hello,
You can use the BAPI - BAPI_CUSTOMER_CREATEFROMDATA1
As per the documentation, you can also send the address data
CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
EXPORTING
PI_PERSONALDATA = PI_PERSONALDATA
- PI_OPT_PERSONALDATA = PI_OPT_PERSONALDATA
- PI_COMPANYDATA = PI_COMPANYDATA
- PI_OPT_COMPANYDATA = PI_OPT_COMPANYDATA
- PI_CONSUMEREN = PI_CONSUMEREN
PI_COPYREFERENCE = PI_COPYREFERENCE
- PI_CREDIT_CONTROL_FLAG = PI_CREDIT_CONTROL_FLAG
- IMPORTING
- CUSTOMERNO = CUSTOMERNO
- RETURN = RETURN
Regards,
Shyam
ā2012 Apr 05 7:03 AM
hi my requirement is to create customer first and again xk01 create site address and add the created customer in partner functions sp sold to party and save it