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: 

Copy standard program of FBL5N and made changes in ALV

Former Member
0 Kudos
179

I have to copy the standard program and add a button in ALV toolbar.

and for OKCODE of that button i have to code for Excel Download of the List output...

333 program RFITEMAR

FM is FI_ITEMS_DISPLAY

Please help if someone has already done it or give idea

Thanks in Advance

Regards

1 REPLY 1

Former Member
0 Kudos
60

Hi Madan,

If ur output is ALV, It will have an option to downlod data to excel file. There is no need to do it again.

If u have the requirement anyhow, just do the following.

set pf-status. (set a button in menu painter).

(write code at case sy-ucommand b'coz this is existing program)

when 'EXCEL'.

call function WS_EXCEL.

(pass itab which u wnat to download)

U have to take care while doing changes in standard programs even u copied it.

Regards,

Subbu