Return to site

Sap Audit Log Table

broken image


Skip to end of metadataGo to start of metadata
Table

SAP Login History Tables. The SAP Login history tables used to track user login are: USR02: Logon Data (Kernel-Side Use) TRDAT: SAP Last Logon Date; LTIME: SAP Last Logon Time; WCRUSERSTAT: login log for Portal; Custom/Exit SAP Login History Track. Audit Trail is an SAP Netweaver component that you can use to log all ERP applications. In addition to Audit Trail, there is the Electronic Records component in SAPAPPL, which also provides logging functions (however, only for applications in SAPAPPL). In comparison with the Electronic Records component, Audit Trail offers enhanced functions, plus the great advantage that it can be.

Change Documents:
1. Concept:

Table

SAP Login History Tables. The SAP Login history tables used to track user login are: USR02: Logon Data (Kernel-Side Use) TRDAT: SAP Last Logon Date; LTIME: SAP Last Logon Time; WCRUSERSTAT: login log for Portal; Custom/Exit SAP Login History Track. Audit Trail is an SAP Netweaver component that you can use to log all ERP applications. In addition to Audit Trail, there is the Electronic Records component in SAPAPPL, which also provides logging functions (however, only for applications in SAPAPPL). In comparison with the Electronic Records component, Audit Trail offers enhanced functions, plus the great advantage that it can be.

Change Documents:
1. Concept:

Sap Sm20 Transaction Audit Log Table

For changes to a commercial object to be able to be logged in a change document, the object must have been defined in the system as a change document object. A change document object definition contains the tables which represent a commercial object in the system. The definition can also specify whether the deletion of individual fields is to be documented. If a table contains fields whose values refer to units and currency fields, the associated table, containing the units and currencies, can also be specified.

It must be specified for each table, whether a commercial object contains only one (single case) or several (multiple case) records. For example, an order contains an order header and several order items. Normally one record for the order header and several records for the order items are passed to the change document creation when an order is changed.

Change document: A change document logs changes to a commercial object. The document is created independently of the actual database change. The change document structure is as follows:

  • Change document header
    The header data of the change to an object ID in a particular object class are stored in the change document header. The change document number is automatically issued.
  • Change document item
    The change document item contains the old and new values of a field for a particular change, and a change flag.
    The change flag can take the following values:
    • U(pdate)
      Changed data. (Log entry for each changed field which was flagged in the Dictionary as 'change document-relevant')
    • I(nsert)
      Data inserted.
      Changes: Log entry for the whole table record
      Planned changes: Log entry for each table record field
    • D(elete)
      Data were deleted (log entry for the whole table record)
    • I(ndividual field documentation)
      Delete a table record with field documentation
      1 log entry per field of the deleted table entry, the deleted text is saved
  • Change document number
    The change document number is issued when a change is logged, i.e. when the change document header is created by the change document creation function module (function group SCD0).

The change number is not the same as the change document number. The change document number is issued automatically by the function group SCD0 function modules when a change document is created for a change document object. The change number is issued by the user when changes are planned. The same change number can be used for various change document objects.

2. How to Create Change Documents Object:

a) Prerequisite: Transparent table for which Change Log has to be maintained.

Make sure that the field for which change log is to be maintained is checked as CHANGE DOCUMENT.

For this issue, double click the field and find the Table with New Content
NOTE: Check SY-SUBRC value before calling function-module 'YH1311_DETAILS_WRITE_DOCUMENT', since function-module will be called and inappropriate values get entered even if the insertion fails.
upd_icdtxt_yh1311_details = 'I', can be in I(nsert), U(pdate), D(elete) modes.
IF sy-subrc EQ 0.
CALL FUNCTION 'YH1311_DETAILS_WRITE_DOCUMENT'
EXPORTING
objectid = objectid
tcode = sy-tcode
utime = sy-uzeit
udate = sy-datum
username = sy-uname
* PLANNED_CHANGE_NUMBER = ' '
object_change_indicator = 'I'
* PLANNED_OR_REAL_CHANGES = ' '
* NO_CHANGE_POINTERS = ' '
upd_icdtxt_yh1311_details = 'I'
upd_zahack = 'I'
TABLES
icdtxt_yh1311_details = icdtxt_yh1311_details
xzahack = xzahack
yzahack = yzahack.
MESSAGE 'Log Created' TYPE 'S'.
ELSE.
MESSAGE 'Insert Error' TYPE 'S'.
ENDIF. ' IF SY-SUBRC EQ 0
STEP 4:
(MULTIPLE-CASE)

