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: 

Leave to list processing

Former Member
0 Kudos

Hi

First i am creating a header data ALV grid display with a custom button in application toolbar,at user command if i clicked that custom button, it is going to item level diasply leave to list processing by setting the pf-status and a custom button(normal button type) in that application toolbar .

here i am getting the problem.

My requirement is if i click the button at item level again it has to go to the leave to list processing where it shows scheduled line items.

but when i press the button at item level list , it is not showing anything,no error message,no dumps.

Diagrammatically i will show.

*screen -


to--


>leave to list-processing
to
--


>leave to list-processing

(grid display) (pres button)--


(press button)--


> (not getting this list)

It is like navigation,but here i am navigating through alv grid so we cant use events.

Can any one help me on this.

Thanks

Edited by: sukshith on Aug 1, 2011 3:23 PM

Edited by: sukshith on Aug 1, 2011 3:23 PM

Edited by: sukshith on Aug 1, 2011 3:25 PM

Edited by: sukshith on Aug 1, 2011 3:26 PM

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
0 Kudos

Hi Sukshith,

to use this ABAP statement, you should define a new dummy dynpro 1111, with the following code in the PBO module, and call the dynpro/list using CALL SCREEN 1111:


MODULE pbo_1111 OUTPUT.
  WRITE 'hello world'.
  LEAVE TO LIST-PROCESSING.
  SUPPRESS DIALOG.
ENDMODULE.

BR

Sandra

6 REPLIES 6

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

do you want to go back to the previous screen?

try " leave screen"

Former Member
0 Kudos

Hello sukshith ,

It's complex to handle the User actions for the GUI-Ststus that you set using the PF-Status statement.

Sominstead of calling the Gui status you can call a custom screen in the action that you ahve in the main ALV list application toolbar. Then on your custom screen that you are going to call you can handle the user action for that screen and can do whatever you want. This is straight forward and easy to implement.

Hope this answers your question.

Thanks,

Greetson

0 Kudos

Thanks for your answering friend.

But i know that what your saying, but my requirement is not that.

From screen to screen to screen to screen we can call,we can navigate by calling screens.

I am trying to do some like this , is there any chance of doing this.

Thanks once again friend.

Sandra_Rossi
Active Contributor
0 Kudos

Hi Sukshith,

to use this ABAP statement, you should define a new dummy dynpro 1111, with the following code in the PBO module, and call the dynpro/list using CALL SCREEN 1111:


MODULE pbo_1111 OUTPUT.
  WRITE 'hello world'.
  LEAVE TO LIST-PROCESSING.
  SUPPRESS DIALOG.
ENDMODULE.

BR

Sandra

0 Kudos

Hi Sandra.

Thanks for your answer.

I dint try that what you have said. i will try that code and see the result.

Thanks

Sukshith

0 Kudos

Hi,

Do what sandra suggested.

Many thanks

Regards,

Kiran