08-05-2009 12:56 PM
Hi,
i have creat a ausgabefield in a screen painter whose name is va_mailadr. Then in my codes:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1200*.
*
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1200.
**********************************************
MODULE STATUS_1200 OUTPUT.
SET PF-STATUS 'GUI_ST_1200'.
SET TITLEBAR 'GUI_ST_1200'.
perform data_get.
ENDMODULE.
****************************************
FORM DATA_GET .
data: lc_wa_items type zrsbcsin_s.
clear: lc_wa_items.
read table gl_tb_items into lc_wa_items index 1.
VA_MAILADR = lc_wa_items-sndnam.
ENDFORM.
why is there an error? It said that VA_MAILADR is unknown.
thanks in advance
08-05-2009 12:59 PM
U need to declare it in ur module pool program too with the same name and type.
Regards,
Lakshman.
08-05-2009 12:59 PM
U need to declare it in ur module pool program too with the same name and type.
Regards,
Lakshman.
08-05-2009 1:01 PM
08-05-2009 1:04 PM
Hi,
You can create a module pool program in SE80(Object Navigator) or in SE38 while creating a program you have to select program type as Module Pool.
Thanks,
Sri.
08-05-2009 1:02 PM
Hi,
Declare it in the TOP INCLUDE.
DATA : va_mailadr TYPE lc_wa_items-sndnam.
Thanks,
Sri.
08-05-2009 1:03 PM