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: 

PF-STATUS Standard

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Thanks,

Naren

0 Kudos

Hello,

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

10nks

Gabriel

Former Member
0 Kudos

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..

Former Member
0 Kudos

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

0 Kudos

Hello,

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

Gabriel

0 Kudos

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

Former Member
0 Kudos

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