‎2007 Aug 28 11:01 AM
hi all,
i need to upload data for cs01. it includes multiple bom items,
is there any function module for it.
can any body provide sample program for this
regards
siva
‎2007 Aug 28 11:33 AM
‎2007 Aug 28 11:36 AM
Hi Siva,
You can use BAPI_MATERIAL_BOM_GROUP_CREATE
Use function module
CSAP_MAT_BOM_CREATE
CSAP_MAT_BOM_READ
Regards
Sudheer
‎2007 Aug 28 11:41 AM
Hi,
use 'CS_BOM_EXPL_MAT_V2'.
Multi level items are exploded only if one of the Import parameters in the function module is checked. I forgot which one but you can refer to the following code for the function module which gave me multi level bom explosions.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
datuv = sy-datum
emeng = p_req_menge
mktls = 'X'
mehrs = 'X'
mtnrv = p_material
stlal = p_w_stlal
stlan = '1'
stpst = 0
svwvo = 'X'
werks = p_plant
vrsvo = 'X'
tables
stb = w_stpox
matcat = w_cscmat.
Regards
‎2007 Aug 28 11:45 AM
CSAP_MAT_BOM_CREATE should work for you
regards,
srinivas
<b>*reward for useful answers*</b>
‎2007 Aug 28 11:50 AM