How to fetch audit log in ABAP
can somebody tell me how to fetch audit log texts in abap program to displyay.
if Any functional module present to retrieve could you pls tell me..
ambichan
hi,
use the function module read_text to retreive the text details.
FUNCTION READ_TEXT.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(CLIENT) LIKE SY-MANDT DEFAULT SY-MANDT
*" VALUE(ID) LIKE THEAD-TDID
*" VALUE(LANGUAGE) LIKE THEAD-TDSPRAS
*" VALUE(NAME) LIKE THEAD-TDNAME
*" VALUE(OBJECT) LIKE THEAD-TDOBJECT
*" VALUE(ARCHIVE_HANDLE) LIKE SY-TABIX DEFAULT 0
*" VALUE(LOCAL_CAT) DEFAULT SPACE
*" EXPORTING
*" VALUE(HEADER) LIKE THEAD STRUCTURE THEAD
*" TABLES
*" LINES STRUCTURE TLINE
*" EXCEPTIONS
*" ID
*" LANGUAGE
*" NAME
*" NOT_FOUND
*" OBJECT
*" REFERENCE_CHECK
*" WRONG_ACCESS_TO_ARCHIVE
specify the name of the text and the object type as specifed in THEAD table.
Regards,
Jagath
Similar Messages
-
How to extract audit log from R/3 into BW
Hi, I have a request that how to extract audit log from r/3 into bw?
Is there any datasource or infocube I can use?HI ,
Identify your Audit Log table and create generic data source for the same using rso2.
Regards
BVR -
Fetching Audit log from sm20 tr-cd
Dear guys,
I am asking this question from quiet long time..
but no body replies with enough information....could somebody plz tell me,is this something vague job to do or my explanation is insufficient.?
i debugged the code at SM20 program too..but i could not observe the suitable FM to fetch audit log texts and put in Internal tableshortly.Even though i went thru SECU FGroup..saw audit log related FMs.
could somebody follow this post..i could reward points once i get answer for my question.
Thanks in advance.
ambichanHi,
You can activate the internal audit system by setting the audit log parameters as described in the following table :
Audit Log parameter settings Audit Log Parameter Set value to...
rsau/enable 1
rsau/local/file path to audit log file
rsau/max_diskspace/local maximum space to allocate for the audit files
rsau/selection_slots 3
rec/client ALL
Thanks,
Hamendra -
How to extract audit log data from every document library in site collection using powershell?
Hi All,
I have n number of document library in one site collection,
My query is- How to extract audit log data from every document library in a site collection using powershell?
Please give solution as soon as possible?Hi inguru,
For SharePoint audit log data, These data combine together in site collection. So there is no easy way to extract audit log data for document library.
As a workaround, you can export the site collection audit log data to a CSV file using PowerShell Command, then you can filter the document library audit log data in Excel.
More information:
SharePoint 2007 \ 2010 – PowerShell script to get SharePoint audit information:
http://sharepointhivehints.wordpress.com/2014/04/30/sharepoint-2007-2010-powershell-script-to-get-sharepoint-audit-information/
Best Regards
Zhengyu Guo
TechNet Community Support -
How to write a log using abap mapping
Hi all.
in PI 7.1 environment I need to use abap mapping and I wish to write some XML data into a table that I created for logging the data.
I know that using the abap mapping I can parse an XML file. My question is how to write this table defining a specific method, if it is necessary.
Any help or suggestion is well appreciated.
Many thanks in advance for your kind cooperation.
Regards,
Giovannihi,
>> My question is how to write this table defining a specific method, if it is necessary.
just like to normal table (insert statement)
parse XML and get the data you need and just insert into the DB table
there are many tutorials showing how to parse xml file inside abap mapping
so just do a little search on sdn
Regards,
Michal Krawczyk -
How to fetch the logged in user?
Hi Friends,
In my BSP application, I need to capture some data from the logged in user. For this I need to fetch the logged in user name, through my BSP application.
Could you please let me know, whether there is any FM or API, which serve the purpose for me.
Your help in this regard is highly appreciated.
Thanks & Regards,
JohnHi,
Use the system variable SY-UNAME .
Regards,
Anubhav. -
Hello,
I would like to know how to check change logs for ABAP Query in the Global Area. I had created a query and am not able to find who has changed this. Please provide some valuable suggestion on this.
Regards,
SumitDear Satyen,
Go to menu Edit-->Other user group, choose the user group, where u have assigned the infoset no give the name of ur query and press create button, it will display all the infosets those are assigned with that user group. Now select ur infoset and start developing the query.
see useful tips:
10 Useful Tips on Infoset Queries
Regards,
Abbas. -
Can any one tell me how to capture Audit log in sap without enabling it i,e. not through sm20
My concern was without enabling audit log through sm19, and display by SM21. How can i find user activity in SAP? i.e, at what time user login/logout from sap and entered which t-code/report of sap and executed which table of sap?
more over i would like to know all these details like...track user activity from SAP i.e., date, time, terminal name, ip address and transaction code, program name and database table along with these details:
a. PC identity, which is fixed and unique for each users' pc.
b. VPN login - external and internal ip address of connecting pc.
c. Report on users connecting to multiple SAP idu2019s from the same pc.
d. For watched users, need to watch every single record that they access.
e. Capturing users accessed to which database table of SAP.
Edited by: Ravipawar1 on Feb 9, 2011 4:28 PM -
How change sStart and End Date and time in the Audit log ???
Install C2S BM39SP1. Work.
Go to the: https://bmserver:8009
Open : VPN Monitor | Audit log information.
Problem - can not cahnge Date and time in the Audit Log Start(End)
How i vcan do this ?
How i can get every day stat log:
login ; date_time_login ; dtae_timie_logout ; bite_in ; bite_out
SergSerg,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
How to enable the Exchange 2010 Admin Audit logs in Event Viewer
How to enable the Exchange 2010 Admin Audit(Mailbox Auditing) logs in Event Viewer.
- Sivashankar. Please mark as answer/useful if my contribution is helpfulHi Siva,
We could execute the command below to view Administrator Audit Logging settings:
Get-AdminAuditLogConfig
If it is not enabled, please run the command below:
Set-AdminAuditLogConfig -AdminAuditLogEnabled $True
In addition, here are some references for you to utilize this feature:
Configure Administrator Audit Logging :
http://technet.microsoft.com/en-us/library/dd335109(v=exchg.141).aspx
Search the Administrator Audit Log :
http://technet.microsoft.com/en-us/library/ff459262(v=exchg.141).aspx
Regards,
Rebecca Tu
TechNet Community Support -
Dear all,
In below snapshot, i want value in line number 23 (Current stack) from line number 12.
There is some value in stack nunber 12 , i want to use it into current stack 23.
How to fetch value from stack number 12??? Is it possible with the help of field symbol??
Thanx,
Satyen TrivediHi Satyen trivedi,
You can use the Below method to fetch the non accessible value in your program using the Program Name.
http://www.dataxstream.com/2009/08/use-abap-to-access-any-data-in-memory/
Regards,
Bhushan. -
Hi,
I would like to know the "lastsucessfullogindate" for portal users.
I cam across that that this is present in the UME API's
but this method is deprecated.
does this information also comes in the security audit logs.
If yes then how should be auditng be done.
Regards
ManojHi Manoj,
well sort of, you can look up, when a certain person did log in. The last log in then is the date you are looking for. There is however no log saying User X last successful log in at ....
The info what is getting logged can be found <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/03/37dc4c25e4344db2935f0d502af295/frameset.htm">in the docs</a>.
The location of the log files is also described <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm">in the docs</a>.
regards,
Patrick -
How to setup HFM Task Audit logs?
How to setup HFM Task Audit logs on 9.3.1. I have been asked to provide this information from the Auditing company.
Any help would be appreciated.
Thanks,
RaguThe task audit is a feature which is always on -- it is not configurable. It tracks most common user tasks in HFM, but not everything.
The feature is accessible from the web, but only by users who are part of the application administrators group as configured in the EPM Configurator utility. This is not the same as having the application administrator role. Whoever installed and configured HFM can show you the configuration of this option, in terms of which user group can access Task Audit, Data Audit, System Messages from the web client.
Data Audit is an entirely independent feature, configured by enabling at the account and scenario level from within metadata. Once configured, users in the Application Administrators group (as above) can view this report from the web.
--Chris -
How to schedule a batch job to generate security audit log (SM20)
May be this is a repeat question for this forum. Apologize, if it is. Is there a way to schedule a batch job to generate security audit log (SM20) automatically and possibly send a message to SAP Inbox or generate a spool request? Release is 4.6C.
Regards
Nirmal> May be this is a repeat question for this forum. Apologize, if it is.
You don't need to apologize. You only need to do a very simple search...
> Total Questions: 18 (16 unresolved)
Perhaps 16 of those 18 questions you have not followed up on could have been spared as well?
Please do the needfull.
Cheers,
Julius -
How to keep rwb audit log more days
Hi experts,
Simple question. When I access to the audit log in the runtime workbench of messages which are older than one day, the audit log is empty.
Where I can change the days the audit log is keeping the data?
Thank you!
IgnasiHi Christoph
Last week we set the following parameters but still not working:
ARCHIVE PERSIST_DURATION ASYNC 5 1
ARCHIVE PERSIST_DURATION_UNIT ASYNC D D
DELETION PERSIST_DURATION ASYNC 5 1
DELETION PERSIST_DURATION HISTORY 30 30
DELETION PERSIST_DURATION SYNC 5 0
DELETION PERSIST_DURATION_ERROR SYNC 5 1
DELETION PERSIST_DURATION_ERROR_UNIT SYNC D D
DELETION PERSIST_DURATION_UNIT ASYNC D D
DELETION PERSIST_DURATION_UNIT HISTORY D D
DELETION PERSIST_DURATION_UNIT SYNC D D
What's what we are doing wrong?
Thank you very much!
Maybe you are looking for
-
Garageband 4.1.2 Hangs on Record
I can't say if this is a new problem or not as I hadn't tried to do anything with Garageband before, but I've been having this problem while trying to record a podcast. Everytime I try to start voice recording by clicking the red record button I then
-
MacBook Warranty & Aftermarket Batteries
I was wondering if I would be voiding my warranty if I were to use an aftermarket battery such as the "TruePower" battery at FastMac
-
Apply salt and iterationCount to key
Hi, I need to apply salt and iterationCount to a passphrase key for PBE encryption without using PBEParameterSpec since I am using direct implementations of the Algorithms for encryption. Any help will be much appreciated. Thanks, Clive
-
We use a real time manufacturing process with our Oracle 8.0.4.0.0 database with NT. Are there any built in apps to duplicate my dbase to my BDC ? What would be that best way to configure a back up server ?
-
What is portal eventing?
Hi Gurus, If anybody has good documentation on portal eventing please send it to shakthigin @yahoo.co.in or please give me the links to the document. Thanks in Advance, Dharani