Block in Billing Plan

Hi
I need to generate an output type whenever a sales order is created or changed if there is a change in the billing block in the Billing plan for prepaid SO. Can anybody please let me know in which structure the value lies ? KOMPBV1-FAKSP is not applicable as it is the Block at the Billing document, not the Billing Plan
Any help is highly appreciated

Hello,
I don't think the system will automatically remove the billing block from the plan an bill it. You may create a program to remove the billing block from the line items in a billing plan order with the help of an ABAP expert and schedule it accordingly.
So whenever the date comes, the system will remove the billing block and bill it.
Prase

Similar Messages

  • FM to remove billing block form billing plan in sales order

    i want a FM to remove the billing block from the billing plan present in header data of sales order ,
    i found the FM which delete all billing block present in sales order,
    is there any FM that check the line of billing block and delete that block of the specific line.

    Hi,
    Is this post related in any way to the PS module? If not please close it and raise it in the appropriate forum.
    Regards,
    Gokul

  • Release billing block in billing plan

    I am using periodic billing plan and I would like that the billing block will be deleted automatically when the billing date arrives.
    Does the standard system supports this feature and how?

    Hello,
    I don't think the system will automatically remove the billing block from the plan an bill it. You may create a program to remove the billing block from the line items in a billing plan order with the help of an ABAP expert and schedule it accordingly.
    So whenever the date comes, the system will remove the billing block and bill it.
    Prase

  • Billing block removal in Billing Plan - Transaction VA02

    Hi,
    How can I remove the Billing Block in Billing plan for a single sales order? (header level)
    What I need to remove/change to empty is the field FPLT-FAKSP (from Billing Plan tab) and not the FAKSK from table VBAK (in Billing Document tab).
    Following example is only to remove the VBAK-FAKSK, but what i need is to remove the FPLT-FAKSP.
    Please help.
    Thanks
    REPORT  Z_BILLING_BLOCK.
    PARAMETERS: p_vbeln TYPE vbak-vbeln.
    DATA: l_header_inx TYPE bapisdh1x,
          l_header_in  TYPE bapisdh1.
    DATA: lt_return TYPE STANDARD TABLE OF bapiret2.
    update the flag.
    l_header_inx-updateflag = 'U'.
    l_header_inx-bill_block = 'X'.  " Billing
    l_header_in-bill_block  = ''.   " Remove Billing block.
    Call the bapi.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument    = p_vbeln
        order_header_in  = l_header_in
        order_header_inx = l_header_inx
      TABLES
        return           = lt_return.
    check for errors.
    LOOP AT lt_return TRANSPORTING NO FIELDS WHERE type = 'A' OR type = 'E'.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      WRITE: / 'Error in updating'.
    ELSE.
      WRITE: / 'Billing block removed'.
      COMMIT WORK AND WAIT.
    ENDIF.

    Hi,
    I don't want to use this is the sales order user-exit. What I really want is to have another different program running in background for example and removing this Billing Block (FPLT-FAKSP).
    My code is only working for the billing block in Billing Document Tab and not for the one in Billing Plan.
    Thanks a lot
    Br
    Anyone knows already a solution for this??
    Edited by: Ninfx Ninfx on Feb 27, 2009 4:42 PM

  • Reg: Billing Plan Report

    Hi
    I got one FS from Client side regarding Billing Report i unable to write the logic for some Fields, please find attach the Ouput Format required from Clinet.
    Sales Order Number (VBAK-VBELN)
    Project Definition Number
    Project Definition (from project)
    Project Manager (person responsible from project)     
    Customer Number   
    Customer Name
    Order Type
    Sales Order Line
    Billing Plan Item Number
    Billing Item Milestone Description (from Project)
    Billing Plan ItemValue
    Billing Item Currency
    Billing Block Status
    Billing Plan Item Billing Type
    Milestone Planned Billing Date      
    Milestone Release Confirmation Date
    Billing Plan Item Invoice Number
    I am unable to find the logic for  the Below output Feilds
    Billing Item Milestone Description (from Project)
    Milestone Planned Billing Date      
    Milestone Release Confirmation Date
    Billing Plan Item Invoice Number
    Please let know which Table which will fetch this details
    The Input for this report is Plant ( Mandatory Feild) and optional Feild are  Sale order No and Project Definition No.
    Kindly help me out SAP GURUS
    Regards

    Hi,
    The logic for Billing plan item invoice number is:
    Pass the sales order number into VBKD table.Execute.
    Select your lineitem and fetch the value if Billing plan number(FPLNR).
    To know the number of items in billing plan enter this FPLNR into FPLT Table.Execute.
    Pass the FPLNR into VBFA table and Execute.
    You will find the invoice numbers for your billing plan items.
    Regards,
    Krishna.

  • Sales Order / Proformo Invoice / Billing Plan

    Hi,
    I am creating a Proforma invoice based on a sales order with a single line item having a billing plan at item level.
    problem is that all items in billing plan are copied into the proforma invoice irrespective of its block status (at billin plan level).
    e.g. if there are 2 lines in billing plan and one is not block and other is blocked. but when i create a proforma invoice F5, both line items from billing plan are copied into the proforma invoice document. i've maintained "008" in copy control at item level.
    Any1 idea where to check this problem.

    Hi,
    System only checks the VBAP - FAKSP.
    You have to create your own copying requirments from "008" and incoporate the code to check the Billing Block at billing plan level ie FPLT-FAKSP.
    See current block of code written for normal billing block
    Billing block
      IF VBAP-FAKSP NE SPACE.
        SELECT SINGLE * FROM TVFSP WHERE FAKSP = VBAP-FAKSP
                                   AND   FKART = TVFK-FKART.
        IF SY-SUBRC = 0.
          PERFORM VBFS_HINZUFUEGEN USING VBAP-POSNR '015' SPACE
                                                          SPACE SPACE.
          SY-SUBRC = 4.
          EXIT.
        ENDIF.
        SY-SUBRC = 0.
      ENDIF.
    Like Wise you have to write the code for FPLT-FAKSP and then user removes the block from header level.
    and saves the order will be available for billing

  • Bill value of Billing plan in CRM

    Hi All,
    can you please suggest on FM or method to get the Bill value of Billing plan in CRM.
    Thanks in advance.
    Subhankar

    Hi,
    This billing paln is generally created for revenue planning during early stages of Project when sales order doesnt exist. You can copy this billing plan to Sales order. Refer [Billing Plan|http://help.sap.com/saphelp_erp60_sp/helpdata/en/4c/22744246e611d189470000e829fbbd/frameset.htm]
    Billing will happen when block in billing plan of Sales order is removed. In case of milestone billing, when you confirm a milestone, billing block is removed and you can proceed to Billing.
    Regards

  • VF01 Exit BADI to Postpone or block items in billing plan.

    Hi Experts,
    The business requirement is where they are not suppose to bill the customer more than the Sales Order value.
    While positng a invoice with referenceto to an Sales order (VF01) for a perticular order type with a billing plan.
    I want block items in invoice / billing plan of order if the value of billing items is exceeding the order netvalue.(only while posting the invoice document). 
    Please suggest any EXIT, badi.
    Thanks in advance.
    Regards,
    Mahesh

    Hi,
    Exits for VF01:
    SDVFX007 User exit: Billing plan during transfer to Accounting
    V60A0001        Customer functions in the billing document
    SDVFX009           Billing doc. processing KIDONO (payment reference number)
    V05I0001             User exits for billing index
    V05N0001           User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    BADIs
    SD_CIN_LV60AU02                BADI for billing
    VOR_WA_FAKTURA              Billing before Goods Issue

  • Billing Plan Billing Blocks -- report available?

    Is anyone aware of a report that shows billing blocks assigned to billing plan lines?
    Thanks,
    Lee Ann

    Hi
    Try
    V.14                 Sales Orders Blocked for Delivery    
    V23                  Sales Documents Blocked for Billing  
    VA14L                Sales Documents Blocked for Delivery 
    VE31                 Blocked SD Documents     
    Regards
    Jitesh

  • Billing Plan Billing Block Change when saving the sales order

    Dear Gurus,
    We have SD Integrated with PS. We create the sales orders and pull the billing plans milestones from WBS.
    Once we generate the billing plans, system will propose the billing block for all the line items of the milestones which normally comes from the billing plan configuration/item category.
    Would like to know the appropriate userexit to change the Billing block to "XX" if some of the requirements are not met when we create or change the sales document.
    Below is what i am able to see but seems to be not helpfull.. please guide..
    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.
    Reward points for the right answers..
    Regards
    Ram

    Dear Friend,
    I hope you can make it with the above user exits.Consult your abaper and try it.
    Thank you,

  • Remove Billing Block on a Sales line item with Billing Plan

    Hi All,
    I need to remove/clear “<b>Billing Block</b>” on a sales order line item which as been attached to billing plan. Sales order line item can have more then one “<b>Billing Plan</b>” line item. Based on <b>billing date</b> I want to remove Billing block. Any hints or direction much appreciated. Thanks in advance.
    Kind Regards,
    Tim

    Hi,
    Use the BAPI BAPI_SALESORDER_CHANGE to remove the billing block in the sales order line item..
    Pass the item number ORDER_ITEM_IN parameter
    Pass the item number, UPDATEFLAG = 'U', BILL_BLOCK = 'X' in the ORDER_ITEM_INX parameter..
    Thanks,
    Naren

  • Excise Invoice- Based on Billing Plan

    Dear All,
    Here in my client's place, we have a requirement like,
    For a project-XYZ we create one sales order with materials A,B & C.
    For this sales order we maintain billing plan 50% = X1 Rupees ,
                                                                    25% = X2 Rupees ,
                                                              and 25% = X3 Rupees.
    When project is finished 50% we create billing with X1 amount with reference of sales order and then we create excise invoice based on this billing document (NO delivery) and send it with material.
    And for second billing for X2 amount SAP is not allowing to create excise invoice and throws message like modvat utilization has been done already.
    Kindly suggest how to proceed and how to create excise invoice for remaining two amounts.
    Thanks & Regards

    Hi ,
    Thanks for your responce...
    Is there any transaction code for removing the billing block automatically in the sales order and how can i indentify the date category as per billing plan..
    Thank you very much..
    Thanks in advance.
    Regards,
    KV

  • Down Payment processing for Sales orders using Milestone Billing Plan

    Hi,
    The business scenario is as follows.
    The delivery for the sales orders are to be created only after the pre payment( a percentage of the total sales order value) is made by the customer.
    Hence the sales orders while creation are blocked for delivery creation using credit block by means of a userexit.
    The credit manager checks the blocked sales orders using VKM1 transaction and verify if there are any payments made by the customer to cover this pre payment to be made.
    If it is enough to cover then he releases the sales order manually for delivery creation.This is a complex process since there are too many sales orders and the payments made by the customer may not match the amount to be paid(it can be greater or lesser).The customer just pays a huge amount which is to be distributed among the sales orders for pre payments.
    Later, when the invoice is created, the customer account is cleared manually using F-32 transaction for the oldest open invoices.
    Here again there is a huge manual effort involved since he need to distribute the amount against the invoices using oldest open item principle.
    As a solution we are planning to implement "Down Payment processing for Sales orders using Milestone Billing Plan".
    Is this the right solution?
    Can you please give the steps in detail to implement this functionality for above scenario?
    We are using SAP 4.7 version without Project Systems.
    Thanks in advance.
    Regards,
    Ragesh

    Hi Ragesh
    Check the links where you will get the entire down-payment configuration
    [https://forums.sdn.sap.com/post!replydownpayments ]
    Regards
    Srinath

  • Milestone Billing Plan issue

    Hi all,
    I have a scenario of project sales. The billing will be order based - 50% after order confirmation, 40% after delivery & 10% after installation & testing.
    I am using milestone billing plan for my project sales. I am not using the project system. I have created the billing plan in the following way:
    1. Define billing plan types. I have copied from standard billing plan 01 & saved as Z type.
    2. Define date descriptions. I have created 3 different date descriptions - a) Order confirmed, b) Delivery done, c) Installation & testing done.
    3. Define & assign date categories. I created 3 different entries. First for the down payment at the time of order confirmation........i used the date description as down payment. The billing rule selected was "Down payment in milestone billing on percentage basis". The fixed date selected was "Fixed date, date not copied from milestone". The billing block selected was "calculation missing". The billing type selected was "FAZ".
    For the second part (40% after delivery) I used the date description as delivery done. The billing rule selected was "Milestone billing on a percentage basis". The fixed date selected was "Fixed date, date not copied from milestone". The billing block selected was "calculation missing". The billing type selected was "FV".
    For the third part (10% after installation) I used the date description as installation done. The billing rule selected was "Closing invoice in milestone billing". The fixed date selected was "Fixed date, date not copied from milestone". The billing block selected was "calculation missing". The billing type selected was "FV".
    4. Maintain date proposals. I maintain 3 different dates with an interval of 5 days. For first step i selected the date description as "order confirmation"......billing % as 50%........selected the block......billing relevance as down payment on % basis.........payment term..........billing type as FAZ.
    For second step i sselected the date description as "delivery done".......billing % as 40%........selected the block........billing relevance as "Milestone billing on a percentage basis".......payment term........billing type as FV.
    For third step i selected the date description as "installation done"......billing % as 10%.......selected the block..........billing relevance as "Closing invoice in milestone billing".......payment term......billing type as FV.
    5. Assign billing plan types to sales document types....I assigned the billing plan to the sales doucment for project sales.
    6. Assign billing plan types to item categories.....I assigned the billing plan to the item category of the project item....with billing relevance as "I-Order-relevant billing - billing plan".....billing plan as the milestone billing plan.
    Copy controls: I maintained the copy control settings in VTFA.......sales order to billing document type FAZ & FV as well. In the transaction code VOV8 for the sales order document type I maintained the order related billing type as FV.
    Now I created a project sales order.......the system displayed the billing plan tab......the milestones were shown but the data regarding the billing percentage.......payment terms.........billing relevance.....was not shown. I entered all the details......with the document types as
    FAZ
    FV
    FV.
    I removed the block from the first milestone......down payment.
    Now i created an invoice in VF01......selected the order number for reference......the system created 2 invoices.......1 for the down payment request & the other contract invoice. The down payment request had the correct amount but the contract invoice did not display any value.......
    How should i correct the settings so the system will only create the relevant invoice......
    With best regards,
    Niyaz.

    Hi,
    You have done a good job.
    Enter different dates in sales order for each Milestone and assign billing block save the sales order.
    Goto change sales order, remove the block for one billing date.
    In billing screen, enter sales order no. don't press enter
    Click on Selection date (Shift+F7) enter the date range and press enter. you will get only first billing that is 50%.
    Actually we are using PS, milestones and billing dates will be copied from there.
    Regards,
    Chandra

  • Billing Plan - GL Account Problem. (Periodic Billing Plan)

    Hi Every body,
    I created rental agreement throguh contact  and aslo  I have configured the periodic billing plan. when i am saving the document,system through an error i.e., GL account not maintained.
    can you please tell me, how to maintain this GL account and where i need to maintain.
    thanks in advance .
    Regards,
    Srinivas.

    Is this the incomplete log you are getting?
    Normaly system should never ask for the GL account while creating a contract......
    Anyways system is trying to create a billing doc in the background, try to create block the billing (you have the option available in billing plan) and save the transaction.
    I think in the configuration you have the option where, when ever you create a billing plan the system should block the plan untill release it manualy or by milestone........
    Rgds
    Sudhir reddy
    Edited by: sudhirreddy on Jun 29, 2009 6:09 PM

