2007 Jan 31 1:31 PM
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
2007 Jan 31 1:40 PM
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
2007 Jan 31 1:40 PM
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
2007 Jan 31 1:51 PM
chk this SAP help link
http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm
goto help.sap.com for more info
2007 Jan 31 1:54 PM
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