Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Where can we find the Archive_doc_id used for image display

Former Member
0 Kudos
466

Hi Friends,

I have to find the table where the field ARCHIVE_DOC_ID ( Id to store the image) is stored. I have to use functional module ARCHIVOBJECTS_DISPLAY_MIX1 to display the image.

In our case if we run tcode FBL1N then we get the list of document number. Further navigating from any document number we get next screen where we can display the image which is scanned document of the invoices.

The program which contains this function module to display the image is SAPLOPTA . so can you plese tell from where is s getting the archive_doc_id.

Regards,

Vidya Bhushan.

5 REPLIES 5

h_senden2
Active Contributor
0 Kudos
169

Function module ARCHIV_GET_CONNECTIONS will do the job.

The real archive doc id can be found in table TOA01.

regards,

Hans

Please reward all helpful answers !!!!!

Former Member
0 Kudos
169

Hi Hans,

Can you tell me if we can find any link between BELNR and ARCHIVE_DOC_ID .

Regards,

Vidya.

h_senden2
Active Contributor
0 Kudos
169

In table TOA01 :

SAP_OBJECT = BKPF

OBJECT_ID = concatenation of company code BUKRS, document number BELNR and fiscal year GJAHR

ARC_DOC_ID = archive doc id

For MM invoices we have instead of BKFP BUS2081 as SAP_OBJECT,

and OBJECT_ID = concatenation of document number BELNR and fiscal year GJAHR

These values are also import parameters for function module ARCHIV_GET_CONNECTIONS.

regards,

Hans

Former Member
0 Kudos
169

Hi Hans,

Thanks for your help.

Hans there is a slight change in requirments. In case of my client they wanted date to be the input parameter and then the report should print all the document that were stored during that period. it should also do the job of printing without clicking on any perticular image id. If there were 10 image stored for the peroid given after running the report it should print all the 10 images.

I wnat to know if there is a possiblity of printing the image directly. Also in case of my client they are storing image_id in the table as told by you but the image is stored on some other server.

Regards,

Vidya

Former Member
0 Kudos
169

look at hans reply.