cancel
Showing results for 
Search instead for 
Did you mean: 

BOM FM

Former Member
0 Kudos

Hi Experts,

Could you please explain what exactly CSAP_MAT_BOM_READ and CS_BOM_EXPL_MAT_V2 does.

CSAP_MAT_BOM_READ explodes the BOM into components which is shown in the transaction CS03. Similarly what does the other FM do? does it break down each component of CS03 further . if yes in which transaction do we look for seeing the further exploded BOM?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

CS11

CS12

CS13

ALL THE ABOVE TCODE R FOR BOM EXPLOSION

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

good

CSAP_MAT_BOM_READ ==Example

-


data: begin of tstk2 occurs 0.

include structure stko_api02.

data: end of tstk2.

data: begin of tstp2 occurs 0.

include structure stpo_api02.

data: end of tstp2.

data: begin of tdep_data occurs 0.

include structure csdep_data.

data: end of tdep_data.

data: begin of tdep_descr occurs 0.

include structure csdep_descr.

data: end of tdep_descr.

data: begin of tdep_source occurs 0.

include structure csdep_source.

data: end of tdep_source.

data: begin of tdep_order occurs 0.

include structure csdep_order.

data: end of tdep_order.

data: begin of tdep_doc occurs 0.

include structure csdep_doc.

data: end of tdep_doc.

data: flg_warning like capiflag-flwarning.

call function ‘CSAP_MAT_BOM_READ’

exporting

material = ‘MAT100′

plant = ‘0001′

bom_usage = ‘1′

valid_from = ‘20.12.1996′

  • valid_to

importing

fl_warning = flg_warning

tables

t_stko = tstk2

t_stpo = tstp2

t_dep_data = tdep_data

t_dep_descr = tdep_descr

t_dep_source = tdep_source

t_dep_order = tdep_order

t_dep_doc = tdep_doc

exceptions

error = 1.

CS_BOM_EXPL_MAT_V2 ==>

-


http://www.sap-img.com/abap/abap-clipboard-utilities-for-beautiful-commented-code.htm

reward point if helpful.

thanks

mrutyun^

Former Member
0 Kudos

check the below link also on the other function module