on 02-13-2009 9:51 AM
Hi,
I need to develop a report, when I give a raw material end result must be a final product omitting all other semifinished assemblies.
can anyone guide how to solve this
Hi Krishnan,
Study the report CS15, it is doing what you are expected to do. The only difference is, it reads all levels upto the top parent.
Anyway you can use the FM - > CS_WHERE_USED_MAT to achieve the same. You need to loop back the output to input & this way read all the way upto the top parent.
But a word of caution, if a single raw material is associated with multiple top parents, then you will have to handle this case.
Hope the above helps.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
The output of the FM i.e. T_BOM_HEADER in this pass the value of the field - Material to an internal table & then loop back this as an input to your FM.
But are you sure you want to use CSEP_MAT_BOM_SELECT_WHERE_USED? As it does not have an input selection field for Plant.
Hope it answers your query.
Regards,
Vivek
Use this FM to achieve final products from a raw material - 'CS_WHERE_USED_MAT'
call this fm thro' subroutine till you get parent product. check the table WULTB whether it is initial or not & pass the output as input to the same fm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.