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

PF-STATUS Standard

Former Member
0 Likes
3,316

Hello,

I need to do the following:

In a program I have developed I need to add two buttons, wich I already have added, creating a PF-STATUS. What is happening is that I have lost the functionality of the other buttons (back, save variant, cancel, print etc). I know that I can copy a standard pf-status from another development, but I dont know which one to choose.... and use them with out any programming. any ideas??

10nks!!

Gabriel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,404

Hi,

I believe it is selection-screen right??

For adding buttons to the selection screen application toolbar..You can use Function key..

Ex..



TABLES: sscrfields.

PARAMETERS: p_matnr TYPE matnr.

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.
  MOVE 'My text' TO sscrfields-functxt_01.

Thanks,

Naren

7 REPLIES 7
Read only

Former Member
0 Likes
1,404

Hi,

Is it an ALV program?If so did you copy the STANDARD status in SE41..

Thanks,

Naren

Read only

0 Likes
1,404

Hello,

Nop, it is not an ALV, Its an upload Program.

10nks

Gabriel

Read only

Former Member
0 Likes
1,404

what was the pf status of the program, before you attached ur pf status ? (to find that..in the report output display screen, goto system--> status...)/. it can be name slike 'MAIN' or 'PICK' or standard..etc depending on what type of report u are using..

copy this same pf status... and add your buttons..

Read only

Former Member
0 Likes
1,405

Hi,

I believe it is selection-screen right??

For adding buttons to the selection screen application toolbar..You can use Function key..

Ex..



TABLES: sscrfields.

PARAMETERS: p_matnr TYPE matnr.

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.
  MOVE 'My text' TO sscrfields-functxt_01.

Thanks,

Naren

Read only

0 Likes
1,404

Hello,

Thaks for you answer, it is very helpful, but how do I take the event after the user click on the button?

Gabriel

Read only

0 Likes
1,404

GOTO SE41 Transaction,enter ur program and status also.

click on copy Status.Now you will get one pop up window.

From program : Use SAP Standard : SAPLSLVC_FULLSCREEN

Status : STANDARD_FULLSCREEN

To : your program

status : ur status

Now you will get everything and add ur push buttons now.

Reward Points if it is useful

Thanks

Seshu

Read only

Former Member
0 Likes
1,404

Hi,

you can handle it in the AT SELECTION-SCREEN event..

Ex..


AT SELECTION-SCREEN.

  IF sscrfields-ucomm = 'FC01'.

** Do you coding here..
  ENDIF.

Thanks,

Naren