06-13-2009 4:40 PM
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.
06-15-2009 2:57 AM
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
09-01-2009 2:25 PM
10-05-2009 5:38 PM
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