Maybe you are looking for

  • Text fields are not displayed for custom infotypes in Adhoc query

    We have developed a custom infotype , which we had incldued in the adhoc query.  when we generate output , it is showng codes instead of text . In the output filed , it is hwoing only vaue and Vale and text is diabled. please let me know , how to add

  • Simple JS works in Acrobat 7, but not 8 - why?

    I have a simple form with 2 fields: "myname" and "phone". "myname" is a drop down list populated with 3 names. I want to be able to populate the "phone" field with a phone number corresponding to the "myname" field automatically. I have the following

  • Special g/l config

    hi experts, inside the screen of the special g/l cofig in tcode obyr  there is a field PLANNING LEVEL , can u explain me what purpose does this field fulfills. please give some suitable examples if possible. best regards sayeed

  • Internet Explorer 7 crashes when I open a pdf online

    I was just issued a new laptop and one of the bugs is that I get kicked out of Internet Explorer whenever I try to open/view a pdf document.  Can anyone help?  I thought it might be an issue with Adobe Reader, but I just purchased and installed Acrob

  • My iPads Pinch to Zoom not working

    I have just bought the new iPad, I am running iOS 6 and there is a particular website I can't pinch and zoom with. However with this same website I can pinch and zoom on my iPhone 4 running iOS 6. So I doubt it's an iOS 6 issue. Can anyone help?  I c