Hi
We have requirement where User wants to capture the all PR details in Enhancement tab of work order, so that when ever there is changes in the PR amount version will get capture in Z-table.
We have written the code under the Function "CO_ZV_ORDER_POST " using Enhancement Spot.
But the issue we are facing now is that it is picking only 1 operation and 1 component under(SAPLCOIH)AFVGD and (SAPLCOBC)RESBD) which contains the required data.
When the PM Work Order contain multiple operation and non stock component, it is not working as expected.
We have tried to use the user exit as well but PR number data is not available when exit is called.
Kindly help with correct internal which can be used or another place where PR number is available during Release of Order and before commit transaction execute.