2010 Aug 17 1:51 PM
Hi All,
We are trying to fetch BOM data by calling the above function module i.e. CS_BOM_EXPL_MAT_V2.
The function module is called as shown below
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = 'PP01'
datuv = sy-datum
mktls = 'X'
* mehrs = 'X'
mmory = '1'
mtnrv = gs_bom-matnr
stlal = gs_bom-stlal
werks = p_werks
TABLES
stb = gt_stb[]
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
Inspite of passing the plant......the function module seems to be checking other plants as well.....i.e. for one of the material it gives an exception saying that 'Material XXX not maintained in plant ABCL'
However the plant passed to FM is ABCM (p_werks)....then why is it checking in other plant?
Any idea?
2010 Aug 17 2:20 PM
Hi,
Run report RCS12001 and check if the report is throwing a similar report with the parameters passed in the program.
If yes, Check for SAP notes.
If not, you may be missing some input fields.
Sujay
Hi All,
We are trying to fetch BOM data by calling the above function module i.e. CS_BOM_EXPL_MAT_V2.
The function module is called as shown below
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = 'PP01'
datuv = sy-datum
mktls = 'X'
* mehrs = 'X'
mmory = '1'
mtnrv = gs_bom-matnr
stlal = gs_bom-stlal
werks = p_werks
TABLES
stb = gt_stb[]
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
Inspite of passing the plant......the function module seems to be checking other plants as well.....i.e. for one of the material it gives an exception saying that 'Material XXX not maintained in plant ABCL'
However the plant passed to FM is ABCM (p_werks)....then why is it checking in other plant?
Any idea?
2010 Aug 17 2:20 PM
Hi,
Run report RCS12001 and check if the report is throwing a similar report with the parameters passed in the program.
If yes, Check for SAP notes.
If not, you may be missing some input fields.
Sujay
2010 Aug 25 11:47 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |