Document Log
We want to generate a log of activities performed on Document class (rename,property change,create , copy etc) .Is it possible using agents ? As agents would only be notifying on creation,updating and deletion .. while updating of a document can happen in more than one way eg rename,acl change etc.So how to capture these events such as rename,change of some property etc.
Hi Dhananjay
Regarding document log details; u can check the details in table BLPK
Hope it will meet ur requirements
Rgds
Edited by: Vicky Khabrani on Jan 31, 2008 10:57 AM
Similar Messages
-
Change document log not created for customer in Batch input/BDC
Hi Guys,
Change document log is created when you manually change the customer using XD02 but when run the Batch/BDC the values are Changed but the change document is not created.
Please someone can give me some hints?
Luca.Any update guys????
Regards,
guru singh -
Dear PP gurus,
Is there any t-code which can show Document log discription. (In Rem Scernarial) I got the document log numbers from MF12. But what is it's meaning I can't understand.
Waiting for your valuable help
Thanks in advance
Thanks
DhananjayHi Dhananjay
Regarding document log details; u can check the details in table BLPK
Hope it will meet ur requirements
Rgds
Edited by: Vicky Khabrani on Jan 31, 2008 10:57 AM -
Hi experts.
Do somebody know how can I plan the deleting of the change document logs? It's the CDHDR table.
This morning I've found that this log has been emptied and we need this information for some important workflow reports, on concrete words, this is being happening for some object class such like "material".
Thanks and Regards.
IsmaelSo you have the update (V2) FM to update change document, but did you also create an update (V1) FM to update the database table (Similar to following sample.)
CALL FUNCTION 'Z_YOUROBJECT_UPDATE_V1' IN UPDATE TASK
TABLES
xztable = xztable
yztable = yztable.
CALL FUNCTION 'Z_YOUROBJECT_WRITE_DOCUMEN_V2' IN UPDATE TASK
EXPORTING
objectid = objectid
tcode = tcode
utime = utime
udate = udate
username = username
planned_change_number = planned_change_number
object_change_indicator = cdoc_upd_object
planned_or_real_changes = cdoc_planned_or_real
no_change_pointers = cdoc_no_change_pointers
upd_ztable = upd_ztable
TABLES
xztable = xztable
yztable = yztable.
COMMIT WORK.
Regards,
Raymond -
Location where the change document log is stored
Hi all,
In SRM bidding process, I need the initial bid price and the final bid price, quantity before negotiation and after negotiation, PR or project number for that bid invitation number. Can anyone tell me where these are stored. Actually I want to know where the changed document log is stored.
Regards,
AshaHi Asha,
AFAIK there is no Project Number in Bidding Engine.
Until Quote versionning (SRM 6.0 ?), there is no other way than looking at change documents.
All changes are stored in change tables: CDHRD and CDPOS.
You can try to reuse FM BBP_CHANGE_DOC_GET_NEW.
Rgds
Christophe
PS: please reward points for helpful answers. -
Planned order-document log relation
Hi;
We use REM-Repetitive Manufacturing in production. I post a production document via MFBF and I use planned order during posting.
In which table I can see planned order and document log relation ?
Thanks for your help.Hi,
Check any of following tables of REM which may help resolve your problem :
Repetitive Manufacturing
SAFK RS Header Master Data
S025 LIS -- Run Schedule Quantities
S026 LIS -- Material Usage
S028 LIS -- Reporting Point Statistics
CEZP Reporting Point Document Logs
CPZP Reporting Points - Periodic Totals
Regards,
Tejas -
Archive purchase document log - Retention period not maintained
Hello Everybody,
I have been trying to archive the Purchase document, I have also set the Retention period is 0 (Zero), but when i archive the some Purchase document, it is give log like that
Object Message
4700000053 00010 Retention period not maintained
4700000066 00010 Retention period not maintained
4700000079 00010 Retention period not maintained
So please suggest me how to solve the problem
ThanksSolved, by archiving
-
Change documents (Log) for TRs & TOs
Dear Experts,
Our requirement is to have change log for tracking changes related to TRs & TOs.
Please let me know how can I achieve this.
Thanks in advance.As per my best knowledge there's no change document for transfer orders (WMS) in standard system.
CDHDR and CDHPOS are data tables as it was clearly said - but in this case you cannot use them. -
Change document log for Infotype 0033 Statistics
Dear experts,
I must log IT0033 Statistics as we do for other infotypes using report RPUAUD00. As only subtype is filled log doesn't show changes for it.
Could you help me with that? I've tried with SCU3 but as PA0033 in marked as not logged it doesn't work also.
Thanks in advance and have a nice day,Please check if configuration is maintained in the below SPRO path:
IMG->Personnel Management->Personnel Administration->Tools->Revision->Set up change document
If infotype is not maintained, try maintaining it for :
HR documents: Infotypes to be logged - Tr Class - 'A', Infotype - '0033'
HR documents: Field group definition - Field group - '01', Field name - '*'
Now re-run the report RPUAUD00 after making changes to IT033 record. -
Hi All,
Searched threads but not found appropriate reply so raising this new thread.
Can you please suggest where we can get change log/Documents for CJR2 transaction code? Or its not avaiable there in SAP?
- Swapnil Kharulsearch the thread for plan cost line items, you will find many.
-
Hi Experts,
I need to get the same log that we get in transaction CRMD_ORDER when we go to 'Extras->Change Documents'.
This log didn't seemed to be quite difficult to find but I can't find a way to get it by code.
I have searched for many BAPIs and I have also searched the forum. There are many similar questions but I don't find an answer for this, so I'm asking you.
Can anybody help me with this?
Thanks in advance,
I won't forget the reward points.Well, this has been a little hell.
I tried the CHANGEDOCUMENT functions before and it seemed I couldn't use those. I have been debugging for a long while and finally I have found this function:
CRM_CDORDER_DISPLAY
It's exactly the function I was looking for, it's the one the system uses to display the log. The only problem was that you have to mark the 'I_NO_DIALOGUE' flag to avoid the dialog window where you get the log and that you have to know which is your object type.
No problem with that so, question answered. I am writing this for people to know the solution.
Thanks anyhow to everyone who has replied. -
Change documents log for Header texts of Sales order
Hi ,
Does any body came across seeing the changes in the texts in the change logs in the sales order ?
Can anyone of you provide me the way to activate the change logs for the long texts
Regards,
Ajai.Kapil,
Before my current project I was with the same opinion. But at my current client I saw the header texts being logged for the purchase order. I.e if we change the header texts for the PO, we can see the changes in the change log history of the PO. Thats where I got trouble into. The business shows the PO history and expecting the same in SO too. I was unable to figure out how the PO header texts changes were being logged.
Coming to performance, the clients volume of orders is not too high.
Lets see any of our SDN friends come up with some hints..
Regards,
Ajai. -
Get ZTABLE Old - New Field Values for Change Document History Log
I have done all necessary log configuration for ZTABLE and able to see change document log via SCU3. My problem is that I have to write FM which returns Log History for a specific period. As I have gone throught the Report RSVTPROT. But not able to get how the log data is displayed.
Hi,
Try checking the FMs..Sorry I am not sure which one gives the log....These are the FMs called in the program RSVTPROT.
DBLOG_READ
DBLOG_READ_WITH_STATISTIC
Thanks,
Naren -
Hello, I'm a beinnger apple scripter, and I have 2 questions. First, im trying to find the code to generate a page count for the front document of preview. I tried something like this:
choose file with prompt "Count the number of pages in this PDF file:" without invisibles
do shell script "/usr/bin/mdls -name kMDItemNumberOfPages " & quoted form of POSIX path of result & " | /usr/bin/grep -o '[0-9]\\+$'"
But I dont want to have to choose a file with the prompt, and Im not sure how to get the path or POSIX path of an open pdf that is the front document in prievew to then use that directory to select the file to run the shell script on. This is one step in a much larger sequence of automator/apple script commands for large print jobs.
The large scale view is:
1. seleting a group .musx Finale 2014 files and creating pdfs of all the documents
-Achieved with Automator stuff: [Get selected finder items] [open finder items with Finale 2014] [run applescript to convert to pdf all the open files] (which I have working but without a proper repeat condition)
2. sorting those those exports into even/odd groups
3. making the even pages 2 up with a create booklet plugin
3. combinging even/odd group pdfs in their respective folders
4. sending the 2 up evens to 1 printer, and the singes to another printer.
but at this stage in the code/automator this is what i'll need to be doing:
1. Several pdf documents will be open and I need to determine the page count of the front document.
2. With that result I need to determine if the pagecount is even or odd.
3. If its even, I need to save as pdf in a file folder /desktop/PDF Export/Doubles
- if its odd, I need to save as pdf pages from 1 to (pageCount -1) to /desktop/PDF Export/Doubles, and pages (pageCount) to (pageCount) to desktop/PDF Export/Singles. (example: A 5 page pdf will send pages 1-4 to folder "Doubles", and pages from 5 to 5 to Singles, A 1 page pdf will only send a copy to the folder "Singles." A 2 page pdf will send both pages to "doubles"
4. once the even/odd pages have had pdfs made in the either or both of the folders, Im going to close the document and repeat for all other open pdfs.
Which also brings me to my 2nd repeat condition question: how can I repeat (print, save as pdf, close) commands for open files and end the script once all files are closed? This can help me both at this stage, as well the coding stage before in creating the pdfs from open Finale/sibelius .sib/.musx files
would it be something like this?:
If front document exists
try
tell application "preview"
<bla bla>
end try
end tell
At stage 1 of the large scale i've gotten the files to export pdfs and close multiple files, but if i say "repeat 4 times" and i have 3 files it can do those commands but it gets stuck trying to repeat the code one more time. I need the repeat amount x to be the # of items in selection from the the original finder window.
Thanks for the help!The following AppleScript will get the POSIX path and filename of the current PDF file. It will just return the integer value for page count. Note: The path retrieved is the actual path to the PDF file, unless it is on the Desktop. In the latter case, the path will be ~/Library/Containers/com.apple.Preview/Data/Desktop/filename.pdf.
The script assumes that the following folders exist, otherwise you will need a try block to test for their presence.
The AppleScript dictionary for Preview does not provide a page dictionary entry, that would make a repeat loop and page range possible for saving individual page ranges.
set pdfDoubles to POSIX path of ((path to desktop) & "PDF Export" & Doubles)
set pdfSingles to POSIX path of ((path to desktop) & "PDF Export" & Singles)
tell application "Preview"
-- gets quoted POSIX path and filename
set pdfFile to (get path of front document)
set pdfName to (get name of front document)
log pdfName
set cmdArg to "/usr/bin/mdls -name kMDItemNumberOfPages " & pdfFile ¬
& " | egrep -o \"(\\d+)\""
set pageCnt to do shell script cmdArg
display dialog pageCnt
if pageCnt mod 2 is 0 then
-- even
-- save pdfName in pdfDoubles
else
-- save pdfName in pdfDoubles
-- save individual pages in pdfSingles
end if
end tell -
Change Document program Generation
Hi all,
We are trying to capture changes to several ECC tables. We want to capture any change to that table. We want to know what kind of change (Insert, delete or update) and then the key of the record that has changed. Our goal is to capture the most updated information from a table after a change. In order to achieve that we are using a process in which change document objects are created and changes are logged as change document in CDHDR and CDPOS tables. I have generated a program to extract data from CDPOS and CDHDR table. The following link describes the whole process of change log enablement
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
a. Created a Change Document Object /TEST/ZXXXXXXXXXXXXX using transaction SCDO and assigned the tables to that Object.
Following function modules and generated parts are automatically generated, followed the above SAP Help document.
Include programs and function modules
Data declaration, TOP...................... /TEST/FZXXXXXXXXXXXXCDT
Consisting of............................. /TEST/FZXXXXXXXXXXXXCDF
and....................................... /TEST/FZXXXXXXXXXXXXCDV
Update function module..................... /TEST/ZXXXXXXXXXXXX_WRITE_DOCUMENT
Call updates function module................ /TEST/FZXXXXXXXXXXXXXCDC
I have included the generated /TEST/FZXXXXXXXXXXXXXCDT and /TEST/FZXXXXXXXXXXXXXCDC
to the main program of function module SAPLZxxxxx. But I am getting syntax error in the Include /TEST/FZXXXXXXXXXXXXXCDC xxxxxx variable is not in the main program.
I need some help on this:
a. As per SAP response what steps are left?
b. Is there any other configuration step that we need to perform? The attached document talks about transactions SWED, SWEC and SWO1 in appendix D: Connecting Change document to work flow. We would like to understand if it will be relevant to our enablement work or can we by pass this and still be able to enable the change document logging for our tables
Any help is greatly appreciated...
Thanks,
Mili.Instead of the main program SAPLxxx, try to put include /TEST/FZXXXXXXXXXXXXXCDT into the TOP include of the main program. TOP include porgram name would be like LxxxxTOP. Try to compile it again.
Regards,
Naimesh Patel
Maybe you are looking for
-
Remove the unnecessary tags in XML using PL/SQL
Hi Friends from the below XML, its generate by a complex SQL query, Now we need to remove all the object type tags, and all the empty tags. Version - PL/SQL Release 11.2.0.3.0 - Production <MajorLine> <MAJOR_LINE_OBJECT_TYPE> -- Need to remove th
-
What determines length of imported PSD comps?
I just imported a PSD comp and noticed the duration was 00:16:27, which is kind of an odd length. If I lengthen the duration after the fact, I have to go through each precomps and change the length and layer output. Where is the length of imported co
-
Print screen button causing project to advance
I have added some JavaScript to a button in my captivate project using On success > Execute JavaScript > Script Window > window.print() This works fine to print the screen, however, clicking the button also makes the project advance to the next slide
-
School not listed in populated list
I teach at a brand new school- Davis High School, Houston, TX 77067 and it does not populate in the list when I try to sign up for Creative Cloud. Thanks
-
Anybody tried to repair an iMac G5 motherboard?
Our iMac G5, the first version, just died a couple of months after the end of our Apple Care subscription! Sic! Anyway after consulting some serviceproviders we had to accept the death of the motherboard, but the last serviceperson we asked, asked me