2007 May 04 9:21 AM
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.
2007 May 04 9:43 AM
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 !!!!!
2007 May 04 1:54 PM
Hi Hans,
Can you tell me if we can find any link between BELNR and ARCHIVE_DOC_ID .
Regards,
Vidya.
2007 May 04 3:30 PM
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
2007 May 09 2:43 PM
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
2007 Dec 24 6:54 AM