How to block a delivery

Dear Gurus,
My question is once a delivery is created and saved, due to some reasons I need to block it from furthur processing, that is, no one should be able to do PGI. I dont want to delet it since I need to keep a track of these kinds of documents, so when needed I can make a list of them and submit to management.
How can I do this and how to get a list of such kind of documents for submission purpose monthly?
Thanks in advance and best regards.
Venkat - Hyd

Dear Yajee,
before going for solution, pl ensure other factors.
I presume with an example that  you created 10 qty order. 8 qty delivery and 8 qty invoice.
again created 2 qty delivery but no PGI. by the time contract period is over and no one should go for delivery.
1. If MRP is there and it will block your available stock, then keep delivery doc as it is and change delivery qty to 0 put a delivery block and save. this will show in sale order as open del... then go for rej indicator in sales order as you are doing.
please remember the defference between completed indicator in sales order and delivery.
If order says completed, the indicator "C" just has implecation on status of document but no G/L account.
but If indicator "C" in Goods issue means it has already affecteed COGS, and is ready for invoice and NEED it, UNLESS it is free goods item category..... so completion indicator in delivery has defferent meaning ... If iam not wrong.
*****Coming to reporting purpose  in above solution, you can see in vl06 the picking status as BLANK and total status "A".
please get back whether my reply is RIGHT or WRONG.
Satya

