<?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: BILLING_SCHEDULE_SAVE - Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268699#M1529795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir&amp;nbsp; , when i use this function&amp;nbsp; (&lt;SPAN style="font-size: 13.3333px;"&gt;BILLING_SCHEDULE_SAVE am be &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; able to insert only one line &lt;/SPAN&gt;item&lt;SPAN style="font-size: 10pt;"&gt; in the billing plan details, &lt;/SPAN&gt;second&lt;SPAN style="font-size: 10pt;"&gt; time it only update the last inserted one .&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can you please advice how can i insert new line item in the billing plane details not only update the &lt;/P&gt;&lt;P&gt; last one . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to regenerate the net value after modifying the details , thanks in advance for your support . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Oct 2015 10:20:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-10-10T10:20:27Z</dc:date>
    <item>
      <title>BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268690#M1529786</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;I am using BILLING_SCHEDULE_SAVE Fm to create Invoicing Plans in PO, the FM is creating the records in FLPA and FLPT table but I am not able to see the Invoicing Plan in the PO Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 07:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268690#M1529786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T07:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268691#M1529787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the following to add starting and endding date in  invoice plan&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: doc LIKE vbak-vbeln,
v_order LIKE bapivbeln-vbeln,
pos(6) TYPE n.
DATA e_fpla LIKE fpla .
DATA hfplnr LIKE fpla-fplnr.

DATA i_fpla LIKE fpla .
DATA e_fplt LIKE fpltvb OCCURS 0 .
DATA: zfpla LIKE fplavb OCCURS 0 WITH HEADER LINE,
zfplt LIKE fpltvb OCCURS 0 WITH HEADER LINE.
DATA zfplt2 LIKE fpltvb OCCURS 0 WITH HEADER LINE.
DATA zfpla2 LIKE fplavb OCCURS 0 WITH HEADER LINE.
v_order = '1252004164'.
MOVE v_order TO doc .




doc = v_order.


break develoer.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
  EXPORTING
    document_number = doc.

MOVE '000010' TO pos.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
  EXPORTING
    i_vbeln                = doc
    i_posnr                = pos
  IMPORTING
    e_fpla                 = e_fpla
  TABLES
    e_fplt                 = e_fplt
  EXCEPTIONS
    no_billingplan_allowed = 1
    no_billingplan_found   = 2
    OTHERS                 = 3.

IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

* Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
* I_VFKDAT =
* I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt
.

* Upddate the ZFPLT2 table with the new values
*MOVE zfplt TO zfplt2.
MOVE zfpla TO zfpla2.

*READ TABLE zfpla2 INDEX 1.
zfpla2-lodat = '20100101'.
zfpla2-tndat = '20101231'.
zfpla2-rfpln = ''.
zfpla2-lodar = ''.
zfpla2-tndar = ''.
zfpla2-fpart = 'yy'.
zfpla2-horiz = '91'.
*** Very important to set field updkz = 'U' ***
zfpla2-updkz = 'U'. "--&amp;gt; UPDATE!!

APPEND zfpla2.

CLEAR pos.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
  TABLES
    fpla_new = zfpla2
    fpla_old = zfpla
    fplt_new = zfplt " --&amp;gt; NEW
    fplt_old = zfplt.

CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
  EXPORTING
    i_no_messages = ' '.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kk.adhvaryu on Sep 22, 2010 1:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 11:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268691#M1529787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T11:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268692#M1529788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this update the BILLING PLAN NUMBER in PO??.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 11:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268692#M1529788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268693#M1529789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u can update  BILLING PLAN ALL DETAILS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 11:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268693#M1529789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T11:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268694#M1529790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the problem is after using this function module, the field FPLNR in EKPO should get updated then only we will be able to see the Invocing plan Tab in the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not seeing, the field is not getting updated after using all these FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info on this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 11:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268694#M1529790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T11:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268695#M1529791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please past your logic  how to use and what u pass so i can give proper solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kk.adhvaryu on Sep 23, 2010 7:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 05:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268695#M1529791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268696#M1529792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ..... Solved on my own... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 07:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268696#M1529792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T07:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268697#M1529793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please explain how to solve your issue so it will help to any other person who face same problme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 07:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268697#M1529793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T07:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268698#M1529794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 00:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268698#M1529794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-05T00:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: BILLING_SCHEDULE_SAVE - Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268699#M1529795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir&amp;nbsp; , when i use this function&amp;nbsp; (&lt;SPAN style="font-size: 13.3333px;"&gt;BILLING_SCHEDULE_SAVE am be &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; able to insert only one line &lt;/SPAN&gt;item&lt;SPAN style="font-size: 10pt;"&gt; in the billing plan details, &lt;/SPAN&gt;second&lt;SPAN style="font-size: 10pt;"&gt; time it only update the last inserted one .&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can you please advice how can i insert new line item in the billing plane details not only update the &lt;/P&gt;&lt;P&gt; last one . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to regenerate the net value after modifying the details , thanks in advance for your support . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 10:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/billing-schedule-save-problem/m-p/7268699#M1529795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-10T10:20:27Z</dc:date>
    </item>
  </channel>
</rss>

