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

how to comments?

Former Member
0 Likes
474

Hello I have the follwing code:

SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE tit1.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) text-100.

PARAMETERS: p_code LIKE zmmforms-form_code.

SELECTION-SCREEN COMMENT 30(40) text FOR FIELD p_code .

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK sel1.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_code.

CALL FUNCTION 'ZMATHCODE_FORMNAME'

IMPORTING

form_code = p_code

form_name = p_name

  • FORM_TYPE =

.

text = p_name.

It works perfect, but the value on text (wich is a comment) doesnt update until I hit enter, how can I update the value directly after the FM Call? and show it into the screen?

10xs,

Gabriel P.

Full points will be rewarded.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
418

After

text = p_name.

just add

CALL SCREEN 1000. and voila your work is done.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
418

Hi Gabriel,

To trigger anything or to perform anything you need to generate an event.

So, unless any event will not get generated, you cannot update these values.

Regards,

Amit

Read only

Former Member
0 Likes
419

After

text = p_name.

just add

CALL SCREEN 1000. and voila your work is done.

Read only

0 Likes
418

Hello Kunal,

I tried what you said but the other fields i have for selection screen disapired!! how can i Fix it? any ideas?

10xs for your help!!

Gabriel P.