Ansicht
Dokumentation

EXIT_SAPLNWGR_004 - PS Info System: Fill Nodes in Network/Hierarchy and Structure with Info

EXIT_SAPLNWGR_004 - PS Info System: Fill Nodes in Network/Hierarchy and Structure with Info

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can only be used as an enhancement module. The customer can use it to enhance the node information in the legends of the network graphic, the hierarchy graphic, and the structure graphic in the information system. This means that new information can be displayed in new fields or in the existing fields of the corresponding nodes. Normally the legend is only supplied with data in this way, when the user displays user-specific information in the nodes of the the network graphic, the hierarchy graphic, or the structure graphic in the information system.

The text index forms the link between the node type in Customizing and the actual node in the graphic. It is contained in every field of a format. The node text is transferred in the node attributes to the graphic.

In the standard system the following text indices are already used. They can be overwritten.

Call from the network graphic

  • NET_CONST-TEXT_INDEX_0 (= 0) -> Activity number
  • NET_CONST-TEXT_INDEX_1 (= 1) -> Control key
  • NET_CONST-TEXT_INDEX_3 (= 3) -> Activity short text
  • NET_CONST-TEXT_INDEX_10 (= 10) -> Object number


Depending on the set of dates the following text indices are used:

  • NET_CONST-TEXT_INDEX_2 (= 2) -> Duration
  • NET_CONST-TEXT_INDEX_4 (= 4) -> Earliest scheduled start
  • NET_CONST-TEXT_INDEX_5 (= 5) -> Latest scheduled start
  • NET_CONST-TEXT_INDEX_6 (= 6) -> Free float
  • NET_CONST-TEXT_INDEX_7 (= 7) -> Total float
  • NET_CONST-TEXT_INDEX_8 (= 8) -> Earliest scheduled finish
  • NET_CONST-TEXT_INDEX_9 (= 9) -> Latest scheduled finish
    If the graphic is called up for plant maintenance the following fields are also used:
  • NET_CONST-TEXT_INDEX_26 (= 26) -> Earliest start time
  • NET_CONST-TEXT_INDEX_27 (= 27) -> Latest start time
  • NET_CONST-TEXT_INDEX_28 (= 28) -> Earliest finish time
  • NET_CONST-TEXT_INDEX_29 (= 29) -> Latest finish time

Call from the hierarchy graphic

  • NET_CONST-TEXT_INDEX_0 (= 0) -> WBS element number
  • NET_CONST-TEXT_INDEX_1 (= 1) -> WBS element short text
  • NET_CONST-TEXT_INDEX_2 (= 2) -> WBS element basic start date
  • NET_CONST-TEXT_INDEX_3 (= 3) -> WBS element basic finish date
  • NET_CONST-TEXT_INDEX_4 (= 4) -> WBS element forecast start date
  • NET_CONST-TEXT_INDEX_5 (= 5) -> WBS element forecast finish date
  • NET_CONST-TEXT_INDEX_6 (= 6) -> WBS element actual start date
  • NET_CONST-TEXT_INDEX_7 (= 7) -> WBS element actual finish date

Call from the structure graphic

  • NET_CONST-TEXT_INDEX_0 (= 0) -> Object type
  • NET_CONST-TEXT_INDEX_1 (= 1) -> Object ID
  • NET_CONST-TEXT_INDEX_2 (= 2) -> Short text

Example

If you want the short text that appears in the 1st field toidepend on the field "ACTIVITY_IMP" ,insert following coding into the include of this function module:
LIF ACTIVITY_IMP IS INITIAL.

NVALS_TAB_IMP-ID,,=,,LEGEND_ID_IMP.

NVALS_TAB_IMP-FL,,=,,NET_CONST-TEXT_INDEX_1.

NVALS_TAB_IMP-VAL,,= ,,' WBS element short text'.

APPEND NVALS_TAB_IMP.

ELSE.

NVALS_TAB_IMP-ID ,,=,,LEGEND_ID_IMP.

NVALS_TAB_IMP-FL ,,=,,NET_CONST-TEXT_INDEX_1.

NVALS_TAB_IMP-VAL,,= ,,' Activity short text'.

APPEND NVALS_TAB_IMP.

Notes

The "ACTIVITY_IMP" indicator specifies whether the legend node is an activity node. If the indiator is initial, it is a WBS element node.





Parameters

ACTIVITY_IMP
LEGEND_ID_IMP
NVALS_IMP

Exceptions

Function Group

XCN1

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4541 Date: 20240523 Time: 073200     sap01-206 ( 82 ms )