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

Refresh screen output on BACK

Former Member
0 Likes
757

hi abapers,

I am struggling with a problem, hope to get a solution from you all,

SCENARIO 1)

my output is coming as

CHECKBOX FIELD-EBELN

chk_box_1 -


> beln-value_1

chk_box_2 Checked -


> ebeln-value_2

chk_box_3 checked -


> ebeln-value_3

chk_box_4 checked -


> ebeln-value_4

ON CLICK OF CHECKBOX [suppose 3 checkbox are clikced] SECONDARY LIST is opened where detail of ebeln is shown

NOW the problem:

WHEN I CLICK 'BACK' button, i want the checked button to display as uncehcked

CHECKBOX FIELD-EBELN

chk_box_1 -


> ebeln-value_1

chk_box_2 -


> ebeln-value_2

chk_box_3 -


> ebeln-value_3

chk_box_4 -


> ebeln-value_4

please provide a solution to achieve this

thanks in advance.

Rohan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
737

Hi,

Before you press the back button, you need to clear these particular field in the internal table.

Rgds,

Bujji

Edited by: Bujji on Feb 19, 2008 12:18 PM

hi abapers,

I am struggling with a problem, hope to get a solution from you all,

SCENARIO 1)

my output is coming as

CHECKBOX FIELD-EBELN

chk_box_1 -


> beln-value_1

chk_box_2 Checked -


> ebeln-value_2

chk_box_3 checked -


> ebeln-value_3

chk_box_4 checked -


> ebeln-value_4

ON CLICK OF CHECKBOX [suppose 3 checkbox are clikced] SECONDARY LIST is opened where detail of ebeln is shown

NOW the problem:

WHEN I CLICK 'BACK' button, i want the checked button to display as uncehcked

CHECKBOX FIELD-EBELN

chk_box_1 -


> ebeln-value_1

chk_box_2 -


> ebeln-value_2

chk_box_3 -


> ebeln-value_3

chk_box_4 -


> ebeln-value_4

please provide a solution to achieve this

thanks in advance.

Rohan

4 REPLIES 4
Read only

Former Member
0 Likes
737

Hello,

Check like this.


at user-command.
if sy-ucomm = 'BACK'.
if sy-lsind = 1.
clear: check1,check2,check3.
endif.
endif.

Cheers,

Vasanth

Read only

Former Member
0 Likes
737

well goto the status of the dynpro, and change either the UCOMM behind the BACK command, or goto PAI and change the behaviour when having UCOMM "BACK".

but be aware that in noth scenarios you will loose the normal functionality of your back button.

Read only

Former Member
0 Likes
738

Hi,

Before you press the back button, you need to clear these particular field in the internal table.

Rgds,

Bujji

Edited by: Bujji on Feb 19, 2008 12:18 PM

Read only

Former Member
0 Likes
737

resolved it myself,

the actual way was to modify the current line before the button is pressed [to go to secondary window] and when we press 'BACK',

the checboxes would already be refreshed

tanks anyways

rohan