2007 May 23 10:27 AM
I am Trying to archive FI_documnt, the customisation part has been done, when i am running the write jobs , the Submit and write jobs are running properly but in write jobs it is creating a session , but the archive file is not created
below is the log for the write jobs
Job log overview for job: ARV_FI_DOCUMNT_WRI20070523144813 / 14481300
Message text Message class Message no. Message type
Job started 00 516 S
Step 001 started (program SAPF048, variant ZAPU, user ID MYID) 00 550 S
Start of document archiving (computer: development) FG 650 S
Archiving session 000032 is being created BA 276 S
Total of documents read/archived: 0/0 FG 653 S
Job finished 00 517 S
Please help full mark will be rewarded
2007 May 24 10:26 AM
2007 May 23 10:44 AM
check whether it is in test mode or production.
if it is test mode then archive file will not be created..
regards
sathish
2007 May 23 11:51 AM
2007 May 23 1:57 PM
Hi Sanjay,
What did you put in for your selection criteria? Check that information as the joblog shows that 0 records were read. That indicates it did not find any data that matched what was in the variant. Then, you could use the TAANA transaction to see if there are any records that match your selection criteria.
Hope that helps.
Regards,
Karin Tillotson
2007 May 23 2:59 PM
Hi Sanjay,
As Karin said, its not able to pick up any documents which match your selection criteria. thats the reason for log "Total of documents read/archived: 0/0". So when its not finding any data to archive, it doesnt create any archive file.
Check your selction criteria and hope you have maintained proper account and document life in application specific customizing?
Regards,
Naveen
2007 May 23 6:25 PM
Thanks Karin , Thanks Navin for ur replies
The Variant i have selected is proper,
it fulfil my select conditions, this is not only for this archiving object but for all other archiving object, it is creating a session but, not creating the archive file
the details what i have maintained in my variant, there exist a record for that variant in bkpf table, for error and trial basis i have taken only a single record in the variant
also naveen i m not sure about the customisation of account and document life can u please help me out in this
thanks and regards,
2007 May 23 6:36 PM
Hi Sanjay,
See this link and navigate to Archiving FI Documents -> Archiving-Object-Specific Customizing -> Document Life in Financial Accounting.
http://help.sap.com/saphelp_47x200/helpdata/en/29/b6963457889b37e10000009b38f83b/frameset.htm
You have to properly maintain the account and document life, else it will take the residence time as 9999 days.
Regards,
Naveen
2007 May 24 10:26 AM
2007 May 24 1:49 PM
Hi,
It probably is the customizing settings that Naveen mentioned before. Within SARA for FI_DOCUMNT, go to Customizing -> Application-specific Customizing and configure/maintain the account type life (set the residence time for account types) and then configure/maintain the document type life (set the residence time by company code and document type).
You should also be able to tell why the documents did not archive by the spool file that was generated. Check out the "Statistics" section in the spoolfile. This will tell the reason why it was not archived. For example, it had open items, the account type life was not met, ect.
Hope that helps.
Regards,
Karin Tillotson
2007 May 25 10:11 AM
Hi Karin/Naveen,
I have changed the settings in account type and documnet type life, which i have maintained as 1, for testing purpose
but still it is not creating the archive file, and unless and until the archive file is created it will not show the any details in statistics, this is what i guess, my statistics display is without any data, when i click on display statistics,
also, i have selected logical file name ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK
logical path as ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK
and physical path as <F=ARCHIVELINK><FILENAME>
is there any thing that i am missing out
or is it possible for u to give me ur mail id, i can send u the screen shots for the customisation
thanks and regards,
Sanjay
2007 May 25 5:48 PM
2007 May 26 9:05 AM
Thanks Karin/Naveen,
The problem has been solved, and it was a very good help regarding the account life and document life, which i didn't maintained properly
again there is one more problem, for which i m poisting a new thread for document archiving