cancel
Showing results for 
Search instead for 
Did you mean: 

How to get WBS element of a production order without going AFPO table.

Abhijit74
Active Contributor
0 Kudos
4,489

Hello Experts,

The WBS element for production order is not maintained in AUFK table. My requirement is to get the WBS element of a production order without going to AFPO table.

The requirement is to find out all the subdivided WBS element of the main element (which I am getting from AFPO table ) and get the production order linked to it. So, when I am retrieving all the subdivided WBS of main WBS, again I am force to go to AFPO table to find the production order related to it.

So, I don't want to select data from AFPO table multiple times, If I can find out the main WBS element without going to AFPO table.

Thanks in Advance for your quick reply.

Thanks & Regards,

Abhijit

View Entire Topic
sunil_yadav2
Active Contributor
0 Kudos

Hi Abhijit,

try EKKN (Account Assignment in Purchasing Document).

Pass WBS to EKKN-PS_PSP_PNR to get PO Number (EKKN-EBELN)

or Pass PO Number and get WBS (EKKN-PS_PSP_PNR).

thank

Sunil