Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PP User Exit PPCO0005 Question

Former Member
0 Kudos
231

Hi All,

I am using user-exit PPCO0005 to change the storage location on a production order. The production order is created from a planned order from tcode MD04.

In the user-exit the internal structure RESV_I does not have the right AUFNR (order number),

KDAUF (Sales order number), and LGORT (storage location).

Any idea why this structure that is passed to the user-exit contains errorneous info?

Any comments or ideas would be very useful.

Regards.

1 ACCEPTED SOLUTION

mvoros
Active Contributor
0 Kudos
59

Hi,

I just guess but maybe the structure RESV_I contains different data. It should contain data for reservation. Have you checked fields like CAUFVD_I-REFNR (Reference order number) and CAUFVD_I-KDAUF_AUFK (Sales Order Number)?

Cheers

1 REPLY 1

mvoros
Active Contributor
0 Kudos
60

Hi,

I just guess but maybe the structure RESV_I contains different data. It should contain data for reservation. Have you checked fields like CAUFVD_I-REFNR (Reference order number) and CAUFVD_I-KDAUF_AUFK (Sales Order Number)?

Cheers