cancel
Showing results for 
Search instead for 
Did you mean: 

Archive pdf form

Former Member
0 Kudos

Hi Friends,

I wanted to archive the pdf form in R3 and need to retrive it back. Please let me know what are all the function modules or BOR used for to archive pdf form & retrive it back from system. It would be very helpfull for me if you give me sample code.

Thanks in advance

Nagesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Look in function group BDS_API, functions for BDS upload/download are there. If a content server is setup, documents will be stored in the content server automatically.

Create new a BOR object in SWO1 if you need a custom one. Test the document upload and download in transaction OAOR to make sure you object is created correctly.

Functions BDS_BUSINESSDOCUMENT_GET_TAB and BDS_BUSINESSDOCUMENT_CREA_TAB are especially useful and work pretty good.

good luck

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

Former Member
0 Kudos

Hi,

You can make use of Document Management System DMS to store your PDFs and then later on you can retrieve it back using the standard function module.

BAPI_DOCUMENT_GETDETAIL2

BAPI_DOCUMENT_CHECKOUTVIEW2 etc..

If you don't have DMS then another work around is to store the PDFSOURCE (XSTRING) of the PDF form into a custom table with some reference and then fetch it when ever you want it to be displayed. If you are using WD & Portal then just use Interactive Form UI element and pass this stored XSTRING into the pdfsource property of the form.

Thanks,

Abhishek

Former Member
0 Kudos

Hi,

May be you can store the PDF form in the MIME repository. You can use the methods of class CL_MIME_REPOSITORY_API to acheive this

Forms that are in systems as MIME objects in the MIME repository with type application/pdf can be integrated and displayed in a Web Dynpro application.

Regards,

Runal

Former Member
0 Kudos

Hi Runal....

Instaed of print i am archving pdf form. I am unable to retrieve it back from archive link.

Sirjii...I am in Mumbai Capgemini...give me your mobile number i will call you...