Skip to content

Latest commit

 

History

History
258 lines (148 loc) · 2.79 KB

File metadata and controls

258 lines (148 loc) · 2.79 KB

Retrieving Read Access Log

With Read Access Log you can retrieve the Read Access Log by using the HTTP method GET.

You have to include the following properties in the URL of the request:


Property

Property

Comment

LogID

Optional

Unique identfier of each logt

  • String($uuid)

    Example: 01234567-89ab-cdef-0123-456789abcdef

LogTimestamp

Optional

Timestamp of the read access log event

  • String($date-time)

    Example: 2017-04-13T15:51:04

slgmand

Optional

Client within the SAP System

  • String <=3 characters

    Example: 100

sid

Optional

System ID

  • String <=3 characters

    Example: YI3

counter

Optional

Message counter

  • integer($int16)

slgtc

Optional

Transaction Code

  • String <=20 characters

    Example: VA01

slgrepna

Optional

Program Name

  • String <= 40 characters

    Example: SAPMSSY8

The operation returns the Read Access Log.

Get events within a specific timeframe:

GET <host>/sap/opu/odata4/sap/rsau_log_api/srvd_a2x/sap/rsau_log_api/0001/ReadAccessLog?$filter=(log_tstmp%20ge%202021-05-08T10%3A25%3A09Z%20and%20log_tstmp%20le%202021-05-09T10%3A25%3A09Z)

Response

{
"eventID": "AU1",
"log_tstmp": "2021-05-08T10:26:22.740611Z",
"slgmand": "100",
"sid": "ABC",
"counter": 0,
"terminal_name": "",
"user_fullname": "Example Administrator",
"slgtc": "S000",
"slgrepna": "RSBTCRTE",
"rsau_text": "Logon successful (type=B, method=A)",
"UserDescription": "Example Administrator"
},
{
"eventID": "AU1",
"log_tstmp": "2021-05-08T10:28:22.924215Z",
"slgmand": "100",
"sid": "ABC",
"counter": 0,
"terminal_name": "",
"user_fullname": "Example Administrator",
"slgtc": "S000",
"slgrepna": "RSBTCRTE",
"rsau_text": "Logon successful (type=B, method=A)",
"UserDescription": "Example Administrator"
},