06-12-2008 11:38 AM
where the BOM item short and long texts are stored.
I mean which tables.
to get the long text we can use Read_text FM
where i can get the object name value.. from which table..
Thanks
Kiran
06-12-2008 11:46 AM
06-12-2008 11:46 AM
06-12-2008 12:04 PM
hi
http://www.scribd.com/doc/686355/sap-tables
In context 32 & 33 you will find tables related to BOM.
<REMOVED BY MODERATOR>
Thanks
Nikunj Shah
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 4:56 PM
06-12-2008 12:17 PM
Hi,
For Item Level
1. You will get the short text from STPO-POTX1 -- First line of the Long Text
and STPO-POTX2 -- Second line of the Long Text
2. Long text
Object : BOM
ID : MPO
Lang : EN
Name : Concatenate STPO-MANDT 800
STPO-STLTY M
STPO-STLNR 00002863
STPO-STLKN 2
STPO-STPOZ 4
ie. 800M000028630000000200000004
For Header Level
1. BOM Long text
Object : BOM
ID : MZU
Lang : EN
Name : Concatenate STKO-MANDT 800
STKO-STLTY M
STKO-STLNR 00002863
ie. 800M00002863
2. Altenative Long text
Object : BOM
ID : MKO
Lang : EN
Name : Concatenate STKO-MANDT 800
STKO-STLTY M
STKO-STLNR 00002863
STKO-STLAL 1
STKO-STKOZ 1
ie. 800M000028630100000001
Regds.
Suman
06-12-2008 12:24 PM
Hi,
Check out the below Function module:
CALL FUNCTION 'CSAP_MAT_BOM_READ'
EXPORTING
material = i_mast-matnr
plant = i_mast-werks
bom_usage = i_mast-stlan
alternative = i_mast-stlal
TABLES
t_stpo = i_stpo
t_ltx_line = i_ltext
EXCEPTIONS
error = 1
OTHERS = 2.
Thanks.