Billing block status field VA02

In VA02 where can i get the field of the user who changed the billing block status to NONE.

Hi,
Check this sample code..
PARAMETERS: P_VBELN LIKE VBAK-VBELN.
DATA: T_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE.
DATA: T_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
CONVERT TO INTERNAL ..
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
   EXPORTING
      INPUT = P_VBELN
   IMPORTING
      OUTPUT = P_VBELN.
SELECT * FROM CDHDR
             INTO TABLE T_CDHDR
             WHERE OBJECTCLAS = 'VERKBELEG'
             AND       OBJECTID      = P_VBELN.
IF NOT T_CDHDR[] IS INITIAL.
  SELECT * FROM CDPOS
               INTO TABLE T_CDPOS
              FOR ALL ENTRIES IN T_CDHDR
             WHERE OBJECTCLAS = T_CDHDR-OBJECTCLAS
             AND       OBJECTID      = T_CDHDR-OBJECTID
             AND       CHANGENR   = T_CDHDR-CHANGENR
             AND       TABNAME     = 'VBAK'
             AND       FNAME         = 'FAKSK'
            AND        CHNGIND      = 'U'
            AND        VALUE_NEW = SPACE.
   IF SY-SUBRC = 0.
     READ TABLE T_CDPOS INDEX 1.
    IF SY-SUBRC = 0.
       READ TABLE T_CDHDR WITH KEY CHANGENR = T_CDPOS-CHANGENR.
       IF SY-SUBRC = 0.
          WRITE: / 'USER NAME CHANGED BILBLOCK - ', T_CDHDR-USERNAME.
      ENDIF.
    ENDIF.
  ENDIF.
ENDIF.
Thanks,
Naren

