Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi or Function module for getting Bom Item Details (Urgent)

PS_1978
Active Participant
0 Likes
1,579

Hi All,

I Want to get the Bom Item Details Corresponding to Production Order Number.

So Please Provide me Some Function Module or Bapi So that by giving the

Production Order number I will get all material related to that PO.

Thanks In Advance.

2 REPLIES 2
Read only

Former Member
0 Likes
474

Hi,

USE FUNCTION MODULE

CS_BOM_EXPL_MAT_V2

Regards,

V.Balaji

Reward if Usefull...

Read only

Former Member
0 Likes
474

Hi,

use the function module.

call function 'CS_BOM_EXPL_MAT_V2'

exporting

capid = 'STD1'

datuv = sy-datum

mktls = 'X'

mehrs = 'X'

mmory = '1'

mtnrv = matnr

werks = werks

tables

stb = it_stb2

matcat = it_matcat

exceptions

alt_not_found = 1

call_invalid = 2

material_not_found = 3

missing_authorization = 4

no_bom_found = 5

no_plant_data = 6

no_suitable_bom_found = 7

others = 8.

Regards,

Sankar.