‎2006 Mar 27 12:52 PM
‎2006 Mar 27 12:59 PM
Hi,
pass the required info to BAPI, and for further help read the documentation.
call function 'BAPI_CUSTOMER_CREATEFROMDATA1'
exporting
pi_personaldata = wk_personaldata
pi_opt_personaldata = wk_opt_personaldata
PI_COMPANYDATA = wk_companydata
PI_OPT_COMPANYDATA = wk_opt_companydata
pi_copyreference = wk_copyreference
importing
customerno = wk_customerno
return = wk_returnRegards
Vijay
‎2006 Mar 27 1:09 PM
i know that i looking for the value that i need and must
to put in.
i get message num 838 invalid form addres tax??
what is missing
‎2006 Mar 27 1:12 PM
Check the table TSAD3T for TITLE_MEDI gives some valid values,.
If you don't have any valid entries in that table, you will get this mesage.
Actually in that Function module,
this part of the code triggers that message:
<i><b> SELECT SINGLE * FROM TSAD3T WHERE TITLE_MEDI
= I_BAPIKNA106-TITLE.
IF SY-SUBRC NE 0.
PE_RETURN1-TYPE = 'E'.
SY-MSGID = C_MSG_ID.
SY-MSGNO = '838'.
SY-MSGV1 = SPACE.
SY-MSGV2 = SPACE.
SY-MSGV3 = SPACE.
SY-MSGV4 = SPACE.
ENDIF.</b></i>
‎2006 Mar 27 1:24 PM
I HAVE DATA IN THIS TABLE
I'M ASKING WHAT IS THE FIELD THAT I MUST FILL
IS THERE EXAMPLE?
‎2006 Mar 27 1:36 PM
Hi yehiel,
I think you should give the form_of)_address field a value from one of the following:
Ms.
Mr.
Company
Probably you should pass to TITLE_KEY field of PI_PERSONALDATA structure.