SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Optical Archiving

Former Member
0 Kudos

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?

15 REPLIES 15

AmlanBanerjee
Active Contributor
0 Kudos

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

0 Kudos

Thanks Amlan,

I will try these.

Will this help me to save the PDF to some application server path say : /tmp/invoices/ ?

Sachin    

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

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.

===

No archive information found for object type  and document type

Message no. PT019

Diagnosis

No information was found about optical archiving. This may be due to either
of the following reasons:

    1. No valid archiving parameters were passed

    2. Your system is not configured for optical archiving

System Response

Processing is cancelled.

Procedure

Specify valid archiving parameters or check whether your system is configured
for optical archiving.

====

0 Kudos

Hi Sachin,

Maintain the table TOAAR_C through SM30.

And then try to configure OAC3 against it.

Thanks,

Amlan

0 Kudos

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

0 Kudos

When I test my Repository using the program: RSCMST, everything is Green

Do you think there is some setting required at the Invoice level?    

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

These parameters are having default value '-' and then these are initialized in the code.

In the smartform, these parameters are blank as well.

Sachin

0 Kudos

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