<?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 or function to simulate billing plan in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438984#M1053384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find examples and i tried to pass different values ton the function module, but i already have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's important for me to simulate the creation of the dates in the billing plan and i don't know how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA42 it's simple, i just have to put a new date in the future for the billing plan header and when i go to the billing plan for Item, the new lines with amount are generated.&lt;/P&gt;&lt;P&gt;But i can't do the same thing using this function module (BILL_SCHED_GENER_UNTIL_HORIZON). I tried to understand how the standart program do it but there's many thousand of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think i'm the first who want to do this thing but i can't find any other informations.&lt;/P&gt;&lt;P&gt;Please help me if you know a way to simulate these lines.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 15:06:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-22T15:06:22Z</dc:date>
    <item>
      <title>Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438981#M1053381</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 need to use a function module or a bapi to simulate (&lt;STRONG&gt;but no create&lt;/STRONG&gt;) billing plan in the contract items. (VA42)&lt;/P&gt;&lt;P&gt;I know this function module : BILL_SCHED_GENER_UNTIL_HORIZON.&lt;/P&gt;&lt;P&gt;But even if i fill the different structures, i don't have any datas in the output tables.&lt;/P&gt;&lt;P&gt;Do you know another "moreeasy to use" function or bapi to simulate billing plan ?&lt;/P&gt;&lt;P&gt;I know this one : BILLING_SCHEDULE_GENERATE but it's harder to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 09:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438981#M1053381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T09:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438982#M1053382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anybody knows how to use this function module ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 16:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438982#M1053382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T16:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438983#M1053383</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 progressed with the use of this function module.&lt;/P&gt;&lt;P&gt;I will try to explain how i used it and maybe someone could tell me if 'im wrong somwhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i select a document in VBAK. I also get the corresponding datas in VBAP, VBPA, VEDA, VBKD, FPLA and FPLT. &lt;/P&gt;&lt;P&gt;I forced the field &lt;EM&gt;endat&lt;/EM&gt; of FPLA at 2009/12/31 and the billing plan of this document is generated until 2008/12/31.&lt;/P&gt;&lt;P&gt;So,  what i expect is to generate the missing datas in the internal table FPLT (i first only have datas until 2008/12/31 and would like to generate billing plan until 2009/12/31)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the KOMK and KOMP data with this FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;CLEAR : s_komk, s_komp.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;CALL FUNCTION 'SPR_KOMK_KOMP_FILL'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;pi_i_spr                       = s_pispr (Get with MF PISPR_FILL)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;IMPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;pe_i_komk                   = s_komk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;pe_i_komp                   = s_komp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;EXCEPTIONS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;org_structure_not_completed  = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;OTHERS                               = 2.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I filled the VEDA_HEADER strcture with FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;CALL FUNCTION 'SD_VEDA_SELECT'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;i_document_number = veda-vbeln&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;i_item_number         = veda-vposn&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;i_trtyp                     = 'A'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;IMPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;e_vedavb                 = s_veda_header.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;MOVE s_veda_header TO s_veda_header2.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;CLEAR s_veda_header2-vposn.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I filled the internal tables fpla and fplt with this FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;REFRESH : t_fpla_old, t_fpla_new, t_fplt_old, t_fplt_new.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;CALL FUNCTION 'BILLING_SCHEDULE_READ'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;fplnr = s_vbkd-fplnr&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;TABLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;zfpla = t_fpla_old&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;zfplt  = t_fplt_old.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here are the values passed to the function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;CALL FUNCTION 'BILL_SCHED_GENER_UNTIL_HORIZON'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_fplnr              = vbkd-fplnr&lt;/EM&gt;         &lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_waers           = vbak-waerk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_komk            = s_komk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_komp            = s_komp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_kompax         = kompax&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_fkrel              = 'I'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_absagen        = 'D'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_kfplan            = ''&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_veda              = s_veda_header&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;i_veda_kopf      = s_veda_header2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;         &lt;EM&gt;IMPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;e_kompax        = kompax&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;         &lt;EM&gt;TABLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;fpla_new          = t_fpla_new&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;fpla_old            = t_fpla_old&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;fplt_new           = t_fplt_new&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;           &lt;EM&gt;fplt_old            = t_fplt_old.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i have the correct generated lines in t_fplt_new, until 2009/12/31, but i dont' have any amount in netpr field, for all lines, even the first ones that had amount in t_fplt_old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if anybody knows if i forgot something or if i'm wrong somewhere, please tell me. Maybe it's not the good way to simulate billing plan.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps : if you need more details or if i'm not clear, tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 09:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438983#M1053383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438984#M1053384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find examples and i tried to pass different values ton the function module, but i already have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's important for me to simulate the creation of the dates in the billing plan and i don't know how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA42 it's simple, i just have to put a new date in the future for the billing plan header and when i go to the billing plan for Item, the new lines with amount are generated.&lt;/P&gt;&lt;P&gt;But i can't do the same thing using this function module (BILL_SCHED_GENER_UNTIL_HORIZON). I tried to understand how the standart program do it but there's many thousand of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think i'm the first who want to do this thing but i can't find any other informations.&lt;/P&gt;&lt;P&gt;Please help me if you know a way to simulate these lines.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 15:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438984#M1053384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438985#M1053385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i have same issue (how to use BILLING_SCHEDULE_GENERATE). Can you tell me what you have done to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Gautham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438985#M1053385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi or function to simulate billing plan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438986#M1053386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI , &lt;BR /&gt;I m even looking for a solution to update Bill plan using some BAPI / FM .&lt;BR /&gt;Can you tell me if you got the solution .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 11:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-function-to-simulate-billing-plan/m-p/4438986#M1053386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T11:25:36Z</dc:date>
    </item>
  </channel>
</rss>

