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

EWM PPF - Access data ODR i n PPF for PDO

michael_fallenbchel
Active Participant
0 Kudos
681

Hi experts.

I want to access the data of the ODR in my PPF for PDO (detail - I need the ASN which is saved in ODR as reference document on header level) for the schedule condition of my PPF in PDO.

As the commit is not yet done, all the DB tables (e.g. /SCDL/DB_REFDOC) are not yet updated, and in the schedule condition I only have access to the PDO itself..any idea how to access this?

Thanks

Michael

Accepted Solutions (1)

Accepted Solutions (1)

michael_fallenbchel
Active Participant
0 Kudos

Got it - you can use the reference document number of the item (ODR) and then acess the data by using

DATA(lo_bom_odr) = /scdl/cl_bo_management=>get_instance( ). 

DATA(lo_bo_odr) = lo_bom_odr->get_bo_by_id( lt_refdoc[ 1 ]-refdocid ).

Answers (0)