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

What is the function code for execute

Former Member
0 Likes
1,819

Hi,

What is the function code for execute.

I am using set pf-status under initialization.

Thanks.

Sai.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,227

function code is 'ONLI'..

7 REPLIES 7
Read only

Former Member
0 Likes
1,227

Execute will come automatically..... no need to set in pf-status.....

Read only

0 Likes
1,227

I this case it doesnt appear, because I have changed the function key for back.

Regards.

Sai.

Read only

Former Member
0 Likes
1,228

function code is 'ONLI'..

Read only

0 Likes
1,227

Hi Srinivas,

Thanks for your reply.

Where can we find the standared function codes.

Regards.

Sai.

Read only

Former Member
0 Likes
1,227

Function code is basically code used to fire specific block of code.

i.e. If u put function code say 'SV' in SAVE tab.

then when user clicks that save button then it sets SY-UCOMM = SV

by using that you can execute specific code.

ex.

CASE SY-UCOMM

WHEN 'SV'

Your code

WHEN ''

ENDCASE.

Reward point if find useful.

Swarup

Edited by: swarup basagare on Jun 26, 2008 11:40 AM

Read only

Former Member
0 Likes
1,227

Hi,

If your adding a execute in pf-status then we can give the function code for execute as 'EXEC' - F8.

Nyways it automatically comes no need to explicitly add in pf-status. The standard function code is 'ONLI'

just we need to check the sy-ucomm value and perform what you want.

i.e if sy-ucomm = 'EXEC'.

........

endif.

hope this help you.

plz reward if useful.

thanks,

dhanashri.

Edited by: Dhanashri Pawar on Jun 26, 2008 11:43 AM

Read only

Former Member
0 Likes
1,227

Hi mohan,

welcome.

actually. if you want you can set. but no need. it will automatically generates that execution.

happy solving.

thanks

karthik

reward me if usefull