Pro rate function in billing plan

Folks
Would any one know how i could pro rate the value for the last month of the billing plan cycle. You would think this is a standard SAP function
I have looked, and i am not able to find a solution. Our customer does not want to do any code changes. Let me know if you know of any standard changes that can be done.

Hi,
Looks like you are not rewarding for the helpful responses.
<b>Please do reward for the helpful responses.</b>
SAP has <b>Retroactive Billing</b> funcitionality
Use
New pricing agreements that you make with your customers may affect billing documents that have already been processed and settled. If a new pricing agreement is effective before the pricing date of the billing documents, you can perform retroactive billing to call up a list of these documents and reevaluate them with the new price. You can then create additional billing documents to settle any differences.
Integration
Retroactive billing is a special billing function often used in  scheduling agreement processing.
Features
With the retroactive billing function, you can:
Call up a list of documents affected by price changes
Trigger the system to create the necessary retroactive billing documents directly from the list
Create credit or debit memos directly
Review any errors in a log
Simulate the retroactive billing process for any document
How does Retroactive Billing work?
In this example, the system calculates the difference between the net value of the invoice ($100) and today's net value based on the new price ($90). It then creates a credit memo with the net value of $10 to be credited to the customer.
Primary and Secondary Documents
The system calculates retroactive billing values for primary documents. It can use secondary documents to help calculate this value.
Invoices are always primary documents.
Other billing documents, such as debit or credit memos, can be primary or secondary documents. This depends on the order reason entered in the billing document.
For more information on how the order reason is used to control primary and secondary documents, see Order Reason in Retroactive Billing. This section will also provide a more detailed example of how retroactive billing works.
Primary Documents
Primary documents are:
Invoices
Credit memos that refer to returns
Credit and debit memos in which you have entered the relevant order reason
You can also assign an order reason to a memo request which then passes it along to the referenced credit or debit memo.
Secondary Documents
Secondary documents are the following billing documents in which you have entered the relevant order reason:
Credit and debit memo requests
Credit and debit memos
The system displays such a document only when it has been created with reference to the invoice and when the currencies in both documents match.
If you create a credit or debit memo (or memo request) without reference to an invoice, you will not be able to see in the retroactive billing list if the invoice has already been billed retroactively.
When you create a credit or debit memo request which is relevant for retroactive billing as a secondary document, the system will use it to calculate retroactive billing for the referenced document.
The system does not take into account whether or not a request has been rejected, partially billed, or billed using another pricing procedure. Also, it does not take into account any changes in the payer, sold-to party, sales organization, billing date, or material.
<b>Reward if helpful.</b>

