on 09-26-2012 10:01 AM
Hello Experts,
How sale order change log tables are updated.
for example, I've an order number 1002.
I'm supposed to produce a change log statement to management every day.
but when i queried ado1 and adoc tables to know the changes made to the order for 25 - sep - 2012 then I got 495 rows.
I'm joining adoc and ado1 tables on docentry and objtype.
In where condition I've passed adoc.updatedate = '09/25/2012'
Can anyone please tell me how SAP maintains log ?
I'm confused.
thanking You
Malhaar
Hi,
Filter it by the objtype value of ADOC table.
Try this:
select * from ADO1 t0
inner join adoc t1 on t1.DocEntry = t0.DocEntry
where t0.docdate = '20120925' and t1.DocNum = '1002' and t1.ObjType = '17'
Thanks.
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
These table will get updated,when you make any changes to that document.
for ex:
you create new Sales order and you cannot find data for that sale order in ADOC and ADO1 table while running query.
It will show blank,but after changing any value in that sale order and running the same query will gfet you result
Hello Gordon,
I tried this by giving additional criteria as adoc.updatedate = '09/25/2012' in order to know the changes made to the sale order on that day. Because log shhots every day.
But my management asked me why the log is showing rows whose shipdate is in august and on top of it they are closed.
I have no answer.
Thanking You
Malhaar
Hello Gordon,
thank you for the explanations. I try to find out the date, when a Sales Order change the Status to "close" before SBO 882 PL 13 it was a entry in the ADOC. After migrate to PL 13 the change to status "close" is no more a new entry in the ADOC.
For example
SO in 882 before PL 13 created on 01.02.2013
AR Invoice for the SO on 01.03.2013 (all items) --> SO change to status close.
this status change reflect in a entry in ADOC.
SO in 882 after PL 13 created on 01.12.2013
AR Invoice for the SO on 15.12.2013 --> SO change the Status to close
--->> NO ENTRY IN ADOC <<---
Is there a reason for that handling , how can i find out the date when the status fom the SO is changed?
Hello Nagarajan,
thank you for that hint.
Now it is
http://scn.sap.com/thread/3531378
best regards
Gerhard
Hi
Try this:
select * from adoc t0 inner join ado1 t1 on t0.docentry=t1.docentry where t0.objtype='17'
and t0.UpdateDate = '2012-04-23 00:00:00.000'
You can replace '*' by necessary fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prandnya Samant,
Check in
Administration System Initialization General Settings Services tab.
History / Log
Sets the number of records to be saved in the log file.
The log file saves the history of changes made in master records (items, business partners, and G/L accounts), documents, and other windows in SAP Business One. This setting is updated per company, for all users.
If you change the Log number and update it will delete according to the log history..
Check when the last history count has been changed
Hope Helpful.
Regards
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.