Application Development 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: 

Pushbutton on ALV output .

Former Member
0 Kudos

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,

1 ACCEPTED SOLUTION

former_member182426
Active Contributor
0 Kudos

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.

7 REPLIES 7

Former Member
0 Kudos

Hi,

Any inputs.

Thanks and Regards,

Ur.

0 Kudos

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

vinod_vemuru2
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

former_member182426
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

Please refer the similar posting in the link below:

Regards

Srinivas