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

LEAVE TO LIST PROCESSING

antonio_sanseverino
Participant
0 Likes
891

Hi all!

I have a report with some buttons on the main screen, when I click on one of that I've to write a list with "Write" Statement.

I use LEAVE TO LIST PROCESSING when I have to write my list but after I can't return on my dynpro when I push on button BACK.

Buttons on my status bar doesn't work and I need to came back on my main dynpro

How can I resolve this problem?

Thanks

Edited by: Aristoteles92 on Jan 15, 2010 1:02 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
770

Hi ,

In your Screen event Pocess After Input , in module "AT usercommand" you need to write the logi like -

CASE SY-UCOMM.
  WHEN 'BACK'.
  LEAVE TO SCREEN 0.
  .
  .
ENDCASE.

Regards

Pinaki

7 REPLIES 7
Read only

Former Member
0 Likes
771

Hi ,

In your Screen event Pocess After Input , in module "AT usercommand" you need to write the logi like -

CASE SY-UCOMM.
  WHEN 'BACK'.
  LEAVE TO SCREEN 0.
  .
  .
ENDCASE.

Regards

Pinaki

Read only

Former Member
0 Likes
770

Hi,

Try using:

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN.

Read only

0 Likes
770

Sorry... It doesn't work

I have...

AT SELECTION-SCREEN

CASE SY-UCOMM.

WHEN PRINT.

LEAVE TO LIST-PROCESSING.

PERFORM WITH WRITE.

WHEN OTHERS.

ENDCASE.

I can see my list but the status bar seems to be inactive

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
770

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0

Read only

0 Likes
770

Sorry... It doesn't work

I have...

AT SELECTION-SCREEN

CASE SY-UCOMM.

WHEN PRINT.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

PERFORM WITH WRITE.

WHEN OTHERS.

ENDCASE.

Sorry but it doesn't work

Read only

0 Likes
770

Dear Aristoteles92 ,

u have a small mistake jus small change in ur Code

>

> Sorry... It doesn't work

>

> I have...

>

> AT SELECTION-SCREEN

>

> CASE SY-UCOMM.

> WHEN PRINT.

> LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

> PERFORM WITH WRITE.

>

> WHEN OTHERS.

> ENDCASE.

>

> Sorry but it doesn't work

AT SELECTION-SCREEN

CASE SY-UCOMM.
WHEN PRINT.
PERFORM WITH WRITE.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

WHEN OTHERS.
ENDCASE.

Thanks

Surendra P

Read only

0 Likes
770

Thank all of you...

I need The USER-COMMAND

AT USER-COMMAND.

CASE SY-UCOMM.

WHEN 'BACK'.

LEAVE TO SCREEN 0.

.

.

ENDCASE.

It works!!