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.

former_member630092
Participant
0 Likes
811

hI ALL

I WANT TO KNOW ABOUT PF-STATUS.

I AM DOING

MODULE STATUS_0100 OUTPUT.

SET PF-STATUS 'STATUS_0100'.

IF SY-UCOMM = 'BACK' OR

SY-UCOMM = 'EXIT' OR.

ENDIF

ENDMODULE.

WHAT SHOULD BE GIVEN IN FUNCTION TYPE

E,S,P,H OR NORMAL .IN MAINTAIN STATUS. SO THAT

WHEN I PRESS BACK IT WILL GO TO PREVIOUS SCREEN.

THANKS.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
778

Hi

PF status is used to design your own MENU,APPLICATION tool BAR and other FUNCTION key's which is required for your own transaction program,

When you wants the facilities like, BACK,CANCEL,PRINT,SAVE etc on your own screen you have to design them in the PF status only

<b>Reward points for useful Answers</b>

Regards

Anji

hI ALL

I WANT TO KNOW ABOUT PF-STATUS.

I AM DOING

MODULE STATUS_0100 OUTPUT.

SET PF-STATUS 'STATUS_0100'.

IF SY-UCOMM = 'BACK' OR

SY-UCOMM = 'EXIT' OR.

ENDIF

ENDMODULE.

WHAT SHOULD BE GIVEN IN FUNCTION TYPE

E,S,P,H OR NORMAL .IN MAINTAIN STATUS. SO THAT

WHEN I PRESS BACK IT WILL GO TO PREVIOUS SCREEN.

THANKS.

5 REPLIES 5
Read only

Former Member
0 Likes
779

Hi

PF status is used to design your own MENU,APPLICATION tool BAR and other FUNCTION key's which is required for your own transaction program,

When you wants the facilities like, BACK,CANCEL,PRINT,SAVE etc on your own screen you have to design them in the PF status only

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

amit_khare
Active Contributor
0 Likes
778

Leave Function Type As BLANK.

IF SY-UCOMM = 'BACK'

Leave to screen 0.

OR

SY-UCOMM = 'EXIT' .

Leave Program.

ENDIF

ENDMODULE.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
778

Hi,

Give the Blank value to the BACK statment, and give E as function type for Exit or Cancel, if you give this E then it will come out from the screen if there is any mandatory fields are empty

Regards

Sudheer

Read only

Former Member
0 Likes
778

If you want to exit the screen or go back to the screen You need give 'E'

Regards,

Nageswar

Read only

former_member630092
Participant
0 Likes
778

Answered