Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 19, 2016 at 09:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded