<?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 Need BAPI creates 'Sales Order' &amp; 'Purchase Requisition' for DropshipOrder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815091#M1588388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is also similar to yours which you faced. In my case its a 'DropShip order' Type which involves both the Sales Order Creation and Purchase Requisition creation as well. &lt;/P&gt;&lt;P&gt;        After entering all the Line Items in VA01 then for LineItems -&amp;gt; ScheduleLine -&amp;gt; 'Purchase Requisition'(PushButton). Here i enter 4 fields like &lt;/P&gt;&lt;P&gt;1. Requisitioner/Requister&lt;/P&gt;&lt;P&gt;2. Tracking Number&lt;/P&gt;&lt;P&gt;3. Value Price&lt;/P&gt;&lt;P&gt;4. Desired Vendor&lt;/P&gt;&lt;P&gt;&lt;A href="http://These" target="test_blank"&gt;http://These&lt;/A&gt; 4 field enrties will be reflecting in ME51N and in the VA01(DropShip Order).&lt;/P&gt;&lt;P&gt;And then save the document which created Sales Order + Purchase Requisition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI called 'bapi_salesorder_createfromdat2' to create sales order and the above 4 fields are not available in this BAPI which creates Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields i am using for Sales Order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales Document Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales Organisation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Distribution Channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Division&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sold to Party,P.O.Number,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P.O.Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Req. Delivery Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Payment Terms,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inco Terms,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inco Terms(Part2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HeaderCnType(01),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount(01),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line Item No.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Material Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Material Description&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item Category&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plant&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WBS Element&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemCnTy(01)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Base Price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemCnTy(02)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the fields which we are entering for purchase requisition in VA01 are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requisitioner&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tracking Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value Price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desired Vendor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help in which a ''BAPI" should update these 4 fields in VA01 and it should create Purchase requisition.&lt;/P&gt;&lt;P&gt;You already faced this kind of issue infact a similar one and i can see from the SDN you already got some solution &lt;/P&gt;&lt;P&gt;for this Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which BAPI i should use for this DropShip Order Type Which creates the 'Sales Order' and 'Purchase Requisition' at the same time. Or else is there any other methods to follows to achieve this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 10:31:52 GMT</pubDate>
    <dc:creator>former_member207623</dc:creator>
    <dc:date>2011-04-27T10:31:52Z</dc:date>
    <item>
      <title>Need BAPI creates 'Sales Order' &amp; 'Purchase Requisition' for DropshipOrder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815091#M1588388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is also similar to yours which you faced. In my case its a 'DropShip order' Type which involves both the Sales Order Creation and Purchase Requisition creation as well. &lt;/P&gt;&lt;P&gt;        After entering all the Line Items in VA01 then for LineItems -&amp;gt; ScheduleLine -&amp;gt; 'Purchase Requisition'(PushButton). Here i enter 4 fields like &lt;/P&gt;&lt;P&gt;1. Requisitioner/Requister&lt;/P&gt;&lt;P&gt;2. Tracking Number&lt;/P&gt;&lt;P&gt;3. Value Price&lt;/P&gt;&lt;P&gt;4. Desired Vendor&lt;/P&gt;&lt;P&gt;&lt;A href="http://These" target="test_blank"&gt;http://These&lt;/A&gt; 4 field enrties will be reflecting in ME51N and in the VA01(DropShip Order).&lt;/P&gt;&lt;P&gt;And then save the document which created Sales Order + Purchase Requisition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI called 'bapi_salesorder_createfromdat2' to create sales order and the above 4 fields are not available in this BAPI which creates Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields i am using for Sales Order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales Document Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales Organisation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Distribution Channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Division&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sold to Party,P.O.Number,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P.O.Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Req. Delivery Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Payment Terms,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inco Terms,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inco Terms(Part2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HeaderCnType(01),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount(01),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line Item No.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Material Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Material Description&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order Quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item Category&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plant&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WBS Element&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemCnTy(01)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Base Price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ItemCnTy(02)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the fields which we are entering for purchase requisition in VA01 are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requisitioner&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tracking Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value Price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desired Vendor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help in which a ''BAPI" should update these 4 fields in VA01 and it should create Purchase requisition.&lt;/P&gt;&lt;P&gt;You already faced this kind of issue infact a similar one and i can see from the SDN you already got some solution &lt;/P&gt;&lt;P&gt;for this Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which BAPI i should use for this DropShip Order Type Which creates the 'Sales Order' and 'Purchase Requisition' at the same time. Or else is there any other methods to follows to achieve this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 10:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815091#M1588388</guid>
      <dc:creator>former_member207623</dc:creator>
      <dc:date>2011-04-27T10:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need BAPI creates 'Sales Order' &amp; 'Purchase Requisition' for DropshipOrder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815092#M1588389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm faced with the same issue. Any solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 09:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815092#M1588389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T09:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need BAPI creates 'Sales Order' &amp; 'Purchase Requisition' for DropshipOrder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815093#M1588390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to make the changes in user-exit MV45AFZB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.

* Example
* EBAN-LIFNR = zzfield1.
* EBKN-KOSTL = zzfield2.

ENDFORM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 10:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-bapi-creates-sales-order-purchase-requisition-for-dropshiporder/m-p/7815093#M1588390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T10:48:57Z</dc:date>
    </item>
  </channel>
</rss>

