SAP TABLE CHANGE-AUDIT
Hi
Is there any way/report to track what changes were done in the master data for a give period?
thx
Ayyaps
Hi,
There is a standard SAP Audit report which tracks changes to master data.
Report: RPUAUD00
For the tracking to be activated some standard configuration is required.
You will find the prerequistes for the report in its documentation.
Hope this helps.
Regards,
Shreyasi.
Similar Messages
-
Hi,
I have problem with SAP - Cognos interface. It functions like an ABAP program that generates a file from spec. fields of some SAP tables like BKPF, BSEG, BSID, BSIK, etc. And this is all OK, but problem is that report always selects ALL data, and in FI case(those table that I mentioned) this is complicated. For example one item is in some period open item, and in few days it will go to closed items. As COGNOS interface runs once in a Month or something like that, it is problem how to select proper data, because of huge amount FI data.
Any Idea how to select only changes at table level? This must be also applicable to MM, SD and CO data. I thought of CHANGE DOCUMENTS, but what if change is not traced in CDHDR table because some data element is used in SAP table is not check to be observed as Change Document?Mario,
For the changes, when ever there is a change done in the system a change number is created which will be available in table CDHDR, based on the Object classes extract the data and the required dates of changes made pull out the data.
In case for AP, AR, G/L you can check with some tables ( there are some tables which will be only be updated based in the process AP/AR/GL ). Based on the list of these tables, extract data from table CDPOS using the Change Number obtained from CDHDR.
Anmol Saxena. -
Input Filed Length Changes in SAP Table How to maintain in WDJ
hi ,
i have scenario where we are having the scenario like dat ..
container id with 10 chars previousl y in sap system
currently from sap they have changed the length to 20 char in sap tablle.
from web dynpro java we have set length 20 char .
scenario: user can enter text from web dynpro view (portal form ) when click on ok it will save in sap table.
example
we are entering text testbyvenkatreddy
click on save
testbyvenk
now i need to display the full 20 char length
can inputs ?
Regards ,
venkat pHi ,
actually the user can enter the value from portal ie thru web dynpro form
example :
'testbyvenkatreddy'
when user clicks on save .
it will call bapi and update the database the same value will be updated in portal ..
but it is taking only 10 char when we put an external breakpoint in BAPI we observed the input to the bapi is going only 10 char even we have more than 10 char .
From SAP system side they have changed only char length 10 to 20 thts it ...
they didn't changed the filed name or structure only they changed in dataelement ..
is we need reimport the bapi agian or reboot the server ?
wht we need to do exactly we are on support project having lots of bapis in single application ...
regards ,
venkatp -
Log for changes in the SAP table
Hello All,
I have a SAP table in which we want to log all the changes being made by the number of users like modifying some record or adding a new record.
Now What I have done is in the SE11 under technical settings I have checked the checkbox which is "Log data changes", Needless to say I have the developer access key to the system.
Now I want to test whether changes being made by me in the SAP table are logged somewhere or not I want to know where can we see the changes being logged made by me.
Is there a tcode to see the changes being made in the table or a SAP table exists for this.
Thanks,
MarkHi,
BAL_OBJECT_SELECT --> To get the LOG for a object
You can use below Tables/Structures
DDPRT --> Structure of ABAP/4 Dictionary logs
DDPRTXT
Regards
Sudheer -
How may I include the table for audit?
How may I include global tables for audit? We are going to control changes.
Do you know which table contained the list with it?
ThanksHi Marina,
The following is the information on table log:
You must start the SAP system with the rec/client parameter. This parameter specifies whether the SAP system logs changes to table data in all clients or only in specific clients. The parameter can have
the following values:
- rec/client = ALL logs all clients
- rec/client = 000 [,...] logs the specified clients
- rec/client = OFF turns logging off
In the technical settings (use transaction SE13), set the Log data changes flag for those tables that you want to have logged.
If both of these conditions are met, the database logs table changes in the DBTABPRT table. You can also check at transaction SCU3.
Use the RSTBHIST report to obtain a list of those tables that are currently set to be logged.
Hope it helps.
Please award points if it is useful.
Thakns & Regards,
Santosh -
Hi all,
Is there any way to find the list of users who got access to Material Master table, similarly Pricing table and cutomer table as wellYou will need to do some security audit configurations
Here is the link follow it to design your aduit logs for tables.
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/c59d37d373243de10000009b38f8cf/frameset.htm
(Security Audit Log)
Hope This will help you
Logging Change Documents
A change document tracks changes to an SAP object. The document
is created independently of the actual database change. The change
document structure consists of change document header, change
document item, and change document number:
For many applications in SAP, changes are logged as they occur. Each application has its own transaction to review change documents, for example, MM04 for material changes and VD04 for
customer changes. Normally the menu option is Display Changes.
Logging Changes to Table Data
Logs are analyzed by object, that is, the changes can be shown in their
Customizing context, not just technically at table level.
The table changes log is available via transaction SCU3.
You must start the SAP system with the rec/client parameter. This
parameter specifies whether the SAP system logs changes to table
data in all clients or only in specific clients. The parameter can have
the following values:
. rec/client = ALL logs all clients
. rec/client = 000 [,...] logs the specified clients
. rec/client = OFF turns logging off
. In the technical settings (use transaction SE13), set the Log data changes
flag for those tables that you want to have logged.
Checking Table Logging
Use
To check the table change logging, follow this procedure.
Procedure
1. Choose Tools u2192ABAP Workbench u2192Development u2192ABAP Dictionary.
2. Enter the name of the table whose log settings you want to check.
3. Choose Display.
4. Choose Goto u2192Technical Settings.
5. Make sure Log data changes is selected.
Hint: All customizing tables are automatically recorded by
default.
Activating Table Logging
1. Start transaction SE12.
2. Enter the table name.
3. Choose Change.
4. Select Log data changes.
5. Save your entries.
Displaying Logged Tables
Use
You can list the tables with automatic change logging, in the IMG logging
Prerequisites
To record table changes automatically, you must have allowed data change
logging.
Procedure
1. Choose Tools u2192Customizing u2192IMG u2192IMG Logging.
2. Choose List Logged Tables.
3. Choose Evaluate Logs. -
Creating a new Search Help on a standard SAP table field?
Good day, everyone!
As part of a report I am writing, the customer would like to have Search Help added to the AUFEX field in table AUFK. They would like this functionality so that when they are changing an order via t-code ko02, they can get a list of valid values to put in field AUFEX. I would like to tie it to a zTable I've created; in my zTable, I have just 2 fields: a key value (that will go into AUFEX) and a text description of the key value. This zTable is used in my report.
While I've created a Search Help on this table already for table maintenance, I've never added a custom Search Help to an existing standard SAP table field before. I've done some Googling and other searching to see what I need to know, but I've only been able to find information on Collective Search Helps. AUFEX doesn't yet have a Search Help field, so I don't think Collective Search Helps is my answer.
Is this possible? Can I add a custom Search Help to a standard SAP table field that doesn't have any Search Help linked to it yet? Is there an existing thread or guide somewhere that can tell me how to do this?
Thank you!Hi
Yes u can: u can assign the search help to (A) data element livel or (B) field table livel.
After creating your search help:
A) Run SE11, insert your data element (AUFEX), press edit and insert the search help in "Search Help" area on DEFINATION tab;
B) Run SE11, insert your table (AUFK), press edit, place the cursor on your field (AUFEX) and go to GoTo->Search help->for field
But u should consider it'll mean to change a standard object for both cases: so u need to get the access key from your OSS.
Max -
How to update Records of SAP table from .CSV file
Hi,
I have written a code which takes a data from (,) delimited CSV file and adds it into the Internal table.
Now I want to update the all fields in SAP table with the Internal table.
I want to use Update statement.
Update <table Name> SET <field needs to update> WHERE connditon.
I don't want to iterate through thousand on record in sap table to check the where condition.
Could you please tell me how to do it.Hi. I thing you will not workaround the iterating of the internal table.
You can pre-load all the records into another internal table
check lt_csv[] is not initial. " important, otherwise next select would read all records of the table
select .... into lt_dbitab for all entries in lt_csv where key-fieds = lt_csv-key_fields...
check sy-subrc eq 0 and lt_dbitab[] is not initial.
then do in-memory update of the it_dbitab
loop at it_dbitab assign <fs>.
read table lt_csv assign <fs_csv> with key ... " lt_csv should be sorted table with key, or you should try to use binary search
if sy-subrc eq 0.
...change required lt_dbitab fields: <fs>-comp = <fs_csv>-comp...
endif.
endloop.
ant then you can do mass-update
update dbtab from table lt_dbitab.
From performance view, this solution should be much faster than iterating lt_csv directly and updating every single database record
Br
Bohuslav -
Using an on update or insert trigger on a SAP table
Hi all,
A question for you regarding using a database trigger in and SAP system.
We are needing to export data for our datawarehouse. Currently we export all the data. That data is getting quite large tho and time is becoming an issue.
One suggestion has been to add a custome field to an existing SAP table to hold a flag to indicate the record has changed but not been extracted. Thenput a trigger on the table in question so that the new field is updated upon update or insert of the record. Then when the extract runs, it will only extract those records with the flag set, then reset the flag.
we are using ERP 6 and SQL Server 2005 (or soon to as we will be upgrading next month).
Any suggestions regarding triggers? Or other options for flagging changed records in large table so we don't have to extract all records every time?
Thanks
Laurie
Edited by: Laurie McGinley on Oct 27, 2008 10:51 PMHi Laurie,
just really shouldn't consider to put triggers into your application.
The problem here is the very nature of triggers to do things 'in the background'.
If you have problems due to the trigger, you won't see it anywhere in the SAP environment.
In a while you probably forget about the trigger at all and then nobody can see, what is happening to the database, just because something is changed "in the background".
Besides that you don't get support for this from SAP, you will make your life a lot harder.
Tabledefinitions may change - your trigger might break.
Put application logic where it belongs - to the application layer!
regards,
Lars -
Initial Balances for some of the G/L Accounts in GLPCT table changed
Sub : G/L Account Balance( T code FAGLB03 ) and EC-PCA: Totals Table (Table GLPCT) initial balances are not same for some of the G/L accounts ( Initial Balances for some of the G/L Accounts and profit centers in GLPCT table changed )
Dear Friends
We are in SAP ECC 5.0. We are using New G/L Accounting
G/L Account Balance(Initial Balance)( T code FAGLB03 ) and EC-PCA: Totals Table (Table GLPCT) initial balances are not same for some of the G/L accounts ( Initial Balances for some of the G/L Accounts and Profit centers in GLPCT table changed )
G/L Account : 1110001 AR Trade - Recon
G/L Account Initial Balance( T code FAGLB03 ) 36,789,209.26 USD
EC-PCA: Totals initial balance (GLPCT table) 14,178,848.14 USD
I found in GLPCT table initial balances for G/L 1110001 and some of the profit centers are changed. The initial balances are not supposed to change for the entire financial year
I have checked none of documents for this G/L and these Profit centers of last financial year have been posted or reversed in current financial year.
Please try to help me what has caused to changed the initial balances and how to correct it
Please let me know if you guys need more details
Thanks in advance
Thanks
MVSHi Vinay,
If I understood correctly you are trying to balance Accumulated Depreciation accounts (from the AA module) with the Cost Depreciation Accounts.
If they don`t balance zero, it mostly likely means, that some user has posted manually deprecian in your GL, not using the depreciation program.
Hope this helps.
KR
Severina Koleva -
HI guru's,
Iam new to sap... un expectly deleted some entries from tables..i want to some fields in sap table: T030 how to add it.. plz send me example programm..
regards
JKhi,
Use Maintenance generator for that table..
then u can easily upload ur datas to tat standard table
Table Maintenance Generator (TMG) is a tool which is used to create a equipment by which customized tables created by end users can be changed as required,such as making an entry to that table,deleating an entry etc.
Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
https://forums.sdn.sap.com/click.jspa?searchID=12043942&messageID=2272486
Re: Modifications to SAP Standard
https://forums.sdn.sap.com/click.jspa?searchID=12043942&messageID=5019762
siva -
Who mainatined the entries in sap table
Hi,
Can someone please tell me how do I find which user mainatined the entries in table B006 or any sap table.
Also how will I know who has authorization to maintain the entries.hi
first go to SE16n and enter the table name as CDPOS and in the selection screen enter the table name as B006 and execute now you will get the following
change doc object
object value
document number
make a note of the above and now goto se16n and enter the table name as cdhdr and enter the above values which you got in CDPOS
like change doc object or object value and execute now you will get the user name who had maintained or changed the entries for that table
regards -
Import Data from Office Control (Web Dynpro for ABAP) into SAP-Table
Hello,
I have a question concerning the Office Control UI-Eelement in Web Dynpro for ABAP:
How can I import spreadsheet data from the Office Control in a SAP-table?
I have an Excel-sheet (without any data) which is shown initially in the Office Control. First the empty Excel-Sheet will be loaded and in the second step data from an alvxml-transformation will be loaded into the Excel-sheet with the method 'activatexmlsource'. This works so far. When I change the loaded data in the Office Control and save it it will be stored as XLS-File. The problem is that I'm not able to use existing Upload-FM because every function module I tried uses GUI-functions and WebDynpro has no GUI-functionality. I always get the error that data from clipboard cannot be imported.
So now the question is:
How can I import changed data from the Office control into a SAP-table staying in Web Dynpro application?
Please give some advice, if you have some useful code or ideas.
Thanks in advance,
Philipp
Edited by: Philipp Hiebler on Feb 11, 2008 10:15 AMHi,
Once you save to desktop again you have made some changes to that file, this file you want to upload it right.
Then in that case you need to use the FILEUPLOAD UI element right.
Regards,
Lekha. -
Read SAP table content through VBA why Chinese characters display as '#'
Hi ,
I meet a problem . I want to get sap table content through RFC in excel VBA. now i have solve it . It can got table content . when i change a new system , it can get table content ,but chinese characters display as '#' ( it works well in sap 4.6c Chinese characters can display , when upgrate to ecc 6.0 it can't works well )
some VBA code as below :
Set ofun = CreateObject("SAP.FUNCTIONS") ' create a FUNCTION object
' Connect has create and conneted to SAP system
Set ofun.Connection = Connect ' "connect"has create connetion sucess
Set func = ofun.Add("RFC_READ_TABLE") ' set RFC object to call function
func.Exports("QUERY_TABLE") = "T179T" ' set table name for get table content
func.Tables("OPTIONS").DATA = "SPRAS = 'ZH'" ' set condition of language of 'ZH'
If func.Call = True Then
Set oline = func.Tables.Item("DATA") ' set table content which get from table T179T to object "oline"
endif
who can give me some suggestion about this ? Thanks .
Edited by: Chris Xu on Oct 31, 2008 6:51 AMHi Chirs,
I am facing the same problem but i am using c sharp and this is a windows application.
I tried to change the CodePage attribute by simply setting connection.codepage = "8040";
But i get an exception.
attempted to read or write protected memory.
I cant seem to change this. What should i do. Also do we have to set this at the point of connecting to the Sap system or when i'm calling the RFC. I tried both instances but none worked. Could you please help me out.
i am using VS 2008.
Thanks,
Yohan -
Report on direct SAP table updates?
Is there a SAP (audit) report that will list customer developments that update SAP tables directly? (a listing of Z* programs that INSERT, DELETE, MODIFY, UPDATE SAP tables). Thank you, Adrian
Hello Adrian,
the 50 object restriction should not apply if you define an object set and do not use the on the fly search but save a pattern. I have run the code inspector for 1000 and more objects w/o problems.
Kind Regards
Roman
Maybe you are looking for
-
My Macbook Air first generation is slow and applications don't work!
Last week, I woke up to find that my macbook air (first generation) has completely frozen. I went ahead and tried many keys such as esc, etc. until I decided to press on the power button for a few seconds until it restarted. Next, I found an empty sc
-
Will an iPad work as a reader for a PDF formatted test book
The typical file I want to read is about 1000+ highly formatted pages and 400 MB. Simple requirments I have are: 1) Can I actaully see a page of text and read it. I tried this on a Kindle and was forced to zoom in and then horizontally scroll a w
-
IPAD asking for a passcode. I don't have one.
Ipad asking for passcode. I have never entered one . What do I need to do?
-
PI - monitoring queues through Mobile apps
Dear Team, Currently we are on PI 7.3 version and client has come up with the expectation of exploring the possibility of PI queue monitoring through Mobile apps. We are going to upgrade our system to 7.4 in couple of month so any solution for ver 7.
-
I want to delete folders in the email I want to start over with new folders
I want to delete the folders that appear on the left side column next to the email window..... I don't know how else to describe it. I saved folders that I now want to delete, or re label into new folders Gene