Skip to Content
0
Mar 09, 2009 at 12:50 PM

Method IF_EX_MB_MIGO_BADI~LINE_MODIFY

281 Views

Hi,

I'm trying to concatenate material description and size using method as you can see above.

Below is my code:

data: p_groes type mara-groes.

data: p_maktx type makt-maktx.

data: p_matnr type GOITEM-matnr.

select single groes into p_groes

from mara

where matnr = cs_goitem-matnr.

select single maktx into p_maktx

from makt

where matnr = cs_goitem-matnr

and spras = sy-langu.

concatenate p_maktx p_groes into cs_goitem-maktx SEPARATED BY space.

Everything works fine via MIGO, cs_goitem-maktx consist what I expect, but it is not displayed in the field.

Should I use different method in order to save the data ?

Stefan