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

sy-ucomm value for enter

Former Member
0 Likes
11,687

Hi,

Can anyone plz help me with the sy-ucomm value for enter key.

Thanks..

Hi,

Can anyone plz help me with the sy-ucomm value for enter key.

Thanks..

14 REPLIES 14
Read only

Former Member
0 Likes
4,879

Hi,

This depend on screen to screen. Are you running the BDC?

Just press ENTER during recording and you will get its value.

Regards,

Atish

Read only

0 Likes
4,879

Hi,

I have 2 grids to display.After the display of first grid on hitting 'enter' the second grid should be displayed..Thats why I am looking for the sy-ucomm value for 'Enter'.

Thanks.

Read only

0 Likes
4,879

Hi Raj,

Is this problem solved. if yes plz let me know as i am in the same situation.

Regards,

Kamal

Read only

Former Member
0 Likes
4,879

Renu,

It depends on diff.scenarios.

To get that put break point where ever you want Enter key fcode and

check for the value SY-UCOMM.

Read only

Former Member
0 Likes
4,879

hi,

its value changes depending on the scenerios. if u are running a bdc recording u press enter and u can see its value in the recording.

otherwise u can put a breakpoint near that and check for the SY-UCOMM value.

Read only

0 Likes
4,879

hii

The vaule of sy_ucomm when u press enter is /00..

u wld get this which u r recording the dailog and press enter in that dailog flow

<REMOVED BY MODERATOR>

Regards

Archana

Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:48 PM

Read only

Former Member
0 Likes
4,879

Hi,

Well the the sy-ucomm value for enter is ONLI

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:49 PM

Read only

Former Member
0 Likes
4,879

Hi Renu,

if you want to know the value of sy-ucomm at any screen in SAP R/3, just put ' /h' in the command window and then press enter in that screen.

The in debugger you can check the value of sy-ucomm at that point of time.

Read only

gopi_narendra
Active Contributor
0 Likes
4,879

If you are talking of standard SAP Applications then the fcode for Enter is ' ' (SPACE)

where as for custom applications it depends on the GUI Status definition.

So where ever needed just put /H in command line and press ENTER button, you can know accordingly.

Regards

Gopi

Read only

Former Member
0 Likes
4,879

hi,

It depends on screen from which you are traversing which can be know only while recording. One more possible value is ENTE.

Regards,

Santosh

Read only

Former Member
0 Likes
4,879

Hi Renu,

The default function code for ENTER key is ' ' (SPACE). But it varies according to the screen you are in.

Read only

Former Member
0 Likes
4,879

Hi,

Value for Sy-UCOMM is 'ENTE'.

Read only

Former Member
0 Likes
4,879

Hi Renu,

the value of sy-ucomm varies depending on its position. SO plz on the debugger and check at that particular point.

If you still have any doubt reply me.

Thanks & Regards,

AMK.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:49 PM

Read only

Former Member
0 Likes
4,879

Hi Renu,

The OKCODE or SY_UCOMM value is not same for 'ENTER' in all the cases. So its better to go for debugging .

Whenever you want to know the ok code or sy-ucomm value of a key , type '/h' in the command box and press enter. It shows a message on the status bar 'Debugging Switched On'. Now if you press any key , it switches to debugging mode and type sy-ucomm in the fields list then you will get the SY-UCOMM or OK CODE.

Incase of ALVs also you can get the SY-UCOMM. But in some cases the SY-UCOMM value may be NULL.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:50 PM