Application Development 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: 

Dynproprogram: Screen painter

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member209217
Active Contributor
0 Kudos

U need to declare it in ur module pool program too with the same name and type.

Regards,

Lakshman.

5 REPLIES 5

former_member209217
Active Contributor
0 Kudos

U need to declare it in ur module pool program too with the same name and type.

Regards,

Lakshman.

0 Kudos

thanks, can you explain clearly ? Where is modul pool program?

0 Kudos

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.

sridhar_meesala
Active Contributor
0 Kudos

Hi,

Declare it in the TOP INCLUDE.

DATA : va_mailadr TYPE lc_wa_items-sndnam.

Thanks,

Sri.

0 Kudos

thanks.