12-05-2007 5:49 AM
Hey guys,
I have created a transaction which would call up a screen upon its execution.
the code for declared in the program is : CALL SCREEN '0103' STARTING AT 30 5 ENDING AT 70 13.
But the screen occupies the whole screen, instead of only using the specified size of the screen.
Please let me know where did i go wrong.
Thanks!
Mark
12-05-2007 5:51 AM
12-05-2007 5:55 AM
12-05-2007 5:56 AM
12-05-2007 5:56 AM
Hi,
Refr this
You can use the technique shown in the example below to insert a window containing a list during a dialog (see CALL SCREEN).
Example
Display a list as a modal dialog box:
CALL SCREEN 100. "Screen of modal dialog box type
STARTING AT 10 10 "... can be started as
ENDING at 60 15. "... separate window with
"... these additions
In the flow logic of the screen 100, the processing branches to list processing in the PBO (Process Before Output) module (see LEAVE TO LIST-PROCESSING).
Flow logic:
PROCESS BEFORE OUTPUT.
MODULE LIST.
Program:
MODULE LIST OUTPUT.
LEAVE TO LIST-PROCESSING
AND RETURN TO SCREEN 0.
PERFORM OUTPUT. "Output list
LEAVE SCREEN.
ENDMODULE.
Regards,
Prashant