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

report user interface

Former Member
0 Likes
467

Hi all,

we have a option in menu bar to specific task in standard report.now user wants this option in application bar as push button.

if i include this "Menu bar Fcode" in application bar, will it work the same with out modifying any code.

is there any way to initiate the function code from abap program.

Regards, sri

2 REPLIES 2
Read only

Former Member
0 Likes
423

hi,

You can assign you new Function codes in Application toolbar

by creating SE41.

There an Application toolbar give the name of your function and assign Function code to it .

Save -Check - Activate .

Your user defined application you can see in your output.

Before that you have to assign in the report .

If the normal report .

(at event)

Start-of-selection.

set pf-status 'ZMENU'.

If it is module Pool report .

Process before output.

set pf-status 'ZMENU'.

Process after report.

case sy-ucomm.

Example : (think in application tool bar if you have given EXIT,SAVE as Function

codes).

when 'EXIT'.

Leave program.

when 'SAVE'.

Modify ztable from wa_table.

endcase.

This is the way you can create menu bar according to the customer requirement.

Regards,

Madhavi

Read only

Former Member
0 Likes
423

You can copy this reprt to a zreport and set your application toolbar using SET PF-STATUS.

Eg. SET PF-STATUS '9000'.