Application Development and Automation 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: 
Read only

Dynproprogram: Screen painter

Former Member
0 Likes
671

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
Read only

former_member209217
Active Contributor
0 Likes
643

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

Regards,

Lakshman.

5 REPLIES 5
Read only

former_member209217
Active Contributor
0 Likes
645

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

Regards,

Lakshman.

Read only

0 Likes
643

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

Read only

0 Likes
643

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.

Read only

sridhar_meesala
Active Contributor
0 Likes
643

Hi,

Declare it in the TOP INCLUDE.

DATA : va_mailadr TYPE lc_wa_items-sndnam.

Thanks,

Sri.

Read only

0 Likes
643

thanks.