Similar Messages

  • HOW TO BLOCK THE DELIVERY IF CONTACT-DATE = SYSTEM DATE.

    HI ALL,
    in va02 transaction, after entering some order number, u will go inside. after going inside, goto GOTO-HEADER-PURCHASE ORDER DATA.
    THEN, IN THAT PURCHASE ORDER DATA TAB, A LAST CONTACT DATE FIELD IS THERE. NOW, THE ISSUE IS, IF THIS LAST CONTACT DATE IS GREATER THAN  OR EQUAL TO SYSTEM DATE, THEN THE DELIVERY SHOULD BE BLOCKED AND ALSO , IN SHIPPING TAB THERE IS DELIVERY BLOCK FIELD. THIS FIELD SHOULD BE SET TO VALUE JITS DELIVERY. FOR THIS I WAS TOLD TO WRITE THE CODE IN THE ROUTINE  , BY GOING TO VOFM - TRANSACTION . IN THIS TRANSACTION, I HAVE TO CLICK ON THE COPYING REQUIREMENTS MENU AND THEN CLICK ON DELIVERIES AND THEN GIVING THE VALUE AS 911 FOR ROUTINE NUMBER COLUMN AND ALSO MENTIONING SOME TEXT IN THE DESCRIPTION COLUMN AND THEN SAVE AND WHILE SAVING THEN IT WILL ASK THE ACCESS KEY, THEN I WILL MENTION THE PROVIDED ACCESS KEY AND THEN I HAVE TO WRITE THE ROUTINE.
    NOW, MY EXACT ISSUE IS HOW TO WRITE THE CODE IN THE ROUTINE TO BLOCK THE DELIVERY ,IF THE LAST CONTACT DATE IS GREATER THAN OR EQUAL TO SYSTEM DATE AND UPDATING THE DELIVERY BLOCK FIELD IN SHIPPING TAB TO JITSDELIVERY.
    NOW, WHERE I AM STUCK UP IS HOW TO WRITE THE CODE TO BLOCK THE DELIVERY.
    IF ANY PART IS UNCLEAR, PLZ REPLY ME SO THAT I CAN MAKE IT MORE CLEAR.
    THIS IS THE CURRENT AND URGENT REQUIREMENT I HAVE TO SOLVE. PLZ MAKE ME KNOW THE SOLUTION  AS SOON AS POSSIBLE.POINTS WILL BE AWARDED.
    THANKING U IN ADVANCE,
    SRINIVAS.

    Hi,
    Who advised you to write the Routine for this requirement?
    Can't this be achieved by writing some user exit code in MV45AFZZ  of Sales order main program SAPMV45A  as this req is related to Sales order.
    I feel this can be achieved via this. Try this first at the header level ( in the correct form).
    If at all you wants to write the code in Routines goto VOFM tcode and select the routine.
    First try to copy the code what was written in the similar existing routine and take the access key and write the same code and modify as per your requirements.
    Most of the times we handle the sy-subrc value in this routines.
    reward if useful
    regards,
    anji

  • How to block a delivery when an A/R Down Payment Invoice is not paid?

    1. Create and add a Sales Order
    2. Create and add an A/R Down Payment Invoice based on the created Sales Order (set DPM % to 50)
    3. Create and add a Delivery based on the created Sales Order
    The delivery is not blocked.
    Is there an easy workaround/alternative to ensure goods are stopped from being delivered when a customer hasn't paid a certain amount upfront?

    Hi Suda,
    Unfortunately my usage of the sql queries is a bit rusty and am not sure if I am doing this correctly.
    Next to that I don't exactly see how it should work (hence my comment being rusty - haven't used this very often). I see that it checks the AR Down Payment Invoice document and lines, but how it checks to which sales order it is connected to stop the delivery.. Plus I always want it to stop any delivery when an AR Down Payment for any percentage hasn't paid in full untill it has been paid/approved by someone to be delivered. If no AR Down Payment has been done, there is no issue.
    Anyway I have copied your query to the Query Generator and saved it.
    I created an approval procedure based on delivery documents and based it on the saved query.
    Added a sales order and created a Down Payment Invoice based on the sales order with 40% that has to be paid upfront. Created a delivery based on the sales order and added the document. I only gotten an internal error (it went so quickly I can't see the actual whole message because I get the created message straight after), but it created the delivery anyway.. (same as you described maybe?)
    I'm missing something obviously, let me know what to do.
    Regards,
    Petronella

  • How to block or stop hundreds of mail delivery notices that I did not send

    how to block hundreds of incoming email delivery notices that I did not send out

    It sounds as though someone hacked into your email account and/or the account of one of your friends and stole email addresses to use as sender and recipient for spam messages.
    Since the damage is already done so to speak, there isn't a whole lot to do but: do change your email address and send out an email to your friends that the other emails are not from you and not to open or click on anything contained in them.
    Unfortunately, this is happening more and more.

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • 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

  • How to proceed After blocking the delivery.

    Hi SD Experts,
    i have a doubt how to proceed after blocking a delivery. My scenario is this " i created a sales order and blocked the delivery of it. So i cant able to create a delivery for that sales order." . Then what should be done to create a delivery for that sales order ( i.e. How to release the Blocked delivery status and to create a delivery)
    with regards ,
    James
    Valuable answers will be rewarded....

    Definately Vasanth,
              it will work.
    Mostly billing block will be used in Credit/debit memo's.
    Only the authorized user can remove the block in VA02.Then user can able to create billing.
    This wont happen  in Credit management issue,because we wont maintain any billing blocks in credit management.
    block in credit management like:,
    sales order level-
             ( 2 release the Credit mgmt block in Sales order- VKM3)
    delivery level - 
             ( 2 release the Credit mgmt block in Delivery doc's - VKM5)
    *( 2 release the Credit mgmt block in Sales doc's & Delivery doc's at a time - VKM4)
    at the time of Goods issue
    Hope it adds the information .
    reward point if it helps u

  • How to block PGI in delivery?

    I need to block only PGI in delivery documents.
    i.e. we can create delivery note, do picking but not PGI unless block is removed.
    rgds
    AKi

    Hi,
    Go through the following menu path:
    SPRO-IMG-Logistic Execution--Shipping--Deliveries-Define reason for Blocking--Deliveries: Blocking Reasons/Criteria----Tick on last column( PGI Block)
    You can also do the PGI block during credtit check also.
    or for delivery block go thru the following menu path:
    Go to VOV8 --- activate the deilvery block for tht order.
    or
    Go to schdule line categories VOV6 there also activate the block for delivery.
    Reward points if helps.
    Regards
    Ashis

  • How to place a block in delivery which should prevent further Billing

    Hi Experts,
    One of our clients has created a delivery and done PGI on that as well, but for some reason they do not wish to go ahead with processing Invoice for this Delivery, however this delivery show up in VF04 and they would want to block this delivery for Invoice.so that by mistake it does not get processed in VF04.
    Is there a way we can go to delivery can block it from Billing?

    Hi
    Welcome to SDN
    Set the billing block in Order type in VOV8 in the billing tab for your sales document type
    If the billing block is set in order type the sales order can be created  and delivery can be created---picking and pgi can be done but not billing
    From delivery settings this option is not available (either thro delivery type or delivery item cat)
    Regards
    Raja

  • How To Block a User From Changing Total Field In AR Invoice

    Hi all,
    I would like to find out how to block a user from being able to change the total field at the bottom right hand side of the AR Invoice.  Currently if a user creates an invoice and is still busy in that invoice they can adjust the total field which in turn will update the discount field as well.
    Is this simply an authorization issue or am I going to have to do it in the transaction notification?
    We are using SAP Business One PL 30 currently.

    Hi
    Please review by note again -This is by system design .
    I don't know why you are so worried abt this because by setting up discount max ,if user cannot post the document ,that means it is not in the system ,no matter they change multiple times in the fields .
    But I think your scenario is different ,
    You are copying with certain discount from Delivery to AR invoice and i think you don't want user to change the discount field , then you can solve your issue by using approval or sp_notification
    If you really want it to be greyed out ,I think you might have to go through by SDK or Boyum addon.
    Thank you
    Bishal

  • Sale order block for delivery

    Hi,
    My requirement is -
    whenever I save any sale order,by default it should be block for delivery.
    how to make the setting in system.
    Harsh

    Hi
    Put Delivery Block at  Sales Order type  in t code  VOV8.
    regards
    kedasu.a

  • How can we change delivery document while doing shipment

    Hi all,
    How can we change delivery document in background while changing shipment document.My requirement is to change the netweight in delivery while doing shipment.Actually it gets blocked when we open the shipment.
    Thank You,
    Regards,

    Hi,
    if you have done the PGI(Post Goods Issue), you can't change the delivery.
    If you want to change the devlivery Qty, you should create the delivery with Partial Split (= X) and you can deliver the splitted qty with a new delivery.
    Regards,
    Baburaj

  • How to block a sales order when there is a free good item .

    Hello Gurus ,
    How to block a sales order when there is a  free good item  , only the authorised person should have authorisation to release those blocked Sales orders.
    Reason - They want to have a track of free goods given to customer & to avoid the misusing things
    Looking  for your inputs
    Thanks in advance
    Regards
    Venkat

    Hi
    I think you can try with Status Profile in BS02 define and assign for item category TANN.
    In status profile you can block the delivery and also billing unless some changes the object status as released.
    Just try and explore
    regards
    Prashanth

  • Order blocked for delivery as a result of credit check - VL060

    Dear Experts,
    Credit Management is active in the Process.
    Every time I try to create Delivery Document including Returns Delivery the following error is displayed "Order blocked for delivery as a result of credit check"
    I will release the document by using Tcode VKM3.
    Though Credit Limits are maintained for Customer in FD32 and credit Exposure has not exceeded the Credit Limits the Delivery Document creation is bloced.
    How to solve this issue.
    Regards
    Hari

    Hi Prasanth,
    Checked both the areas i.e.
    In VOV8,  the field Delivery block is Blank and
    In VOV7 for Returns item category credit active is unticked.
    Even while doing standard delivery system is blocking for creating Delivery, which needs to be released using VKM3 Transaction. I have checked for Item category TAN where the credit active is checked.
    Please suggest solution for both Standard and Reurns Delivery Block issue.
    regards
    Hari

  • Blocking of delivery if stock is not available

    Hi
    How to do Blocking of delivery if stock is not available ?

    You can control this via availability check control
    In the transaction OVZ9
    Select your Checking Group ( 01 or 02 ) and the Checking Rule  B  ( SD Delivery)
    and inside this mark the following
    1) Check without RLT
    2) Include Deliveries
    Then in that case the system will create the delivery only if you have physical stock. and also the system will take into consideration whether any open deliveries exist for the stock for ex . if the physical stock is 10 Pieces and you have already created a delivery note for 8 Pieces but neither nor pgied. then in that case the next delivery will only be created for 2 pieces and not more.
    Check this out and let me know if you have any questions.
    Thanks
    Srini

Maybe you are looking for