Similar Messages

  • Pro rata billing in SAP FE-FX

    Hi,
    Can anybody tell me how can the pro rata billing in RE-FX can be done. What config setting we have to do for pro rata billing. and the invoice can be generated in RE-FX.
    Is there is any link for configuring the billing.
    Thanks,
    Shailendra

    Hi,
    I have exactly the same requirement. Making the value 'M', does not adjust the price automatically.
    Currently I have as below (dates in dd/mm/yyyy) in the billing plan schedule item level.
    11/01/2010 to 31/01/2010 - $3100
    01/02/2010 to 28/02/2010 - $3100
    01/03/2010 to 31/03/2010 - $3100
    01/04/2010 to 30/04/2010 - $3100
    01/05/2010 to 31/05/2010 - $3100
    01/06/2010 to 30/06/2010 - $3100
    01/07/2010 to 22/07/2010 - $3100
    What I would like is to have as below,
    11/01/2010 to 31/01/2010 - $2100   "Adjusted for 21 days of the month
    01/02/2010 to 28/02/2010 - $3100  + $520 
    01/03/2010 to 31/03/2010 - $3100  + $520
    01/04/2010 to 30/04/2010 - $3100  + $520
    01/05/2010 to 31/05/2010 - $3100  + $520
    01/06/2010 to 30/06/2010 - $3100  + $520
    01/07/2010 to 15/07/2010 - $1500      " Adjusted for 15 days
    " Additional $520 is the amount distributed equally among all entries except first and last, so that the net amount that will be billed to customer remains same.
    Please share some ideas on how I can achieve this - either through configuration or in coding.
    Thanks
    Vinoth

  • How to create Billing Plan in sales order using Function module /BAPI

    hi,
    How to create Billing Plan in sales order using Function module /BAPI
    i hv check few FM such
    BILLING_SCHEDULE_READ
    BILLING_SCHEDULE_GET_NUMBER
    BILLING_SCHEDULE_SAVE
    But unable to create billing plan for a sales order.....any other method to create???

    Hi,
    Use this link.
    Create sales order with billing plan via LSMW and BAPI BUS2032
    BAPI or Function to update Billing Plan in Sales Order Items
    Hope this will help you.
    Regards,
    Vijay

  • Why can't we have simple pro rata billing?

    I've been a BT Broadband customer for ten years, and I am sick of these sales packages with their prefabricated bandwidth allowances and telephone or TV options. It seems to me that the BT Broadband sales strategists have a philosophy more appropriate to selling fried chicken. It's comparable to "bargain basket, 3 pieces chicken plus chips; bumper basket, 5 pieces chicken plus chips and free drink, family basket, 7 pieces plus chips and relish pack." Hence the insultingly stupid photograph on the BT Broadband web page, of a young Internet TV consumer before a flickering screen, cramming chicken segments into his  mouth from a paper basket while laughing idiotically. BT's standard telephone service was never like this. You never found that if you didn't make 2 or more calls a month, you would be charged a non-use fee of £2, as happens with one of BT's Broadband plus phone packages. Nor did you get emails saying you had exceeded your allowance and would be charged a flat-rate fine, but "we know it can be confusing keeping track of your bandwidth usage; why don' you switch to a larger, more expensive package?" I suggest a simple solution: sack all the sales strategists and sell services with simple pro rata billing. Charge customers for what they use, plus a flat rate rental, just like you do with the simple phone service. You keep track of individual usage anyway, so that you can nag people about exceeding their allowances. So why not just charge pro rata and get rid of the sales packages? Or are you totally wedded to tricking people into paying for more than they need?

    Welcome to the forum, which is essentially a customer to customer affair and messages do not necessarily reach anyone in BT.
    As a fellow customer I couldn't agree more, except to say that it's not just BT. But you have to realise that we're ungrateful wretches, refusing to give thanks for the bountiful gifts of competition that were promised when telecoms and other utilities were thrown to the wolves of big business. The fact is though that when you're sending pretty much the same signals down the same wires, the same current down the same cables, the same gas through the same tubes, you've got to do something to snare more customers than the next firm. What better way than conning Joe Public into believing that your ever-changing, unfathomable price structure, all wrapped up in shoddy customer service from minimally-trained staff with little understanding and even less commitment, is better than anyone else's? If I was a cynic I could bang of for hours.
    You can click the white star next to this message if you think it was helpful.

  • BAPI or Function to update Billing Plan in Sales Order Items

    Hello all !
         I have to update some fields in the billing plan data in sales order's item (VA02) with a program (receiving it's data form csv files).
         I've searched a BAPI but infortunately there are no "Billing Plan" data structure to update thoses fields.
         The transaction in VA02, the billing plan data is found in FPLT table, linked to VBKD table with key field VBKD-FPLNR.
         I've tried theses Functions with no result :
    BILLING_SCHEDULE_MAINTAIN
    BAPI_SALESORDER_CHANGE
    BAPI_SALESORDER_CHANGEBOS
    BAPI_SALESDOCUMENT_CHANGE
    For now I'm searching how VA02 is saving the billing plan data, but it's very tricky and maybe not reusable.
         If someone have an idea for updating billing plan data in a abap program ( and not a batch input of VA02 because the line to update can have a variable position ).
    Thanks a lot.
    Message was edited by: Thomas B.

    Thanks Kiran I for your answer.
        This function might be helpful but there is a strange control at the begining of the code.
    (I guess VBAK must be filled somewhere..)
      IF I_VBELN NE VBAK-VBELN.
        MESSAGE A044 WITH I_VBELN VBAK-VBELN.
      ENDIF.
    But I've found another way to update the billing plan dates: using the function BILLING_SCHEDULE_SAVE (with BILLING_SCHEDULE_READ before). My point is solved.

  • Pro forma invoice problems if billing plan is used

    Hello experts,
    i have a problem again with the billing plan.
    To problem now is the pro- forma for following case:
    A billing plan is used for the items in the sales order. only at the end when the delivery gets prepared at the end, the pro forma invoice will be created.
    The billing relevance for the item category is 'I' - with the billing plan type (a partial billing with % used).
    For the proforma the entire value should appear on the Pro forma finally when the manufactured modul passes the customs.
    I am struggling with the correct copy control settings.
    The already billed values do not appear on the PRO Forma - for the 'real bills' it is ok.While creating the pro forma the related message appears in the log.
    Which settings in copy control for the copy control (sales order --> billing type (pro forma) do I need to use if I need to have the entire sales order item value on the pro forma bill.
    all helpfull answers are highly appreciated.
    Thanks a lot in advance
    Kurt

    Hi Kurt,
    If you are using a billing plan say periodic billing plan; then i dont think you will have a delivery created against it. From the order / contract; it would be a billing document.
    If you are planning to use any of the billing plans; then invoices are bound to split based on invoicing dates and the settings of billing plan.
    If you are planning to pull all the parts for the purpose of customs then probably you can plant to develop a new output type that would print the details from the billing document (instead of Proforma from delivery). This new output type will be used for "N" number of billing documents against a sales order / contract in order to capture all the part numbers in it.  So if you have 3 parts in the order and 6 invoices, then the new output would get triggered 6 times and you will end up with 6 prints.
    Making changes to incorpoate billing plan related copy control settings would turn your development / configuration more complex.
    I hope i understood your question correctly.
    Hope this helps;
    Regards,
    Syed Nasir

  • BILLING PLAN DETAILS -Function Module

    I have sales order no .
    What is the function module to give the details of BILLING PLAN for that sales order.

    There is a link between VBKD-FPLNR and FLTP-FPLNR.
    Pass the VBELN to VBKD, Fetch the FPLNR and pass it to FLTP to get the FLTP details.
    Try the FM -  DPBP_SLS_GET_REF_FPLNR_FPLTR

  • Bapi or function to simulate billing plan

    Hi,
    I need to use a function module or a bapi to simulate (but no create) billing plan in the contract items. (VA42)
    I know this function module : BILL_SCHED_GENER_UNTIL_HORIZON.
    But even if i fill the different structures, i don't have any datas in the output tables.
    Do you know another "moreeasy to use" function or bapi to simulate billing plan ?
    I know this one : BILLING_SCHEDULE_GENERATE but it's harder to use it.
    Thanks

    Hi,
    I progressed with the use of this function module.
    I will try to explain how i used it and maybe someone could tell me if 'im wrong somwhere.
    So i select a document in VBAK. I also get the corresponding datas in VBAP, VBPA, VEDA, VBKD, FPLA and FPLT.
    I forced the field endat of FPLA at 2009/12/31 and the billing plan of this document is generated until 2008/12/31.
    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)
    I get the KOMK and KOMP data with this FM :
          CLEAR : s_komk, s_komp.
          CALL FUNCTION 'SPR_KOMK_KOMP_FILL'
            EXPORTING
              pi_i_spr                       = s_pispr (Get with MF PISPR_FILL)
            IMPORTING
              pe_i_komk                   = s_komk
              pe_i_komp                   = s_komp
            EXCEPTIONS
              org_structure_not_completed  = 1
              OTHERS                               = 2.
    I filled the VEDA_HEADER strcture with FM :
            CALL FUNCTION 'SD_VEDA_SELECT'
              EXPORTING
                i_document_number = veda-vbeln
                i_item_number         = veda-vposn
                i_trtyp                     = 'A'
              IMPORTING
                e_vedavb                 = s_veda_header.
            MOVE s_veda_header TO s_veda_header2.
            CLEAR s_veda_header2-vposn.
    I filled the internal tables fpla and fplt with this FM :
            REFRESH : t_fpla_old, t_fpla_new, t_fplt_old, t_fplt_new.
            CALL FUNCTION 'BILLING_SCHEDULE_READ'
              EXPORTING
                fplnr = s_vbkd-fplnr
              TABLES
                zfpla = t_fpla_old
                zfplt  = t_fplt_old.
    So, here are the values passed to the function module :
            CALL FUNCTION 'BILL_SCHED_GENER_UNTIL_HORIZON'
              EXPORTING
               i_fplnr              = vbkd-fplnr        
               i_waers           = vbak-waerk
               i_komk            = s_komk
               i_komp            = s_komp
               i_kompax         = kompax
               i_fkrel              = 'I'
               i_absagen        = 'D'
               i_kfplan            = ''
               i_veda              = s_veda_header
               i_veda_kopf      = s_veda_header2
             IMPORTING
               e_kompax        = kompax
             TABLES
               fpla_new          = t_fpla_new
               fpla_old            = t_fpla_old
               fplt_new           = t_fplt_new
               fplt_old            = t_fplt_old.
    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.
    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.
    Thanks
    Ps : if you need more details or if i'm not clear, tell me.

  • Does Transfer Invoice Price Variance pro-rate for partial quantity ?

    We were planning on using Transfer Invoice Price Variance to Inventory but unfortunately, we find when there's an IPV for quantity that's partly issued - the variance is not pro-rated but entirely applied to the remaining quantity.
    Just wondering if this is desired functionality and if so, could we use SLA to ask the program to pro-rate the variance and for partial quantity, apply the pro-rated amount to the quantity remaining and the rest to the Cost Variance account.
    Thanks,
    Sanjib

    TIPV to Inventory doesn't pro-rate for partial quantity.
    It transfers the entire IPV to the remaining quantity.

  • Error releasing a billing document to accounting - Billing Plan error

    Hello,
    I recently encountered a problem with releasing a billing document to accounting. When I click the release to accounting button in VF02 I would get this message "Billing plan 0000057337 does not exist - Program error".
    Here are my findings thus far, that particular number appears to have been drived from the number RPLNR, which really isnt encoded in other billing docs. Also the problem seems to arise from the calling of the function module BILLING_SCHEDULE_READ where the rplnr from VBRP(i think).
    A similar problem occurs a few months ago and the person who handeled this just advised to cancel the billing doc and re-create a new one.
    However, I was wondering if any of you knows the reason why this problem could have occured so it will not happen again.
    Hope to hear from all of you soon. Take care and good day.

    Hi Ched ,
    You can store a billing plan at item level in the sales document during order processing.All the relevant settings are available under the path given below :
    Under SPRO / S&D/Billing / Billing Plan .
    I had a cursory look , the billing plan is what dictates the invoicing but its not compulsory. It is attached to the Order type & the sales order takes the Billing plan if there is any in the order type. Looks like there was some changes were effected in these settings between the period of the creation of the Sales order & release of the billing document. Have a look....
    Do assign points if you feel this info was useful....
    Cheers
    Kartik

  • Creation of Billing Plan data

    Hi all,
    I am using [BAPI_SALESORDER_CREATEFROMDAT2] for creating Sales order
    and i also have billing plans data to be updated in the sales order. But i dont find any structures for populating the Billing plan data into the BAPI.
      But i found the SD_SALES_BILLINGPLAN_CHANGE function module for updating the Billing plan schedule data. But this function module needs [Billing plan number / invoicing plan number] assigned to the sales order from the table VBKD.
        When i create the Sales order through BAPI, the [Billing plan number / invoicing plan number] is not getting updated and i dont know how to update the billing plan for the sales order created using BAPI.
        Can anyone help out how to create the Billing plan data for a Sales order?
    Regards
    Dhanapal S

    hi Dhanapal
    i ahve the same problem which u posted..
    My scenarion is to create billing plan while creation of order using the BAPI_SALESORDER_CREATEFROMDAT2 but could not find any structure to pass billing plan details
    pls can u let me know if u found any solution for this if so can u send me detailed mail..
    i want to populate in both way header level and item level (by removing check header plan in the billing plan tab)
    Pls let me know ASAP..
    Thanks
    anil

  • Creation of Budget Billing Plan for Countries with Tax Jurisdiction

    Hello Experts,
    When I create a budget billing plan for a company code with country Canada/USA and jursidiction TAXCAJ/TAXUSJ using transaction EA61, I get the message "Taxes with jurisdiction code not permitted with down payments"(Message no. >0194).  The long text for this message says "Delete your entry in the field for jurisdiction code"  Is any one aware where from this jurisdiction code should be deleted.
    Is it possible to create budget billing plan for countries with jurisdiction code at all ?
    Thanks in advance
    Venkat

    Hello Roopali,
    What I learnt in the process of exploring the functionality is that Payment PLan (BBP or AMB) is the budget billing method for countries with Tax Jurisdiction. Statistical, Partial & Payment Scheme only works when jurisdiction is not defined for tax procedure. Payment scheme is the recommend procedure for Eurpopean market
    Thanks for your clarification
    Best Regards
    Venkat

  • Creating Billing Plan data for sales order using BAPI

    Hello,
    Someone ones if there is any way to create a sales order (BAPI) and then create a billing plan (by means of another BAPI)?
    Or is there any way to create both at the same time?
    Kind Regards.

    Hi David and Nisha here is the code for creating sales order with bapi
    *& Report  YOBJ_BAPI_SALESORDER
    *& REPORT : CREATING SALES ORDER USING STANDARD BAPI
    *& AUTHOR : S.PAVAN KUMAR INUMARTHY
    REPORT  YOBJ_BAPI_SALESORDER.
    DATA : ORDER_HEADER_IN LIKE STANDARD TABLE OF BAPISDHD1 WITH HEADER LINE.
    DATA : ORDER_ITEMS_IN LIKE STANDARD TABLE OF BAPISDITM WITH HEADER LINE.
    DATA : ORDER_PARTNERS LIKE STANDARD TABLE OF BAPIPARNR WITH HEADER LINE.
    DATA : RETURN TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
    DATA : SALESDOCUMENT LIKE BAPIVBELN-VBELN.
    *APPENDING VALUES FOR HEADER.
    ORDER_HEADER_IN-DOC_TYPE = 'TA'.
    ORDER_HEADER_IN-SALES_ORG = '1000'.
    ORDER_HEADER_IN-DISTR_CHAN = '10'.
    ORDER_HEADER_IN-DIVISION = '00'.
    ORDER_HEADER_IN-SALES_GRP = '130'.
    ORDER_HEADER_IN-SALES_OFF = '1030'.
    APPEND ORDER_HEADER_IN.
    *APPENDING VALUES FOR ITEM
    ORDER_ITEMS_IN-MATERIAL = 'M-13'.
    ORDER_ITEMS_IN-PLANT = '1000'.
    ORDER_ITEMS_IN-SALES_UNIT = 'ST'.
    ORDER_ITEMS_IN-DIVISION = '07'.
    ORDER_ITEMS_IN-GROSS_WGHT = '28000'.
    ORDER_ITEMS_IN-NET_WEIGHT = '28000'.
    ORDER_ITEMS_IN-UNTOF_WGHT = 'KG'.
    ORDER_ITEMS_IN-VOLUME = '0.780'.
    ORDER_ITEMS_IN-VOLUNIT = 'M3'.
    APPEND ORDER_ITEMS_IN.
    *APPENDING VALUES FOR PARTNER
    ORDER_PARTNERS-PARTN_ROLE = 'AG'.
    ORDER_PARTNERS-PARTN_NUMB = '0000001000'.
    ORDER_PARTNERS-COUNTRY = 'DE'.
    ORDER_PARTNERS-TRANSPZONE = 'D000080000'.
    APPEND ORDER_PARTNERS.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
    *   SALESDOCUMENTIN               =
        ORDER_HEADER_IN               = ORDER_HEADER_IN
    *   ORDER_HEADER_INX              =
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   TESTRUN                       =
    *   CONVERT                       = ' '
    IMPORTING
       SALESDOCUMENT                  = SALESDOCUMENT
      TABLES
       RETURN                         = RETURN
       ORDER_ITEMS_IN                 = ORDER_ITEMS_IN
    *   ORDER_ITEMS_INX               =
        ORDER_PARTNERS                = ORDER_PARTNERS
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
    *   ORDER_CFGS_VALUE              =
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =
              IF SY-SUBRC = 0.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *           EXPORTING
    *             WAIT          =
    *           IMPORTING
    *             RETURN        =
               ENDIF.
    WRITE : 'SALES ORDER IS :', SALESDOCUMENT.
    I have tested and go it.
    please go through it

  • How to copy billing plan details of main item to all its sub-items...

    In the sales order, we have main item and sub-items. The main item is a project item and it has a billing plan which gets copied from the project. Now the requirement is to copy the same billing plan(of the mainitem) to all its subitems- billing dates, billing type, billing rule, date category, percentage of the amount to be billed, etc. So that when we do billing for this sales order all the items and its sub items are copied in the milestone billing document.
    The billing plan is not at header level since the sales order can have multiple project items and their milestones can differ.
    Please suggest how to acheive this- coping of billing plan details from main item to all the subitems.
    Rds,
    sucmsss

    You can use the enhancement section in include mv45af0f_fplan_aktualisieren_c. In the below code, I am copying milestone lines from previous document, but you could adapt to copy from the higher level item. Copy and pretty print it in ABAP editor.
    ENHANCEMENT 10  ZSD_SALES_DOC1.    "active version * Generate Billing Plan without dialog. * Because copy control does not work with milestone billing plans, we need to perform the below tricks.
      DATA: zlt_fplt TYPE TABLE OF fpltvb,         zlt_fpla TYPE TABLE OF fplavb,         zlv_fareg TYPE tfpla-fareg,         zlv_fplnr TYPE fplnr,         zls_vbkd TYPE vbkd.   FIELD-SYMBOLS:TYPE vbkdvb,                 TYPE fplavb,                 TYPE fpltvb,                 TYPE fpltvb.
    IF xvbkd-updkz = chari AND       tvap-fpart IS NOT INITIAL AND *      xfplt[] IS INITIAL AND       vbkd-fplnr IS INITIAL AND "bill plan not created       vbak-vbtyp CA 'CG'. "contracts and orders       SELECT SINGLE fareg FROM tfpla INTO zlv_fareg WHERE         fpart = tvap-fpart.         IF zlv_fareg IS NOT INITIAL AND           zlv_fareg <> '6'.         READ TABLE cvbkd ASSIGNINGWITH KEY         vbeln = vbap-vgbel         posnr = vbap-vgpos.         IF sy-subrc IS INITIAL.           CALL FUNCTION 'BILLING_SCHEDULE_READ'             EXPORTING              fplnr          =-fplnr             tables              ZFPLA          = zlt_fpla              zfplt          = zlt_fplt. * Check if any of the lines are not periodic and not from milestone before proceeding.            READ TABLE zlt_fplt ASSIGNINGWITH KEY            MLSTN = abap_false            nfdat = 0.          IF sy-subrc IS INITIAL.           CONCATENATE '$000' vbap-posnr INTO zlv_fplnr.           ENDIF.         ENDIF.         IF sy-subrc IS INITIAL.           LOOP AT zlt_fplt ASSIGNINGWHERE             mlstn = abap_false.            -fplnr = zlv_fplnr.             APPENDTO xfplt.            -updkz = chari.           ENDLOOP.           LOOP AT zlt_fpla ASSIGNING.            -fplnr = zlv_fplnr.             CLEAR-vbeln.            -updkz = chari.             APPENDTO xfpla.           ENDLOOP.           da_fplnr =-fplnr.         ENDIF.       ENDIF.     ENDIF.     CALL FUNCTION 'BILLING_SCHEDULE_GENERATE'          EXPORTING               I_FKDAT        = VBKD-FKDAT               I_FPLNR        = DA_FPLNR               I_WAERS        = VBAK-WAERK               I_FPART        = TVAP-FPART               I_VEDA         = XVEDA               I_VEDA_KOPF    = VEDAVB               I_UPD_FPLA     = UPD_FPLA               I_UPD_FPLT     = UPD_FPLT               I_KOMK         = TKOMK               I_KOMP         = TKOMP               I_KOMPAX       = KOMPAX               I_FKREL        = VBAP-FKREL               I_CREATE_DATES = US_FLG_CREATE_DATES               I_KFPLAN       = DA_KFPLAN               I_KFPLNR       = DA_KFPLNR               I_NOMSG        = US_NOMSG               I_ABSAGEN      = DA_ABSAGEN               I_FPLAA        = FPLAA          IMPORTING               E_FPLNR        = XVBKD-FPLNR               E_DATALOSS     = DA_DATALOSS               E_UPD_FPLA     = UPD_FPLA               E_UPD_FPLT     = UPD_FPLT               E_KOMPAX       = KOMPAX          TABLES               FPLA_NEW       = XFPLA               FPLA_OLD       = YFPLA               FPLT_NEW       = XFPLT               FPLT_OLD       = YFPLT               I_FPLTS        = TFPLTS               I_FPLTNP       = TFPLTNP               I_KOMV         = XKOMV               I_TKOMK        = TKOMK               I_SVBAP        = UVBAP.     LOOP AT zlt_fplt ASSIGNING.       READ TABLE xfplt ASSIGNINGWITH KEY       mandt =-mandt       fplnr =-fplnr       fpltr =-fpltr.       CHECK sy-subrc IS INITIAL.      -updkz = chari.     ENDLOOP. ENDENHANCEMENT.

  • How to get the Billing plan number for Contract Item?

    HI Friends
    I have been stuck up with the billing plan number to fetch perticular item in sales contract.
    When I go to the table FPLA, I can all the billing plan numbers for a contract or sales order and I am not able to locate for a perticular line item.
    Is there any way to fetch the exact billing plan number for a line item of a contract?
    Please help me
    Thanks
    Praveen

    U need to use the table vbfa or fololow thw link
    [http://www.erpgenie.com/sap-functional/sd/read-sales-document-flow-using-a-function-module]

Maybe you are looking for

  • How can I delete an email message on iphone that keeps reappearing after I delete it?

    I have received 1 email that I can not delete from my iphone 4.  I delete it and it ust reappears. same if I move it to trash. Can anyone tell me how to get rid of this email?

  • Distinct Key word in sql

    Hello Good folks, I have a simple oracle view (that fetches data from mutiple tables). There are approximately 7 columns in the view. I want the view to get unique data based on only 2 columns (not all 7 columns). View looks like this now. select dis

  • Message cannot be transferred to node SMTP due to connection error (final)

    HI Gurus, we are gewtting the following error inour test client in SOST transaction. Can someboyd please thriw soem light on how to resolve this? Message cannot be transferred to node SMTP due to connection error (final) Message no. XS816 Diagnosis D

  • ACE routed mode design issue

    I am configuring ACE in routing mode , Below is my ACE interface config. interface vlan 28   description "CLIENT VLAN"   ip address 192.168.10.11 255.255.255.248   peer ip address 192.168.10.12 255.255.255.248   mtu 1500   mac-sticky enable   access-

  • How to get pse 9 serial number for rehosting.

    Lost it materials.  Over a year ago.  Have regestered product w. Adobe.  So can I get help?