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

GUI status

Former Member
0 Likes
557

Hi Guys,

I need to add my own user command on a classical report without spoil the standard functions that available.

For eg, i want to add user command "Select all", and at the same time the standard function like "Print" should works as normal.

Pls comment.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
531

hi,

what u can do is copy any standard available gui status in u r program

then using that change certain functionalities of buttons by going into that gui status u can add u r own buttons to the newly created gui status

in u r code

AT USER-COMMAND.

CASE SY-UCOMM.

-


ENDCASE.

4 REPLIES 4
Read only

Former Member
0 Likes
531

Hi,

You can create your own GUI status from the Program.

SET PF-STATUS 'AAA'.

Double click on AAA and create your own status with different fields. and Activate it. and write the related code for those icons/buttons in the program it will work.

Regards,

Anji

Read only

Former Member
0 Likes
531

Go to

On selection screen OUTPUT

event, write

Set PF-Status 'G001'.

Dousble Click ib G001 and this wil create a new GUI status, add 'Select all' button.

Regarding your worry that standr Print button will work or not. it will work unless you dont want it to!

Sandeep

Read only

Former Member
0 Likes
531

use

set pf-status 'STATUS'.

double click on status and add ur own button

Also give F-codes to all the standard buttons , EXIT , CANCEL, SAVE...

All of them gets activated along with ur own button

Read only

Former Member
0 Likes
532

hi,

what u can do is copy any standard available gui status in u r program

then using that change certain functionalities of buttons by going into that gui status u can add u r own buttons to the newly created gui status

in u r code

AT USER-COMMAND.

CASE SY-UCOMM.

-


ENDCASE.