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 |
|---|---|---|
|
|
Optional |
Unique identfier of each logt
|
|
|
Optional |
Timestamp of the read access log event
|
|
|
Optional |
Client within the SAP System
|
|
|
Optional |
System ID
|
|
|
Optional |
Message counter
|
|
|
Optional |
Transaction Code
|
|
|
Optional |
Program Name
|
The operation returns the Read Access Log.
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)
{
"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"
},