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

Similar Messages

  • Automatic Billing Block removal in Periodic Billing

    Hi guys:
    Is there a way to have the billing block removed (not manually) when we use periodic billing?  We do not want to manually remove the block each month in order to do invoicing.
    Thanks for the input
    Aaon

    Aaon,
    You seem to be using a standard business scenario. In case you have done the customization for Periodic Billing, and set up a billing plan type 02 (periodic), then you must have also set up the 'Next Bill date' routine there. Here, you specify the day of the month (or the date) on which you want your periodic bill to be generated.
    Once these settings are in place, there is no need to put your orders on billing block. They will not bill until the date in the plan.
    Is this not working in your case?
    Ashutosh.

  • Billing block in periodic billing

    Hii all,
    Need a solution for the following project scenario.
    We have a scenario where periodic billing is involved through project.
    In the sales order we assign the WBS element in account assignment. After assigning the WBS element, billing is blocked.
    If we confirm the activity in project then the billing block in the sales order should be removed. But it is not removed. The same scenario works fine if the billing type is milestone billing.
    Please suggest.

    Hi,
    Are you asking about whole process of periodic billing or you just want to know where we put billing block and where we remove it.
    I am considering you know how to set up periodic billing.
    Now go to OVBJ and select your date category which is used for period billing
    Over here you can set billing block for the periodic billing.
    In OVBI you can find out your periodic billing plan and date category assigned to it.
    For removing the billing block you have to go to VA02 and enter your document number.
    Now go to Goto u2013 Header Data u2013 Billing plan.
    Over here you have to remove your billing block one by one when your task is completed.
    Then try to carry out billing document for that.
    Hope so this will solve your query
    Regards
    Raj.

  • Not working Billing Block functionality for Invoicing Plan

    Hi Experts,
    I am using Invoicing plan functionality to purchase materials by using Milestones from Network of Project System. The system is allowing to post Vendor Invoice (MIRO) without removing of Billing Block of Invoicing Plan from PO and the system should give error message because of non removal of Billing block.
    The following configuration was done in Invoicing Plan of PS.
    1. Assigned Date Category to Invoicing Plan Type (30)
    2. Assignment of Invoicing Plan Type to Network Profile
    The following configuration was done in Invoicing Plan of MM.
    1. Assigned default date category to Partial Invoicing Plan type
    2. Maintained Date category to Invoicing Plan type
    3. Assigned Date proposal category to Invoicing Plan Type
    4. Maintained Date Proposal to Invoicing Plan Type
    What are the changes needs to do in configuration or transaction to prevent to post vendor Invoice because of nonremoval of Billing block from Invoicing Plan?
    Please give me the solution.
    Thanks in advance,
    Rao

    Hi Rao
    You need to have the invoicing plan done in Project System (PS) under the project with Milestones and save the plan. On dong this, the system would generate a 'Reference Number'. This can be seen when you again go to the invoicing plan.
    Use this reference number in the MM invoicing plan to link the PS & MM plans. This would create a block automatically in MM which can be lifted only on confirmation of the appropriate Milestone in PS.
    Hope this helps
    Venu

  • Billing Block Removal

    hi friends
    when i am trying to create credit memo the following error came: the document is blocked for billing
    how to remove the block for this document, the block was set at sales document level
    regards
    srini 1379

    HI,
    The billing block can be removed by authorised personnel only. Firstly check if you are authorised to remove the billing block. Please try the trasactions vkm1, vkm3, vkm4.  Also you can check the billing block in the va02 by entering the document and release it.
    Hope it is useful.
    thanks
    Vamshi

  • Sales Order Billing Block Removal after Milestone POC 100% Only

    Dear Experts,
                         My client requirement is like following.
    1.Total Milestone number is 10
    2.Each Milestone carries weightage of 10% Invoice billing.
    I want to bill the milestone which is 100% completed only.
    In SAP Standard Function what I am getting is , When I feed Actual Date in Milestone then Billing Block is removed in Sales Order Billing Plan.
    Is it possible to remove Billing Block if Milestone POC is 100% also.
    Kindly suggest if there is any User exit ocustomer exit available for that.
    Regards

    I want to bill the milestone which is 100% completed only
    This is a standard feature. Once you reach the milestone enter the actual dates and the billing block gets removed allowing you to do the billing.
    Whatever you are getting in the standard system is perfectly fine. That is how the standard system works.
    Is it possible to remove Billing Block if Milestone POC is 100% also
    Could you please explain this statement? Are you asking, whether its possible to remove the billing block without entering the actual dates even though the milestone has been reached?

  • Billing Block removal not updated in the sales order change log

    Hi Gurus,
    A specific Billing Block is automatically assigned to the sales document header (VBAK-FAKSK) when the net value of the sales order is negative. This is an order related billing.
    Sometimes the Billing block is getting released automatically and the Negative Invoice is getting created in the Background job run for creating the invoices. When we check the sales order, the Billing block is not existing and the removal of the billing block is not recorded in the Change Log of the sales order.In the CDHDR table also there are no details about the release of the billing block.
    This is happening only occassionally. When I tried to replicate the issue, the system is not allowing me to create the invoice as long as the billing block is there in the sales order and if I remove the block, it is recorded in the sales order change log.
    My doubt is.,
    1. How the billing block is getting released automatically?
    2. Even if the block is released,  why it is not recorded in the Change Log of the sales order?
    Looking forward your for suggestions and solutions.
    Thanks,
    Ravi

    Hi
    Did u check in sales doc. details screen.There u can block for billing.

  • 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

  • Billing block should not be removed manually.

    Hello Experts,
    My requirement is
    If an particular billing block is set,
    The Sales order change is not allowed in  T-code  VA02.
    The billing block removal using the T-code V.23 is not allowed.
    Point no. 1 was able to archive using the user exit MV45AFZZ, routine USEREXIT_READ_DOCUMENT. I gave an error message using the FM   POPUP_TO_DISPLAY_TEXT and I used LEAVE TO TRANSACTION statement to navigate to VA03.
    Point no. 2 I don't have idea how to archive the same. pointers on the same could be really helpfull.
    Kind regards,
    Sri.

    Hi Sri,
    As there's (or at least I can't see) any BADI/Enhancement for V.23, my best suggestion would be to create an implicit enhancement in program RVAUFSPE form  BELEG_AENDERN_BTCI and do the check there. Something like this, at the beginning of the subroutine:
    DATA ls_vbak TYPE vbak.
         CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
         EXPORTING
           DOCUMENT_NUMBER = XM_VMVAD-VBELN
         IMPORTING
           EVBAK = ls_vbak.
         IF ls_vbak-FAKSK = 'yourbilling block'.
           EXIT.   "and/or some message
         ENDIF.
    You might need some adjustments, but that's the idea.
    Cheers,
    Custodio

  • Va02 date of releasing billing block new calculate of billing schedule

    I create sales document type with billing block
    Date of creating the sales document is also the date of calculating billing schedule
    But after a will by releasing the block reason of the document (transaction VA02)
    billing schedule is not changing
    I want update:  date of releasing billing block is the date starting of billing schedule
    Is there any other way without using userexit?
    And if not witch userexit is the best (MV45AFZB)?
    Thanks
    Rachmani Asher

    HI,
    If you want make as automatic block. you must needs to in user exit or else you make z item category for only that material and make it as incompletion log.
    Regards
    raj.

  • 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

  • Workflow item processed but not removing the billing block from item

    My credit memo has 310 items with billing block at header level and item level itself. We are removing billing block through workflow.
    The problem i am facing is work item is processed by the user but billing block is not removed from  the document at item level.
    Now if I want to remove the billing block what i have to do?

    Hi,
    Please check this sample code..
    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.
    Thanks
    Naren

  • Milestone billing is possible eventhough billing status is blocked.

    Hi,
    The scenario is like: I create a sales order for a configurable material which requires to create sales order BOM. Now when I save the sales order, delivery block status and billing block status are shown as 'blocked'. Its obvious as I haven't yet created sales order BOM and run the costing for the same.
    But still I am able to do the milestone billing after removing billing block from the billing plan.
    Is it the standard SAP functionality or defect in the system?

    Hi
    it is standard SAP functionality, based on the sales document type it will happen.
    cheers

  • Billing block "Calculation missing" in sales order

    When I save sales order today, i find that billing block - 01 Calculation missing is trigger.  I have not found this block before.  What is the root cause of this?

    Hi,
    Someone has change the configuration to have the billing block automatically in your sales document type. You can check it in the transaction VOV8.
    Go in to your sales document type and see the field "Billing Block" under section "Billing". The value should be now "01". That's the reason why you get this billing block automatically in the sales order. If you don't want it to appear, please remove this entry to Blank and then try with a new sales order.
    Best regards,
    Anupa

  • Billing block at item level still billing is possible for the item.

    Hi friends,
    I have billing blocks at header and item level. When the block at the header and item  levels are  active no billing takes place, but if the block at header is removed then an item with a billing block is also billed. How do i stop this ? Please suggest.
    Regards,
    Udaynath.

    Rectified. It was wrong copying requirement at the item level.
    Regards,
    Udaynath.

