Page tree
Skip to end of metadata
Go to start of metadata

While opening the Project from Project-Dashboard the following coding snippets are called.

To start an analyze you can set a breakpoint in the methods of class CL_DPR_UI_LOG_TREE.

 

To display the Icons for Project Elements with existing Documents, Object Links or Notes you have to activate the Switch 0006/0040.

(See SAP Note 2222528 Additional Display Options for Assignments to Project Elements 2)

 

Start to fill tree data 

CL_DPR_UI_LOG_TREE
BUILD_TREE

  • Get Description
  • Get Assignments
  • Get maximum Severity
  • Get object type icons and tooltips
  • Build path from entry object up to the root

 

Get assignments in detail: Notes, Documents, Object links

CL_DPR_UI_LOG_TREE
GET_ASSIGNMENTS
*       Get Notes
          IF mr_session_state->get_change_mode( ) = abap_false.
            lr_service_manager->retrieve_by_association(
...

*       Get Documents
          IF mr_session_state->get_change_mode( ) = abap_false.
            lr_service_manager->retrieve_by_association(
...

*       Get Object Links
          IF mr_session_state->get_change_mode( ) = abap_false.
            lr_service_manager->retrieve_by_association(

 

 

Get Severities, Check if aggregation is active

CL_DPR_UI_LOG_TREE
GET_SEVERITY

 

 

Further Information:

Webdynpro: DPR_TREE

Class: CL_DPR_UI_LOG_TREE

BAdI: DPR_TREE

 

Back

  • No labels