Create a field string for the database table 'zahack', including its all fields.DATA:
fs_emp TYPE zahack.

Create an Internal table for field string 'fs_emp'.DATA:
t_emp LIKE
STANDARD TABLE
OF fs_emp.
Create a field string and an internal table for 'Change Documents: Text Changes', to pass the changes made to the fields of 'zahack' table.
*---------------------------------------------------------------------*
* FIELD-STRING FOR CHANGE DOCUMENTS: TEXT CHANGES *
*---------------------------------------------------------------------*
DATA:
fs_cdtxt TYPE cdtxt.
*---------------------------------------------------------------------*
* TABLE FOR CHANGE DOCUMENTS: TEXT CHANGES *
*---------------------------------------------------------------------*
DATA:
t_cdtxt LIKE
STANDARD TABLE
OF fs_cdtxt.
Insert a record into 'zahack' table; simultaneously append data in 'ICDTXT_YH1311_DETAILS', 'XZAHACK' and 'YZAHACK'.
fs_emp-empid = 'YH1311'.
fs_emp-name = 'Tanveer'.
fs_emp-dept = 'ABAP'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
fs_emp-empid = 'YH1312'.
fs_emp-name = 'Sudha'.
fs_emp-dept = 'ABAP'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
fs_emp-empid = 'YH1313'.
fs_emp-name = 'Rama'.
fs_emp-dept = 'XI'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
fs_emp-empid = 'YH1314'.
fs_emp-name = 'Jyoti'.
fs_emp-dept = 'XI'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
fs_emp-empid = 'YH1315'.
fs_emp-name = 'Kiran Saka'.
fs_emp-dept = 'ABAP'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
fs_emp-empid = 'YH1316'.
fs_emp-name = 'Richa Tripathi'.
fs_emp-dept = 'ABAP'.
fs_emp-salary = '25000'.
APPEND fs_emp TO t_emp.
INSERT zahack FROM TABLE t_emp.
APPEND icdtxt_yh1311_details.
APPEND xzahack. ' Table with Old Content
APPEND yzahack. ' Table with New Content
upd_icdtxt_yh1311_details = 'I', can be in I(nsert), U(pdate), D(elete) modes.
IF sy-subrc EQ 0.
CALL FUNCTION 'YH1311_DETAILS_WRITE_DOCUMENT'
EXPORTING
objectid = objectid
tcode = sy-tcode
utime = sy-uzeit
udate = sy-datum
username = sy-uname
* PLANNED_CHANGE_NUMBER = ' '
object_change_indicator = 'I'
* PLANNED_OR_REAL_CHANGES = ' '
* NO_CHANGE_POINTERS = ' '
upd_icdtxt_yh1311_details = 'I'
upd_zahack = 'I'
TABLES
icdtxt_yh1311_details = icdtxt_yh1311_details
xzahack = xzahack
yzahack = yzahack.
MESSAGE 'Log Created' TYPE 'S'.
ELSE.
MESSAGE 'Insert Error' TYPE 'S'.
ENDIF. ' IF SY-SUBRC EQ 0
STEP 5: Open 'CDHDR' - 'Change Document Header'.
Utilities->Table Contents-> Display.

