<?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: sales order bapi using lsmw in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072797#M429489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ferry. It worked. I awarded the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 20:49:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T20:49:25Z</dc:date>
    <item>
      <title>sales order bapi using lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072793#M429485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   in LSMW i am using BAPI:SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the mapping, i have assigned : E1BPPARNR-PARTN_ROLE = 'SP'.&lt;/P&gt;&lt;P&gt;                                                       E1BPPARNR-PARTN_NUMB = '1000005'.&lt;/P&gt;&lt;P&gt;                                                       E1BPPARNR-ITM_NUMBER = '000000'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please enter sold-to party or ship-to party.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 20:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072793#M429485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: sales order bapi using lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072794#M429486</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
E1BPPARNR-PARTN_ROLE = 'AG'.        &amp;lt;--- Sold-to customer

or

E1BPPARNR-PARTN_ROLE = 'WE'.        &amp;lt;--- Ship-to customer&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 20:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072794#M429486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T20:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: sales order bapi using lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072795#M429487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;     When I was using 'AG', I am getting an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No customer master record exists for customer 1005000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 20:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072795#M429487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T20:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: sales order bapi using lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072796#M429488</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;Please use FM CONVERSION_EXIT_ALPHA_INPUT to do the customer number conversion. &lt;/P&gt;&lt;P&gt;The customer number is stored '0001005000'  in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
DATA: WA_KUNAG LIKE KNA1-KUNNR.

WA_KUNAG = '1005000'.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    INPUT =  WA_KUNAG
  IMPORTING
    OUTPUT = WA_KUNAG.

E1BPPARNR-PARTN_NUMB = WA_KUNAG. 
E1BPPARNR-PARTN_ROLE = 'AG'.
E1BPPARNR-ITM_NUMBER = '000000'.

...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 20:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072796#M429488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T20:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: sales order bapi using lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072797#M429489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ferry. It worked. I awarded the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 20:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-using-lsmw/m-p/2072797#M429489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T20:49:25Z</dc:date>
    </item>
  </channel>
</rss>

