Show TOC

Background documentationAcfExecute Locate this document in the navigation structure

 

AcfExecute starts an external application such as Notepad or Paint in a Web Dynpro application.

Caution Caution

The integration of AcfExecute in Web Dynpro ABAP popups is not supported.

End of the caution.

More information: Active Component Framework (ACF)

Prerequisites

The prerequisites are described in SAP Note 1178747.

Methods

As with OfficeControl methods can be executed. For this the ACF method handler CL_WDR_ACFEXECUTE_HNDL is required.

Unlike other Web Dynpro ABAP UI elements, AcfExecute is implemented in a way that means the action can only be triggered by a method call. For AcfExecute, the execute action only takes place if an IF_WD_ACFEXECUTE~EXECUTE method call occurs.

Implementation Details

Runtime class:

CL_WD_ACF_EXECUTE

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

archives

STRING

Yes

class

STRING

Yes

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

enabled

WDY_BOOLEAN

true

Yes

height

STRING

Yes

lifeTime

WDUI_LIFE_TIME

whenVisible

Yes

tooltip

Translatable text

Yes

visible

WDUI_VISIBILITY

visible

Yes

width

STRING

Yes

Note Note

Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:

End of the note.
Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the View Designer. However, the spelling format and use of upper/lower case is different.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

archives

ARCHIVES

STRING

class

CLASS

STRING

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

contextMenuBehaviour: inherit

CL_WD_ACF_EXECUTE=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

contextMenuBehaviour: provide

CL_WD_ACF_EXECUTE=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

contextMenuBehaviour: suppress

CL_WD_ACF_EXECUTE=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

enabled

ENABLED

WDY_BOOLEAN

height

HEIGHT

STRING

lifeTime

LIFE_TIME

WDUI_LIFE_TIME

 lifeTime: whenAlive

CL_WD_ACF_EXECUTE=>E_LIFE_TIME-WHEN_ALIVE

 lifeTime: whenVisible

CL_WD_ACF_EXECUTE=>E_LIFE_TIME-WHEN_VISIBLE

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_ACF_EXECUTE=>E_VISIBLE-NONE

visible: visible

CL_WD_ACF_EXECUTE=>E_VISIBLE-VISIBLE

width

WIDTH

STRING

Example

You can find an example of this UI element in the system in the SWDP_TEST_ACTIVE_COMPONENT package in the WD_TEST_APPL_ACFEXECUTE component.