How to track changes in a custom table
HI all,
Requirement is
1. In custom table instead of using table maintence generator ALV gird has to be display to see table entries. But where i have to write the code when user press CONTENTS button?
2. In alv gird there shuld be one button which shows the change history of selected record and modify the content of selected record. For track changes i have registered custom table name in SCDO. so that changes made will reflect in CDPOS/CDHDR.
but how can i track changes thru dis table? i didnt find field contents of custom table in CDPOS/CDHDR tables?
Please help me with these Ques.
Hello,
SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
They all use the standard function Module
call function 'CHANGEDOCUMENT_READ_HEADERS'
call function 'CHANGEDOCUMENT_READ_POSITIONS'
so with these you can get the changed records
Let me know if this helps you
Thanks and Regards
Pushkar Joshi
Similar Messages
-
How to track changes in a custom table and based on that run an interface
I have an interface. The pre-condition for running the interface is "Run the interface only if there is new entry added to the table( a custom table). Now I have created a change document object using tcode SCDO for the custom table. Now how do i proceed further. Please tell me the steps which i need to follow to check if the custom table has been changed and also the entries changed before running the interface.
Hello,
SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
They all use the standard function Module
call function 'CHANGEDOCUMENT_READ_HEADERS'
call function 'CHANGEDOCUMENT_READ_POSITIONS'
so with these you can get the changed records
Let me know if this helps you
Thanks and Regards
Pushkar Joshi -
How to track changes to longtexts (in tables STXH, STXL) ?
Hello everybody,
I need to track changes made to the long texts in sales orders.
Reading change documents tables (CDHDR, CDPOS) does not work for the long texts tables STXH, STXL as no relevant data is written.
Only the latest entry is stored in STXH and STXL.
Where to look for changes made to the text tables ?
Many thanks and kind regards,
Chris.Hello Carsten,
Thanks for the tip, it was very helpful !
kind regards,
Krzysztof. -
ALE/IDOC Change Pointers for Custom Table
Hello all,
There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.
Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC
The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.Hi Raja,
You can send IDOC based on table maintenance event
I think you can code in event 02, to generate IDOC.
Check below link:
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Regards,
Nisha Vengal. -
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. -
How to track changes on Infoprovider?
Hi Gurus,
Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
I would like to track any actions that were made on those cubes.
Thanksthanks Kumar for helping me out here
I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
Kindly provide additional inputs.
Thanks -
How to track changes in a hyperion application for SOX control?
Hello all,
We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
The following areas have been identified as the main areas of an application where the changes are to be tracked:
Monthly data load from ODI
Calculation of data
Metadats change
Formula edit
Changes to reports
Changes to security
Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
Somebody suggested that there is hyperion auditing available.
Is there any other software that is available that can do this or just documenting the changes would be the best option?
Please suggest. Toyr response would be appreciated.
Thanks.Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
HTH-
Jasmine. -
How to track changes in name who are enrolled in a benifit plan
hi,
can any1 help me
how to track changes in name for an employee enrolled in a benifit plan.this report is to run monthly.
should use change pointers or should use aedtm field..
can any1 help..
thanx in advancePl take a look at the Std Report RPUAUD00 used for Infotype Logging. The Report Documnentation details the steps needed to turn the logging for the PA infotypes, which in your case could be 0167,0168,0169 etc..
~Suresh -
How to send changes in the Database Table Periodically using Change Pointe
Hi,
How to send changes in the Database Table to the external system Periodically using Change Pointers.
Thanks & Regards,
Gopi.That depends on what table you are referring to.
-
Tracking changes in a customized database table
Hi All,
I have made a customized Z table having the following technical attributes:
Data class APPL1 Transaction data, transparent tables
Size category 0 Data records expected: 0 to 40,000
\/ Log data changes(ticked).
I have made one table maintenance generator for the table and inserted some values in it. I am not able to view the changes made in the table in table DBTABLOG or using transaction SCU3.
What are the other settings needed to view changes in table(table history). <<removed by moderator>>
Regards,
Debopriyo MallickHey,
Check this link. U can find step by step.
http://help.sap.com/saphelp_nw04/helpdata/en/25/f4dd58807b11d395fc00a0c930dcc1/frameset.htm
Regards,
Lakshman.Annamaneni -
How to get changes of a custom PL/SQL package updated in ISG?
Hi All,
I need some help on how to change a custom PL/SQL package in ISG integration repository:
I already uploaded my custom PL/SQL package to the integration repositoy some time ago. Now I have made some changes to PL/SQL record/table types defined in the package (added some fields and removed some others). These changed record/table types are used by a procedure I already uploaded to the integration repository. When regenerating the WSDL for my PL/SQL package in integration repository I get an error that the wrapper for respective procedure can't be found. When checking up the SQL types that were automatically generated (by JPublisher) for corresponding PL/SQL types, these generated SQL types are invalid...
So it seems that in one case JPublisher generated an empty SQL type (with no attributes). In another case JPublisher generated the SQL type with old attribute list, so it didn't adopt the changes of corresponding PL/SQL type in the package...
Can anybody tell me how to get the changes of a cusotm PL/SQL package updated in ISG? Or is there any possibility to first remove a whole PL/SQL package from the ISG integration repository (and getting rid of all old automatically generated SQL types), so that I can newly upload my PL/SQL package afterwards?
Thanks
Konrad
Edited by: Konrad on 24.10.2011 10:51Thanks Daniel, for your reply...
(-> for info: I'm a colleague of Konrad...)
Yes, we used a higher version number - and the upload of iLDT file works fine...
But, the problem occured when generating the WSDL...
However, I think we have found an approach of how to get the changes of a custom PL/SQL package updated correctly in ISG:
1. Save a copy of PL/SQL package and then delete it in the database
2. Regenerate the WSDL for PL/SQL package in ISG (seems that all atutomatically generated JPub wrappers and SQL types are also deleted)
3. Restart all processes
4. Create the changed version of PL/SQL package in the database again
5. upload of iLDT
6. Regenerate the WSDL for PL/SQL package in ISG
Best Regards
Carolin -
How to track changes when a contact updates contacts address section?
I'm creating a workflow to create an integration event when a contact updates its contacts address section (number/street, address2, address3 city, state, zip).
Record Type: Contact
Trigger Event: When Modified record saved
Workflow Rule Condition: None
Action Type: Integration Event
When I go to configure the workflow action, I don't see the address on the track changes list. How do I specifiy the address section to be tracked when it's modified?
ThanksThe best way would be to create a trigger in the database that would update the history table whenever the data was changed. The next best would be to use a stored procedure. I would not try to do this with server side scripting.
-
How To Track Changes to Scripts Made via UCCE AWS
Hi there
Does anyone know how to produce an audit trail/sql query which would display who had made changes to scripts or config, via the aw??
I have a customer who has had unauthourised modifications made to some scripts which have caused operational difficulties and we need to find out how made these changes pronto.
many thanksHi,
yes, there's a database table named Config_Message_Log. It contains all the information that might be useful in such cases: the date and time, the user's login name and what information (more precisely: which database table) has been changed. It must be noted, however, that the "what has been changed" is not stored in a human readable form, you need to extract it using the Log viewer functionality of icmdba tool (which is a friendly GUI alternative/wrapper to the dumpcfg command line tool).
Issue the icmdba command on the command line of your AW machine. Expand Servers > [the server where a Logger resides]. Click [instancename]_sideA (or [instancename]_sideB). From the menu bar, select View > Log. A new window appears. Set the from and to dates to a desired value, then click View. It might take some time while a new window appears, containing the list of changes.
Example output:
[ 610672580481.0, Add, Nov 1 2011 7:49AM ]
PID: 4172
MachineName: AWSA
UserDomain: IPCC
UserName: administrator
ProcessName: conicrList(upcc)
SQLServerUserName: DBO
[ 610672580482.0, Delete, t_Agent_Team_Member, Nov 1 2011 7:49AM ]
[1 of 3]
AgentTeamID: 5000
SkillTargetID: 5138
ChangeStamp: 171
[2 of 3]
AgentTeamID: 5014
SkillTargetID: 5385
ChangeStamp: 83
[3 of 3]
AgentTeamID: 5020
SkillTargetID: 5066
ChangeStamp: 86
This means on 1st November 2011 at 7:49 somebody with the IPCC\administrator login on the AWSA machine removed three agents (with SkillTargetID 5138, 5385 and 5066) from the Agent Team with AgentTeamID 5000.
Script changes are not so easy to explain, however, since each save generates a new version of a script, you'll see a new record in the t_Script table. Feel free to post the output here, I might be able to help you or at least show you the right direction.
It must be noted, however, that the Config_Message_Log table can be truncated (erased) with the icmdba tool too. So if the customer knows this, they might just perform an unauthorized change and then destroy all traces, unfortunately.
G.
P.S.: you can also use the dumpcfg tool from the command line, it's faster - just make sure you read the instructions (do dumpcfg /?) and redirect the output to a text file. -
How to Track changes of Detail and header at purchase document
Hi
I have one problem while issueing the output type i created new output type created new output routine and i have to track the header changes and issue proper output and prevent to issue wrong output type
example : zne1 for header changes and zneu for detail level but i cannot track the header level changes becoz cdhdr and cdpos tables are updated after output routines (800 and 801 newly created and assigned)
can u please tell me how to track the po level changes so i can solve this problem ASAP
it is urgent !!! please help me in this !!
thanks in Advance !!!Hi Mr. Modi,
Can you clarify your scenario properly that I can analyse it to give you proper solution....I am confuse with your requirement and example which you have given...
Cheers,
Sagun Desai.... -
Hi friends,
I am a XI consultant. My query is regarding how to track the chages.I heard that CDHDR and CDPOS tables are used to store the information regarding the changes made to the objects/tables in SAP.My scenario is i have a table having few fields related to P.o and a flag indiacating Insert/Update/Delete, so upon the creation/upadate/deletion of a P.O(related to perticular WBS Element) i want the data to be transfered into my table automatically.
Is there any standard transaction available to do that....means i want to track all the P.Os under a perticular WBS element..
If not Do we have to write a Abap program and use CHANGEDOCUMENT_READ_HEADERS,CHANGEDOCUMENT_READ_POSITIONS functions to store the data into internal tables ?????
Regards,
Gowtham K.HI gowtham,
Yes, u are right,
we have to right some abap code.
"CHANGE DOCUMENTS" in SAP Terminology
1 The same thing which u are asking
we had developed here. For Eg : Any change
in the material master will be detected
and a mail will be sent to the concerned
employee.
THIS WILL ALSO DETECT WHICH FILEDS HAVE CHANGED.
IT CAN ALSO GIVE, The Old Value, And The New Value.
2. This Mechanism is called CHANGE DOCUMENTS in
SAP Terminology
3. 2 Fuction Modules are Required.
(They will fetch necessary data from CDHDR,CDPOS)
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS
4. The First FM gives list of all
records ( with change no) which have changed.
5. Loop at the above and the second FM will
provide the details (old-val, new-val) for
each record.
6. While using 1st Fm, i used docclass as 'MATERIAL'.
BCOS
the concept of change documents is applicable
to other type of documents also (depends upon
customization)
regards,
amit m.
Maybe you are looking for
-
Is there anyway to get deleted pictures back
I by accident deleted a bunch of pictures off my iPad and I been trying to find a way to get them back. I am not technology savvy so if anyone could please help with directions that would be great I really would appreciate it.
-
I cant remember my apple id sequrity questions and i didnt set a rescue email address. What can i do??
-
I have purchased several albums under my regular Apple ID in iTunes. I have just signed up for the .Mac trial (which I am going to purchase) and I am going to start using my .Mac email as my primary address. The problem is, I want to change the infor
-
Function Module Extractor with Delta Functionality
Hi Friends, I have to extract the entire data of CDPOS table in R/3 , as its a cluster table I am unable to build a view, I am planning to go for FM extraction, Could someone help me as how to build it with Delta Functionality. I think I need to
-
Was iOS 5 meant for iPad 1st generation? Ever since updating it is slower and slower.
Was iOS 5 meant for iPad 1st generation? Ever since updating it is slower and slower.