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

Pushbutton on ALV output .

Former Member
0 Likes
1,014

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
Read only

Former Member
0 Likes
774

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
Read only

Former Member
0 Likes
773

Hi,

Any inputs.

Thanks and Regards,

Ur.

Read only

0 Likes
773

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

Read only

vinod_vemuru2
Active Contributor
0 Likes
773

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.

Read only

Former Member
0 Likes
773

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.

Read only

Former Member
0 Likes
773

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.

Read only

Former Member
0 Likes
775

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.

Read only

Former Member
0 Likes
773

Hi,

Please refer the similar posting in the link below:

Regards

Srinivas