10-01-2007 6:13 PM
MESSAGE i888(sabapdocu) DISPLAY LIKE 'E' WITH wa_items-meins text-006.
In debugger the following are the values
wa_items-meins = 'LJ'
text-006 - No such UOM exists
But when the message is displayed it appears as **** No such UOM exists
Any ideas why this is happening?
10-01-2007 6:32 PM
The data type MEINS is UNIT. This doesn't assign the content to a character field properly. Create a new variable as shown below and that should work for you.
data lv_text(3) type c.
wa_items-meins = 'LJ'
lv_text = wa_items-meins.
MESSAGE i888(sabapdocu) DISPLAY LIKE 'E' WITH lv_text text-006.
Thanks,
Kyle
10-01-2007 6:32 PM
The data type MEINS is UNIT. This doesn't assign the content to a character field properly. Create a new variable as shown below and that should work for you.
data lv_text(3) type c.
wa_items-meins = 'LJ'
lv_text = wa_items-meins.
MESSAGE i888(sabapdocu) DISPLAY LIKE 'E' WITH lv_text text-006.
Thanks,
Kyle
10-01-2007 6:34 PM
Are you using this command in CONTROL BREAK statements? I feel that in any Control break event (AT NEW), READ statement is not performed so there is no value in WA_ITEMS-MEINS so you are getting ****.