Application Development 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: 

First screen of transaction

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

use modal dialog box

0 Kudos

I'm actually using modal dialog box.

Former Member
0 Kudos

hey mark,

i am getting it right man

former_member386202
Active Contributor
0 Kudos

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