Skip to Content
0
Former Member
Feb 06, 2014 at 10:03 AM

Type conflict error for FM CS_BOM_EXPL_MAT_V2

67 Views

Dear Expert,

I have a problem in obtain the result data from FM CS_BOM_EXPL_MAT_V2,

How could i solve the folloiwng issue based on my code?

  • : Type conflict during structure parameter transfer at CALL FUNCTION

DATA : stb type table of stpox.

DATA: matcat type table of CSCMAT .

DATA: topmat type CSTMAT.

DATA: dstst_flg type CSDATA-XFELD.

DATA: valid_date type datum.

DATA: MATNR type MATNR.

DATA: WERKS type WERKS.

MATNR = '000-A0000-B00-C00'.

WERKS = '1234'.

VALID_DATE = sy-datum.

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

auskz = ' '

capid = 'PP01'

datuv = valid_date

emeng = '1.000'

stlan = '1'

mtnrv = matnr

mehrs = 'X'

mmory = '1'

stpst = '0'

werks = werks

IMPORTING

topmat = topmat

" dstst = dstst_flg

TABLES

stb = stb

matcat = matcat

EXCEPTIONS

material_not_found = 4

no_plant_data = 8

no_bom_found = 12

no_suitable_bom_found = 16.

BR - Chris