09-30-2008 7:01 AM
Hi Experts,
I am having a ALV output screen in which I have to place an execute button(push button) so that it will process for the next screen for the selected records..Is it possible to place a Push button on the output screen, kindly let me know.
Thanks and Regards,
09-30-2008 7:25 AM
hi,
copy a standard report pfstatus into zpfstatus. and open this using se41.
Just add a button wat ever you want.
Now use this in your report at set pf-status.
and include this code as followed.
I_CALLBACK_PF_STATUS_SET = 'ZSHAN'
after this FM.
form ZSHAN USING ZTAB TYPE SLIS_T_EXTAB.
set pf-status 'ZSHAN1'.
endform.
ZSHAN1 here u specify your pfstatus name which u created.
Regards,
Shankar.
09-30-2008 7:07 AM
09-30-2008 7:11 AM
hi..
check this out..
/thread/353390 [original link is broken]
http://saptechnical.com/Tutorials/ALV/Toolbar/buttons.htm
and search within the forum, u'l find many..
happy searching..
regards,
padma
Edited by: Padmashree RamMaghenthar on Sep 30, 2008 11:42 AM
09-30-2008 7:15 AM
Hi Urmila,
If u r using ALV using OOPs then definitely it is possible. But not sure of ALV using FMs.
In case of oops create a screen with one container and ur push buttons. Assgin ur grid to the container.
In PAI module of the screen handle the usercommand processing.
SDN can provide 100s of sample codes on oops alv. Even standard SAP has sample programs.
Thanks,
Vinod.
09-30-2008 7:15 AM
hai,
it is possible to palce an push button in output screen through alv oops..
otherwise u can have push button in apllication screen itself(normal alv).
shan.
09-30-2008 7:18 AM
Hi,
I hope the below link will help you.
http://abapreports.blogspot.com/2008/06/push-button-on-alv-grid-output-sample.html
Thanks,
Khushboo.
09-30-2008 7:25 AM
hi,
copy a standard report pfstatus into zpfstatus. and open this using se41.
Just add a button wat ever you want.
Now use this in your report at set pf-status.
and include this code as followed.
I_CALLBACK_PF_STATUS_SET = 'ZSHAN'
after this FM.
form ZSHAN USING ZTAB TYPE SLIS_T_EXTAB.
set pf-status 'ZSHAN1'.
endform.
ZSHAN1 here u specify your pfstatus name which u created.
Regards,
Shankar.
09-30-2008 1:42 PM