2006 Jan 23 1:52 AM
hai friends,
i am using CS_BOM_EXPL_MAT_V2 fn module in my code. when i pass mtnrv = 'GK02PB.05SBIS' , i did' get any output from the above fn module. but other than the above value like mtnrv = 'OSA875CCWOF' ,i am getting output.
thanks in advance,
With regards,
senthil kumar.r
hai friends,
i am using CS_BOM_EXPL_MAT_V2 fn module in my code. when i pass mtnrv = 'GK02PB.05SBIS' , i did' get any output from the above fn module. but other than the above value like mtnrv = 'OSA875CCWOF' ,i am getting output.
thanks in advance,
With regards,
senthil kumar.r
2006 Jan 23 4:03 AM
Hi,
Please check as follow way:
1. Check BOM of 'GK02PB.05SBIS' with transaction code 'CS13'.
2.Check FM's import parameters 'capid''stlal''stlan''werks' etc.
Regards,
collysun
2006 Jan 23 4:35 AM
Hi senthil,
1. I suppose u want to explode the BOM.
2. CS_BOM_EXPLOSION
use the above FM
in the below mentioned fashion.
3.
CALL FUNCTION 'CS_BOM_EXPLOSION'
EXPORTING
capid = 'PP01'
emeng = bmeng
datuv = sy-datum
mtnrv = matnr
stlan = '1'
werks = werks
mehrs = 'X'
IMPORTING
TOPEQUI =
TOPMAT =
TOPTPL =
DSTST =
TABLES
stbd = stbd
stbe = stbe
stbk = stbk
stbm = stbm
stbp = stbp
stbt = stbt
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
missing_authorization = 3
no_bom_found = 4
no_plant_data = 5
no_suitable_bom_found = 6
object_not_found = 7
conversion_error = 8
OTHERS = 9
.
regards,
amit m.
2006 Jan 23 5:09 AM
i am getting output for all material nos like
1000-401007-000
POWER 1000-401007
but if the material no contains dot(like GK02PB.05SBIS) it will not return any output.
2006 Jan 23 5:14 AM
Hi again,
1. It contains . (dot)
2. In this case,
just check out in actual table,
if there is some space, any other character
in between.
(copy paste from the table record,
and paste in ur program / fm while testing)
3. Also try with the full / all characters
ie. if they are padded with zeroes,
000000000GK02PB.05SBIS.
regards,
amit .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |