<?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: SO billing plan in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610488#M273716</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 this..For the function module SD_SALES_BILLINGPLAN_READ to work you have to use the function module SD_SALES_DOCUMENT_READ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: fpla.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER: vbeln TYPE vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ifplt OCCURS 10.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE fpltvb.&lt;/P&gt;&lt;P&gt;DATA: END OF ifplt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SALES_DOCUMENT_READ'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          document_number = vbeln&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          error_message   = 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          i_vbeln                = vbeln&lt;/P&gt;&lt;P&gt;          i_posnr                = '000010'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          e_fpla                 = fpla&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          e_fplt                 = ifplt&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          no_billingplan_allowed = 1&lt;/P&gt;&lt;P&gt;          no_billingplan_found   = 2&lt;/P&gt;&lt;P&gt;          OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2006 03:09:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-03T03:09:29Z</dc:date>
    <item>
      <title>SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610484#M273712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Iam trying to extract the sales order details.&lt;/P&gt;&lt;P&gt;Where can i find &amp;lt;b&amp;gt;"Billing date"&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;"Billing Value"&amp;lt;/b&amp;gt; for parituclar item?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam looking for tables OR FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Billing plan: va02-&amp;gt;so number-&amp;gt;double click on item-&amp;gt;billing plan tab-&amp;gt;billing dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 02:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610484#M273712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T02:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610485#M273713</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;  For the billing date check the field VBKD-FKDAT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check the table FPLA for billing plan details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 02:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610485#M273713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T02:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610486#M273714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;Is there any function modules existing for my requirement.&lt;/P&gt;&lt;P&gt;Iam not getting proproper data in VBKD...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 02:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610486#M273714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T02:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610487#M273715</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;  Check this FMs SD_SALES_BILLINGPLAN_READ..SD_BILLINGPLAN_POSITION_READ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Also check the tables FPLA, FPLT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Narendran Muthukumaran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 02:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610487#M273715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T02:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610488#M273716</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 this..For the function module SD_SALES_BILLINGPLAN_READ to work you have to use the function module SD_SALES_DOCUMENT_READ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: fpla.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER: vbeln TYPE vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ifplt OCCURS 10.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE fpltvb.&lt;/P&gt;&lt;P&gt;DATA: END OF ifplt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SALES_DOCUMENT_READ'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          document_number = vbeln&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          error_message   = 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          i_vbeln                = vbeln&lt;/P&gt;&lt;P&gt;          i_posnr                = '000010'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          e_fpla                 = fpla&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          e_fplt                 = ifplt&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          no_billingplan_allowed = 1&lt;/P&gt;&lt;P&gt;          no_billingplan_found   = 2&lt;/P&gt;&lt;P&gt;          OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 03:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610488#M273716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T03:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610489#M273717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that the fields you are looking for are in table FPLT (Billing Plan: Dates -&amp;gt; per item):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;- FKDAT (Settlement date for deadline)
- FAKWR (Value to be billed/calc. on date in billing/invoice plan)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The billing plan dates per item can be read using function module &amp;lt;b&amp;gt;SD_SALES_BILLINGPLAN_READ&amp;lt;/b&amp;gt;. This function module has the following check at the beginning:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  IF I_VBELN NE VBAK-VBELN.
    MESSAGE A044 WITH I_VBELN VBAK-VBELN.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, before calling SD_SALES_BILLINGPLAN_READ you have to call &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SD_SALES_DOCUMENT_READ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; to fill the global variable VBAK in the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few final remarks:&lt;/P&gt;&lt;P&gt;- As already mentioned the billing plan per item (or header) can be found in VBKD-FPLNR&lt;/P&gt;&lt;P&gt;- The billing plan details are in FPLA (header) and FPLT (dates), credit card details can be found in FPLTC&lt;/P&gt;&lt;P&gt;- If an item billing plan is linked to the header billing plan then FPLA-RFPLN is filled with the header billing plan number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To search for billing plan related function modules use either&lt;/P&gt;&lt;P&gt;- SD_BILLING*     or&lt;/P&gt;&lt;P&gt;- BILLING_*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 03:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610489#M273717</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-10-03T03:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: SO billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610490#M273718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren &amp;amp; Uwe,&lt;/P&gt;&lt;P&gt;Many thanks for the correct replies.Iam giving points to both of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 01:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-billing-plan/m-p/1610490#M273718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T01:48:21Z</dc:date>
    </item>
  </channel>
</rss>

