‎2007 May 15 12:02 PM
Hi all,
i've designed a selection screen in module pool and based on some selction criteria i've to display success and error records.These records should be displayed in the form of list output.
As i'm using module pool i've used LEAVE TO LIST-PROCESSING for displaying these records.As i've designed selection screen the application tool bars are appearing here on the list and no tool bar icon is functioning even though i've declared them in PF STATUS.
Now when i double click on list it has to take me to some t-code say SM35.Where should i write this AT LINE-SELECTION event?
...Regards
‎2007 May 15 1:26 PM
use suppress dialog syntax also.
for more information refer thi sprogram.
DEMO_LEAVE_TO_LIST_PROCESSING
‎2007 May 15 12:50 PM
Hi Premraj,
Insted of Leave to list-processing; do write submit to report REPORTNAME. This will come with the standard status bar of the report.
Now you want to write AT LINE-SELECTION. That you write in the report REPORTNAME.
Hope this will help you,
DARSHAN
<i>** Pl. Reward points and motivate</i>
‎2007 May 15 1:19 PM
Hai,,
You keep the AT-LINE SELECTION in the last only...
For Leave To List Processing ,you will try the following ..
IF SY-UCOMM = 'Your Fn_Code'.
LEAVE SCREEN.
LEAVE TO LIST-PROCESSING.
SELECT * FROM ZTable INTO TABLE ITAB.
LOOP AT ITAB.
WRITE:/ ITAB-ITEMNO.
ENDLOOP.
ENDIF.
Try this ..it will be useful to you..I hope..
reward points if it's useful..
Regards,
Manoj.
‎2007 May 15 1:25 PM
Hi,
PF STATUS should be the in first stamtment in the PBO event, so that the pf status will be appear in the screen, and
LEAVE TO LIST-PROCESSING shoulb in the PAI event, you can write anywhere in the PAI event, so the list will be generated with this Statment.
Instead of AT LINE-SELECTION, write the code in the PAI event, so that it will trigger that Sm35
Regards
Sudheer
‎2007 May 15 1:26 PM
use suppress dialog syntax also.
for more information refer thi sprogram.
DEMO_LEAVE_TO_LIST_PROCESSING
‎2007 May 15 2:39 PM
Hi,
You can use at line-selection in module pool to handle list proceesing event.
Give the AT LINE-SELECTION command After the "Program" statement in you module pool program.
Eg:
PROGRAM <program name>.
AT LINE-SELECTION.
if SY-LSIND = 1.
<do some thing>
Endif.