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

Call Screen from Standard program

Former Member
0 Likes
1,168

How to Call a screen of a Z Program from an exit in a standard online program...???

Thak's

Flavio Rasseli

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
713

You can do this a number of ways.

In the user exit,

1) use statement CALL TRANSACTION.

2) use statement SUBMIT report.

3) use statement CALL DIALOG.

It all depends on the way the Z program is coded and how you want it to act.

Can you give more details of exactly how you want the process to go.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
713

Your request seems very straightforward. Maybe I am missing something?

If you are calling a report:

SUBMIT [report] AND RETURN

or a screen in a custom program:

Create a transaction that points to your program screen, then use

CALL TRANSACTION [transaction]

Read only

0 Likes
713

Here is a sample program to illistrate.


report zrich_0002.


parameters: p_rad1 radiobutton group grp1 default 'X',
            p_rad2 radiobutton group grp1,
            p_rad3 radiobutton group grp1.


start-of-selection.

  if p_rad1 = 'X'.
    call transaction 'ZITRA'.
  endif.

  if p_rad2 = 'X'.
    call dialog 'ZPROJTRACKADMIN' and skip first screen.
  endif.

  if p_rad3 = 'X'.
    submit zprojtrackrpt via selection-screen  and return.
  endif.

Regards,

Rich Heilman

Read only

0 Likes
713

By the way, you create dialog modules via SE35.

Regards,

Rich Heilman

Read only

0 Likes
713

Hi.

I create dialog modules via SE35 to Call a screen of a Z Program from an exit in a standard online program.

In the standard:

CALL DIALOG 'ZTEST2'

EXPORTING

act_new FROM 'X'.

But the screen is shown in "full screen".

<b>How to show screen with the definition of the position?</b>

Example:

...STARTING AT 2 2

ENDING AT 60 09.

Thank's

Douglas Sant'Ana

Read only

0 Likes
713

?