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

CALLING SCREEN

Former Member
0 Likes
481

I AM MAKING A DIALOG PROGRAM.

FROM MY SCREEN 5000,

I WANT TO GO REPORT LIST WHERE I CAN SEE REPORT.

THEN I WANT TO SET ONE PUSH BUTTON ON REPORT SCREEN AND AFTER PRESSING I WANT TO CALL AGAIN ANOTHER SCREEN 6000.

HOW TO DO IT ?

3 REPLIES 3
Read only

Former Member
Read only

Former Member
0 Likes
454

You can use LEAVE TO LIST-PROCESSING

From SAP Documentation on LEAVE TO LIST-PROCESSING

PROGRAM demo NO STANDARD PAGE HEADING. 

... 

MODULE call_list OUTPUT. 
  SET PF-STATUS space. 
  WRITE 'Basic List'. 
  LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0. 
  LEAVE SCREEN. 
ENDMODULE. 

TOP-OF-PAGE. 
  WRITE 'Header' COLOR COL_HEADING. 
  ULINE. 

TOP-OF-PAGE DURING LINE-SELECTION. 
  WRITE sy-lsind COLOR COL_HEADING. 
  ULINE. 

AT LINE-SELECTION. 
  WRITE 'Secondary List'. 
  IF sy-lsind = 20. 
    LEAVE LIST-PROCESSING. 
  ENDIF.

Regards

Vijay babu Dudla

Read only

Former Member
0 Likes
454

Hi Kumar,

You can use

create a blank screen

call the blank screen from the layout..

In the pbo of the blank screen use....

suppress dialog

lelave to list-processing and return to screen 0.

suppress dialog is used to suppress the blank screen that pops-up before the list display is generated.

regards

padma