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

Function Key Number

Former Member
0 Likes
568

Hi all,

Please explain me the "Function Key Number", which is primarily used in BDC_OKCODE with '/'.

And how to determine the same.

For example, in a bdc recording (of PA30) a SAVE button is triggered then the recording shows BDC_OKCODE => '=UPD'.

I'm curious to know how can I use function key number here (/--) instead of function code.

Also please explain the point where this function key numbers for a screen element is available.

I searched with this forum, but unable to find an exact clarification.

So, please clarify me on this.

Thanks in advance.

Regards,

Nathan

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
459

When you press F3 key, then function key number = 3 -> /3 or /03

When you press shift+F3, it's 15 (number + 12) -> /15

For ctrlshiftF3, or ctrl+F3, I don't know if it's possible.

0 is for the enter key -> /00 (provided that we didn't erroneously assign a function code to the enter button, and that the cursor is not on a button, cf notes 13882 and 28913)

To know if a function code is assigned to a function key, determine which GUI status is active (menu system | status), display it (double-click or SE41), expand the function keys section, and search if the function code is there or not. If yes, you see the function key, otherwise the function code cannot be executed by a key.

For example, if bdc_okcode is "=UPD" and UPD function code is assigned to function key shift+F3, then you can also use bdc_okcode = "/15".

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
460

When you press F3 key, then function key number = 3 -> /3 or /03

When you press shift+F3, it's 15 (number + 12) -> /15

For ctrlshiftF3, or ctrl+F3, I don't know if it's possible.

0 is for the enter key -> /00 (provided that we didn't erroneously assign a function code to the enter button, and that the cursor is not on a button, cf notes 13882 and 28913)

To know if a function code is assigned to a function key, determine which GUI status is active (menu system | status), display it (double-click or SE41), expand the function keys section, and search if the function code is there or not. If yes, you see the function key, otherwise the function code cannot be executed by a key.

For example, if bdc_okcode is "=UPD" and UPD function code is assigned to function key shift+F3, then you can also use bdc_okcode = "/15".

Read only

0 Likes
459

Thanks a lot Sandra...