Hi,
Currently we are using to track where used materials tcode CS15 (with multi level),
but client wants to input many materials and out put wants upto top level materials,
there no option for input multi materials in CS15
Pls adive which function module to use this reuqirment, get where used list of multi level materials
Regards,
Sankaran
Request clarification before answering.
Hi,
CS_WHERE_USED_MAT does not get multilevel BOM. But you can run CS15 in background as below.
cl_salv_bs_runtime_info=>set( display = abap_false
metadata = abap_false
data = abap_true ).
SUBMIT rcs15001 WITH pm_idnrk = iv_idnrk
WITH pm_werks = iv_werks
WITH pm_mehrs = 'X' "Multilevel
AND RETURN .
TRY.
cl_salv_bs_runtime_info=>get_data_ref( IMPORTING r_data = DATA(lobj_data) ).
ASSIGN lobj_data->* TO FIELD-SYMBOL(<lfs_data>).
CATCH cx_salv_bs_sc_runtime_info.
ENDTRY.
IF <lfs_data> IS ASSIGNED.
DATA: lt_stpov_alv TYPE TABLE OF stpov_alv.
lt_stpov_alv = CORRESPONDING #( <lfs_data> ).
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sankaran,
These are the Functional Modules which you can use,
CS_WHERE_USED_MAT Bills of material; where-used list
CS_WHERE_USED_MAT_ANY Bills of material; where-used list as material or class item
MASS_WHERE_USED where used list for mass maintenance screens
CSEP_MAT_BOM_SELECT_WHERE_USED API Bills of Material: Select BOM(s)
But Multi-level is not possible as far I knew.
You can use either the 1st or the 4th Functional Module for preparing the report.
No other way of getting a report simliar to CS15.
Regards
Mangalraj.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.