Adobe photoshop cs3 extended app. The code is 1326-1607-4627-3417-9766-8942, I have ma-a-a-a-a-ny more codes so subscribe to be on the hot side! U don't have to tho' Catch ya! I have a serial number for adobe photoshop cs3 extended but i need an authorization code to activate my photosho ine. Adobe Computers & Internet question. Copy the activation key ( it will be under the serial number in Ps CS3 ) into Authorization Generator ( in the activation Number section )7. Press Authorization Code to get the. Adobe Photoshop Cs3 Key Generator was added to DownloadKeeper this week and last updated on 02-Jul-2019.New downloads are added to the member section daily and we now have 291,969 downloads for our members, including: TV, Movies, Software, Games, Music and More. It's best if you avoid using common keywords when searching for Adobe Photoshop Cs3 Key Generator. Kembali lagi di ViperGoy Blog.Pada kali ini saya akan membahas tentang Serial Number Adobe Photoshop CS3.Sebagai Artikel pembuka Awal Juni ini, saya ingin bagi - bagi Key Serial Number Photoshop CS3.Yap, pada sebelumnya saya juga pernah memberikan artikel tentang Download Adobe Photoshop CS3.Jika sebelumnya Software/Aplikasinya, kali ini Serial Numbernya agar Photoshop CS3.

Enter change document object name and execute (F8).
Similarly, open 'CDPOS' - 'Change Document Item', to draw items information.
NOTE: In the above example, we tried with only I(nsert), in the same fashion U(pdate), D(elete) can also be tried.


Hi All,

I'd like to make a simple document about how to configure the infotype changes log and how to run the reports.

The document will be split into two parts the 1st part will be taking about how to configure the PA infotypes log and the second one will be taking about how to configure the OM infotypes log

Note that you should first arrange for a meeting with your customer or the business owner or even make a list of the infotypes you want to record the log for and also the fields required in each infotype.

Part 1 – PA Infotypes Log:

The Personnel administration infotype can be found through the below IMG path

IMG –> Personnel Management –> Personnel Administration –> Tools –> Revision –> Set up change document

Which is split into 3 steps

The 1st step – HR documents: Infotypes to be logged;

Which is were you set up the transaction class (Master Data and Time Data OR Applicant Data) in the Personnel Administration case choose the Master Data and Time Data class

Then you set up the infotype code for the infotype you would like to activate the log for as below

The 2nd step – HR documents: Field group definition;


Here you set the field to be logged for each infotype,

First you enter the infotype code or choose it which must be entered previously

Then you specify the field groups which can be used to group some fields together in the report, This field is a 2 digit numeric field (00-99)

Then you specify the field names that you want to track the log for, if you want to track the log for all the fields in the infotype enter '*' in the field name column


The 3rd step – HR documents: Field group characteristics;

In this step you specify the document type for each infotype, SAP recommends the long term documents 'L'

At this point you have finished the PA Infotypes logging configuration, Now you can the run report

Follow the below path to get to the report

SAP Menu –> Human Resources –> Personnel Management –> Administration –> Info System –> Reports –> Documents –> Infotype Change –> Logged Changes in Infotype Data

Or through this t-code S_AHR_61016380

Sap Analysis Of Security Audit Log Table

In this report you check the Long-term documents check box and enter the number of the employee's and execute the report.

Part 2 – OM Infotypes Log:


The Organizational Management infotypes can be found through the below IMG path

IMG –> Personnel Management –> ganizational Management –> Basic Settings –> Activate Change Documents

And here it is only one step and then you can execute the report

In here you just specify the plan version that your are going to use, The object types and the infotype codes and the subtype for each one of them

If you want to get the OM log for all the infotype just enter '****' and is you want to use it for all subtype you can use '*' as show in the below screen shot

And make sure to check the active check box

Sap Audit Log Table Pdf

By that you have finished the OM infotypes log activation

Now you have to run report RHCDOC_DISPLAY from T-Code SE38

And you should specify the date of the change you want to run the report for and the object type and it will get all of the changed data for this object

Sap Audit Log Table

By that we have covered all of the infotypes logging with screen shot and clear explanation if you have any questions or comments, Please don't hesitate to tell me to amend the document.

Sap Audit Log Table 2018/19






broken image