About blob handling - how to display document type and document name?

Hi,
I am developing an APEX application, and I need a report region with a blob column(document) in it, and I want it to display like this :
with an image on the left side(different images for different type of docs such as word, pdf, txt) ,
and the file name on the right, with a download link on the file name, and also get the file name included into the download link address,
also have the file size displayed in the report.
I failed on getting this done with the help of any document, any help will be very much appreciated.
Thanks.

OK this link is very useful: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm#o
plus the doclib application example.
It's too late here and I won't write down the detail now. The above two give the answers anyway.

Similar Messages

  • Transaction SMOEAC does not display Object type and Object Name options.

    Dear all,
    When I go to transaction SMOEAC system does not display fields Object type and Object Name option instead displays an empty frame allowing only to create new objects.
    System does not allow and display existing objects to edit.
    Most imp with the same ID, I am able to see the existing objects and two fields "Object type" and "Object Name" on different machine. So there is no authorization issue.
    My SAP GUI version where these fields are not visible is 640 Final Release with 6405.5.18.1016 version and Patch level 18.
    My SAP GUI version here these fields are visible is 640 Final Release with 6404.4.14.1012 version and Patch Level 14.
    Any idea what could be the reason?
    Regards,
    Sandeep Parab

    With installation of latest version of SAP GUI 710 final Release resolved my problem.
    Regards,
    Sandeep

  • Oracle B2B not picking up Document type and document version from JMS msg

    Hi,
    We have developed guideline and schema for a custom positional flat file using Oracle B2B Document Editor. We were able to creat and deploy the agreement. But when we drop a message on a Queue being listened by Oracle B2B. The document type and version values were empty. We got the following error,
    Error Code B2B-50083
    Error Description Machine Info: (xxxxx) Description: Document protocol identification error.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Document protocol identification error.
    This is our Java code for testing that drops the message, and I can see the JMS header with these values.
    message.setText(messageText);
    message.setStringProperty("FROM_PARTY", "CT-Sender");
    //message.setStringProperty("FROM_PARTY", "RemoteTP");
    message.setStringProperty("TO_PARTY", "MyCompany");
    message.setStringProperty("DOCTYPE_NAMEe", "CT");
    message.setStringProperty("DOCTYPE_REVISION", "CT-AES");
    We were able to test a 850 document successful through different document and agreement ....
    Thanks
    John

    We have uploaded the ecs and xsd files. Are they the parser files you are mentioning? The following is the information we have for the transaction. I am just surprised whty the Document Type and others are empty.
    Thanks
    John
    Id 0A9F196E132459F393C00000184B4897
    Message Id 0A9F196E132459F392300000184B4893
    Refer To Message Refer To Message
    Sender Type Name
    Sender Value CT-Sender
    Receiver Type Name
    Receiver Value MyCompany
    Sender CT-Sender
    Receiver MyCompany
    Agreement Id
    Agreement
    Document Type
    Document Protocol
    Document Version
    Message Type REQ
    Direction INBOUND
    State MSG_ERROR
    Acknowledgement Mode NONE
    Response Mode ASYNC
    Send Time Stamp 09/07/2011 04:40 PM
    Receive Time Stamp 09/07/2011 04:40 PM
    Document Retry Interval(Channel) 0
    Document Remaining Retry(Channel) 0
    Document Retry Interval(Agreement)

  • I want add Document type and Document text std report S_ALR_87012357

    Hi Gurus
    I want add Document type(BLART) and Document text(BKTXT)  for std report S_ALR_87012357  .how can i pull these fields .do i need to change the code .
    Please help me
    Thanks & Regards
    Sandya
    Edited by: sandya rani on Feb 3, 2010 1:36 PM

    Hi
    Suggest you to ask the help of the ABAPER & Debug the report  S_ALR_87012357
    Please also check field HWBAS(Tax Base Amount in Local Currency)  in Table BSET  (Tax Data Document Segment)
    Regards
    Praveen P C
    Edited by: Praveen Chirakkel on Apr 20, 2011 6:13 AM

  • How to findout Class type and Class name for a Material

    Hi all,
    How can we findout the Class name and Classtype assigned to a material. ( Varaint Classification for a material)
    MM03-> enterial Materil->Classification Tab
    Regards,
    Rajesh

    check the tables AUSP
    check the below link
    Material Chassifications
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • I am trying to use a interactive form and it says "If this message is not eventually replaced by the proper contents of the document, your PDF  viewer may not be able to display this type of document."  This is a IRS form and has worked before.

    I am trying to use a interactive form and it says "see below"  This is a IRS form and has worked before.
    is there a tech support phone number?
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
    of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries

    That means you are looking at the form online with a browser that uses its own (incompatible) PDF viewer, not the Adobe Reader plugin.
    Either
    download the form to your local disk and fill it from there
    use a browser that employs the Adobe Reader plugin
    configure your browser to use the Adobe Reader plugin: http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • PDF viewer may not be able to display this type of document.

    I am trying to down load an HMRC file ChV1 which I believe is interactive (my layman's description - I have to fill it in) but I get the message ...
    "If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document. , etc.,
    I am using Windows 7 and Google Chrome
    But I have the latest version - Adobe Reader Version 11.0.10.  Can anyone help, please?
    Martin

    It may be that the "PDF form" is an XFA form created by LiveCycle Designer. These forms are wrapped in PDF and to view/use one must use Acrobat or Adobe Reader.
    BUT -- today one can use browsers that provide their own built-in PDF reader that cannot 'service' XFA forms.
    Google Chrome is one of those browsers. So, don't bother with trying to view/use/do any thing to - with PDFs when using Chrome.
    Save the PDF to your computer's HDD.
    Now, open the PDF with Adobe Reader XI (fully updated of course). Process the form.
    Be well...

  • Report that displays Costcenter , Document Number and Document type

    Hi All,
    Can anyone suggest Report that displays Costcenter for a Document Number of certain Document type - Like G/L accounts .
    Thanks in advance ,
    Regards,
    Ry

    Good afternoon.
    If you are trying to run a report for a particular cost center (or range of cost centers) and have the report show the GL document number and document type, try transaction KSB1.  You can update the line layout to show these fields.
    If you are trying to run a report for a GL account and have the report show the cost center, run FAGLL03. You can update the line layout to include cost center.
    Apologies if I have mis-understood your question.
    Barb

  • How to display Current Year and Month in Drop Down list

    Hi Dear friends,
    I am devloping a report. It has got 2 pages--input and output(Report) page.
    IN input page, user will select Month and Year from drop down list as one of the input parameters. (seperate drop down list 4 month and year)
    Now, my problem is:
    HOw to display current month and year by default in the dropdown list...........
    I hope my question is clear.
    Please help.
    Regards,
    ASh

    NO da,
    it is not working.
    First i tired with for-loop. I initialized variable "i" to -2 (i=-2) I would get the year drop down list from 2003 but, by default 2003 would come.
    So, i posted the question.
    I tried your code. It is giving following error.
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 122 and 127 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:182: Invalid type expression.
    first.set(Calendar.YEAR, 2003)
    ^
    An error occured between lines: 127 and 131 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:186: Invalid declaration.
    out.write("\r\n \r\nYear : \r\n \r\n"); ^ An error occured between lines: 198 and 203 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:282: Invalid type expression. first1.set(Calendar.YEAR, 2003) ^ An error occured between lines: 203 and 207 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:286: Invalid declaration. out.write("\r\n \r\nYear :\r\n \r\n");
    ^
    4 errors
    Pls. Help.
    Regards,
    Ashu

  • ALV: how to display only subtotals and total rows in the output

    ALV: how to display only subtotals and total rows in the output
    i am getting output
    i am getting subtotals for respective fields
    but i want to display only subtotals and totals rows in the output
    i have tried the
    totals_only   parameter in slis_layout_alv
    but it is not working.

    hi,
    For TOTAL
    For the amount field / quantity field in the field catalog give DO_SUM = 'X'    for WHOLE total
    For SUBTOTAL
    For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
    DATA: lt_sort type SLIS_T_SORTINFO_ALV,
    ls_sort type slis_sortinfo_alv.
    CLEAR ls_sort.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'Give the field name that you do the sum'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    APPEND ls_sort TO lt_sort.
    fieldcatalog-do_dum = 'X'.
    for subtotals
    WA_SORT-FIELDNAME = 'ERSDA'.
    WA_SORT-SPOS = '2'.
    WA_SORT-UP = 'X'.
    WA_SORT-SUBTOTAL = 'X'.
    APPEND WA_SORT TO IT_SORT.
    Refer
    http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
    regards,
    Prabhu
    reward if it is helpful

  • New Document Types and new Number Ranges

    Hi,
    Plz tell me How to configure New Document Types and new Number Ranges for Services and Asset Purchases.
    How can i maintain Services with or without Master data.
    Plz tell how much services are there and how to configure step by step

    Hi
    New document type can be configured in SPRO - SAP IMG- Material management - Purchasing - Purchase order - Define number rabges / define document types.
    With out service master straightaway you can create the Service PO with account assigment.
    AC03 - Create service master record.
    ML10 - Model service specifications
    Then Service conditions ML33 or ML39 or ML45
    Create the PO and then do the service entry in ML81N
    Regards,
    Raman

  • Document type and item category

    Hi All,
    I have created two document types in MM for creating Purchasing Requisition. One for material and for service and material. But when i am selecting service and material document type, the item category at item level is automatically converted to D(Service) even though i dont select any thing(material). I have not done any settings for iterm category based on document type. Pls let me know why i am facing this problem.
    Thanks,
    Raju

    Hi Amit,
    For both the document types (Material and service, service) the item category standard and service are assinged. I have checked in SPRO--->MM-->Purchasing->Purchase requisition-->Define document type--->Check Allowed item category assingment and Link purchase requisition document type.
    Hi Raghavendra
    If SAP standard service document type then we cant take material and can take service only for creating PR, but in my case i have created one document type and named it as service and for this document type i have assigned item category of service and standard. In this case it should allow me to create PR with standard item category, but its not allowing me to do so. Pls let me know how can i solve this issue.
    Thanks,
    Raju

  • Document type and No. range for non leading ledger

    Hi Friends,
    can anybody tell me about the document type and No. range I can take for the non leading ledger.
    Regards

    Ok Pankaj,
    I am taking document types by copying it from the SAP standard document type and the No. range identical to the No. range assigned in the standard Doc. type. Is it ok
    LA                9A                               
    LB                 9B
    LC                 9C
    LD                 9D
    LE                  9E
    LF                  9F
    LG                  9G
    LH                  9H
    LI                   9I
    LJ                  9J
    LK                 9K
    LM                 9L
    LN                 9M
    LN                 9N
    LO                 9O
    LP                  9P
    LQ                 9Q
    LR                  9R
    LR                  9S
    LS                  9T
    LT                  9U
    LU                 9V
    LV                9W

  • No archive information found for object type  and document type

    Hi All,
    When i try to view the print preview for a perticular doc type, system is giving the error as "No archive information found for object type  and document type"
    Diagnosis
        No information was found about optical archiving. This may be due to
        either of the following reasons:
        1.  No valid archiving parameters were passed
        2.  Your system is not configured for optical archiving
    System Response
        Processing is cancelled.
    Procedure
        Specify valid archiving parameters or check whether your system is configured for optical archiving
    Regds,
    CB

    Hello,
    You are trying to Print & also archive by selecting the option Print & Archive.
    You have to do archivelink configurations and then create document type and assign to the object type with content repository with archivelink table.
    If you want to archive the spool or output then you have to use object type as DRAW. If you are archiving invoice document or letters or so on then you have to know the object type/Business object of the transaction.
    Please note that for archivelink configuration, attachment will be either stored in archive server or in SAP database table based on business requirement.
    Hope this will give you some understanding on archiving area.
    -Thanks,
    Ajay

Maybe you are looking for