‎2010 Mar 18 3:31 PM
Hi All,
I have created one screen (100) with some output fields and I created the structure for these fields and filled the data into structure. I am getting the data into the structure and not able to display in the screen output.
Am I missing anything.
Regards
Ramesh.
‎2010 Mar 18 4:06 PM
hi,
Whether your screen fields and structure fields are having same name. Just check it.
‎2010 Mar 18 4:08 PM
Ramesh,
For example, on Screen 100 you have 2 Field I/O with name TAB_1-TRY1 and TAB_1-TRY2.
In global data of your program/include, you should declare this:
DATA: BEGIN OF TAB_1 OCCURS 0,
TRY1 TYPE STRING,
TRY2 TYPE STRING,
END OF TAB_1.
In the PBO of screen 100 you should create a module ex.: MODULE FILL_FIELDS with the code
MOVE 'THIS IS A TRY' TO TAB_1-TRY1.
MOVE 'THIS IS A TRY2' TO TAB_1-TRY2.
APPEND TAB_1.
READ TABLE TAB_1 INDEX 1. <- The Header line shoul be filled, or you can declare TAB_1 "like line of"
Regards,
Angelo.
‎2010 Mar 18 5:39 PM