06-06-2006 6:23 AM
Hi friends,
We have a requirement wherein we are supposed to fetch the top most level material of a component. I am aware that to do the reverse process i.e. to find the component BOMs for a material we have the FM "CS_BOM_EXPL_MAT_V2".
But here our input is the component number and its corresponding plant. For this component we need to fetch the top most level material by looping at stpo and mast tables.
Also I would like to know if there is a direct function module available to get the top most level materials.
If anybody has worked on this logic/requirement before kindly provide your valuable inputs.
Thank you all in advance.
Regards,
Gayathri N.
06-06-2006 6:28 AM
i think loop at mast / stpo is the better option bcos one component may exits in another plant also , So better to fetch data from tables itself.
Regards
Prabhu .
06-06-2006 6:29 AM
Hi,
In the function module there is a option where you can get the only the top most BOM or multi-level components for a single FERT(finished product).
While calling the FM, if you set the option
MEHRS = 'X', then for a single FERT you can get all the components,
but if you ignore this parameter, you shall get only the top most BOM.
lakshminarayanan
Mark all helpful answers for points
06-06-2006 6:38 AM
Hai Gayathri
Check the following Links
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
Thanks regards
Sreenivasulu P
06-06-2006 6:41 AM
Hi Lakshminarayanan,
My requirement is not to get the BOM. In contrast to it I want to get the top most level material for a given component.
Taking an example: Let us say 'A' has a component BOM 'B'. And 'B' when exploded further has a component 'C'. Now given material 'C', i want to track it reverse and tell that 'A' is the top most level material for 'C'.
Hope I have been able to explain my requirement better.
Regards,
Gayathri N.
06-06-2006 6:50 AM
Hi gayathri,
I got your requiremen. You are asking way to find out a finished product based on a semi-fininshed material. It is something similar to CS15 transaction. You cannot get this feature in one shot.
Try using this FM 'CSEP_MAT_BOM_SELECT_WHERE_USED ', which shall take the material as a parameter. When yuo execute this FM,it shall give the next higher level component in the hierarchy.
Lakshminarayanan