cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How I can identify the document type (PlOrd) when transaction /SAPAPO/CCR is working?

former_member269053
Participant
0 Likes
575

Hi experts,

In the transaction /SAPAPO/CCR I want to use the BADI /SAPAPO/CIF_DELTA3 with the method CONVERT_MASTER_DATA but only with the planned order (PlOrd)

With transaction /SAPAPO/CCR I process some types of documents (planned orders, purchase requisitions, sales orders)

How I can identify the document type (PlOrd) when transaction /SAPAPO/CCR is working?

Regards

Arnulfo Cordero Pradel

Accepted Solutions (0)

Answers (1)

Answers (1)

tiago_furlanetto
Product and Topic Expert
Product and Topic Expert

Hi Arnulfo,

This method is used to influence the data selection as a whole in CCR, so at the time this method is called no data has been selected yet that can be manipulated based on an order type (Plord).

Maybe method RELEVANT_FOR_COMPARE_APO will help you achieve the required behavior: changing table CT_OUTPUTS contains the receipts which were selected. It is possible to identify the order type at this point by checking field CATEGORY, which holds the ATP Category of that node. For example, a non-firmed planned order usually has ATP Category = AI.

Regards,
Tiago