11-03-2010 10:47 AM
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
11-03-2010 11:19 AM
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.
11-03-2010 11:03 AM
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?
11-03-2010 11:05 AM
I use Call Screen.
Yes, i set the pf-status in PBO of the second screen.
Any help?
Thank you!
11-03-2010 11:11 AM
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!
11-03-2010 11:11 AM
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...
11-03-2010 11:18 AM
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!
11-03-2010 11:19 AM
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.
11-03-2010 11:26 AM