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

Status problem

Former Member
0 Likes
808

Hello,

I have made a program that calls a dynpro and after that I need to show some data with WRITE sentence in other screen.

All seem to be right, but when the program is in the second screen, it shows me the first screen status and standar buttons (green ballon, yellow ballon and red ballon) don´t work.

How can i do to set the standar status in second screen?

Thank you!

Moderator message: please use more descriptive subject lines from now on.

Edited by: Thomas Zloch on Nov 3, 2010 12:35 PM

1 ACCEPTED SOLUTION
Read only

roberto_vacca2
Active Contributor
0 Likes
775

Now is more clear...

If you're using suppres dialog I think you're going to put off screen functions.. So I think you should try this kind of sequence

SUPPRESS DIALOG.

SET PF-STATUS space.

WRITE 'What you want'.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

*The problem is that I have a sentence called "suppress dialog". This is for be enable to write in screen with WRITE sentence.

*

*An this sentence makes that all dialog actions does not work. If I don´t use the Suppress Dialog sentence, the WRITE sentence *will not work.

7 REPLIES 7
Read only

roberto_vacca2
Active Contributor
0 Likes
775

What instruction did you use when you pass from the first screen to the second one?

CALL SCREEN or SET SCREEN?

Did you SET PFSTATUS in the second-screen's PBO?

Read only

Former Member
0 Likes
775

I use Call Screen.

Yes, i set the pf-status in PBO of the second screen.

Any help?

Thank you!

Read only

Former Member
0 Likes
775

The problem is that I have a sentence called "suppress dialog". This is for be enable to write in screen with WRITE sentence.

An this sentence makes that all dialog actions does not work. If I don´t use the Suppress Dialog sentence, the WRITE sentence will not work.

Any help?

Thanks!

Read only

roberto_vacca2
Active Contributor
0 Likes
775

SET PF-STATUS create a new STATUS with a new manage to Make in the PAI.

So.. If you would like to have the same status for both screen you have only to set pf-status one time in the first screen, and to manage input ok-code in both PAI..

If you want different PF-STATUS you have to create 2 STatus-BAR with 2 SET PF-STATUS and 2 manager command in the PAI...

Be-sure to activate all status bar if you are going to create more than one...

Read only

Former Member
0 Likes
775

Yes, I have checked all you have said, but I need to use WRITE sentence in second screen. If I don´t use the "suppress dialog", the program does not write nothing.

Example: Selection screen.

First Screen: Dynpro.

Second Screen: Screen made with WRITE.

If I don´t set the suppress dialog, the WRITE of the second screen does not work and the screen is blank.

Thanks!

Read only

roberto_vacca2
Active Contributor
0 Likes
776

Now is more clear...

If you're using suppres dialog I think you're going to put off screen functions.. So I think you should try this kind of sequence

SUPPRESS DIALOG.

SET PF-STATUS space.

WRITE 'What you want'.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

*The problem is that I have a sentence called "suppress dialog". This is for be enable to write in screen with WRITE sentence.

*

*An this sentence makes that all dialog actions does not work. If I don´t use the Suppress Dialog sentence, the WRITE sentence *will not work.

Read only

Former Member
0 Likes
775

Great Roberto!

You are a Master!

Thank you very much!