2007 Mar 31 1:44 AM
Hello All,
The application i'm developing requires viewing documents linked to a SAP object from portal. I am able to create/checkin documents from portal ( using 'BAPI_DOCUMENT_CREATE2' ) to an object, but I have problem display/ viewing the document.
EX: When a PO is displayed in portal, I should be able to view the documents attached to it if I click on the document number (created thru 'BAPI_DOCUMENT_CREATE2).
Any kind of help is highly appreciated.
Thanks,
Hello All,
The application i'm developing requires viewing documents linked to a SAP object from portal. I am able to create/checkin documents from portal ( using 'BAPI_DOCUMENT_CREATE2' ) to an object, but I have problem display/ viewing the document.
EX: When a PO is displayed in portal, I should be able to view the documents attached to it if I click on the document number (created thru 'BAPI_DOCUMENT_CREATE2).
Any kind of help is highly appreciated.
Thanks,
2007 Mar 31 9:08 AM
call the follwoing FM to get the content 'CV120_KPRO_CHECKOUT_TO_TABLE' and then use the returned content to display the document (its the document content in xstring format which you can set it as repoonse for the page)
Raja
2007 Apr 03 6:18 PM
Thanks a ton Raja,
I'm able to get the file data in vinary using file ID, but what is the 'SDOK_CLASS' in structure 'SDOKOBJECT'?
2007 Apr 03 7:43 PM
SDOK_CLASS stands for Document Class & the possible values can be found by doing a look up for the Table SDOKIOCL in SE16N.
~Suresh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |