Customized table logging
Hi,
There's a customized table that we would like to turn logging on but it's doesn't seem to be working. Here's what I've done :
1) ticked the "Log Data Changes" of the customized table in SE11 -> Technical Settings
2) set the parameter "rec/client" to "ALL" and SAP restarted to activate the profile
Did I miss any other steps? The logging doesn't seem to be working.
Thanks !
Edited by: Sisab Nimda on Nov 2, 2009 9:29 AM
DO you have more than once instance? rec/client set equal for all the instances?
Please check the note https://service.sap.com/sap/support/notes/1916
By the way, do you really want to set log on for all the clients? You should not set logging on for all the clients.
Similar Messages
-
Logging the changes of a custom table into CDHDR and CDPOS
Hi all,
What is the strucutre that is to be passed while creation of a ChangeDocument(Object Class) for the parameter
Name of Ref. tab in SCDO tcode.And what other steps are to be done for logging the changes of a custom table.How do you maintain the first table? Did you create the maintenance module yourself or did you get it generated by SAP? If you have your own maintenace module, all you have to do is get the values from the table at the time when you update it and seve the necessary values in the second table. If you have a generated maintenance module, then you would have to do this in there, problem is you will need to register the onject when you change it.
Let me know if this helps. -
Logged changes in Custom Table
Hi Gurus,
Need the Transaction code to check logged changes in Customizing Table ....... Something Like V_T510N...
...Need to know the USER ID who changed the table......
NOTE: THIS IS FOR CUSTOMIZING TABLE....Not INFOTYPE or PA Table.
Kumarpal Jain.Hi
Check SM30->View of your Custom Table Name->Utilities -> change logs.
Check Tables : CDHDR and CDPOS also.
Regards,
Sreeram -
How to capture - Custom tables change log
Hi,
I need to maintain the change logs for Cutom tables. But, my custom table contains the fields with data type DEC. So, i am getting the record as "####" for DEC fields.
These values, i have captured in Table Maintenance generator Flow Logic Editor - In the loop of EXTRACT or TOTAL.
PROCESS AFTER INPUT.
MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
MODULE LISTE_BEFORE_LOOP.
LOOP AT EXTRACT.
ENDLOOP.
So, can you please help me to find the solution?
Regards,
Srinivas
200AR99#u200C###### MUKKAVILLI 20090728
200AT02###u200C#### MUKKAVILLI 20090731Hi,
Please refer to the following link
http://www.saptechies.com/how-to-activate-the-img-change-log/
Track Table chnages
Hope this helps.
Regards,
Swetha -
hi friends...
i am posting fico document using bapi BAPI_ACC_GL_POSTING_POST.
after that i am updating the document number to my custom table.
but in some cases while updating the document in my custom table i am getting the fallowing dump..
in ST22
How to correct the error:
Database error text........: "[1205] Transaction (Process ID 66) was deadlocked
on lock resources with another process and has been chosen as the deadlock
victim. Rerun the transaction."
Internal call code.........: "[RSQL/UPDT/ZIF004_PKT ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"ZFI_01_MONTHLY_RESULT_FRM_PKT" or "ZFI_01_MONTHLY_RESULT_FRM_PKT"
"UPLOAD_SAP"
Source Code Extract
LOOP AT i_zif004_pkt_sum .
UPDATE zif004_pkt SET xblnr = i_zif004_pkt_sum-xblnr ---> i am getting DUMP here
gjahr = i_zif004_pkt_sum-gjahr
sap_flag_posting = i_zif004_pkt_sum-sap_flag_posting
WHERE compcode = i_zif004_pkt_sum-compcode
AND ccode = i_zif004_pkt_sum-ccode
AND wbselement = i_zif004_pkt_sum-wbselement
AND kostl = i_zif004_pkt_sum-kostl
AND code = i_zif004_pkt_sum-code
AND month1 = l_ltx
AND year1 = p_year.
IF sy-subrc = 0.
WRITE :/ 'Document ', i_zif004_pkt_sum-xblnr, 'is posted for ', i_zif004_pkt_sum-code.
ENDIF.
ENDLOOP.
kindly give some inputs..
regards
SelvaHi,
You will face this issue if your oracle data base is lack of work processes. try to check the work processes and increase them if possible with the helps basis guys.
check the below thread.
DI job failed ORA-12537: TNS:connection closed.
Regards,
Venkatesh -
How to find out the changes made to the customized table entries
Hi Team
i want to know the changes made to the customized table. i have a 'Z' table in my production system, in that table i would like to know whether any table entry is deleted or not. if at all there is any deletion happened, i want to know who had done it.
So i request you to please let me know the procedure for the same.
Thanks
RajHi Nagaraju,
Go to Table Maintenance (SM30)- Display mode-- Utilities-- change Logs. Give the Date range. before giving the date range click on display status , this will show you If the display is active or not. Kindly please let me know If you need any more information on this.
Regards
Ram Pedarla -
OAF Update of Custom Table causing ORA-600 with database block corruption?
Using OA Framework 12.1.3, running under EBusiness Suite 12.1.3
Created Custom Web page operating against Custom Tables
ISSUE
On about 2% of new records, when OAF is UPDATING a record in a certain table, it is failing with
java.sql.SQLException: ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [kddummy_blkchk], [815], [26412], [6110], [], [], [], []
ORA-06512: at line 1
Before the DBA turned on 10.2.0.4.0 DB_BLOCK_CHECKING parameter, this actually
resulted in corrupted data blocks in the database and corrupted indexes that
eventually crashed the database and we had to do a full recovery with 2 days downtime.
Now that we have turned on DB_BLOCK_CHECKING, it simply errors out and puts things
in the alert log, but the records still fail to update as the writes are blocked.
Then oddly, a few days later.. the records become editable. And others fail.
This is ONLY happening on the one particular table being updated by OAF. Other custom pages
posting to other custom tables are having no problems. We've CTAS'd the table back and
forth and recreated the indexes, and that did not help.
Support says to post to the Forum ( So I am! ) or hire Oracle consulting.. which doesn't make
much sense given the error. The Recovery Team that helped us in a separate SR ( we had
to do db_repairs not just recovery ) felt it was an important problem the OAF team needed to
strongly review.
Anyone else encounter this already and know of a solution?
TIA
KarlAfter MANY hours of trial and error and research, we've identified ONE use case that seems to apply to 90% of the issue we have encountered.
YMMV.
The BC4J generated SQL which is generating the ORA-600 is
BEGIN UPDATE XXRETURNHEADER ReturnHeaderEO SET INTERNAL_TEXT=?,LAST_MOD_USERNAME=?,OBJECT_VERSION_NUMBER=?,LAST_UPDATE_DATE=?,LAST_UPDATED_BY=?,LAST_UPDATE_LOGIN=? WHERE RMA_NUMBER=? AND ORGANIZATION_ID=? RETURNING TROUBLESHOOT_DATE, FAA_TAG_DATE, FAILURE_ANALYSIS_DATE, LAST_MOD_DATE, FAA_REVISED_DATE, TTE_TECH_SEND_DATE, TTE_REP_RESPONSE_DATE, TTE_REP_APPROVED, TTE_RMA_RANDOM_KEY, OBJECT_VERSION_NUMBER, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN INTO ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?; END;".
We determined that if TTE_RMA_RANDOM_KEY was not a null value, we would get an ORA-600 error whenever we did an APPLY from the OAF Page to update the record.
If we set that table attribute to NULL for the record using SQL.. then used the OAF Page to APPLY.. it worked fine and the record saved without error.
We then modified the EO to NOT "Refresh After Update" ( thus removing it from the RETURNING clause generated )... and even if the TTE_RMA_RANDOM_KEY
had a value... the OAF Page APPLY worked and the record saved without error.
I cannot identify anything from the User programming side that is wrong ( and neither could Oracle ), and it REALLY should be in the RETURNING clause list of
attributes.. but this is the only workaround I've found that doesn't crash the Page and irritate the user to no end.
I have reported my findings via the SR back to Oracle to do with it what they may... but it looks strongly ,to me, to be an error in the BC4J/JDBC/Database
coordination and passing data between those black boxes. -
Too Many Table logs in DBTABLOG, RSTBPDEL is taking too much time
Hi Experts,
In one of our CRM system, DBTABLOG table is logging one table which is having 1 Billion entries right now. Business dont want to switch off the logging at this moment. But the table is increasing rapidly 42 Gb per month. RSTBPDEL program is running from weeks to delete them, but no control on increment.
Can you please suggest any way to delete them quickly at first, so that my house keeping job will run daily and finish soon.
Regards,
Mohan.Hello Mohan,
The DBTABLOG table does get large, the best is to switch off logging. If that's not possible, increase the frequency of your delete job, also explore one more alternative have a look at the archival object: BC_DBLOGS, you could archive old records (in accordance with your customer's data retention policies) to reduce the size of the table.
Also, have a look at the following notes, they will advise you on how to improve the performance of your delete job:
Note 531923 - Audit Trail: Indexes on table DBTABLOG
Note 579980 - Table logs: Performance during access to DBTABLOG
Regards,
Siddhesh -
Tracking the changes made to the custom table field value
Hi all,
can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
Example: if i changed the value of field 'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.-> try TA: SCU3
regards Andreas -
Error in multiple operation with change document object for custom table
hi all,
I have developed a change document object for a custom table ZTEST and developed a report program for insertion, updation & deletion..everything works fine if I do only once ie. if I created only 1 entries. If I created 2 new entries , I am getting an Error "DUPREC:POS&Z3RL_TAB&Z3RL_TAB" and EXIT the transaction.
why I am getting this error??? is it not possible to do multiple operation with the change document???
kindly help.
Edited by: JaiKarthik on Apr 7, 2010 6:20 AMLOOP AT ts_mod INTO wa_mod.
READ TABLE <i_itab> INTO <wa_tab> INDEX wa_mod-row.
* Select the existing entries in table Z3RL for change history
SELECT SINGLE * FROM z3rl
INTO wa_z3rl
WHERE vkorg = <wa_tab>+3(4)
AND zzkunnr = <wa_tab>+7(10).
* Move the old entries
IF sy-subrc = 0.
CLEAR ls_z3rl.
ls_z3rl = wa_z3rl.
ENDIF.
* Update the table
MODIFY (viewname) FROM <wa_tab>.
CLEAR wa_z3rl.
wa_z3rl-mandt = <wa_tab>+0(3).
wa_z3rl-vkorg = <wa_tab>+3(4).
wa_z3rl-zzkunnr = <wa_tab>+7(10).
* Populate change tables
CLEAR wa_change.
wa_change-teilobjid = 'Z3RL'.
wa_change-textart = 'TEST_2'.
wa_change-textspr = 'EN'.
wa_change-updkz = 'U'.
APPEND wa_change TO ts_change.
*call the fM to log the values in CDHDR table.
CALL FUNCTION 'Z3RL_WRITE_DOCUMENT'
EXPORTING
objectid = 'Z3RL'
tcode = sy-tcode
utime = sy-uzeit
udate = sy-datum
username = sy-uname
planned_change_number = ' '
object_change_indicator = 'U'
planned_or_real_changes = 'U'
no_change_pointers = 'U'
upd_icdtxt_z3rl= 'U'
n_z3rl= wa_z3rl
o_z3rl = ls_z3rl
upd_z3rl= 'U'
lv_opt = ' '
TABLES
icdtxt_z3rl= ts_change.
CLEAR : wa_mod, <wa_tab>.
ENDLOOP.
Edited by: JaiKarthik on Apr 7, 2010 6:49 AM -
Auditing and Custom error logging
Guys,
Can one of you tell me how can we do auditing in ODI i.e like say if load files how many records the file have and how many we have loaded for each file and how many are
bad records etc and how many records we have inserted/updated in each table etc.
Basically some sort of report we need to send in the end as audit report after odi batch run every day
Can we do this in ODI?
Is it possible to do sort of custome error logging like what we do in pl/sql, like inserting into error log table when ever oracle error comes or any runtime error which we need to insert into table etc.
Can we do this kind of error handling ODI?
Cheers
Sri
Edited by: aranisrinivas on 26-Nov-2011 10:13Just use below details for your required information
'<%=odiRef.getPrevStepLog("STEP_NAME")%>'
'<%=odiRef.getPrevStepLog("SESS_NO")%>'
'<%=odiRef.getPrevStepLog("MESSAGE")%>'
'<%=odiRef.getPrevStepLog("ERROR_COUNT")%>'
You can get more details from below tables.
1) snp_sess_txt_log -( It holds the scripts used for the task and session details)
2) snp_sess_task_log-(It holds the time details error msg and all)
3) snp_sess_task -( it holds the name of the task and technology , context details
Thanks -
Team,
Table T77RCF_SMASK has reference to T77RCF_SMG_ASM.
When compared the two tables we found that following entries are missing in T77RCF_SMASK:
71
72
73
74
75
78
92
95
96
Can you please guide on what should be the entry for these in table T77RCF_SMASK? Would appreciate if full table entries are shown in answer for future users.
Missing entries are causing error "Customizing table T77RCF_SMASK contains no corresponding entry for SMASK_ID = 0071 and so on in SLG1 logs display.
Regards
YashThe table enteries should be as attached
Regards
Khalid -
Table entries deleted in Customized table.
Respected Guru's
table entries in a customized table were deleted in production system, no transports pertaining it was found.
Table entries were updated using bapi.
Please help me to know how the table entries were deleted.
Daya.
Edited by: Dayananadan Anandan on Nov 12, 2009 11:35 AMHi Johnson,
you might have to restore the DB Backup for the table to gt back the data....
Furthermore, if you want to track how the entried were deleted then there are 2 ways to go about it:
If the Deletion of the records was through an application (FM,Program call) then there should be Chande Documents available for them and you can search them by hitting tables CDHDR and CDPOS...
If the Deletion of the records was done physically the you can try looking into the tables UASE16N_CD_KEY and UASE16N_CD_DATA (deletion from transaction UASE16N) or tables SE16N_CD_KEY and SE16N_CD_DATA(Deletion from SE16). This will give change pointer documents if the records were deleted using these transactions...
Another option might be that somebody has used the Database utility and selected the option Delete Data. In this case you can have a look at the object log....
Hope this helps....
Regards,
Sitakant. -
Customizing table Changes to another system
Hello all,
When ever changes occurred to personnel area HR table T500P then the changes needs to be replicated in another system.
how to capture the change log details?
Please provide the inputs.
Regards
AravindHi,
First : In the table T500P , some of the field data elements dont have change log checked. so we will not able to use CDHDR and CDPOS table. I have to capture all the changes for this table.
Second: technical setting of the table has data log change check box is ticked but SCU3 is not activated . so this one also we can't use .
Third: Transporting data from on system to another system:For this there is no T500P table exist in the SRM system.
could you please elaborate how to use this step?
Fourth:
1. creating Ztable as copy of T500P and update the ztable with T500P data.
2. write events for this table to update T500P and also trasfer the data.
but thing is we should have to maintain custom table . If T500p changes then it will not update the ztable.
Fifth: I came to know that there is one message type "CONDA2" for Synchronizing Customizing Data Between Systems.
but don't know the procedure to get the complete solution.
Please provide your inputs..
Regards
Aravind. -
Creating Custom Tables in the Portal Database
Is there a way to create custom tables in the portal database in EP6?
Thanks,
MelissaThanks for responding, Nick.
We want to be able to display informational messages on the logon page before the user logs in. Currently we make changes to several ASP files in EP5 to display the messages. We want to be able to give privileged users the ability to enter the message, enter start/end date, etc. We want to do this in EP6 as well.
Maybe you are looking for
-
Problem with display of pages in IE
I'll keep this short and simple, I'm not after criticism of my work but if it is a mess then I understand, I've re-coded a website designed by a friend who has joined the army & is currently serving so I cannot get in touch with him for help, I'm a n
-
Inconsistant overlay issues in same project - urgent help needed please!
Hopefully this has not been asked. I searched and found nothing. The issue is that using overlays works great for two of the three menus in my project, but the third does not display properly when viewing a finished DVD or the TS folder. It looks per
-
Having major issues with iphone 5 hoping someone can figure it our
Been having issues since I got my phone seems I'm being redirected to fake websites. It doesn't matter what browser I use but for example when using chrome and I check the security of the website it says your encryption to verizonwireless.com is encr
-
Need to access TestStand Sequence Step Parameters from Excel Macro
Trying to create an EXCEL spreadsheet containing a list of all steps in a TestStand Sequence including Parameter names and types. How can I access the parameter names and types from EXCEL Visual Basic? It seems the API provides access to sequence par
-
The apple care protection plan
my ipod's lcd screen is broke and i need it repaired to use the ipod, and i was wondering if i could buy this and then send my ipod in for repairs, also does that plan cover something like this? i have only have only had my ipod for abotu 2 or 3 mont