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

How to change quantity of an inbound delivery

Dear experts,

in transaction /SCWM/GRPI it looks like the system creates an inbound delivery with method CREATE_ITEM_NEW_PDI of class /SCWM/CL_DLV_EGR2PDI.

In my small programm i use that method too, but I can´t find a way to change the quantities that are pulled from the EGR.

After i call the method....

... the quantities of all items are set by the quantities of the EGR items. In my situation i want to create a inbound delivery with the half of the amount from the EGR.

I hope you have an idea, which functionmodul or method can help me to handle this problem.

Best regards

Rodrigo

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 28, 2015 at 08:36 AM

    Hi,

    You need to update aspect.

    Use this class: /SCMB/IF_SP_ASPECT, first use select(fills tables), then update(basicly modifies tables).

    Unfortunately, i can't share my coding due to confidentiality. You can debug this class while using SCWM/GRPE transaction.

    Best regards,

    Serhan.

    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.