05-20-2009 3:43 PM
Hi gurus,
I have a requirement like i need to get the BOM header data for that header data i need to get the component data and again for that component data i need to get the alternate component data for a particular Bomb so is their any way to get this or is their any standard function module through which i can get this requirement ?
any inputs will be highly appriciated
regards
sharma d
05-20-2009 3:52 PM
Dear Sharma,
Just check these function module..
CS_BI_BOM_CREATE_BATCH_INPUT1
or
CS_BOM_EXPL_MAT_V2
Hope this will help you..
Regards,
Vijay
05-20-2009 3:52 PM
Dear Sharma,
Just check these function module..
CS_BI_BOM_CREATE_BATCH_INPUT1
or
CS_BOM_EXPL_MAT_V2
Hope this will help you..
Regards,
Vijay
05-21-2009 6:19 AM
Dear Sharma,
As per your detailed explaination i could make out that you want BOM header data then component data and finally alternate component data for this you can use this function module CSAP_MAT_BOM_READ
here you nee to pass material, bom usage etc.....
CALL FUNCTION 'CSAP_MAT_BOM_READ'
EXPORTING
material =
PLANT =
bom_usage =
ALTERNATIVE =
VALID_FROM =
VALID_TO =
CHANGE_NO =
REVISION_LEVEL =
FL_DOC_LINKS =
FL_DMU_TMX =
IMPORTING
FL_WARNING =
TABLES
T_STPO =
T_STKO =
T_DEP_DATA =
T_DEP_DESCR =
T_DEP_ORDER =
T_DEP_SOURCE =
T_DEP_DOC =
T_DOC_LINK =
T_DMU_TMX =
T_LTX_LINE =
T_STPU =
EXCEPTIONS
ERROR = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Cheers
fareed
05-21-2009 9:00 AM
Hi ,
Can you use bellow function module you will get the bom related data.
CSAP_MAT_BOM_READ
regards,
Munibabu.k
05-21-2009 9:15 AM
Hello,
Use CS_BOM_EXPL_MAT_V2 FM and pass the required parameters along with the level of BOM Items required .u will get all the data.
regards
05-23-2009 7:24 AM