VBAK----delivery block, billing block

hi gurus,
can i find  a table related to VBAK, where frequent changes to delivery block and billing block in VA01 are stored, similar to CDPOS table which is used to store sperr, sperm, sperq values for XK01 and aufsd,faksd,lifsd values for XD01.
thnx,
shivaa.

All changes in the sales document are stored in the CDHDR and CDPOS tables. Use function module CHANGEDOCUMENT_READ to get the changes.  Sample code below:
DATA: ws_object TYPE cdhdr-objectid,
      I_CHANGE LIKE CDRED OCCURS 0.
ws_object = '4000169124'.   "Sales order number!
CALL FUNCTION 'CHANGEDOCUMENT_READ'
  EXPORTING
    objectclass                = 'VERKBELEG'
    objectid                   = ws_object
  TABLES
    editpos                    = i_change
  EXCEPTIONS
    no_position_found          = 1
    wrong_access_to_archive    = 2
    time_zone_conversion_error = 3
    OTHERS                     = 4.

Similar Messages

  • 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

  • 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

  • SO created 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 is present.
    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

    Hi,
    In shcedule lines VOV6 you have maintained  delviery block that might be one of the reason to get item blocked for delviery...
    And also some body might set delivery and billing block manually at item level so please also look at change log of that document...
    Please go to VA02 and there at schedule lines data of item level there u just reomove the deliver block manually and then save the order and also at item level in billing tabage please remove billing block manually...
    Then  try to create delveiry and billing...
    Regards
    sankar
    Edited by: sankar sankar on Jul 9, 2008 3:00 PM
    Edited by: sankar sankar on Jul 9, 2008 3:03 PM

  • Delivery and billing block

    Hi :
    It is strange to get deliveyr and billing block once I finished creating the sales order, and block reason is 01, I don't know which condition to trigger that block? Is it possible to investigate how is that triggered?

    Hi please see my reply in blue:
    So the issue is still here.Help.
    1. VOV7 - Item Category - Is there a Billing Block?
    No
    2. VOV6 - Schedule LIne Category - Is there a Delivery Block?
    No
    3. Is Credit Management Used at your place? If yes then check whether Customer has exceeded the Credit Limit.
    No credit management
    4. Check the Incompletion log of the Order.
    No,the order is completed.
    5. T-Code XD05 - Is there a Delivery / BIlling Block set for the Customer?
    No, there is no block for sold to/ship to

  • Delivery and Billing block error message instead of warning in VA-01

    Hi
    We have defined certain block codes for customer in delivery block and billing block, when i block the customer using these codes and use that customer in creating sales order VA01 i get warning message instead of error.
    We donot use credit managment, Is it possible to convert warning mesg to error by configuration?
    For overall block i get error mesg.
    Thanks,
    Vaishnavi

    Dear Friend,
    One way you set that message as a error message that control is there
    Sales and Distribution > Sales > Sales Documents > Define Variable Messages
    above path find the message and put the status as error message it will work fine
    Regards
    Hanumant

  • Field "delivery block" (VBAK-LIFSK) to be disabled for few users

    Want to disable field "DELIVERY BLOCK"( VBAK-LIFSK) in t-code VA01 & VA02  for few users while creation and changing Sale Order.
    How to do it?
    Arul Murugan

    Hi,
    1. This can be achived by screen varient. t Code SHD0.
    2. Through Authorization you can restrict user from removing the delivery block. but u can not restrict them to insert the delivery block.
    for resrict from release check in authorisation role.
    Object :  V_VBAK_AAT
    Activity : Deselect the "43" acivity.

  • How to restrict  delivery Block in va02 for various users

    Dear  Experts
    I am suppose to restrict the user depening on delivery block in transaction VA02 .There are no SAP pre-defined feilds  authorization Object to restrict at delivery block level from PFCG ,and I have Created manually authorization object and class in Tcode Su21 and Su20  with table VBAK but its not giving any change .
    Please kindly help
    Thanks in advance
    krishna

    Hi
    We have a very complex Billing block functionality. The sales orders are handled at many levels and when the process is completed at one level, they need to change the billing block to another one and the system will allow to change the block to the specified one only and not to any other block. There is a control in the code to restrict the allowed blocks.
    We also maintain a Ztable with list of users (few super users/process primes and key people) for whom system will allow to remove/change to any other block as they wish.
    In your case, if it is not possible through authorisations, then the best way is to handle the requirement through a Ztable for the users allowed to change the delivery block. This is one of the possible alternatives.
    Thanks,
    Ravi

  • Delivery block in sales order

    Hello,
    I have an issue regarding delivery block.
    I've read a couple of posts regarding this, but they all solved their issue by using userexit_save_document or userexit_save_document_prepare which is no option for me.
    My issue is the following:
    I've created an order type ZTA (copy of TA) and setup a default delivery block "Z1 - in work" to that order type.
    This prevents that after saving the order it will not be automatically delivered by a job which is running in background.
    So each time I create a ZTA order with VA01, it will set the delivery block Z1. That's fine.
    Now let's say when a customer has a delivery block (e.g. Z5), it will not overwrite the order delivery block Z1, when entering sales-to-party (or ship-to-party)!
    Now I tried to add some code to userexit_move_field_to_vbak like that:
        if not kuwev-lifsd is initial.
          vbak-lifsk = kuwev-lifsd.      " Z1 -> Z5
        else.
          if not kuagv-lifsd is initial.
            vbak-lifsk = kuagv-lifsd.     " Z1 -> Z5
          endif.
        endif.
    Result: It will execute my new code sequence, but will not change the delivery block Z1 to Z5 on the VA01 screen. Maybe because I'm at this step not in update but insert mode?
    I need to show the customer's delivery block while creating the order, means showing the delv. block after saving is too late.
    Is there maybe a better exit to change the order delivery block to the customers delivery block?
    Thanks in advance
    Wolfgang

    Dear Wolf,
    I dont know whether it might help you but , we had a requirement to make the information message of CUSTOMER BLOCK (which we do in XD05) to ERROR message .
    It was done in the include MV45AFZZ but i do not know much technical details.
    What i know is, this include comes much before the SAVE comes.
    Also if you can write the logic to check the BLOCK STATUS from customer master and if it has a value, then fill the same in the respective field in sales order, system might throw that blocking reason.
    If there is no reason, system will put the the default blocking reason from the sales order.
    Better you post the issue in ABAP forum.
    You might get more inputs there.
    Check and revert back.
    Thanks & Regards
    Hegal  K Charles

  • Automating delivery blocks in sales orders

    Hi,
    We have a delivery made with ref to a sales order. The goods are third party warehouse managed.When the goods are no longer needed, a third party warehouse sends an idoc in our system. This idoc deletes the delivery in our sap system and as soon as the delivery is deleted, the system also puts a delivery block(VBAK-LIFSK) in sales order at header level so that no further deliveries are made with ref to sales order.
    There is an issue at present that this delivery block is not set in sales order when the delivery is deleted.
    could anybody pls help where the code might have been written to automatically put the delivery block in sales order when the delivery is deleted.
    regards

    Hi,
    Just code the delivery block logic in DO user exit MV50AFZ1 routine "userexit_delete_document".
    Thus, when DO deleted then system will auto set delivery block to SO.
    Hope this help.
    Cheers,

  • SALES ORDER DELIVERY BLOCK REMOVAL ON DOWN PAYMENT

    Hi All,
    When cash is applied that clears down payment request billing, type ZFAZ, we want the order delivery block, ZB Wait for AdvPaym, to be cleared on the sales order.  We only want this to happen if the payment exactly matches the billing amount and only with this one delivery block reason.
    We want this to happen real time upon the down payment is made using F-28 transaction
    Can any one suggest how to accomplish this.
    thanks
    Vijay

    Although two years ago, could you maybe share your answers with the community?
    Regards,
    Niels

  • Customer Delivery Block Issue

    Hi Experts,
    I am facing a strange problem while changing a sales order, information message customer xxxx-xxxx has delivery block.
    However I have checked carefully in VD05 that there are no block maintained for order, delivery or billing.
    Our finance person activated customer delivery block two weeks before for particular customer xxxx-xxxx and now removed customer delivery block, but when we goto change the sales order still showing message and delivery also can't create
    How to solve this issue?
    Plz help!!!!!
    Regards
    Sankaran

    Hi,
    Initially,even if there are blocks at the customer levels,those blocks will not be assigned at the sales order.
    Suppose,we have a billing block at the custoemr level.While creating the invoice,it will throw an error message that "Customer is having billing block".
    If you remove this block there in T.Code "XD05",then you can proceed.
    Could you pls check in XD05/VD05 for your sales area and company code,whether the block is still there are not.
    If the delivery block is present at the order level,we have to remove that block eitehr manually or by using workflow functionality if needed.
    For removing the block at the order level,we have to got for "MASS" T.Code for bulk removal.
    Regards,
    Krishna.

  • Delivery block based on payment terms

    Dear Experts,
    I want to set up the delivery block by the system, for the sales order which has the particular payement term 'cash in advance'  until the payment recieved by the accounting..
    How can i achieve this...appreciate if u could share ur ideas...
    Thanks in advance.
    Reg
    JJ

    HI
    This can be achieved at sales order level.
    check if payment terms = "cash in advance"
    VBAk-LIFSK = 01.
    You can write this logic in MV45AFZZ include.
    Use USEREXIT_SAVE_DOCUMENT.
    try and revert

  • BAPI_SALESORDER_CHANGE - how to change item delivery block(VBEP-LIFSP)

    HI all,
    I have to change on item delivery block (VBEP-LIFSP)  and header level delivery block (VBAK-LIFSK) ,
    In my report i`am using BAPI_SAILBOARDER_CHANGE,
    for header:
    LT_BAPISDH1X-UPDATEFLAG = 'X'.
             LT_BAPISDH1X-DLV_BLOCK = 'X'.
            LT_BAPISDH1-DLV_BLock = '
    for item
    LT_BAPISCHDLX-UPDATEFLAG = 'U'.
          LT_BAPISCHDLX-REQ_DLV_BL = 'X'.
          LT_BAPISCHDLX-SCHED_LINE = '0001'.
          LT_BAPISCHDLX-ITM_NUMBER = '10'.
          LT_BAPISCHDL-REQ_DLV_BL = ' '.
          LT_BAPISCHDL-SCHED_LINE = '0001'.
          LT_BAPISCHDL-ITM_NUMBER = '10'.
    For header it`s working properly, but for item - not at all - message: "Field header_inx-updateflag is not an input field"
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            SALESDOCUMENT               = L_SPETAB-vbeln
            ORDER_HEADER_IN             = LT_BAPISDH1
            ORDER_HEADER_INX            = LT_BAPISDH1X
          TABLES
            RETURN                      = LS_RETURN
            SCHEDULE_LINES              = LT_BAPISCHDL
            SCHEDULE_LINESX             = LT_BAPISCHDLX
    Any suggestions? Thank you

    Hi,
    In your code, please change the following:
    FROM:
    LT_BAPISCHDLX-UPDATEFLAG = 'U'.
    LT_BAPISCHDLX-REQ_DLV_BL = 'X'.
    LT_BAPISCHDLX-SCHED_LINE = '0001'.
    LT_BAPISCHDLX-ITM_NUMBER = '10'.
    TO:
    LT_BAPISCHDLX-UPDATEFLAG = 'U'.
    LT_BAPISCHDLX-REQ_DLV_BL = 'X'.
    LT_BAPISCHDLX-SCHED_LINE = 'X'.
    LT_BAPISCHDLX-ITM_NUMBER = 'X'.
    Please take note that in changing Sales Order, Purchase Orders, etc using BAPI's, there are always two tables to which you need to modify. As you did, you use the table LT_BAPISCHDLX.  Take not the suffix "X" of this table. X means "to change". So in this case, you need to change 3 fields. So like what you did, you pass the values into table LT_BAPISCHDL and in table LTBAPISCHDLX, you need to tell that you are changing these fields via marking them with X.
    Moreoever, when updating line items, do it one at a time. Clear your tables before filling them again. For example, you have 4 items in your order, and you want to update two of them, you can't update them at the same time. What you need is to update it one at a time.
    Finally, you have to commit your work using BAPI_TRANSACTION_COMMIT.
    I hope it helps. cheers

  • *Automatically Delivery block on sales Order*

    Hi
    can you please tell me how to get delivery block automatically when creating  sales order?
    thanks
    L.C

    Hi
    Use user exit MV45AFZZ and take a help of ABAPER to add the program in it
    IF sy-tcode EQ 'VA02' AND vbak-lifsk IS INITIAL AND ( sy-uname NE ' ADD ur own user ID ' AND sy-uname NE 'ADD ur own user ID ' ) AND
        vbak-vkorg EQ '1000' AND vbak-vtweg EQ '10' AND vbak-spart EQ '01'.
        DATA : BEGIN OF lt_item_old OCCURS 0,
               posnr TYPE vbap-posnr,     " SD Document Item Number
               zmeng TYPE vbap-zmeng,     " Quantity Of that Item
               END OF lt_item_old.
        CLEAR : lt_item_old[], lt_item_old.
        SELECT posnr
               zmeng
            FROM vbap INTO TABLE lt_item_old
            WHERE vbeln EQ vbak-vbeln.
        IF sy-subrc EQ 0.
          LOOP AT xvbap.
            READ TABLE lt_item_old WITH KEY posnr = xvbap-posnr.
            IF sy-subrc EQ 0 AND lt_item_old-zmeng NE xvbap-zmeng.
              vbak-lifsk = 'Z8'.      " Delivery Block - Authorization Await
              EXIT.
            ELSEIF sy-subrc NE 0.
              vbak-lifsk = 'Z8'.
              EXIT.
            ENDIF.
          ENDLOOP.
        ENDIF.
    Regards
    Santosh.AR

