/SAPTRX/EH_FILTER_ROW_TEMPLATE - Template for EH Row Filter activities

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Functionality

The function module is called whenever a filter profile row access is evaluated, to which the function is bound.

  • Export parameter E_RETURN_CODE controls the result of the activity.
Set E_RETURN_CODE to 0 if a user is to see the row values.
Set E_RETURN_CODE to 1 if a user is not to see the row values.
  • Parameter I_DATA allows you to access the relevant event handler data to make the above decision.
  • Parameter I_TABLE_ID specifies which table access is checked:
  • 1,,Event Handler Authorization Data (/SAPTRX/EH_AUTHR)

  • 2,,Event Handler Control Parameter (/SAPTRX/EH_CNTRL)

  • 3,,Event Handler Expected Event History (/SAPTRX/EH_EEHST)

  • 4,,Event Handler Error Message (/SAPTRX/EH_ERMSG)

  • 5,,Event Handler Event Message (/SAPTRX/EH_EVMSG)

  • 6,,Event Handler Expected Event (/SAPTRX/EH_EXPEV)

  • 7,,Event Handler Header (/SAPTRX/EH_HDR)

  • 8,,Event Handler Info Parameter (/SAPTRX/EH_INFO)

  • 9,,Event Handler Query ID (/SAPTRX/EH_QRYID)

  • 10,,Event Handler Status Attribute (/SAPTRX/EH_STAT)

  • 11,,Event Handler Status History (/SAPTRX/EH_STHST)

  • 12,,Event Handler Task (/SAPTRX/EH_TASK)

  • 13,,Event Handler Tracking ID (/SAPTRX/EH_TRKID)

  • Parameter I_FILTER_VALUE specifies which row access is checked.

Example

You can use this template to implement a function that evaluates whether a row can be accessed dependenton the values of this row. In this way, you can ensure, for example, that access is only granted ifthe location of an expected event or an event message has a certain value. To do so, you have to decomment the proposed coding and specify values for the location.

Notes

Further information


Parameters

E_RETURN_CODE
I_DATA
I_FILTER_VALUE
I_TABLE_ID

Exceptions

Function Group

TRX/SAPLFUNC_TEMPLATES_EM

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 2729 Date: 20120525 Time: 062808     triton ( 84 ms )