<?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: bapi_salesorder_createfromdata2 and billingplans in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdata2-and-billingplans/m-p/1252176#M145284</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;Try searching the forums for "BAPI_SALESORDER_CREATEFROMDATA2" and "billing plan".  Here is a reply that I gave in another thread that may or may not be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried this, so take it for what it is worth (maybe worth nothing), but I wonder if the following trick might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Prior to calling the BAPI, export the billing plan data to memory. [You may want to investigate function 'BILLING_SCHEDULE_PUSH_DATA' to see if it can be used instead.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Within the appropriate sales order user exit (maybe USEREXIT_SAVE_DOCUMENT_PREPARE) import the billing plan data that you exported in step 1 and use it to fill XFPLA and XFPLT. [Note: You may also need to fill XVBKD-FPLNR(1) with '$' so that VBKD-FPLNR will get subsequently filled by function 'BILLING_SCHEDULE_GET_NUMBER'.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If filling XFPLA and XFPLT is all that is needed to get the billing plan data into the sales order that is being created, then perhaps this will work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 15:27:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-12T15:27:49Z</dc:date>
    <item>
      <title>bapi_salesorder_createfromdata2 and billingplans</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdata2-and-billingplans/m-p/1252175#M145283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i am currently working on a program that loads orders from a file and creates them on R/3 by calling the above mentioned bapi. As part of the orders i am getting billing plan information on the order positions.&lt;/P&gt;&lt;P&gt;Looking through the parameters of the bapi i could not find fields nor tables to put this information.&lt;/P&gt;&lt;P&gt;Is there any chance to get this data moved into the bapi and have it generated on the order?&lt;/P&gt;&lt;P&gt;Greetings and thanks in advance for your help&lt;/P&gt;&lt;P&gt;uli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 13:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdata2-and-billingplans/m-p/1252175#M145283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_salesorder_createfromdata2 and billingplans</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdata2-and-billingplans/m-p/1252176#M145284</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;Try searching the forums for "BAPI_SALESORDER_CREATEFROMDATA2" and "billing plan".  Here is a reply that I gave in another thread that may or may not be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried this, so take it for what it is worth (maybe worth nothing), but I wonder if the following trick might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Prior to calling the BAPI, export the billing plan data to memory. [You may want to investigate function 'BILLING_SCHEDULE_PUSH_DATA' to see if it can be used instead.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Within the appropriate sales order user exit (maybe USEREXIT_SAVE_DOCUMENT_PREPARE) import the billing plan data that you exported in step 1 and use it to fill XFPLA and XFPLT. [Note: You may also need to fill XVBKD-FPLNR(1) with '$' so that VBKD-FPLNR will get subsequently filled by function 'BILLING_SCHEDULE_GET_NUMBER'.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If filling XFPLA and XFPLT is all that is needed to get the billing plan data into the sales order that is being created, then perhaps this will work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 15:27:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdata2-and-billingplans/m-p/1252176#M145284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T15:27:49Z</dc:date>
    </item>
  </channel>
</rss>

