Skip to Content
avatar image
Former Member

Method to Read or Open files without going in to GOS--> View Attachments.

Hi Experts,

I am looking for a mechanism to read or open a file which is stored in SAP Database ,rather going to SAP transaction (like Nomination O4NSN) --> GOS --> view attachment.

Can anyone please give some suggestions on this.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    May 07, 2010 at 02:39 PM

    Dear Richa!

    Please check SAP note #927407 for this. You could use the class CL_BINARY_RELATION, method READ_LINKS_OF_BINRELS for this.

    Regards

    Gergely

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2010 at 06:37 AM

    Hi Richa,

    1. If you have attached this document to object link,then use the screen of that object to display the document.

    2.The document in database are stored based on metadata. For displaying the same ,you atleast need to execute any one field in metadata.

    3. Either you can use display t-code of object which you have linked or standard dms t-code.

    I hope this will help you.

    Regards,

    Ravindra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2010 at 06:59 AM

    Thanks Ravindra,

    But we are not using DMS scenario for attaching the documents. What we are doing

    We go to a SAP tcode like O4nsn for TSW Nominations > then GOS > create attachment.

    Now the sap attachment is created and stored in sap database. We can retrieve attached documents by going into the same tcode and GOS--> View attachmenmts. Since these documents are strored in sap databse i want to know some other mechanism to retrieve these documents.

    Appreciate your help on this.

    Regards

    Richa

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Richa,

      You can implement the bapi BAPI_DOCUMENT_CHECKOUTVIEW and displat the report. I hope this can help better.

      Regards,

      Ravindra

  • avatar image
    Former Member
    May 11, 2010 at 06:53 AM

    Thanks Gergely,

    It works. Can you please tell me if this document is stored on a content server like IXOS then how we are able to see it through SAP DB. Is these documents still in SAP DB.

    Thanks in advance.

    Regards

    Richa

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 11, 2010 at 08:43 AM

    Hi,

    I am not able to view the documents it is some garbage values. Can you please tell me how to retrieve documents.

    Add comment
    10|10000 characters needed characters exceeded