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

list processing and PF status.

Former Member
0 Likes
1,051

Hi Team ABAP,

i got a problem in List processing.

I´m in a dypro with a table control on it. Users can mark one or more ALV lines and then e.G. press "process".

Something gets done then (some forms get printed), and after that i want to display a protocol.

First i tried to process a simple write list by using WRITE statement.

Coding got processed, but it had no effect, no write list was generated, or at least not shown on my screen.

So i tried to code a "LEAVE TO LIST PROCESSING" right before my first WRITE statement.

Well, now it works my write list is on Screen. But here start the Problem. Like i got told in the ducomentation of the LEAVE TO LIST PROCESSING statement the WRITE list gets processed with the actual active PF status from the dynpro where i came from.

1. This is quite uncool, since i do not need those Buttons in my List.

2. Even if it was ok, those buttons are not working. Typing /h in OK_CODE field and pressing ENTER doesnt help it. When after that i click a button, nothing happens, such as if i didnt click them.

I searched the forum, but i got drowned in thousands of "interactive list" threads and wasnt able to find my required info in an acceptable time of 30 minutes.

Did i do a essential error? Someone got an Idea where i´m stuck or a proposal on how to improve?

Any Help or tip will be welcome and rewared accordingly.

regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
650

Hi Florian,

Try if you can display the list in ALV where you can maintain the pf-status.

You can check the demo program DEMO_LEAVE_TO_LIST_PROCESSING. In this, it is setting set pf-status to space.

Hope it helps.

Sujay

3 REPLIES 3
Read only

Former Member
0 Likes
651

Hi Florian,

Try if you can display the list in ALV where you can maintain the pf-status.

You can check the demo program DEMO_LEAVE_TO_LIST_PROCESSING. In this, it is setting set pf-status to space.

Hope it helps.

Sujay

Read only

0 Likes
650

Hello,

After leave to list processing ,

SET PF-STATUS to what you want ,

May be it will work .

Regards,

Kumar

Read only

0 Likes
650

thank you guys.

setting an own PF status didnt really work out, setting PF status SPACE worked.