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 of FBL5N report

Former Member
0 Kudos

Hi Friends,

I have to add new pushbuttons in the application tool bar of standard FBL5N report output. For that i have copied FBL5N into ZFBL5N and also copied status 'ALV_ITEMS_AR' into 'ZALV_ITEMS_AR'

and copied the function 'FI_ITEMS_DISPLAY' into 'ZFI_ITEMS_DISPLAY'. I have added the required pushbuttons in the status 'ZALV_ITEMS_AR' with existing pushbuttons but i could not able to see those

in the report output. Even i am not able to see the standard pushbutton 'Dispute case' in this Z report output. For standard in debugging i have checked the push code for this button it is showing like

sy-ucomm = +CUS05

sy-pfkey = ALV_ITEMS_AR

but i am not able to see anything with description 'Dispute case' in SE41 for the same pf status, i am able to see the description 'List_items05' against same user command.

Please guide me how to create new pushbuttons in the copied report and how to display that Dispute case pushbutton like standard in the Z report output.

Thanks a lot in advance.

3 REPLIES 3

hadiman_ngoei
Participant
0 Kudos

Hi Ramesh,

Check out in the FM 'FI_ITEMS_DISPLAY', the report name is being hardcoded there. You might need to change this.

Thanks & regards,

Hadiman Ngoei

Former Member
0 Kudos

the buttons are defined in pf-status ALV_ITEMS_AR.

Former Member
0 Kudos

Hello,

How many button do you have to add? Cause if you want to add only two specifics buttons you should use BADI :

FI_ITEMS_MENUE01 and FI_ITEMS_MENUE02.

With BADI FI_ITEMS_MENUE03 you just can add specific entries in the menu.

Inside BADI FI_ITEMS_MENUE01implement method LIST_ITEMS01 with your ABAP code (USER_COMMAND) and don't forget to switch to "Fcodes" tab to add function text (button text).

If you don't add a function text, the button or menu entrie will not be displayed.

I hope it's helping you.

Mathieu