Ansicht
Dokumentation

BAL_DSP_PROFILE_DETLEVEL_GET - Application Log: Display profile: Hierarchy by message DETLEVEL

BAL_DSP_PROFILE_DETLEVEL_GET - Application Log: Display profile: Hierarchy by message DETLEVEL

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

BAL_DSP_PROFILE_DETLEVEL_GET returns a display profile which the navigation tree creates from the message texts.

The field DETLEVEL, which you can specify in the structure BAL_S_MSG when you create a message (e.g. with function module BAL_LOG_MSG_ADD), specifies the level in the tree.

Example

A log contains the following data:

Typ DETLEVEL Meldungstext
S 1 Settlement of Airline SAP Flights
S 2 Flight 007 from Hamburg to Toronto
S 3 Invoice 17003115 created
S 3 Invoice 17003116 created
E 3 Invoice 17003117 error
E 4 Customer 1234 in document 17003117: Address data incomplete
S 3 Invoice 17003118 created
S 3 Invoice 17003119 created
S 3 Invoice 17003120 created
...

It is displayed as follows:

@5C@Settlement of Airline SAP Flights
|@5C@Flight 007 from Hamburg to Toronto
|@5B@Invoice 17003115 created
|@5B@Invoice 17003116 created
|@5C@Invoice 17003117 error
|@5C@Customer 1234 in document 17003117: Address data...
|@5B@Invoice 17003118 created
|@5B@Invoice 17003119 created
|@5B@Invoice 17003120 created
....

The error seriousness is passed upwards in the tree, i.e. if the message " Customer 1234 in document 17003117: Address data incomplete " is an error (red icon), it is passed to the higher levels.

See also program SBAL_DEMO_04_DETLEVEL (==>Run ==>Coding)

Related function modules

BAL_DSP_LOG_DISPLAYDisplay log
Display profile function modules

Further information

Overview of the most important function groups

Quick start documentation

Application Log: Technical documentation





Parameters

E_S_DISPLAY_PROFILE

Exceptions

Function Group

SBAL_PROFILE

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2642 Date: 20240523 Time: 095212     sap01-206 ( 34 ms )