<?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: Problem with  BAPI_INQUIRY_CREATEFROMDATA2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683522#M1449986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI seems to stop at first error, then send the 'Sales document was not changed' as soon as one error is checked. The first error is gone, now a second one rises.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When incoterm1 is EXW, you need an incoterm2 value (named place where the merchandise is at disposal) - Also check your Customizing, or check via SE16 on table LIKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Mar 2010 14:28:32 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-03-01T14:28:32Z</dc:date>
    <item>
      <title>Problem with  BAPI_INQUIRY_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683519#M1449983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am trying to create inquiries using BAPI_INQUIRY_CREATEFROMDATA2. I am getting error messages in RETURN Table as &lt;/P&gt;&lt;P&gt;1)'Please enter sold-to party or ship-to party'   and  2)'Sales document  was not changed'. I passed sold-to party  (name)  value in &lt;/P&gt;&lt;P&gt;INQUIRY_HEADER_IN-NAME and in  INQUIRY_PARTNERS-PARTN_NUMB . i didnt find any sold-to-party field in INQUIRY_HEADER_IN  and i have no clue about second error. Please guide me in solving the issue.i have passed the following tables.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_INQUIRY_CREATEFROMDATA2'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     INQUIRY_HEADER_IN             =  W_ENQUIRY_THEAD&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    SALESDOCUMENT                 = W_NUMBER&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;    RETURN                        =            W_RETURN&lt;/P&gt;&lt;P&gt;    INQUIRY_ITEMS_IN              =     W_ENQUIRY_ITEM&lt;/P&gt;&lt;P&gt;     INQUIRY_PARTNERS          =     T_INQUIRY_PARTNERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        WAIT   = 'X'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        RETURN = W_RETURN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;K Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 13:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683519#M1449983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-01T13:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  BAPI_INQUIRY_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683520#M1449984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you fill table INQUIRY_PARTNERS with correct values for PARTN_ROLE,  there is a conversion exit on this field. (eg: AG "internal format" and not SP "external format" if language is "EN")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Also check &lt;SPAN __jive_macro_name="thread" id="914102"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 13:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683520#M1449984</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-01T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  BAPI_INQUIRY_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683521#M1449985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou for the reply. i gave 'AG' as the partner role and executed  the program. i am getting 2 errors&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;'Terms of delivery exw are not defined' and 'Sales document was not changed'. Why this error has come which was not there previously. Please guide in resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : W_ENQUIRY_THEAD LIKE BAPISDHD1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_ENQUIRY_ITEM LIKE BAPISDITM OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;T_INQUIRY_PARTNERS LIKE BAPIPARNR OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    W_ENQUIRY_THEAD-DOC_TYPE	        =  THEAD-DOC_TYPE. &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-SALES_ORG	 =         THEAD-SALESORG.  .&lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-DISTR_CHAN 	 =         THEAD-DIST_CHAN. .&lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-DIVISION 	 =         THEAD-DIVISION.&lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-NAME	 =                THEAD-NAME.   &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-INCOTERMS1 	        =  THEAD-INCOTERMS1.  &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-INCOTERMS2 	 =         THEAD-INCOTERMS2.   &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_THEAD-SD_DOC_CAT   =          'A'.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_ITEM-ITM_NUMBER 	 =         THEAD-ITEMNO.&lt;/P&gt;&lt;P&gt;      W_ENQUIRY_ITEM-CUST_MAT22  	 =  THEAD-CUSTOMER_MTL .    &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_ITEM-PLANT 	               =  THEAD-PLANT. &lt;/P&gt;&lt;P&gt;      W_ENQUIRY_ITEM-REASON_REJ           =  THEAD-REASON_REJ.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;      T_INQUIRY_PARTNERS-PARTN_ROLE     =  'AG'.&lt;/P&gt;&lt;P&gt;      T_INQUIRY_PARTNERS-PARTN_NUMB  =  '0001800001'..&lt;/P&gt;&lt;P&gt;      T_INQUIRY_PARTNERS-NAME  =  THEAD-NAME.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;      APPEND W_ENQUIRY_THEAD.&lt;/P&gt;&lt;P&gt;      APPEND W_ENQUIRY_ITEM.&lt;/P&gt;&lt;P&gt;      APPEND T_INQUIRY_PARTNERS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 13:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683521#M1449985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-01T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with  BAPI_INQUIRY_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683522#M1449986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI seems to stop at first error, then send the 'Sales document was not changed' as soon as one error is checked. The first error is gone, now a second one rises.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When incoterm1 is EXW, you need an incoterm2 value (named place where the merchandise is at disposal) - Also check your Customizing, or check via SE16 on table LIKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 14:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-bapi-inquiry-createfromdata2/m-p/6683522#M1449986</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-01T14:28:32Z</dc:date>
    </item>
  </channel>
</rss>

