<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239692#M141753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks this was very usefull for me too... &lt;/P&gt;&lt;P&gt;Joshua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 18:00:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T18:00:58Z</dc:date>
    <item>
      <title>Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239685#M141746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using BAPI_CUSTOMER_CREATEFROMDATA1 to create customer. My input file has 'Mr.', 'Mrs' etc. as form of address text. But when i am putting this value in the BAPI it is giving me an error 'Invalid form of address text'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;eddie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: helpful answers will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 00:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239685#M141746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T00:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239686#M141747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps those titles aren't defined in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the table TSAD3T. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the fm SD_CUSTOMER_CHECK_1 (called by your BAPI) there's this validation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT I_BAPIKNA106-TITLE IS INITIAL.&lt;/P&gt;&lt;P&gt; SELECT SINGLE * FROM TSAD3T WHERE TITLE_MEDI&lt;/P&gt;&lt;P&gt;                         = I_BAPIKNA106-TITLE.&lt;/P&gt;&lt;P&gt; IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;   PE_RETURN1-TYPE = 'E'.&lt;/P&gt;&lt;P&gt;   SY-MSGID = C_MSG_ID.&lt;/P&gt;&lt;P&gt;   SY-MSGNO = '838'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my system there's Mr. but not Mrs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should update that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 00:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239686#M141747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T00:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239687#M141748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot Max. I checked that table and it has keys assigned to Ms., Mr., Company, Mr. and Mrs. The keys are 0001, 0002, 0003, 0004 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain about updating the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT I_BAPIKNA106-TITLE IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TSAD3T WHERE TITLE_MEDI&lt;/P&gt;&lt;P&gt;= I_BAPIKNA106-TITLE.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;PE_RETURN1-TYPE = 'E'.&lt;/P&gt;&lt;P&gt;SY-MSGID = C_MSG_ID.&lt;/P&gt;&lt;P&gt;SY-MSGNO = '838'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked I_BAPIKNA106-TITLE and it seems it is referring to the part where you are creating company personal data (PI_Companydata). On the other hand, I am creating PI_Personaldata for which the structure is BAPIKNA101_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it mean that I won't be able to put the address text that is coming in for me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 02:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239687#M141748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T02:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239688#M141749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;010    EN    0001   Ms.       &lt;/P&gt;&lt;P&gt;010    EN    0002   Mr.       &lt;/P&gt;&lt;P&gt;010    EN    0003   Company   &lt;/P&gt;&lt;P&gt;010    EN    0004   Mrs.      &lt;/P&gt;&lt;P&gt;010    EN    0005   Miss      &lt;/P&gt;&lt;P&gt;010    EN    0006   Dr.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my system as the content for table TSAD3T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check contents in your system and your input should match to that of contents in table. Also keep a breakpoint and check why this select is failing. This will help to fix the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 02:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239688#M141749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T02:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239689#M141750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excuse me! The control is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tsad3t where &lt;/P&gt;&lt;P&gt;title_medi = i_bapikna101_1-title_p.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;  pe_return1-type = 'E'.&lt;/P&gt;&lt;P&gt;  sy-msgid = c_msg_id.&lt;/P&gt;&lt;P&gt;  sy-msgno = '838'.&lt;/P&gt;&lt;P&gt;  sy-msgv1 = space.&lt;/P&gt;&lt;P&gt;  sy-msgv2 = space.&lt;/P&gt;&lt;P&gt;  sy-msgv3 = space.&lt;/P&gt;&lt;P&gt;  sy-msgv4 = space.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This the structure you're filling with master data, so I think the error's occuring here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can update that table by table view V_TSAD3 (trx SM30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 09:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239689#M141750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239690#M141751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eddie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No u can pass information through PI_PERSONALDATA and still get the result. I checked the FM BAPI_CUSTOMER_CREATEFROMDATA1 and the problem I think is coming in LV02DU30 line 213 &lt;/P&gt;&lt;P&gt;IF NOT I_BAPIKNA101_1-TITLE_P IS INITIAL.&lt;/P&gt;&lt;P&gt; SELECT SINGLE * FROM TSAD3T WHERE TITLE_MEDI&lt;/P&gt;&lt;P&gt;                             = I_BAPIKNA101_1-TITLE_P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in FM SD_CUSTOMER_CHECK_1. &lt;/P&gt;&lt;P&gt;The field I_BAPIKNA101_1-TITLE_P is converting Mr. to capital MR. and checking with table where it is not going to find anything. &lt;/P&gt;&lt;P&gt;Try in debug mode and confirm. You can probably take it fwd from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 13:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239690#M141751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T13:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239691#M141752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit, you were right, the problem was that it was converting mr. to capital MR. So I went and updated the table in SM30 just like Max said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eddie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2006 17:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239691#M141752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-03T17:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error: 838 BAPI_CUSTOMER_CREATEFROMDATA1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239692#M141753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks this was very usefull for me too... &lt;/P&gt;&lt;P&gt;Joshua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 18:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-838-bapi-customer-createfromdata1/m-p/1239692#M141753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T18:00:58Z</dc:date>
    </item>
  </channel>
</rss>

