cancel
Showing results for 
Search instead for 
Did you mean: 

How to archive an adobe form?

Former Member
0 Kudos

Hi,

I created an adobe form. I set the archive parameters as follows:

fp_outputparams-arcmode = p_arch. " (2 or 3.)

IF p_arch = 2 OR p_arch = 3. " Archive only / Print and archive

CLEAR: gs_dara,

fp_docparams-daratab.

gs_dara-function = 'DARA'.

gs_dara-mandant = sy-mandt.

gs_dara-sap_object = SAP_OBJECT.

gs_dara-ar_object = AR_OBJECT_NAME.

gs_dara-object_id =ID.

  • gs_dara-FORMARCHIV =

gs_dara-notiz = 'Adobe Form'.

APPEND gs_dara TO fp_docparams-daratab.

ENDIF.

I create a print preview. There I can see the button "Archive". When I push it something happens in the background. I haven't debugged it yet.

I thought that after pushing this button, the document can be found using transaction OAAD --> Technical Search. But it is not there.

Is there a step I have to include? Call a function module to create something? Customize something?

Anyone an idea?

Thanks

Viktoria

Edited by: Viktoria P. on Nov 2, 2011 11:53 AM

Edited by: Viktoria P. on Nov 21, 2011 3:52 PM

I am still trying to find a solution for this issue. Any idea?

Accepted Solutions (0)

Answers (3)

Answers (3)

AlwinPut
Active Participant
0 Kudos

If you declare in the print program the TABLES variable TOA_DARA, than RSNAST00 will fill it.

See for declaration example include RVADTABL.

Example of TOA_DARA filled by SAP. You can add it with information.

FUNCTION =

MANDANT = 500

DEL_DATE = 00000000

SAP_OBJECT = VBRK

AR_OBJECT = SDOINVOICE

OBJECT_ID = 3540295221 0000449703

FORM_ID =

FORMARCHIV =

RESERVE =

NOTIZ =

Former Member
0 Kudos

Hi Viktoria,

Can you please share that how you did it??? I have a similar requirement where I need to Archive Adobe form in External repository.

Please help me how you did?? What configurations need to be maintained for this?

I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.

But I have no clue how to do it?

Former Member
0 Kudos

I forgot to set attribute reserve = 'COMMIT'

0 Kudos

Hello Viktoria,

how do you store the document? Is there a function module, which uses the data you're collecting in your example?

Thanks for your help.

Best regards,

Andi

Former Member
0 Kudos

Hi,

I created an adobe form using the adobe live cycle designer integrated in transaction SFP.

I created a report to call the form. To archive a form you have to set some additional parameters as mentioned in my messages.

For more help check also link:

[http://www.saptechnical.com/Tutorials/AdobeForms/index.htm]

Or check example programs in package SFPT . You can find several programs where a adobe form is processed.

E.g. report FP_TEST_02.

Hope this helps.

Regards

Viktoria