BOM Materials List - All Valid and Invalid sith Sub Levels
I have a requirement, need to show all available materials for a particular Bill of Material including sub level material list and validity completed materials list.
Is there any function module to get all available materials in a particular validity period with sub level material list?
Option1: FM: CS_BOM_EXPL_MAT_V2
This FM will display sub levels for a particular validity date.
I mean.., if we pass system date to the Function Module (i.e DATUV = SY-DATUM), it will bring all the materials with sub level only for that validity date.
Is there any parameter to pass both Valid From-date and Valid To-date?
Option2: FM: GET_STPO
This FM will display all available materials for a particular validity period. I mean.., we can able to pass both from date and to dates to this function module. But this FM is not showing sub levels.
Is there any parameter, we need to pass to get sub levels?
Please share any other FM to get both sub levels and all valid/invalid materials?
Please help me?
Thanks in Advance