on 03-09-2006 11:21 AM
HI All,
How to check the records that were insterted in a day in a standard SAP table?
For example : I want retrieve the records that were added in a day in WLK1 table.
How do i do this?
Urgent!! Please help!
Thanks in advance!
Sandeep Shenoy
Hello,
I have encountered the same issue and found the solution for that. (For some further requests on forum)
If you want to check history changes on a table without using CDHDR and CDPOS tables (it takes too long to analyse header change documents). You can use the following standard report : RSSCD150.
Regards,
Sami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sandeep,
use the fm CHANGEDOCUMENT_READ
Thanks
eswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Changes to data within a table can be automatically logged. Such automatic logging of changes is called automatic table history. To turn on logging, tickmark the Log Data Changes check box on the Technical Settings screen
IF THIS IS ALREADY DONE FOR A PARTICULAR TABLE, YOU CAN GET THE RECORD OF CHANGES THAT YOU MADE FOR THAT PARTICULAR TABLE AS EXPLAINED UNDER
<a href="http://64.233.179.104/search?q=cache:pOdVy55jfAIJ:cma.zdnet.com/book/abap/ch06/ch06.htmHISTORYOFUPDATESINADAYINABAP&hl=en&gl=in&ct=clnk&cd=1">Automatic Table History and Change Documents</a>
IF ITS HELPFUL PLEASE REWARD POINTS
REGARDS
ANOOP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Thanks to each one of you for a quick reply,
DATAE does not help me much based on the scenario i have,but CDHDR and CDPOS definetly helps.
Thanks again!
Sandeep Shenoy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sandeep,
1. we can use simple program and sql.
2. Just copy paste in new program.
REPORT abc.
DATA : wlk1 LIKE TABLE OF wlk1 WITH HEADER LINE.
PARAMETERS : mydate LIKE sy-datum.
SELECT * FROM wlk1
INTO TABLE wlk1
WHERE datae = mydate.
BREAK-POINT.
regards,
amit m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
When you are selecting from the table WLK1 in the where clause give DATAE = sy-datum.
write:/ sy-dbcnt.
hope this helps,
thanks,
priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sandeep,
Check for the field DATAE in WLK1 table.
Or else, you should go for cdhdr and cdpos tables as already suggested.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
WLK1-DATAE Date of last change
Put today date in above field.
regards
vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In most of the cases, there is a created date field in tthe table itself.
if not, then you can always check in the history tables
CDHDR and CDPOS.
Hope this helps..
Regards,
Shashank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.