Maybe you are looking for

  • How to share audio with other members of a meeting?

    Hi, I want to share a video with my class but my student cannot hear the video since they only receive audio from my mic. I was wondering if there is a way I can share what I am hearing. If someone can provide me with instruction on how to do this I

  • Issue with DB Adapter involving multiple tables

    Hi, Am facing an issue with DB Adapter with multiple tables. Here are the details. I have 4 tables. Header, Details,Products and Devices. The relationship is defined as follows: Header has 1:M relationship with Details. Details has 1:M relationship w

  • Dense Rank in OBIEE answers

    Hi All, Can any on let me know how to create a column in OBIEE answers  which gives the row number starting with 1 for each row  in the group. similarly for next group the row number should start with 1 and so on. Thanks in advance for your quick res

  • Satellite A300-1BZ: %1 is not a valid win32 application after themes change

    Having had my Satellite A300-1BZ for a couple of years now I found myself suddenly bored of the standard vista themes and began to play around with changing them. (I was after an ultimate black look with changed start buttons and menu's etc) Anyway c

  • HOW TO YOU ADD USB FLASH DRIVE TO BOOT OPTION

    i HAVE TWO LAPTOPS SAME MODEL NUMBER ONE CRASHED, hp SUPPORT TALKED ME THROUGH F11 TO RECOVER TO FACTORY CONDITION  THE LAPTOP STOP AT 100% WITHN1 MINUTE LEFT TO CMPLETE.  HP TOLD ME TO ESCAPE AN DO F2 TO CHECK THE HARD DRIVE.  THAT WORK IT SHOWED AL