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: 

screen issue, need help!

Former Member
0 Kudos

hi, all

here is my technical requirement: in report A , let's say report "call screen" , i called a screen using

"call screen 0100." and in the called screen "0100" i want to display something using WRITE statement. how should i do that?

thanks a lot in advance.

1 ACCEPTED SOLUTION

peter_ruiz2
Active Contributor
0 Kudos

hi,

use this code before the write statement.

LEAVE TO LIST-PROCESSING.

regards,

Peter

13 REPLIES 13

peter_ruiz2
Active Contributor
0 Kudos

hi,

use this code before the write statement.

LEAVE TO LIST-PROCESSING.

regards,

Peter

0 Kudos

hi, peter

you mean in the pbo module of the called screen 0100,

like this:


module pbo_0100 output.
          leave to list-processing.
          write: / 'Hello'.
endmodule.

actually , can you give a sample code here. thanks.

0 Kudos

Hi Liu,

yes, that should do it.

regards,

Peter

0 Kudos

hi, peter

i have tryed , but it seems dose not work.

nothing appears in the called screen.

0 Kudos

Hi Liu,

try any of the following:

LEAVE TRANSACTION TO LIST-PROCESSING

LEAVE SCREEN TO LIST-PROCESSING

regards,

Peter

0 Kudos

peter,

none of them is working.

Former Member
0 Kudos

Hi, David, On normal screen that you created in report or dialog prgram, you can not used statement 'WRITE'. If you want to show some texts on the screen, please add text box on the screen, and specific the text content in the PBO of screen.

Former Member
0 Kudos

Hi David,

Have you tried initializing the values that you want to display with in PBO.

There might be no specific write statement needed to display the values.

Suppose if i want to display todays date in the screen means no need to use write statement directly input as shown.

In PBO

ZEMPDETAILS-DATE = SY-DATUM.

ZEMPDETAILS-PERID= 'SAP1035'.

In the above statements in the input text box of name ZEMPDETAILS-DATE i am displaying the date value. And in the other employee id.

Like wise whatever values that u want to display initialize in PBO will work.

Cheers!!

Balu

Edited by: Balu CH on Oct 20, 2008 8:19 AM

0 Kudos

hi, Balu CH

the data is fine. but still not display output.

0 Kudos

hi, all

here is my demo report:


REPORT  ZDAVID_LIST_PROCESSING.

call screen 100.

module pbo_100 output.

leave to list-processing.
      write: / 'Hello'.
leave list-processing.

endmodule.

module pai_100 input.
    leave program.
endmodule.

dose this gonna work to display "Hello" in the called screen.

0 Kudos

Hi,

LEAVE LIST-PROCESSING at the end of the PBO will exit the screen where the WRITE statement occured that is why there are no text being displayed.

LEAVE PROGRAM on PAI without any conditions on which pushbutton was pushed will immediately exit your program without displaying your screen.

regards,

Peter

0 Kudos

hi, all

i figured it out.

if i use leave to list-processing, all the what i "WRITE" is still display in the report, not the called screen.

0 Kudos

Hi David,

Try LEAVE LIST-PROCESSING statement