cancel
Showing results for 
Search instead for 
Did you mean: 

Ok code for enter button

Former Member
0 Kudos

Hi,

What is ok code for Enter button .

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sunitha,

It might be different for different transactions.

Try looking into the GUISTATUS of the screen for which you want to identify the ok_code. Check under the Function keys section what has been assigned to the Green OK button.

In some cases it might be 'ENTE'.

Cheers

VJ

Answers (6)

Answers (6)

Former Member
0 Kudos

HI

GOOD

TRY THIS

/*xxxx starts transaction xxxx and skips the first screen. So, it has the same effect as /nxxxx followed by ENTER.

THANKS

MRUTYUN

former_member184569
Active Contributor
0 Kudos

Hi Sunitha,

There is no unique ok code for Enter.

You can check the gui status of your program in SE41. And the function code corresponding to your enter would be the okcode for enter.

Another method is using the transaction SHDB.

Do one recording of your transaction.

Now check the table created by the transaction recorder.

You would get the BDC_OKCODE created when you pressed the enter key.

Thanks,

Susmitha

former_member188685
Active Contributor
0 Kudos

Hi Sunitha,

Generally it is <b>ENTR</b>, but if you are setting your own PF status then it won't work , you need to specify explicitly.

Regards

vijay

Former Member
0 Kudos

HI,

If no Ok-code is assigned in the PF Status for the green tick icon ( enter), the Ok code is usually a space.

Thanks,

Rashmi.

Former Member
0 Kudos

It depends in what is the func. code given in the PF-STATUS attacheed. Like Vijay said it could be ENTE or I have seen ENTR also

regards,

Ravi

Note : Please mark the helpful answers

abdul_hakim
Active Contributor
0 Kudos

while define buttons in the pf status assign a function code for green tick icon.that will be your function code for enter button.

Cheers,

Abdul

Note:reward point for useful ans..