2013 Aug 28 3:47 AM
Hello,
I want to save the invoice to PDF file, when the FPCOPARA is executed for corresponcdance type 0042.
EFRM is configured and the setting is to print and archive.
When the Bill Simulation is executed to print, I am using output device as ZPDF.
I was expecting to save the Invoice PDF but getting the message that Optical Archiving is not enabled.
Any clue as to how do I configure this?
2013 Aug 28 8:52 AM
Hi Sachin,
I think you have to go to transaction OAC0, OAC2, OCA3 to configure the Content repository for storing the PDF copy of the invoice in SAP.
Hope it helps...
Thanks,
Amlan
2013 Aug 28 8:05 PM
Thanks Amlan,
I will try these.
Will this help me to save the PDF to some application server path say : /tmp/invoices/ ?
Sachin
2013 Aug 29 12:23 PM
Hi Sachin,
Firstly, I think you need to find a location where you are planning to store these PDF files.
Create a logical path and assign a physical path to the same in FILE transaction.
Now assign the physical path against the content repository in OAC0.
Hope it helps..
Thanks,
Amlan
2013 Aug 29 8:32 PM
I actually followed the steps in Tcode OAD5, which is a Wizard.
Document Type = FICAINVOIC (Invoicing to FI-CA: Invoice)
Object Type = CA_DOC (FICA Documents)
Then:
I am stucked up in the last step where content repository ID is required.
Customizing takes me to OAC0.
I defined my content repository here: "A2" and set it as logical repository.
OAC2 has the entry for Document Type = FICAINVOIC and Document class = PDF
In OAC3, I enter the entry:
Object Type = CA_DOC (FICA Documents)
Document Type = FICAINVOIC (Invoicing to FI-CA: Invoice)
content repository ID = "A2"
But get the Error "Entry A2 does not exist in TOAAR (check entry)"
TOAAR as a matter of fact has zero entries.
I think I am missing something here in OCA3. Any input would be helpful.
=======
Also,
Do you think this is the only option?
We just want to save the PDF invoices at some AL11 location, on FPCOPARA execution.
By default FPCOPARA creates a single spool which has say 10K invoices.
We want to save 10K individual PDF files.
Thanks
Sachin Dabhade
2013 Aug 30 1:09 AM
Hi Sachin,
You have not defined the content repository in transaction OAC0 properly.
When you are configuring a content repository, you have to give the following against the repository ID-
(a) Archive Path
(b) Basic path
(c) Protocol
(d) HTTP server port
These entries forms the part of table TOAAR.
I would recommend you to get in touch with your BASIS person to configure these values correctly.
Hope it helps
Thanks,
Amlan
2013 Aug 30 1:35 AM
Hi Amalan,
I forgot to mention but I have the following configuration.
I am using RFC Archieve and the RFC to SBX is available.
When I hit the "check" button, I see the message "Connection test for content repository P1 was successful".
However no entry in TOAAR and OAC3 still throws the TOAAR entry.
2013 Aug 30 1:43 AM
Actually, I was wrong. I did the settings as per your suggestions and I cound complete the Wizard.
However, Now in FKKINVDOC_DISP, on hitting the Bill Simulation and enterring the right Application form, I am getting the new error.
===
Message no. PT019
No information was found about optical archiving. This may be due to either
of the following reasons:
Processing is cancelled.
Specify valid archiving parameters or check whether your system is configured
for optical archiving.
====
2013 Aug 30 1:47 AM
Hi Sachin,
Maintain the table TOAAR_C through SM30.
And then try to configure OAC3 against it.
Thanks,
Amlan
2013 Aug 30 1:59 AM
All looks fine but the error message when using Bill SImulation on the Invoice.
I hope I am using the right object type and document type.
We are using convergent invoicing and invoices are see on Tcode : DFKKINVDOC_DISP
I am using:
Object Type = CA_DOC (FICA Documents)
Document Type = FICAINVOIC (Invoicing to FI-CA: Invoice)
Will update here if I find anything for everyone to have a look, if I succeed.
Sachin
2013 Aug 30 2:58 AM
When I test my Repository using the program: RSCMST, everything is Green
Do you think there is some setting required at the Invoice level?
2013 Aug 30 1:19 PM
Hi Sachin,
I think you should use the object type as PRINTDOC rather than CA_DOC.
Can you check if it works or not.
Thanks,
Amlan
2013 Aug 30 3:38 PM
Amlan,
I tried using PRINTDOC but no luck.
I think PRINTDOC is associated with IS-U and we are on IS-Non Industry Specific Industry standard.
Also tried BUS4401 which is for Correspondance.
Sachin
2013 Aug 31 4:55 AM
Set a debugger in the FM GET_ARCHIVE_PARAMETERS.
Now execute the Correspondence run.This will trigger the above FM.
Check what is the sap_object and ar_object that is getting passed.
Based on that you can configure them in transaction OAC3.
Hope it helps...
Thanks,
Amlan
2013 Aug 31 5:22 AM
These parameters are having default value '-' and then these are initialized in the code.
In the smartform, these parameters are blank as well.
Sachin
2013 Aug 31 5:29 AM
I think I am using ZPDF as output device but it has access method defined as "F" which is front end printer in SPAD.
Will change with BASIS and change it to "I" Archiving Device and see how it goes.
Sachin