Skip to Content

Join between PR and reservation and PM order

Dear sap gurus,

I need your help on join of the objects mentioned in the titile of the topic. The target is to get requistion by reservation or by PM order. For example: we create PM order with defined materials; then after MRP run NB-type requistion is created (material flow) (we customized daily planning calendaer, PR is generated every day; it means 1 PM order equals on PR). And I need to get PR by PM order or by reservation. I know there are FM MD_PEGGING and MD_PEGGING_NODIALOG. Via MD_PEGGING i succeed to get PM order on exit with the following parameters:

Where EDELKZ = FE

EDELNR = PR

EMATNR = MATRN

EWERKS = WERKS

But can I get PR data vice versa (by PM order or reservation)? Also FM MD_STOCK_REQUIREMENTS_LIST_API returns DELNR it contains PR or reservation. How can i solve my issue?

Your support is much-needed.

Thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 10, 2018 at 08:29 AM

    Hi Vladislav,

    Please check below table/fields

    EBKN-BANFN /-BNFPO,

    EBKN-AUFNR,

    EBAN-ESTKZ

    AFVGD-BANFN

    Also you can refer.. https://archive.sap.com/discussions/thread/313436

    Regards

    Ajay

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 12, 2018 at 11:39 AM

    Hello Ajay Dehariya

    I need PR for materials . EBKN provides PR from services

    Add comment
    10|10000 characters needed characters exceeded