Retrieve and Display Archivelink document in Portal

How can I display an archivelink document in the portal.  For example,  in travel management module, I have linked images to the trips.  On the portal I want to display these images.   When I use URL, does not work in webdynpro.  When I use FM:  SCMS_AO_TABLE_GET to get the image as data, it does not seem to work.

Hi Alex
"Create a datablock and specify the item datatype as blob"
BUT: How to bring the document to the blob?
Hi user 611..
Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
We have a application with documents stored via OLE - terrible!
OLE is no longer supported by forms 10. But webutil would help.
I asked a similar question and got a good answer:
OLE-Container and migration to the web
Wolfram

Similar Messages

  • How can i display a document in portal

    Hi,
    I have a file in my database as blob object.How can i retrieve it and display it in my portal.I need to display it as a link and when user clicks on document link the document should open. Any info abt this wil be of great help.
    Thanks,Preethi

    JDBC...

  • How to place an image in database and how to retrieve and display it in the front end

    how to place an image in database and how to retrieve and display it in the front end
    and to place an image in database and retrieve the image from database using xml
    please,help me out.

    Create a table with a Long RAW Datatype column for storing the Image Column Data.
    Create the form based on the table , which by defaults the column with LONG RAW atatype to a Image Item.
    You can use Forms Built in function READ_IMAGE_FILE to read a Image file stored on the file system in to the image item.
    A save on the form saves the image in the Image item in the long raw column.

  • Problems while reading and displaying .pdf-Documents from Bfile

    Hi
    I want to read and display .pdf-Documents in Adobe-Reader that are stored as BFile. While displaying the Document Adobe Reader is showing several Errors like " ..less Picture-Data read than expected.. ". Is this a Buffer-Problem? or whatelse ??
    Thanks for help
    null

    PrintStream wr = new PrintStream(socket.getOutputStream());
    wr.close();I suspect this is the problem. You could try socket.shutdownOutput() - or you could just leave the streams alone and let socket.close() shut things down.
    Grant

  • Display word documents in portal content

    Hi,
    I have some word documents, which i want to display directly in the portal page. To display the documents I have generated a URL for each document and put this URL into an URL iView.
    But the problem now is, that it always opens a separate window for the word documents, although I have set the property "Open in portal content" in the iview and "Isolation Method - Embedded" in the portal page.
    Does somebody know, which additional settings are needed, to show the documents embedded in the portal page?
    Thanks in advance!
    Regards,
    Lydia

    Hi Lydia,
    The  "Isolation Method - Embedded" will NOT help at all in your case, the "Open in the portal content area" means that
    the iView itself will be opened in the portal content area, instead of a new windows.
    In your case, I agree with Raghu that you should use KM Document iView instead of URL iview, so please consider:
    1. createa separate KM document iViews for every DOC, make sure "Open in the portal content area" is set.
    2. craete a workset and assign the KM Document iViews to this workset
    3. assign this workset to a certain role and assign the role to your user.
    4. login with this user and try to launch the iview, then the DOC file should be opened in the same browser window
    Thanks and best regards,
    Thunder
    Edited by: Thunder Feng on Nov 19, 2010 2:07 AM

  • How to retrieve and display image from database in a web page

    Hi all;
    I have been trying this for some time now. I have found some tutorials so far but none of them addresses my concern. Here it is:
    I have built a web application that can connect to an Oracle DB.
    I have a table called "employee", where I record any employee details, among which the employee picture. I stored the pictures and the finger prints using "Oracle sql developper" as blob type.
    How can i retrieve and view all these information when i run the application?
    I can easily retrieve all other types of value, but the image(BLOB type) has been a nightmare for me.
    HELP PLEASE.

    morgalr wrote:
    I believe your Binary Large Obejct will come back as an array of int, and you'll need to use BufferedImage it's associated API to get it to a viewable image configuration.I don't think BufferedImage immediately solves the problem -- this is a web app, so I assume the image will be displayed using the HTML IMG tag.
    Solution: google. There are many example of how to do this. For example, any book on servlets will have an example of dishing up a dynamic image.

  • How to store ,retrieve and display the data in the structured format?

    Hi All,
    We have a requirement in which we need to store a information of type some thing like as below:
    "The PCM_OP_SEARCH opcode fails for the below search used in invoicing module:
    0 PIN_FLD_POID           POID [0] 0.0.0.1 /search -1 0
    0 PIN_FLD_FLAGS           INT [0] 728
    0 PIN_FLD_TEMPLATE        STR [0] " select sum( 1.F8 ), 1.F9 from /event 1, /item 2 where (2.F1 = V1 and  2.F5 >= V5 and 2.F6 < V6 and 2.F2 = V2) and 2.F3 = 1.F4 and  1.F7 like V7 group by 1.F9 "
    0 PIN_FLD_ARGS          ARRAY [1] allocated 20, used 1
    1     PIN_FLD_AR_BILLINFO_OBJ   POID [0] 0.0.0.1 /billinfo 10773245 3
    0 PIN_FLD_ARGS          ARRAY [2] allocated 20, used 1
    1     PIN_FLD_BILL_OBJ       POID [0] 0.0.0.0  0 0
    0 PIN_FLD_ARGS          ARRAY [3] allocated 20, used 1"
    I understand that we can store this as a Blob or Bfile format.But I need to retrieve the data and display it on the GUI in the same format.
    Can anyone please suggest me how can I achieve the same in APEX?
    Thank you for your time !!
    Regards,
    Shan

    And what would be wrong with putting this into a plain old table with columns, on which you could then create a form+report?

  • Upload and display Word Document in WD application

    Hello,
    I have a WD ABAP appl. where the user wants to upload an Word / Excel file (from its own local drive).
    The document shall be saved in SAP and it shall also be possible to display the document later in the WD application.
    I implemented the UI element upload in the view, to determine the path of the document.
    For the display implemented the UI element Office control.
    1. When i browse the document, the properties data, filename and mime type are filled into the bound context elements of the upload UI.
    2. The property datasource of the UI office control I bound to the same context element, that is also bound to the property data of the upload UI.
    The office control opens a word document, but the document is empty.
    Is it possible that the document is not uploaded correct?
    In another application I did an upload for a PDF doc.. There I implemented the following coding as action of the button 'Upload'.
    data lo_nd_pdf type ref to if_wd_context_node.
    data lo_el_pdf type ref to if_wd_context_element.
    data ls_pdf type wd_this->element_pdf.
    data lv_pdf like ls_pdf-pdf.
    navigate from <CONTEXT> to <PDF> via lead selection
    lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
    get element via lead selection
    lo_el_pdf = lo_nd_pdf->get_element( ).
    get single attribute
    lo_el_pdf->get_attribute(
    exporting
    name = `PDF`
    importing
    value = lv_pdf ).
    Get a reference to the from processing class.
    data: l_fp type ref to if_fp.
    l_fp = cl_fp=>get_reference( ).
    Get a reference to the PDF Object class.
    data: l_pdfobj type ref to if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    set the pdf in the PDF Object
    l_pdfobj->set_document( pdfdata = lv_pdf ).
    set the PDF Object to extract data the Form data.
    l_pdfobj->set_extractdata( ).
    execute call to ADS
    l_pdfobj->execute( ).
    get the PDF Form data
    data: pdf_form_data type xstring.
    l_pdfobj->get_data(
    importing
    formdata = pdf_form_data ).
    convert the xstring from data to string so it can be processed using the iXML classes
    data: converter type ref to cl_abap_conv_in_ce,
    formxml type string.
    converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    converter->read(
    importing
    data = formxml ).
    pull in the iXML type group.
    type-pools: ixml.
    get a reference to iXML object
    data:l_ixml type ref to if_ixml.
    l_ixml = cl_ixml=>create( ).
    get iStream object from StreamFactory
    data: streamfactory type ref to if_ixml_stream_factory,
    istream type ref to if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    create an XML document class that will be used to process the XML
    data: document type ref to if_ixml_document.
    document = l_ixml->create_document( ).
    create the parser class
    data: parser type ref to if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
    istream = istream
    document = document ).
    parse the XML
    parser->parse( ).
    define XML Node type object
    data: node type ref to if_ixml_node,
    attributes type ref to if_ixml_named_node_map.
    get the psi sales data Node and value.
    data ls_psi_sales type wd_this->element_psi_sales.
    data: lt_dfies type table of dfies,
    ls_defies type dfies.
    call function 'DDIF_NAMETAB_GET'
    exporting
    tabname = 'ZCM_PSI_SALES'
    ALL_TYPES = ' '
    LFIELDNAME = ' '
    GROUP_NAMES = ' '
    UCLEN =
    IMPORTING
    X030L_WA =
    DTELINFO_WA =
    TTYPINFO_WA =
    DDOBJTYPE =
    DFIES_WA =
    LINES_DESCR =
    tables
    X031L_TAB =
    dfies_tab = lt_dfies
    exceptions
    not_found = 1
    others = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    data: lv_fieldname type string.
    field-symbols <fs_field> type any.
    loop at lt_dfies into ls_defies.
    lv_fieldname = ls_defies-fieldname.
    node = document->find_from_name( name = lv_fieldname ).
    assign component lv_fieldname
    of structure ls_psi_sales
    to <fs_field>.
    if <fs_field> is assigned.
    <fs_field> = node->get_value( ).
    endif.
    endloop.
    WRITE DATA INTO CONTEXT
    data lo_nd_psi_sales type ref to if_wd_context_node.
    data lo_el_psi_sales type ref to if_wd_context_element.
    navigate from <CONTEXT> to <PSI_SALES> via lead selection
    lo_nd_psi_sales = wd_context->get_child_node( name = wd_this->wdctx_psi_sales ).
    get element via lead selection
    lo_el_psi_sales = lo_nd_psi_sales->get_element( ).
    set all declared attributes
    lo_el_psi_sales->set_static_attributes(
    exporting
    static_attributes = ls_psi_sales ).
    Do I need such a code also to upload a word doc?
    Which interface / class exists for word documents? (for PDF upload there is the interface IF_FP)
    How can I save a document in SAP? (as MIME Object?  with which method?)
    I hope someone can help me!?
    BR

    You can use the fileupload and filedownload uielements.
    Check these links:
    [File Upload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm]
    [File Download|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
    When you upload a file and save in SAP, are you saving it as xstring.
    If yes follow these steps for filedownload.
    Follow these steps for file download:
    1 Create FileDownload uielement in your View
    2.Create an Attribute of type xstring.
    3.Bind this attribute to the data property of your Filedownload uielement.
    4. during fileuplaod as you are saving the document in xstring format, fetch the same from your database table and pass the value to filedownload i.e set the attribute bound to data property of filedownload uielement with the xstring content.

  • Store and display word document in database through forms

    how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
    i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
    regards

    Hi Alex
    "Create a datablock and specify the item datatype as blob"
    BUT: How to bring the document to the blob?
    Hi user 611..
    Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
    We have a application with documents stored via OLE - terrible!
    OLE is no longer supported by forms 10. But webutil would help.
    I asked a similar question and got a good answer:
    OLE-Container and migration to the web
    Wolfram

  • DPT-S1 Feature Add Request: File Size (bytes) Sorting and Display in Documents Lists

    Document Lists view should include option to sort by and display file Size (bytes), as in all other file tools.
    That would permit discovery of duplicate files with different names, and trimming out the largest files to save space.
    Thanks!

    Anyone reading this? Agreeing with me?

  • Differences between authorization role display and display change document?

    Dear All,
    I want to know what are the differences between activity authorization between display and display document change?
    Regards
    Aishah

    Dear Mr Robert,
    thanks for replying me. actually, it is to prevent user from other dept to change the PO even print/message. when i check inside authorization the configuration is only for their own dept by putting dept code at pur org field of change. but still can change. it is because of the me22 layout screen?

  • Reading and displaying GOS-documents

    hi,
    i have an abap in which i get the GOS-connections for a specific BO with
    Function module 'BDS_GOS_CONNECTIONS_GET'.
    so far so good. but how can i display the Document, which i have found with the FM
    mentioned above ?
    best reg, Martin

    Here is a Link to a Tool that sounds like it will open practically anything and view it.
    http://www.freefileviewer.com/ 
    Appears to be just a viewer only.  From description it will do just about ever thing in the way of viewer, but gold plate your kitchen sink. Doesn't seem to be a file type it can't look at.

  • ERROR MESSAGE WHEN DISPLAYING LARGE RETRIEVING AND DISPLAYING LARGE AMOUNT OF DATA

    Hello,
    Am querying my database(mysql) and displaying my data in a
    DataGrid (Note that am using Flex 2.0)
    It works fine when the amount of data populating the grid is
    not much. But when I have large amount of data I get the following
    error message and the grid is not populated.
    ERROR 1
    faultCode:Server.Acknowledge.Failed
    faultString:'Didn't receive an acknowledge message'
    faultDetail: 'Was expecting
    mx.messaging.messages.AcknowledgeMessage, but receive Null'
    ERROR 2
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail: 'Channel disconnected before and acknowledge was
    received'
    Note that my datagrid is populated when I run the query on my
    Server but does not works on my client pcs.
    Your help would br greatly appreciated here.
    Awaiting a reply.
    Regards

    Hello,
    Am using remote object services.
    USing component (ColdFusion as destination).

  • Retriving archived JPG document and displaying in Biller direct portal

    Hi,
    If anyone has worked on Biller direct/EIPP/EBPP BADI's plz help me.
    I need to display the archived JPG image when the user clicks on the hypelink in the biller direct front end. I need to know the exact parameters passed from the BADI to the front end.
    I am getting the archived JPG parameters to the internal table as below
    CALL FUNCTION 'ARCHIV_CONNECTINFO_GET_META'
        EXPORTING
          object_id             = g_objky
          AR_OBJECT             = 'ZFIINVOICE'
          sap_object            = c_sap_object
        TABLES
          connect_info          = t_connect_info
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    If the connection information is  found
      IF sy-subrc = 0.
        READ TABLE t_connect_info WITH KEY ar_object = c_ar_object_jpg INTO g_wa_connect_info.
    Get the jpg document from archive
        CALL FUNCTION 'SCMS_AO_TABLE_GET'
          EXPORTING
            arc_id = g_wa_connect_info-archiv_id
            doc_id = g_wa_connect_info-arc_doc_id
          IMPORTING
            length = g_length
          TABLES
            data   = t_jpg
          EXCEPTIONS
            OTHERS = 5.
    Now I need to know how I can pass the internal table t_jpg as parameters of BADI.
    Plz help me.
    Regards
    Madhu G S

    Hi
    thank for your reply.  I have not posted in SAP.  customer has paid the payment in Portal and i have selected the payment for the line item.  Now that line item is coming in progress condition (not in processed).
    in SAP that line item is not active.  If i will select the line item system will give the message that is line item is processed in biller direct.
    please tell me the process of biller direct payments in SAP and then only in portal the payment line item will be go to the process item (now its in in process condition).  is their any upload for the payment document in SAP.
    please suggess me Standard payment process through Biller direct.  then i will compare the present senarious.
    thanks in advance.
    regards
    Ram

  • PDF stored on Application Server - Need to retrieve and display

    Hi All,
    Let me explain to you what I am doing and how I have not succeeded.
    I am quiet a senior ABAP guy henceforth I am posting this and have also looked for previous posts to no avail.
    Firstly, I use GUI_UPLOAD and OPEN dataset to store a PDF file on the Application Server. I have retrieved it with CG3Y without any problems. My requirement is that I have a list of these PDF files displayed on a report and a user selects ONE line and clicks VIEW PDF (custom ALV). This should then launch the PDF in acrobat from the Application server.
    I have tried WS_EXECUTE but that does not work. I do not even mind if this PDF is displayed in HTML or an image. I just need some help??
    ANy help will be greatly rewarded.
    Thanks!!

    the working of this code is embedded in the comment:
    " First I set some define for the program:
    define for the program *****************************************
    DATA exe_4_doc TYPE string VALUE '"C:\Program Files\OpenOffice.org 2.3\program\swriter.exe"'.
    DATA exe_4_xls TYPE string VALUE '"C:\Program Files\OpenOffice.org 2.3\program\scalc.exe"'.
    DATA exe_4_ods TYPE string VALUE '"C:\Program Files\OpenOffice.org 2.3\program\scalc.exe"'.
    DATA exe_4_ppt TYPE string VALUE '"C:\Program Files\OpenOffice.org 2.3\program\simpress.exe"'.
    DATA exe_4_pdf TYPE string VALUE '"C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe"'.
    " local data
    DATA file_path TYPE string.
      " name of the executable
      DATA program(128) TYPE c VALUE ''.
    " I searched the file path for the extension for some type of file
    " assigning the name of the program to use:
    " pdf file
      IF program IS INITIAL.
        SEARCH file_path FOR '*pdf'.
        IF sy-subrc = 0.
          program = exe_4_pdf.
        ELSE.
          SEARCH file_path FOR '*PDF'.
          IF sy-subrc = 0.
            program = exe_4_pdf. " defined at the top
          ENDIF.
        ENDIF.
      ENDIF.
    .... " search for other extension
    " then I assigned the value to
      IF program IS NOT INITIAL.
        " '"' are mandatory to avoid problems
        " with white space in the path
        CONCATENATE '"' file_path '"' INTO file_path.
        CALL FUNCTION 'WS_EXECUTE'
             EXPORTING
                  " file_path is the path to the file
                  commandline    = file_path
                  " program is one of the define above
                  program        = program
             EXCEPTIONS
                  frontend_e
                  rror           = 1
                  no_batch       = 2
                  prog_not_found = 3
                  illegal_option = 4
                  OTHERS         = 5.
        IF sy-subrc = 0.
             "error
        ENDIF.
      ENDIF.
    With this code I can open every file I want with every program.
    Hope this can help.
    Cheers
    Gabriele

Maybe you are looking for

  • BufferedReader == reader.mark()  ERROR

    This is a basice i/o program. It reads data, stores it in an array and then writes a file based on a filtering system. The code: import java.io.*; import java.util.StringTokenizer; import java.util.NoSuchElementException; import java.util.ArrayList;

  • B2B Purchase Order

    where can i download the files of the purchase order tutorial, 850.xsd 850.ecs 997.xsd 997ecs 855.xsd 855.ecs thanks!

  • Nokia 6500 Slide!

    Please can tell me how the 6500 slide is? Ive got a Luna at the mo,and im very happy with it.Only annoying thing is that it has NO memory expansion.So im looking for a replacement.Im thinking about the Slide,but i have seen today one which i could ch

  • Why is printing very slow on firefox

    I am having a hard time printing using Mozilla Firefox - I have a problem printing from Microsoft Office 2007, Go-Daddy E-mail the internet or other databases that I work from What can I do to speed up printing - I kind of just hangs there and takes

  • Problem with .psd file

    Iam trying to edit a psd of a logo for a company iam working for, http://www.travideos.com, but when i open it says something like "can not open, file might be corrupted" the psd is done in CS4 and iam trying to open it in CS6, what can it be? what c