‎2006 Dec 13 8:49 AM
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.
‎2006 Dec 13 9:13 AM
After
text = p_name.
just add
CALL SCREEN 1000. and voila your work is done.
‎2006 Dec 13 9:00 AM
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
‎2006 Dec 13 9:13 AM
After
text = p_name.
just add
CALL SCREEN 1000. and voila your work is done.
‎2006 Dec 19 2:09 PM
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.