SAP® Documentation

Single view

/PLMU/CL_PPE_CMP_TREE_ASSIST - iPPE CMP Tree - Assistance Class

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This class serves as an assistance class for Web Dynpro component /PLMU/WDC_PPE_CMP_TREE, which displays the PPE CMP product structure as a tree.

The Web Dynpro component can be used within applications in two different ways:

  • As component usage
  • As UIBB

Originally it was created only for usage via component usage, but in combination with GUIBBs where the PPE_CMP_TREE serves as parent for another GUIBB using the wiring model, the PPE_CMP_TREE itself has to be a UIBB. Therefore the peculiarities when embedded as UIBB will be described in the following paragraphs.

When the tree is embedded as UIBB, it reacts on the following (incoming) FPM events:

Note: As this class inherits from class /PLMU/CL_PPE_TREE_ASSIST, it also inherits its FPM events (ingoing and outgoing ones).

  1. /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_IN-INIT
Initializes the tree when embedded as UIBB.
(Counterpart to WDCI method INIT)
Note:
In contrast to the tree embedded via component configuration, the tree embedded as UIBB receives the root object via wire model by retrieving the data from port type 'LEAD_SELECTION' ,, ,, ,,
(IF_FPM_FEEDER_MODEL=>CS_PORT_TYPE-LEAD_SELECTION) as the PPE tree can only have a single root object.
This event has the following parameters:
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-PPE_HELPER (Type Ref To /PLMU/CL_PPE_HELPER)

optional
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-PPE_SESSION_CHANGE_NO (Type Ref To /PLMB/AENNR)

optional but needed when GC_S_EVENT_PARAM-PPE_HELPER is not provided
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-PPE_APPL_CLIENT (Type PPE_EXPL_APPL_CLIENT)

optional
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-DISPLAY_ASM_HEADER (Type BOOLE_D)

optional
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-READ_ONLY_MODE (Type BOOLE_D)

optional
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-LAYOUT (Type /PLMU/PPE_TREE_LAYOUT)

optional
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-OUTGOING_EVENTS (Type /PLMU/S_PPE_TREE_EVENTS)

optional (registration on certain outgoing events io avoid unnecessary event communication)
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-CALLBACK_COMPONENT (Type Ref To ,,OBJECT)

optional but needed to receive delete/action/selection callbacks from tree - then the callback component class has to implement the corresponding WDCI interfaces (that is, /PLMU/WDI_PPE_TREE_ACTION, /PLMU/WDI_PPE_TREE_DELETE, /PLMU/WDI_PPE_TREE_SELECT)
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_PARAM-TOOLBAR_ELEMENTS_CONTROL (Type /PLMU/T_PPE_TREE_TOOLBAR_CNTRL)

optional (controlling visibility and enabling of certain tree toolbar elements. The ones which can be controlled are defined by constants /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_TOOLBAR_ELEMENTS_CNTRL )

  1. /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_IN-INVALIDATE
Evoking this event causes the tree invalidation.
(Counterpart to WDCI method INVALIDATE)
This event does not have any parameters.

  1. /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_IN-SET_ATTRIBUTE_OF_ELEMENT:
Changes attributes of a tree element.
(Counterpart to WDCI method SET_ATTRIBUTE_OF_ELEMENT)
This event has the following parameters:
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-ELEMENT_ID (Type /PLMB/S_PPE_TREE_ELEMENT_ID)

  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-NAME(Type STRING)

  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-VALUE(Type STRING)

  1. /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_IN-SET_LAYOUT:
Sets the tree layout.
(Counterpart to WDCI method SET_LAYOUT)
This event has the following parameter:
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-LAYOUT (Type /PLMU/PPE_TREE_LAYOUT)

  1. /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_CMP_EVENT_IN-SET_SIMULATION_STATE:
Sets the simulation state.
(Counterpart to WDCI method SET_SIMULATION_STATE)
This event has the following parameter:
  • /PLMU/CL_PPE_CMP_TREE_ASSIST=>GC_S_EVENT_PARAM-SIMULATION_IS_ACTIVE (Type BOOLE_D)

Relationships

Example

Notes

Further information






rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 5952 Date: 20190616 Time: 084323     sap01-206 ( 48 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.