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

Similar Messages

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • Can it be possible to create invoice without billing plan date?

    Hi Gurus,
    I have made settings for billing plan in contracts. But, client wants billing plan at contract level only for the sake of reporting. Client doesnt want invoice to be created according to these billing plan.
    Now, consider this scenario,
    I have created contract A with billing plan values in it.
    I have created sales order B with reference to contract A. There are no billing plan values in sales order B.
    There is no delivery and PGI.
    Now, when I try to create invoice with reference to sales order B, system doesnt allow me to save the same and says "No billing plan date found".
    Will it be possible to create invoice irrespective of the billing plan in contract?
    Please guide.

    Hi,
    Then in that case i would advise not to use billing plan for your contract document type.
    If you intend to create a sales order in reference to your contract document which has billing plan type attached, then in that case you need to maintain billing plan for your sales order document too.
    Reward if helpful.
    Regards
    Ravi

  • To track which line item the billing plan date changed.

    Hi All.
    I have a requirment of tracking changes done for the billing plan date and whenever i change the billing plan date it will be reflected in the FPLA table. But i was not able to track to which line item of the subscription/order the billing plan date changed.
    In the FPLA table there is a relation to the VBELN(subscription/order) only not POSRN(line item) is there.How can i track to which line item it got changed.
    Thanks for your help.
    Thanks,
    Neslin.

    Hi,
    There should be entries in FPLTC for FPLNR found in table FPLA. Try from SE16, enter FPLNR preceded by zeros so that the total length is 10 and execute.For example,  FPLNR is 10, enter 0000000010.
    Hope it helps.
    Regards,
    Nupur

  • To track the line item to which the billing plan date changed.

    Hi All.
    I have a requirment of tracking changes done for the billing plan date and whenever i change the billing plan date it will be reflected in the FPLA table. But i was not able to track to which line item of the subscription/order the billing plan date changed.
    In the FPLA table there is a relation to the VBELN(subscription/order) only not POSRN(line item) is there.How can i track to which line item it got changed.
    Thanks for your help.
    Thanks,
    Neslin.

    Hi,
    There should be entries in FPLTC for FPLNR found in table FPLA. Try from SE16, enter FPLNR preceded by zeros so that the total length is 10 and execute.For example,  FPLNR is 10, enter 0000000010.
    Hope it helps.
    Regards,
    Nupur

  • Billing plan date should be same as invoice date as per factory calendar

    Hi,
    We have two contracts, one is having billing plan material and another is having no billing plan material of same customer.When we go for the billing, as because these having all the header fields same it should give one single invoice of those two contracts,but its giving two invoices means the invoice splits.I check it and found, due to different billing date the invoice splits.If we go for VF04 we can force the billing date as same,but they are is a one batch running for this invoice.My invoice date of two contracts is 22.06.2014 which is factory calendar date and billing plan date is 26.06.2014 which is contract start date.My client is asking that can we get billing plan date same as invoice date as per factory calendar in standard to get single invoice? Kindly suggest me where is the settings.
    Thanks in Advance
    Regards,
    Braja

    Braja,
    Check this
    Goto  the billing plan tab in the corresponding line item and check the rule that is determined. Now go to the configuration of this rule table by using the path
    SPRO>SD> Billing> Billing Plan> Define rules for determining dates and choose your Applicable rule and click on the details.
    There you will see the Calendar ID field where you will have to maintain the applicable factory calendar. I think this should work and your billing date on the item relevant for billing plan should be the same as the other item.
    Hope this helps,
    Ravin

  • Billing plan dates in Sales order

    Hi Experts,
    i am creating a sales order and i need to populate the date in billing per from Ztable as per payment terms.
    1 . the enhancement i am using is V60F0001 - > EXIT_SAPLV60F_001 and inside i have kept a break point. but it is not stopping. i have also created the project in CMOD and assigned this enhancement but still it is not working.
    2. is there any enhance ment or user exit i need to use.. to change the date in billing plan for sales order.
    is there any BADI i can change the billing plan dates.
    Thanks in Advance.

    Hi,
    Yes this is std behaviour.
    You need to do some enhacement to get this working.
    BR

  • Billing Plan Data not getting copied from Contract to SO

    Hi ,
    I have a Business requirement in which i ham supposed to create a Contract and then release/sales orders with reference to this contract. Whle creating the SO, the header billing plan dates are not getting copied from COntract to Sales Order.
    Please guide me on how can this be done.
    Regards,
    Madhav

    Hi,
    plz check your copy controls VTAA from contract to release order ,under the contract item category there is Field-FPLA check what is the routine that is assigned.
    you can either use routine-401 or 402

  • Generic Delta Extraction (Bill Plan Data)

    Hi BW Gurus,
    We need to cerate data source from Bill plan extractor.
    Please note that there is no SAP standard extractor for the bill plan data. So that is the reason we are using generic extractor (RSO2). We were using sales order delta extract program to find out the changes in bill plan data and there was routine in that extract which updated the custom table. But, soon they have to get rid of this design, because they observed that all the changes being done to bill plan were not being captured in the sales order delta extract. So, they have to go ahead with a full extract instead of the delta extract for bill plan data. Now we need to create design so we can do a delta extract on the billing plan data.
    Please advice me ASAP.
    In Advance Many thanks for your help.
    Regards
    SAP Team

    You could use the date field instead , you could have a lower safety interval and then when you do the delta again the records included in the lower safety interval are included. As for delta with timestamp , I have a question what is the timestamp used for delta - is it UTC Timestamp or the date and time concatenated together. UTC Timestamp did not seem to work for me and I did not have the luxury of having a concatenated timestamp.
    When I checked the base tables for delta maintenance , I found both timestamps and am confused as to what timestamps to use.
    Arun
    P.S I have a current delta with changed date and a lower safety interval of 1 day and it is working fine so far.

  • 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

  • Creating Billing Plan data for sales order using BAPI_SALESORDER_CREATEFROM

    Hi All,
    We are using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.We are unable to get the fields for billing plan tab in this BAPI.
    Kindly let me know the fileds in BAPI that corresponds to the fileds of billing plan in sales order.
    Thanks in Advance,
    Kiran I.

    Hi kiran
    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

  • How to update billing plan date in contract

    Hi guys!
    I*m using the bapi   BAPI_CUSTOMERCONTRACT_CHANGE to change some data in my contract
    However, I want to set the date for the beginn of the billing plan.  (Billing plan start date)  and i don't find this field in the BAPI.
    So is there a way to set and change this date?
    ...by the way. There is a rule initiated named "rule for origin of start date of billing plan". This should set the billing plan start date to the contract start date. - The contract start date is updated with BAPI_CUSTOMERCONTRACT_CHANGE - but the changes doesn't affect the billing plan startdate.
    If i edit the contract, the changes to the billing plan occur automatically, but not in the BAPI
    thanks!!
    Edited by: tom54321 on Aug 6, 2009 9:36 AM

    Hi,
    Plz check the link given below:
    BAPI_CUSTOMERCONTRACT_CHANGE is giving dump when start date of contract
    It may help you.
    Thanks & Regards,
    Sarita Singh Rathour

  • Rertieving billing plan dates

    hi i have to retrieve bedat and endat from fpla?
    what keys shoul i be using?

    hi,
    get the billing plan number fplnr from vbkd.
    uday

  • Billing plan dates

    Hi All,
               Is there any exit available to propose the default milestone dates and percentage. please suggest me how we can achieve.
    Regards
    Samsan

    Hi,
    not sure try this
    User exits in program RV60FUS1
    BILLING_SCHEDULE_DELTA
    For milestone billing a percentage value is fully invoiced for each billing deadline. In the case of deviations between the original item value and any later changes, you can use the user exit to determine whether the difference should be stored in the final invoice or sent to the next deadline.
    USEREXIT_MOVE_FIELD_TO_FPLT
    This user exit allows you to create your own fields in table FPLT.
    USEREXIT_MOVE_FIELD_TO_FPLA
    This user exit allows you to create your own fields in table FPLA.
    gothrough this link too
    http://help.sap.com/saphelp_45B/helpdata/en/22/f62c7dd435d1118b3f0060b03ca329/content.htm
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sdUserexits
    thanks.

  • Billing Plan Start Date not copied to Sales order from Service Contract

    Hi
    We are developing a process of Creation of Service Contract and then a order confirmation.
    Now based on the Order Confirmation will bill based on the Bill Plan.
    The Bill plan start date in contract header is not flowing to Sales Order header while creating with reference.
    Then navigating to Header Billing plan and if we input the date the billing plan dates are displayed.
    We checked the copy control settings and seems like the date is not copied.Is this a standard behaviour.
    If so then do we have any work arounds to achieve the same. Because the contract start date can change before confirmation.
    So business wants a sales order confirmation to be created after contract creation and bill periodically as per the Sales order instead of contract.

    Hi,
    Appreciate ur quick response. But instead of FKDAT i need the FPLA-BEDAT to be flowed to Billing Plan.Right now iam entering the following date manually at header.Instead if it copies from Contract header then manual entry could be neglected.
    Is it possible with the same routine to code with the above mentioned FPLA-BEDAT.

Maybe you are looking for

  • Blue screen when login when try it recover a lock appear as login

    blue screen when login when try it recover a lock appear as login

  • Downloads folder disappeared from the desktop?

    Hello! Mavericks user here. Today I was trying to find the downloads folder, you know the folder where all newly downloaded files end up on the right lower border of the screen, and are beautifully filed with the newest download at the bottom. So for

  • Unable to view images in my image library

    I have image folders full of all the pictures I have taken, but when I try to retrieve them, I receive a big black exclamation mark.  Any ideas on how I can regain ability to access images?  Thanks. Abby

  • BlazeDS clustering with JBoss AS

    Greetings, I'm currently working on a system that uses Adobe Flex 3 and BlazeDS. It works fine in the actual TomCat standalone server, but we got plans to upgrade our infrastructure to a cluster environment running JBoss AS. I got really concern when

  • Sol Man Test Plan protection

    Dear All,   I am workig with Sol Man 4.0. I have created the test plan in STWB_2. Now in "Attributes" option,  in top menu , under "Test Plan" option, i am protecting the test plan. Now, i want control, except me, no one should able to "Remove protec