2007 Nov 19 7:40 AM
hi,
Any one can send a code for changing the BOM components ..
hi,
Any one can send a code for changing the BOM components ..
2007 Nov 19 7:43 AM
Hi,
First hit against the MAST table with the material number. Then hit against STPO with the internal BOM number to get the components. There are also some function modules that will do this to.
data: xmast type mast.
data: istpo type table of stpo with header line.
Select Single * from mast
where matnr = p_matnr.
If sy-subrc = 0.
Write:/ 'This material has a BOM'.
else.
Write:/ 'No BOM found'.
Endif.
write:/ 'Components'.
select * into corresponding fields of table istpo
from stpo
where stlnr = xmast-stlnr.
loop at istpo.
write:/ istpo-idnrk.
endloop.
Regards
2007 Nov 19 8:09 AM
Now i have to change the BOM in CS02
i got this function module, Could u explain about this FM
What r all the Input parameter i have to pass plz explain for all FM
CSAP_MAT_BOM_OPEN,
CSAP_BOM_ITEM_MAINTAIN, and then
CSAP_MAT_BOM_CLOSE.
Regards,
thanuskodi T.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |