Reg: Automatic Delivery Block

Hi Gurus,
The client wants to set the delivery block automatically if the document is incomplete, eg.. price list etc... so that user cannot proceed for delivery with incomplete SO. The reason behind this is, Sales Order is created through I-Doc automatically, customer sends the order through some third party tool. sometimes the data will be incomplete, and the users will proceed directly with Delivery.
I tried with incompletness procedure, but how to set a automatic Delivery block if the sales order is incomplete. Is there any standard configuration for this scenario
Please advice.
Thanks in Advance
Praveen Kumar

Hi Praveen,
as suggested by earlie conutants, u need to make use of user exit
MV45AFZZ, at save document prepare,
Here you can ask the abap consultant to write the code where it checks the incomplete status of the document, if incomplete it updates delivey block to the document or line item as required.
fields concerned
VBUK - UVVLK ( Header incompletion status concerning delivery)
OR
VBUK - UVVLS ( Header incompletion status concerning delivery)
And if the status is not equal to C or " "
update field
VBAK - LIFSK
regards,
Ashish

Similar Messages

  • Automatic delivery block to be reduced - Credit management?

    Hi All,
    I was asked by a user to change automatic delivery block from 60 days to 30 days for a given credit control area. On further talks with the user, she gave an example where a customer had overdues for more than 60 days and hence went on a block.
    After my analysis, i found in OVA8 the following 3 credit check conditions:
    1) Static check
    2) Open item check (Max%=50, Days = 60)
    3) Oldest open item check (90days)
    Also for unchecked documents area on top right of OVA8, the deviation mentioned was 20% and No,of days=60 days.
    My quesiton, is which of these settings will I have to change to get the automatic delivery block to 30 days from 60 days? Is it point no.2?
    I also want to know which credit check condition was triggered for the customer to go into a credit block and what date the customer went into a block.
    Thanks,
    Tejas

    Hi
    you can check in VKM1, which type of credit check was trigerred, there are fields like STAT, DYNA, OILT, OpIT
    First find out due to which your document was blocked, it seems it is open items, if you read open items you will find
    Credit check against overdue open items                                                                               
    Specifies whether the system carries out a credit check based on open  
        items.                                                                               
    Use                                                                               
    This type of credit check works in conjunction with two values that you
        specify in the adjacent fields:                                                                               
    o   Maximum % of overdue items in open items                                                                               
    o   Number of days which the open items are overdue                                                                               
    The proportion of overdue open items (that exceed the specified number 
        of days) in the total of open items should not exceed the percentage   
        specified.                                                                               
    so in your case items which exceeded 60 days (overdue) should not exceed 50% of all open items. This should have been triggered.
    Now if you want to have credit block for all items which are above 30 days than you should use Oldest Open Items and change it to 30 days
    Regards
    Jitesh

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

  • Delivery block  Z3 automatically coming in delivery

    Hi All
    Please suggest me on the below issue,
    Scenario:Sales order is created then the sales document is blocked for credit check.After releasing the document delivery document is created.After saving the delivery document automatically delivery block is coming in delivery header adminisatration data that is Z3-Confirm Price.
    But we are not entering any delivery block any where.This delivery block is coming automatically in delivery.This block is coming for a particular customer,But there is no blocking for that customer in VD 05.Is there any other setting for blocking particular customer.
    Please revert back with some solution.
    Thank you
    Goutam

    Hi,
    Its something like custom message not a standard message, please check is there any block at item level or header level or is anybody written any code based on one of key in customer master before PGI check the price of sales order.
    Hope check in any sales order, delivery exits about anybody done code.
    If it helps give rewards
    rgds
    gautam

  • Authorisation for delivery block

    HI Guys,
    Is there any way where in we can do automatic delivery block for some order types for some users.
    Ex. Order type "RE- returns"
    Users "ABC, XYZ and 123".
    Thanks in advance.
    Regards,
    Govind.
    Message was edited by:
            Govind A
    Message was edited by:
            Govind A
    Message was edited by:
            Govind A

    hi
    good
    You have to place the authorization checks.
    to get first block maintain in documet controls. it will copied in to SO. this the first check. Check the autorization before releasing the block. Maintain authorization to cange or release the block.
    reward point if helpful.
    thanks
    mrutyun^

  • Setting delivery block

    Dear specialists,
       If only one item of many items in sales order not confirmed with full quantity by ATP, I want to put delivery block in that sales order. How can i do this in confiugration only?
    Thanks
    jcmtse

    Hi,
    To my knowledge, there are few options:
    Option 1:
    Go to XD02 tcode and then click the Sales area data and under the Shipping tab make a tick mark for the Complete delivery reqd by law check box.
    Option 2:
    You can go for manual delivery blocks in the sales order, once you come to know from the schedule line level that full quantities are not confirmed.
    Option 3:
    For automatic delivery block,
    i) At the schedule line level, go to VOV6 tcode and put a block in the Delivery Block field OR
    ii) At the Header level, go to VOV8 tcode and put a block in the Delivery Block field under the Shipping section.
    Regards

  • Automatick delivery block

    Hi Experts,
    Can we make automatic delivery block in sales order if for that sales order advance payment not recieved ?.Is there is any enhancment is there for this issue .
    Regards,
    Suresh

    Hi,
    Rather you can have a default blocking reason called "Advance Payment" for order. You can release the order based on verification that advance payment has been recieved.
    You can configure a seperate sales order type for advance payment and set default block inside that.
    Second way to handle this scenario is through credit management. Configure one payment terms called "Advance Payment" now whenever you are creating a sales order which should have advance payment, change the payment terms at the time of SO creation to Advance Payment. Now the sales order will get block because of credit check since we changed the payment terms. You can have an authorized person to remove this block then based on the authorization. The advantage of this method is when you go to tcode VKM3 to remove the blocked SO you can see the reason for block and release the document.
    Regards,
    Shantanu

  • Retrigerring the delivery block for sales order after change.

    Dear All,
    I have a scenario, When we are creating FOC order, automatically Delivery Block is
    appeared. After an authorised person releases the order, the Delivery is
    made against it.
    Now if the order is released and any amendment is made in the order, FOC
    order should get back the Delivery Block status automatically.
    Thanks,
    Ani.

    Hello,
    I have a scenario, When we are creating FOC order, automatically Delivery Block is
    appeared. After an authorised person releases the order, the Delivery is
    made against it. Now if the order is released and any amendment is made in the order, FOC
    order should get back the Delivery Block status automatically.
    The best option of meeting your requirement is using a User exit which would put a Delivery block when the Sales Order details are changes.
    USER EXIT --> USEREXIT_SAVE_DOCUMENT_PREPARE
    Kindly try out this exercise with the help of a ABAPer and close this thread if your query is answered.
    Regards,
    SARTHAK

  • How to disable automatic delivery of Internet Explorer 10/11 in Windows 7, using "Internet Explorer 10/11 Blocker Toolkit"

    How
    to disable automatic delivery of Internet Explorer 10/11 in Windows 7, using "Internet Explorer 10/11 Blocker Toolkit"

    How to disable automatic delivery of Internet Explorer 10/11 in Windows 7, using "Internet Explorer 10/11 Blocker Toolkit"
    http://answers.microsoft.com/en-us/ie/wiki/ie11-windows_7/how-to-disable-automatic-delivery-of-internet/66116734-6698-4456-a5f1-5ff085eb0af9

  • Delivery block in sale order

    Hi,
    I got a problem with registration of a sale order with a BAPI : it set automatically a delivery block , and this not happen when using VA01.
    After create the order, for this one will be insert a technical object (serial number) and made some other change (always using BAPIs) like the requested delivery date or some texts.
    There is not any block set in customizing (tab. TVAK) for that type of order.
    If this was true,the block should have been set even using VA01,or not ?
    Thank you in advance.
    Luca

    I mean your order gets DB if created via BAPI and does not get any DB if created via VA01, right ?   What DB did your order get when was created via BAPI ?
    Is it your custom DB or SAP DB ?  Do you have any special logic in userexits to apply DB in some cases ?   If you have any logic which applies DB - does it have a check for sy-tcode ?

  • Prevent Outbound delivery creation in sales orders with delivery block

    Hi gurus
         We are facing the following issue:
         Some sales orders have delivery block header and once they are saved an outbound delivery document is created; we want SAP system creates outbound deliveries only in those cases were sales orders have not a delivery block in header, is there any option or configuration we can use in order to prevent the creation of these documents?
    Regards,
    Edgar.

    Well Edgar,
    let's see then in spro
    Logistics Execution->Shipping->Deliveries->Define Reasons for Blocking in Shipping
    Check out the configuration of your delivery block reason and pay special attention to this instruction:
    "In sales documents, you can either enter delivery blocks manually at header level (business data in the sales document header) or they can be proposed automatically by the system. In the latter case, the delivery block must be entered in the respective sales document type (see chapter
    "Define sales document types"). In addition, the delivery block in the sales document header is only effective if the delivery block has been assigned to the respective delivery type."
    It must be something in the configuration of the delivery block reason you're using.
    Regards,
    Edgar

  • Credit Release thru VKM3 remove the schedule line delivery block ...

    HI Gurus,
    I have created the sales order with the delivery block at the schedule line. i have save the order . The order goes to the credit block . So when i release credit block with the help of VKM3 then system also removes the schedule line level block.
    This is not std behaviour . Can any one come across such scenario ?
    Details: I have removed the routine 101 in the OVB8 so that if order goes to credit block still order will have the confirm qty.
    Also in the OVAK order type is mark D for automatic credit check.
    Thanks in advance

    Hi ,
    I have checked the sales order thru the program but we are not using any user exit for the same.
    Now i have found that if the qty is confirm on the first date i mean on the date given then system does not remove the block & if the ATP check suggest the diff date so there are two schedule line in this case block get removed ..
    May be this is like after credit removes system must be running the ATP check again ..
    Please help

  • Delivery block in the schedule lines.

    Hi,
    Mine is a MTO scenario. I am using planning strategy 50. So a planned order ---> production order will be created against MRP run  against each sales order.
    When i am placing a delivery block at the header the system is working fine. Its deleting the planned order(converted production order).
    when I am placing a delivery block at the schedulle line its not working fine. its not deleting the underlined planned order or production order.
    what configuration should I do to make this work.......

    Hi,
    Look at the help (press F1) on  the field confirmation block at SPRO-> Sales and Distribution ->Basic functions ->Availability check and Transfer of Requirements ->Tranfer of Requirements -> Block quantity confirmation in delivery blocks ->Reasons for and Scope of Delivery Blocks: Transfer of Req. blocks.
    It looks applying delivery block at schdule line level will not delete the passed requirements. This is standard SAP behavior. If you want to change this nature, then you may need to use an User-exit.
    Following is description given for the field confirmation block;
    Confirmation block
    Indicates whether the system, in addition to blocking delivery, also blocks the confirmation of order quantities after an availability check during sales order processing.
    Example
    You may want to block confirmation of sales orders where the creditworthiness of the customer is in question. In this case, you set the confirmation block for the delivery block that relates to credit problems. During sales order entry, when you enter a delivery block because of credit problems, the system, after you save the order, does not confirm any quantities for delivery. In this way, the goods remain available for other customers.
    Note
    If, before you save a sales order, you look at the schedule line overview, you can see what the system would confirm, if the block were not set. However, as soon as you save the sales order, the confirmed quantities are automatically reset to zero.
    Dependencies
    If you enter the delivery block at header level, the system transfers the desired delivery quantity for all schedule lines in the requirement. The confirmed quantity is deleted. This function is not available when you enter the delivery block at schedule line level.
    Regards

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

Maybe you are looking for