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 function code

Former Member
0 Likes
3,255

what function code system generates when we press enter in a screen.for eg when creating master data when we have supplied all the mandatory element of a field and press enter it goes to next screen.

so at that time what function code does it generates when we press enter.

please reply its urgent. points will be provided for this help.

12 REPLIES 12
Read only

Former Member
0 Likes
1,933

Hi,

Enter code will be 'ONLI' OR '=ONLI'

'/00' in module pool

Edited by: Ramesh Hirial on Dec 19, 2007 5:29 PM

Read only

0 Likes
1,933

well '/00' is working with bdc as it is bdc-okcode , as what it seeems but it is not at all working with module pool . thanks for ur prompt reply but my question is still there.

so please keep researching and if any 1 knows about it pls tell me.

regards

aditya shrivastava.

Read only

0 Likes
1,933

Aditya,

On clicking enter button the sy-ucomm is filled with "ENTER"

...Satya

Read only

Former Member
0 Likes
1,933

fucntion code for enter button is ENTE or ENTE1.

debug the transaction and check it.

reward points if useful....

Read only

Former Member
0 Likes
1,933

Hi Aditya,

the function code for enter is /oo generally but in module pool programming we will set status and set title there u can choose the enter button and set tht as sy-ucomm. i guess.

Regards,

Sana.

Read only

Vijay
Active Contributor
0 Likes
1,933

hi

it easy to find.

before pressing enter , just press /h into the command bar , it will show you the status msg debugging switched on. then press enter the program will enter the debugging mode . here check the value of sy-ucomm.

regards

vijay

reward points if helpfull

Read only

Former Member
0 Likes
1,933

Hi aditya,

while set a pf status, set that function code as

ENTER in standard tool bar. during the coding check sy-ucomm as ENTER...

Regards,

Guna...

Read only

Former Member
0 Likes
1,933

Hi Aditya.

Function code for Enter : SPACE OR ' '.

or by giving /h at ok_code you can finde the function code for Enter.

Plzz Reward if useful,

Mahi.

Read only

Former Member
0 Likes
1,933

Hi aditya,

It generates ok_code = '/oo' you can see while creating any BDC program.

Hope this will help you...........

<b>reward if helpful </b>

Regards,

sunil kairam.

Read only

Former Member
0 Likes
1,933

hi,

try with space....

if sy-ucomm = ' '.

endif.

Read only

Former Member
0 Likes
1,933

Hi,

it will depends on the program, the follow are the list of possible function codes.

ENTE

ENTE1

ENTER

/00....etc.

do one thing before pressing 'ENTER' put '/H' in your command box, which will take you to debug mode, and then press 'ENTER' key, check the system field SY-UCOMM, which will holds the recent function code.

Reward if useful,

Thanks,

Sreeram.

Read only

Former Member
0 Likes
1,933

Hi Aditya,

If you are using module pool program you can create your own function code. If you give 'ENTER' as fcode when you click enter call the next screen. Keep one button on the screen and assain Function code 'ENTER' to that and when u click that button call your desired sceen.

<b>reward if useful</b>

.

regards,

sunil kairam