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

Problem for 3 type of functionality for ENTER key in module pool

Former Member
0 Likes
742

Hi,

I have a requirement where i need three functionality for enter key , like

1.display.

2.change.

3.create.

the problem is sy-ucomm value is blank . so i can use it only for one functionality . when i am trying for create or change . it is showing functionality of display. i checked sdn but no solution yet.

regards

Edited by: Rohitasya on Jul 21, 2011 12:28 PM

1 ACCEPTED SOLUTION
Read only

Kiran_Valluru
Active Contributor
0 Likes
712

Hi.,

First Set a flag , let say for create lv_flag = 'C' . For Change lv_flag = 'E'. for display lv_flag = 'D'.,

now.,

if sy-ucomm = space.

if lv_flag = 'D'.

do for sisplay.

elseif lv_flag = 'E'.

do for change.,

.......

endif.

hope this helps u.,

Thanks & Regards,

Kiran

Hi,

I have a requirement where i need three functionality for enter key , like

1.display.

2.change.

3.create.

the problem is sy-ucomm value is blank . so i can use it only for one functionality . when i am trying for create or change . it is showing functionality of display. i checked sdn but no solution yet.

regards

Edited by: Rohitasya on Jul 21, 2011 12:28 PM

4 REPLIES 4
Read only

Former Member
0 Likes
712

hi,

you need 3 functionality of enter key? Then how will you differentiate amongst the 3 ?

I mean how will you know what does the enter signify?

Read only

0 Likes
712

Hi,

i just need the PBO Change. like field enable or disable.

Thnks

Read only

Kiran_Valluru
Active Contributor
0 Likes
713

Hi.,

First Set a flag , let say for create lv_flag = 'C' . For Change lv_flag = 'E'. for display lv_flag = 'D'.,

now.,

if sy-ucomm = space.

if lv_flag = 'D'.

do for sisplay.

elseif lv_flag = 'E'.

do for change.,

.......

endif.

hope this helps u.,

Thanks & Regards,

Kiran

Read only

0 Likes
712

solved

thnks