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

back button is not working

Former Member
0 Likes
1,003

HI ALL,

I am having my own pf-staus uisng following function module. in this pf-stus i have back button only. when i click back button it is not going to back. in debugging its sy-ucomm is space.anybody can suggest me what shall i do in this case.

report zmahi4.

selection-screen: begin of block b1.

parameters : p_appln type zuser_secobjects-appln.

parameters : p_user type zuser_secobjects-appln_user.

selection-screen end of block b1.

data : exclude like rsexfcode occurs 0 with header line.

at selection-screen output.

call function 'RS_SET_SELSCREEN_STATUS'

exporting

p_status = 'SELK1'

tables

p_exclude = exclude

exceptions

others = 1.

thanks,

maheedhar.t

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
737

Use

TABLES SSCRFIELDS.

in the report and then, in

AT SELECTION-SCREEN.

check

SSCRFIELDS-UCOMM

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
737

Hi,

Did u check if PF-Status SELK1 has 'BACK' assigned to back button?

Firstly, is SELK1 defined for the report zmahi4 ?

Santhosh

Message was edited by:

Kaluvala Santhosh

Message was edited by:

Kaluvala Santhosh

Read only

Former Member
0 Likes
737

Hi,

first check whether staus with name selk1 is create for that program zmahi4.

selection-screen: begin of block b1.

parameters : p_appln type zuser_secobjects-appln.

parameters : p_user type zuser_secobjects-appln_user.

selection-screen end of block b1.

data : exclude like rsexfcode occurs 0 with header line.

at selection-screen output.

call function 'RS_SET_SELSCREEN_STATUS'

exporting

p_status = 'SELK1'

tables

p_exclude = exclude

exceptions

others = 1.

AT SELECTION-SCREEN.

CASE SY-UCOMM.

WHEN 'BACK'.

SET SCREEN 0.

ENDCASE.

regards,

bharat.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
738

Use

TABLES SSCRFIELDS.

in the report and then, in

AT SELECTION-SCREEN.

check

SSCRFIELDS-UCOMM

Regards

Read only

Former Member
0 Likes
737

Hi Maheedhar,

Make sure that in PF status SELK1....

<b>in the Function Keys....'BACK' is assigned to the BACK button..</b>

this will solve your problem.

<b>

Reward points for helpful answer,</b>

Regards,

Tejas