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

IMPLEMENTING GUI SATUS FOR THE LIST

Former Member
0 Likes
508

HI

I am a newbie to ABAP and netweaver.

I am currently studying BC400 and doing exercise 17.

Unfortunately the whole explanation of how to add or remove functionaly from

buttons (Save for instance) is very lacking.

Can someone refer me to a better source/tutorial that explains

how SET PF-STATUS 'LIST'

is implemented?

Thanks

yuval

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
487

Hi,

Use the F1 help provided by SAP. Its really good.

Press F1 on SET, you will get a pop up. Select the appropriate keyword and the respective documentation will open up.

Reward points if the answer is helpful.

Regards,

Mukul

3 REPLIES 3
Read only

Former Member
0 Likes
488

Hi,

Use the F1 help provided by SAP. Its really good.

Press F1 on SET, you will get a pop up. Select the appropriate keyword and the respective documentation will open up.

Reward points if the answer is helpful.

Regards,

Mukul

Read only

Former Member
0 Likes
487
Read only

Former Member
0 Likes
487

Hi,

The below one i copied from the web ..

You set the dialog status for lists in the same way as for normal screens, that is, using the statement

SET PF-STATUS <stat> [EXCLUDING <f>|<itab>]

[OF PROGRAM <prog>]

[IMMEDIATELY].

This statement sets the status <stat> for the current output list. The dialog status <stat> must be defined for the current program, unless you have used the OF PROGRAM addition to set a status from another program <prog>. The status is active for all subsequent list levels until you set another status. The SY-PFKEY system field always contains the status of the current list.

Using SET PF-STATUS, you can display different user interfaces for different list levels to provide the user with different functions according to the individual requirements. Use SET PF-STATUS SPACE to set the standard list status. This depends on the event blocks in the program, as described above.

The EXCLUDING option allows you to change the appearance and available functions of a status from within the program. This is useful if the individual user interfaces for a range of list levels are very similar. You can define a single global status, and then just deactivate the functions you do not need using EXCLUDING. Specify <f> to deactivate the function code stored in field <f>. Specify <itab> to deactivate all function codes stored in the internal table <itab>. Field <f> and the lines of table <itab> should be defined with reference to the system field SY-UCOMM.

The IMMEDIATELY addition is intended specially for list processing. You use it while creating a detail list within an event block to change the status of the list currently displayed (index SY-LISTI). Without this option, the system changes the status of the current secondary list (SY-LSIND) that is displayed only at the end of the processing block.

Regards

Sudheer