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

Is there any method to deactivate the execute button?

Former Member
0 Likes
550

Hi Experts,

I have created a ztransaction for a report program. When i execute the transaction the 'execute' button comes automatically in the application toolbar. Is there any method to disable it??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
525

try this

chk this demo program

<b>DEMO_SEL_SCREEN_STATUS</b>

4 REPLIES 4
Read only

Former Member
0 Likes
526

try this

chk this demo program

<b>DEMO_SEL_SCREEN_STATUS</b>

Read only

Former Member
0 Likes
525

Get the function code for that execute button(PLace the cursor on that button using the TAB key and press F1 to know the Fcode for that button).

then use the following statement in the set pf-status

set pf-status 'STATUS' excluding '<Fcode for exec button>'.

Regards,

ravi

Read only

0 Likes
525

When I press F1 i am getting the function as 'ONLI' and not the Fcode.

Read only

0 Likes
525

That is its FCODE.

YOur code should be.

set pf-status 'STATUS' excluding 'ONLI'.

Regards,

Ravi