cancel
Showing results for 
Search instead for 
Did you mean: 

Linking tables for PO for external operation and production order

Former Member
0 Kudos

Hi Guys,

Can somebody help me to find the linking tables for the PO for external operation and production order.? Will be rewarded

Regards,

Sravan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can get this by following way :

Use Function Module : BAPI_ALM_OPERATION_GET_DETAIL

Pass IV_ORDERID as AUFNR & IV_ACTIVITY as VORNR ( say 0010) which will give you value of PREQ_NO.

Pass this PREQ_NO & PREQ_ITEM and pass these two as BANFN (Purchase Requisition Number) & BNFPO (Item Number of Purchase Requisition) to EKPO table which will give you value of EBELN (Purchasing document Number).

Hope this helps.

Regards,

Tejas

Former Member
0 Kudos

Hi Pujara,

I tried with your inputs PR & Item no in EKPO but i can't retrieve the PO document number. I assume it is because they are not key fields.

Is there any alternate table?

Regards,

Sravan

Answers (1)

Answers (1)

Former Member
0 Kudos

AFKO-AUFNR is order nos.

Read n pass, AFKO-AUFPL to AFVC-AUFPL

Read AFVC-BANFN, it will give PR nos. (This field contains value only for external process operation which has triggered a PR)

Now pass AFVC-BANFN to EKPO-BANFN you will get the link to PO.

Also, let your appreciation of any inputs received be in action and not explicitly stated in your query, as it is against the forum rules, hope you would understand & respect that.