Maybe you are looking for

  • 4280 Error

    I have the same problem that many people appear to have. I hope by posting my diagnostics someone can help me. Thanks Microsoft Windows XP Home Edition Service Pack 2 (Build 2600) Sony Corporation VGN-FS660_W iTunes 7.0.2.16 CD Driver 2.0.6.1 CD Driv

  • Where should I put things on my new computer

    Since I've been running LR (currently 3.6) under Windows XP on a 6 year old HP desktop with an AMD dual core processer I just purchased a Dell XPS 8500 and plan to install LR 4.1 and move my catalogs and images to this new machine. The machine came w

  • How to change the mailto address in Acrobat X Pro

    Have a pdf form that I need to put on a website so people can fill it out and submit it. Need to change the email address where it is to be sent to when they click on the Submit button. I have looked and looked, and can't figure out where to change t

  • Hyperion Financial Reports - Member selection issue

    Hi, We are using Hyperion suite 9.2.0.3. We get an error during Member selection in POV when executing a book or report. The member selection window looks blank. We have tried restarting the services of Financial report and Essbase. But no luck. Can

  • Mid 2007 macbook being too slow?

    I purchased my macbook in mid 2007 and it is covered under applecare till September. For the past couple months it has become increasingly slow. Sometimes when I go to wake my computer it ends up shutting down and waking it up makes it restart, somet