Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BOM: Problem using CS_BOM_EXPL_MAT_V2 - URGENT!!!

srajendran
Explorer
0 Likes
824

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

4 REPLIES 4
Read only

com_2018
Participant
0 Likes
707

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

Read only

Former Member
0 Likes
707

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.

Read only

0 Likes
707

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.

Read only

0 Likes
707

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 .