Similar Messages

  • Block status field in hr abap

    Hi,
    Could any one tell me where I can find the Block status field in HRtables...
    I need to include an additional field to indicate the block status of the cost centers.
    Please help me asap.
    Regards,
    Charan

    http://help.sap.com/bestpractices/industry/hightech/v346c/BBLibrary/documentation/A01_BB_ConfigGuide_E.doc
    Please check the above document which u may find helpful, please award points if found helpful

  • "Billing block" status has been set.

    One contract was incepted (Created) on 13.03.2008. BRI's also generated, BRI is nothing but which calculates the EMI amount with respective billing dates. But due to some reason all BRI got u201Cblock for billingu201D status. Because of that BILLING DUE list was not generated.
    Now we are getting collection from customer and it is lying in suspense account.
    Now, I need to know how this billing block status has set in all the BRI.How to rectify this.
    Give me some clarity on billing block.
    Immediate response appreciated.
    Thanks and regards
    Rajesh

    HI,
    Billing block may be set at Status Profile. Check your status profile. Double click on Status and see behind whether there any Radio Button Set or not (Based upon your requirement).
    You can also manually remove the Billing block status.
    Hope it answers your query.
    Regards,
    Ankush

  • Billing Block status in Sales Order doesn`t change with change in Item Cat

    Hi Experts,
    I have a peculiar problem once I am creating a Contract. In the contract I enter a material with default item category (with Milestone Billing Plan & Billing Block assigned to it),but once I change this Item Category to the other item Category (having No Billing Plan & No Billing Block assigned to it), then the Original Billing Block in the contract for this material does not disappear(the vice-versa of this scenario is not there).
    Request for your help on this issue.
    Thanks,
    Vivek

    HI
    Check controls of document in VOV8 any billing block is assigned for the document.
    Regards
    santosh.A.R

  • Is there any Standard SAP Report?for displaying Billing block/Status-Order

    Hi,
    Am a ABAP Developer. I heard that there is SAP Query/ABAP Query/Standard SAP report for the below functionality/requirement. SO, pls. let me know if there is any SAP Query/ABAP Query/Standard SAP report?
    "This report is suppose to display Credit and Debit memo documents which are blocked and yet has a status of APRV; the other display is for Return Documents which are blocked and yet has a status RCVD."
    thanq

    Hi,
    Use t-code
    V23 - Blocked sales document for billing
    VA14L - Sales document blocked for delivery
    VFX3 - For blocked billing documents.
    Kapil
    Edited by: Kapildev Farakte on Jan 8, 2010 4:15 AM

  • Delivery Block Status text  / Billing Block Staus text

    In  the Sales Order Overview Screen
    Sales View
    Even though we had removed the delivery Block from the Schedule lines and saved the order,
    We still have the
    Delivery Block Status  as  BLOCKED
    Billing Block Status  as  BLOCKED
    How can we remove this?

    Hi,
    Check sales document type in configuration VOV8 whether delivery and billing is blocked. if it is blocked make it as blank. and check in sales order.
    Regards,
    Sasikanth.Ch

  • 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

  • User Exit in VA02 for Warranty Status field change

    Hi Gurus,
    Can any one pls suggest the user exit that gets trigerred when there is a Warranty Status Field change in the Repair Order of Order type ZRAS and when the change occurs it has to update the work center of the Corresponding Service Order.
    Pls help me with this issue.
    Regards,
    VIJAYB.

    Transaction Code - VA02                     Change Sales Order
    Enhancement/ Business Add-in            Description
    Enhancement
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001                                SD Customer functions for resource-related billing
    V45W0001                                SD Service Management: Forward Contract Data to Item
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company code sales
    V45L0001                                SD component supplier processing (customer enhancements)
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)
    V45E0001                                Update the purchase order from the sales order
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool MV45A
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for product selection
    SDTRM001                                Reschedule schedule lines without a new ATP check
      Business Add-in
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing
    No.of Exits:         15
    No.of BADis:          2

  • User exit at item level for billing block field default for VA41 or VA42

    Hi All,
    I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
    which has to populate with some default value.
    Which user exit i need to check.
    Regards
    Jai

    Hi,
    Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
    Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
    Regards,
    Ashok.

  • Billing Block for Credit/Debit Memo Can Be Removed Via TCode VA02

    Dear All,
    During the credit/demo memo request creation, there will be a billing block that will be released via tcode v.23. I realized that user is also able to release the billing block if refer back to the credit/debit memo request at tcode va02.
    Kindly advise how can I prevent superuser/expert user from removing the billing block this way when they have to request for approval from their upper management  to release the billing block ia v.23.
    Appreciate all of your inputs on this enquiry.
    Thank you in advance!
    Regards,
    Yvonne

    Hi Friend,
    There are two solutions for this
    1.
    You can use USER EXIT    USEREXIT_FIELD_MODIFICATION in MV45AFZZ and create one Ztable and add the user details .
    This will restrict the users to change the Billing Block 
    Also search for the OSS notes for more info   208245
    2.
    Create Transaction variant in SHD0  FOR VA02  and make Billing block in display  after creating the sales order.
    Hope it is clear,
    cheers,
    santosh

  • 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

  • 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.

  • Copy control from Sales order to Delivery field FAKSK (Billing Block)- VTLA

    Hi All,
    I'm facing a standard issue, inputs and resolution from you would be appreciated,
    Issue is, If we put the Billing block in Sales order header this should not allow us to create an Invoice, But in my examples i can create the Invoice without any errors!
    The billing block from SO will be copied into Delivery header? if yes this will definitely not allow in my cases to create an Invoice, but i cannot see the Billing block copied into my Delivery! any Copy control settings missing?
    Why the Invoice will not check the Billing block from Order while creation?
    Thanks and best regards,
    Siddaram

    The billing block from SO will be copied into Delivery header? if yes this will definitely not allow in my cases to create an Invoice, but i cannot see the Billing block copied into my Delivery! any Copy control settings missing?
    Check Copy settings in VTLF tcode. Target is your delivery type. Source is your Sales Order type. Double Click to see Data transfer. Click on the small icon in field Header Data. Find your routine number and select source text. Look at the code if there is mention about LIKP-FAKSK field. You don't have ABAP, search the forum or google on how to comment it on your own to remove this data transfer.
    Why the Invoice will not check the Billing block from Order while creation?
    Check Copy settings in VTFA if it is Sales Order to Billing or VTFL if it is Delivery to Billing. Do something like above to find routines. But this time round is to check Copying requirements not data transfer and it can be at billing type level or at item level. If no check on VBAK-FAKSK field, you can copy the standard routines or make modification to customized routines to build the requirements checks. If no ABAP, search google on how to change routines.

  • Sale order delivery and billing blocked

    Hi sap sd gurus
    I have a problem after creating a sale order , the one line item in sale order showing status of delivery blocked and billing blocked , now i am unable to post delivery and billing when i see in schedule line item order qty and confirmed qty .
    Now i want to find why this is blocked and remedy for removing this block .
    Could anyone suggest me in this issue asap
    thanks in advance
    Kanna

    Dear Kanna,
    Go to XD02 at the toppage you will find Extras
    In that Extra Topage  you will find a field   Blocking Data.
    Check whether Order block and Delivery Block has been ticked.
    If ticked is there remove the tick and try Delivery and Billing.
    If you have any concerns revert back the same to me
    With Regards,
    Amjath

  • Billing block

    Hi ALL,
    WE HAVE CONFIGURED BILLING BLOCK IN OUR ORDER TYPE FOR CREDIT MEMO REQUEST IN V0V8.
    THIS BLOCK AUTOMATICALLY APPEARS WHEN WE CTREATE A CREDIT MEMO REQUEST IN VA01 T CODE.
    NOW THE REQUIREMENT IS THIS FIELD SHOULD BE GRAYED OUT IN VA01 TRANSACTION AND SHOULD BE MODIFIABLE IN VA02.
    THIS IS REQUIRED BECAUSE WHILE CREATING CREDIT MEMO REQUEST ITSELF, THE USER SHOULD NOT REMOVE THE BILLING BLOCK. IT SHOULD BE REMOVED ONLY IN VA02 BY AN AUTHORISED PERSON.
    IS IT POSSIBLE THROUGH CONFIGURATION APART FROM TRANSACTION VARIANT.
    WAITING FOR YOUR VALUABLE INPUTS.
    SANDEEP KAR

    Hello,
    There are two ways to do it:
    1. Authorizations (Basis): Speak to your Basis person & ask him to remove Authorization (43) for the Sales Orders for required User Profiles.
    2. Screen/ Transaction Variant: Create a Screen Variant (T-Code: SHD0) & make the Billing Block Feild in Grey Out mode.
    For further information on above point search the forum, there are many threads available...
    Hope this helps...
    Thanks,
    Jignesh Mehta

Maybe you are looking for