Skip to Content
author's profile photo Former Member
Former Member

User exit for updating delivery block of Sales order before Delivery

Hi Folks,

Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery

I have got an exit in Program SAPMV45A

MV50AFZ1

FORM USEREXIT_REFRESH_DOCUMENT.

that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )

Now i want now how to change the Delivery Block indicator of Sales order in that exit

any FM available ?

Thanks n regards

Sonal...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 03, 2009 at 07:42 AM

    Have you tried with userexit_move_field_to_vbak ?You can set the values of vbak-lifsk accordingly.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Amit Gujargoud

      Hi

      "thats done either from VA01/VA02 or VL01N "

      here i meant after the sales order is created... and when from Va01 -> Sales Document menu -> Deliver is selected

      and i think its the same TCODE (VL01N) called for this

      So i need to process before delivery creation ( thats on Deliver command or Create Delivery from VL01N)

      and not at the time of Saving the Document .

      My scenario is if the Sales Order is Blocked for Delivery then... the system doesnt allow to proceed for Delivery (on Deliver Command) and Display an error message .. right ?

      So i need to update the delivery block of sales order before the system displays this error message.

      Hope now i m clear with my question.

      Thanks for your reply

      Sonal...

      Edited by: Sonal Patel on Oct 3, 2009 2:43 PM

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2009 at 06:54 AM

    Solved myself

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.