BAPI to create customer
I want to build a procedure which calls bapi to create customers in WebAS so that provide user to operate( cerate, edit, delete, etc customer and material,table: KNA1,MARA) in web environment( browser). But in 'BAPI_CUSTOMER_CREATE',it calls a transaction 'XD01',a dialog program that need to input parameters.
Then i try to use BAPI_CUSTOMER_CREATEFROMDATA1 instead.
PI_PERSONALDATA: Lastname->Liu, City->London, Postl_Cod1->89073, Country->UK, Langu_p->EN, Currency->EUR.
PI_COPYREFERENCE: Salesorg->0001, Distr_Chan->01, Division->01, Ref_Custmr->Wang
but appear error : 882 Internal error: Exteral no. assignment for reference customer/customer.
This Reference Customer 'wang' i have created with BAPI_CUSTOMER_CREATE.
up to now I cannot create yet more customer with BAPI_CUSTOMER_CREATEFROMDATA1.
Who can help me, tell me the correct input parameters?
Message was edited by: Yaning Liu