Skip to Content
avatar image
Former Member

update reason for rejection from delivery item

Dear All,

I would like to update reason for rejection field of sales order item, from delivery creation T-code. If anybody had done something like this, please help me.

Thanks.

Regards,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 10, 2012 at 09:55 AM

    Hi Ravi ,

    As per my uderstanding of your query, you want to set the reason for rejection of the sales order item when there is partial delivery and the trigger point should be from the delivery document. May be you can develop a custom program to set the reason of rejection. I am not sure whether we have any user-exit to handle this beacuse the trigger point is in delivery and the action is in sales order.

    Please also consider that when you delete the delivery document, the reason of rejection should be set to "BLANK".

    Add comment
    10|10000 characters needed characters exceeded

    • Vinu,

      Thanks for your post!

      I am not sure whether we have any user-exit to handle this beacuse the trigger point is in delivery and the action is in sales order.

      Please also consider that when you delete the delivery document, the reason of rejection should be set to "BLANK".

      Interesting remarks!

  • Dec 10, 2012 at 08:11 AM

    Hi,

    http://scn.sap.com/thread/2062796

    Please have a look into above link.

    Request : Please search in Google before posting this type of queries .you can get a lot of threads on this .

    Thanks,

    Naren

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 10, 2012 at 08:13 AM

    Can you please explain the scenario under which, you want this weird requirement ??

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Typewriter TW

      Hi,

      I have simulated a scenario where in i have created a sales order for quantity 10 EA. I have created a delivery of 5 EA. And then i have changed  the sales order item, by putting the reason for rejection field to 'Out of Stock' and saved it. It worked. Now, when i do 'VL01N' , i get message 'No deliverable items'.

      Hence, we can conclude that we can put reason for rejection to partial delivery items also.

      Thanks.

      Regards,

      Ravi

  • Dec 10, 2012 at 08:25 AM

    Ravi,

    When reason for rejection is given in the sales order, for a line item, then for that line item there would not be delivery created!

    I would like to update reason for rejection field of sales order item, from delivery creation T-code.

    Please explain your requirement, if delivery is created, for the ref. sales order line item put reason for rejection.

    If reason for rejection is put in the sales order, line item then how delivery is created?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ravi Sankar,

      FORM routine USEREXIT_SAVE_DOCUMENT (include MV50AFZ1).

      Using the specified user exit, we can only update LIKP, LIPS, VBUK tables . But not, VBAP table.

      The problem is, when a delivery is created no field of VBAP gets updated.

      Thanks.

      Regards,

      Ravi

  • Dec 13, 2012 at 09:30 PM

    This question has already been asked several times before, please use Search. The same exact question posted just a few days ago: http://scn.sap.com/thread/3277904

    Add comment
    10|10000 characters needed characters exceeded