cancel
Showing results for 
Search instead for 
Did you mean: 

BOM quantity

kunal_ingale
Active Contributor
0 Kudos

hi

i need to develope a report for actual and the changed quantity of bom used in process order

say i have bom quantity as 100 for one item A ,while crreating process order i am changin it to 105 , or say 90 of A and 10 of item B

now i wanna track allthose orders how can i proceed

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If you want to read data at table level, then for BOM details refer to MAST (mtl - bom link table), STKO (bom header), STAS (Bom selection) & STPO. The STPO table will give you the qty details as per BOM.

For the order details you can refer to AUFK, AFKO, CAUFV & RESB. The RESB table will give you the qty details as per the order.

The logic would be from AFKO-STLNR you will get the BOM which is read, now pass this STLNR to STPO to know the details from BOM. Do your comparison & then you can output.

There are few FM's which you can use to get the above details:

1. for BOM - CSAP_MAT_BOM_READ

2. for process order - BAPI_PROCORD_GET_DETAIL

Hope the above clarifies & provides the info you need.

Regards,

Vivek

kunal_ingale
Active Contributor
0 Kudos

hi vivek thanks for the reply

my abaper solved our query ,

if any problem occcure we will revert back

regards

kunal