Display attachement extension field with link in report

Hi gurus,
Do you know how i can display in a report, an attachment extension field, with the link to the document ? It displays fine, but how can i add the hyperlink to open it directly from the report ?
Regards,
Simion

Hey Ben,
Thanks for the suggestion. I understand what you are saying, the problem is that when you have an interactive report that includes a BLOB and you use the built-in method for displaying a download link, it only gives you the option of using a text link. The method is outlined in the online help under:
Home > Advanced Programming Techniques> About BLOB Support in Forms and Reports > About BLOB Support in Reports
This is done by using the following syntax in the Number/Date Format of the column attribute of the BLOB:
DOWNLOAD:CC_DOCUMENTS:CONTENTS:ID::MIME_TYPE:FILENAME:UPDATED_ON::attachment:View
Where the last parameter is the link text. The only problem is that there is no option for substituting an image rather than the link text. That's what I'm trying to work around. Sorry if you new all of this already, but I wanted to explain what I've already done. Thanks for any help you can offer.

Similar Messages

  • Help with Linking A Report in SCCM 2012

    I've got a report that shows us Flash Players Versions by Count. I'd like to be able to create a linked report that shows the specific computers that have a specific version. The current report looks like this
    I'd like to be able to click on a link in the Version column that would display the result of this somehow.
    Are any SCCM 2012 reporting gurus out there that have done something like this?
     For example, I'd like a link from the Version field to run a report that
    Orange County District Attorney

    My first recommendation is to adjust the query you are currently using as it will only show you x86 software titles.
    As for how to do it, that is easy (sort of). Write your two reports,Make sure that your second report have prompts of everything that you want to pass to it.
    Now are you sign BIDS or RP to create your reports? You need to know this as it is a lot harder to do this with RB vs BIDS.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Negative sign display for CURR field in ALV grid report

    I have a field BETRG defined as CURR field of length 15, decimal places 2. The value may be negative or positive. In case of negative values I am using EDIT_MSK option in the field catalog to bring the negative sign to the left of the value as shown below.
    Quote
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'LT_FINAL'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    LOOP AT fieldcat.
        CASE fieldcat-fieldname.
            WHEN 'BETRG'.
            fieldcat-ctabname = ' '.
            fieldcat-cfieldname = ' '.
            fieldcat-edit_mask = 'RRV_______________.__'.
        ENDCASE.
        MODIFY fieldcat.
      ENDLOOP.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active    = 'X'
          i_callback_program = sy-repid
          i_grid_title       = 'ABCD'
          is_layout          = gs_layout
          it_fieldcat        = fieldcat[]
          i_save             = 'A'
          is_variant         = gs_save
          it_events          = gs_events
        TABLES
          t_outtab           = lt_final
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Unquote
    On displaying the report using 'REUSE_ALV_GRID_DISPLAY' as shown above, when the value of BETRG is a smaller number like say 624, then the ALV output appears as '-            624.00' instead of '-624.00'.
    Is there any way that I can remove the space in between the negative sign and the number before displaying the ALV output using 'REUSE_ALV_GRID_DISPLAY'?

    Hi Deepak,
    I tried this and found that this doesn't work in case of currency field. Once you move back the char field (with negative sign to the left and condensed)  to the currency field, the negative sign again moves back to the right.
    I think that the only way a negative sign can be brought to the left of the currenct field is by using edit_mask of field catalog as I have shown above.
    Regards,
    Shayeree.

  • User defined field with Linked Table property

    Hi All,
    I know this has been posted several times but I cannot get this to work.  I am trying to add a user defined field and link it to a table. 
    I am getting the error "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values " 
    Everything I check says that the code I am using is correct.  Is it possible the problem is that I am trying to connect to an SAP table instead of a user defined table.  Is it possible to link a user defined field to an SAP table?
    My code below:
                    oUserFieldsMD.TableName = "OITM"
                    oUserFieldsMD.Name = "SHP"
                    oUserFieldsMD.Description = "Must ship via"
                    oUserFieldsMD.LinkedTable = "OSHP"
                    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                    oUserFieldsMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
                    oUserFieldsMD.EditSize = 8
                    oUserFieldsMD.Size = 8
                    oUserFieldsMD.Mandatory = SAPbobsCOM.BoYesNoEnum.tNO
    Thanks
    Karen

    Hello  Karen,
    you cannot link a userfield to a system table. it has to be link to a user table.
    oUserFieldsMD.LinkedTable = "OSHP"
    when you have error, just try to do it using the same value in the application. If you cannot do it, it means you cannot do it neither with the DI
    Sebastien

  • Extension fields with bapi 'BAPISORDER_GETDETAILEDLIST'

    Hello,
    I want to get values of extensions fields of vbap with bapi 'BAPISORDER_GETDETAILEDLIST'.
    Is there anyone know how to do that? How to fill extensionout table?
    Thanks.

    Hi
    I haven't that BAPI on my release (4.6C), but I suppose the parameter extensionout is like BAPIPAREX.
    The structures for extensions are:
    - BAPE_VBAK: for header
    - BAPE_VBAP: for item
    - BAPE_VBEP: for scheduls
    So BAPE_VBAP is yours.
    The system dosen't move all Z-FIELD from VBAP to BAPE_VBAP, but only fields are in structure VBAPKOZ.
    So you should insert your Z-FIELD of VBAP into VBAPKOZ.
    After I suppose the system automatically fill extensionout and so:
    LOOP AT extensionout.
    CASE extensionout-STRUCTURE.
    WHEN 'BAPE_VBAK'.
    MOVE extensionout TO BAPE_VBAK.
    WHEN 'BAPE_VBAP'.
    MOVE extensionout TO BAPE_VBAP.
    Here you can read the z-field and assign them to their *item:
      READ TABLE T_VBAP WITH KEY VBELN = BAPE_VBAP-VBELN
                                 POSNR = BAPE_VBAP-POSNR.
    WHEN 'BAPE_VBEP'.
    MOVE extensionout TO BAPE_VBEP.
    ENDCASE.
    ENDLOOP.
    Max

  • How to set "Display as Text" field with AJAX select list

    thanks Denes for your posting. I'm trying to use the Denes Kubicek code to populate a "Display as Text" field. It works for Text Field (disabled), but not "Display as Text" field(saves state) . In my applciation I need to show this field only (not the disabled text box) when a select list value is changed. any ideas to modify the code below are appreciated.
    http://htmldb.oracle.com/pls/otn/f?p=31517:80:3418128396960418::NO
    here is the code from the url above
    1. Create an Application Process - getDet:
    DECLARE
    my_det VARCHAR2 (200);
    BEGIN
    SELECT ename || CHR(10) || job || CHR(10) || mgr
    INTO my_det
    FROM emp
    WHERE empno = :P80_EMPLOYEES;
    HTP.prn (my_det);
    END;
    2. Put the following in the Region Header of your page:
    <script language="JavaScript" type="text/javascript">
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P80_EMPLOYEES',html_GetElement('P80_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P80_DETAILS').value = gReturn  }
    else
    {  html_GetElement('P80_DETAILS').value = 'null'  }
    get = null;
    </script>
    3. Put the following in the HTML Form Element Attributes of :P80_EMPLOYEES:
    onChange="f_getDet()";

    Arie,
    this works fine on normal page, except page zero. I have the AJAX select list and "Display as Text" field on page zero. The "Display as Text" field doesn't show the the value when AJAX select is changed. I'm using similar code as used in my other APEX page on OTN site. I tired to display the gReturn value, just before calling "setDisplayOnlyNode" function in the code below and it's showing correct value, but fails to display the value in the APEX field on page zero. Any ideas are appreciated.
    Thanks,
    Surya
    <script language="JavaScript" type="text/javascript">
    function setDisplayOnlyNode(pItem, pValue)
    { var textNode = pItem + '_DISPLAY'; $x(textNode).innerText = pValue; }
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P1_EMPLOYEES',html_GetElement('P1_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    { setDisplayOnlyNode('P1_DETAILS',gReturn)}
    {  html_GetElement('P1_TEST').value = gReturn  }
    get = null;
    </script>

  • User Defined Field with Link Type

    Hi,
    I am trying to create a user defined field to allow users to attach word documents to Item Master Data.
    I have successfully created a User Defined Field under master data with Type: Data, Structure: Link.
    It appears in the Item Master Data as I would expect. My questions relates to how to use this field. The first time I click on the field, a file browser window appears where I can select a file. Once I select the file I want I click ok and the path to this file appears in the field. The next time that I click on the field the file will open in its respective application.
    My question is: How when the field already contains a path to a file do I change this path so it points to a different file.
    Any help I can get on this would be greatly appreciated.
    Thanks
    Brian

    Hi,
    If you hold down Ctrl on your keyboard and then double click in the link it will allow you to browse to a different file.
    Regards,
    Adrian

  • How to dynamically display in Image Field with external pic source

    Hi Guys,
    I have the following scenario:
    I need to have a form that needs to display an x amount of images on the same page area.  I have not found any documention with regards to creating an undisclosed number of Image Field elements, so I am experimenting with using a Table to display entries of type Image Field.
    I do not know at design time which pictures will be shown in this table.  This needs to be calculated dynamically when an Incident Number is supplied to the Java WebDynpro application that uses Adobe LiveCycle Designer (Dont worry about this).
    Now, first of all: Is it possible to use the URL of images that are OUTSIDE the form structure?  In other words, usually one would imbed the image in the forms structure, but because I do not know this image's URL at design time I need to pass it dynamically?  Please comment!
    Also, what is the FormCalc syntax for accessing a field in the "Data View" view at the left side of the designer?  For example, If i want to access the following part in the "Data View"view, what syntax should I be entering in the script editor:
    I would like to access this value as I would like to append it to the end of this statement so that I can get the value dynamically:
    this.value.#image.href=  ???????

    You cannot change the url of the image on the fly for security reasons.
    In your case you have to use the dynamic image fields in the xdp form, encode the external  images with base64 encoding to be a string, populate with those strings the xml and render  your template with this xml.
    Here: http://eslifeline.wordpress.com/2008/09/05/inserting-image-in-a-xdp/#comments you have a good example by Girish Bedekar for such a process.
    Yan.

  • Problem with linking to reports in Web Intelligence XiR2

    Hi,
    I'm having trouble doing even a basic (direct) link to a sub report or a report.
    These are my tries:
    (webserver name)
    http://corpwebapps:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&sDocName=KPI_Dashboard_Legenda&sWindow=Same&sType=wid&sRefresh=Y
    (server name)
    http://SRV0010:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&sDocName=KPI_Dashboard_Legenda&sWindow=Same&sType=wid&sRefresh=Y
    I've tried getting the properties of the report from infoview, to get an idea of the directname; That would be:
    Webi/webi_view.aspx?id=38868&windowProperty=fullscreen=yes,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes",38868,true,"iv","fullscreen=yes,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes","");
    What am I doing wrong?
    The admin assures me that the application is at port 8080;
    Thanks for your help!

    Basicly a 'Page cannot be displayed' error.
    When I remove the port I get
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)
    Technical Information (for support personnel)
    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
    When I keep the port I get an error in Dutch, which most likely is the langeuage used on the server.
    The notice is also slightly different; It sais that I should check for connection problems there (in a little red box).

  • Problem displaying a related field with an ADF Table

    I am trying to use an ADF table to display data that is setup with TopLink as a one-to-one mapping. The database table is the TICKET table and it has a field STATUS_ID. I would like to display the STATUS from the STATUS table instead of the STATUS_ID. The STATUS table has a STATUS_ID key and the ticket table is setup with a FK constraint on the STATUS table.
    I have two objects, Ticket and Status, that were created from the TopLink reverse engineer. I have created the TopLink mapping and generated the data controls ( this is the same process I used when going through the SRdemo). From the data control palette I dragged the FindAllTickets to my listTicket,jspx page and it shows a menu of options. I selected the ADF Read only table option and the only fields available in the dialog are from the TICKET table??
    The ADF table works and display all the data in the TICKET table but I have not been able to add another column to show the status from the STATUS table. There is a node under the findAllTickets data controlI for the Status. I dragged the individual fields over as ADF output test I can see the data from all the fields including the STATUS.STATUS field but I only see the last row. Also,this is not in a table format.
    Does anyone know how to set this up with an ADF table or is there a better way?
    Thank you
    Todd

    Hello,
    I'm encountering the same problem. One solution seems to use business components (a view object based on many entitiy objects) as described in the ADFBC tutorial, but like you i've based my development on the ADF tutorial and i think there is a solution but i didn't find it for the moment. I'm keep looking for a solution and if i find something, i'll send it to you.
    Good luck
    tif

  • Displaying a particular field as URL using "Report Wizard"

    Hi,
    I have a view which has empnum,empname and empurl. I am trying to create a report
    using "Query Wizard"
    I want to display emmpnum and name. But name has to be a URL and it should go to the page that is being stored in empurl
    FOr eg: My table will have date like
    1 A http://www-apps/~a
    2 B http://www-apps/~b
    3 C http://java.sun.com/jag
    So now my report should show
    1 A
    2 B
    3 C
    Where A, B, C should be displayed as URL and should go to repective URLs.
    Any documentation regarding how to do this will be of great help.
    Thanks
    Srini

    Hi,
    You can use SQL based query to do this. The query should be like this.
    select 'oracle' url
    from schema.table_name
    The display type of the column should be html. This should be done in the column formatting section.
    Thanks,
    Sharmila

  • Displaying new custom field in

    hi all expert again!
    i created a new field in order.jsp. but i have no idea how to display this new field with value in orderstatusdetail.jsp, which user click on history link on the right side. this value should be collected from FM or extension table? can you let me know which java action to be interrupted to add this in? 
    can you all guide me please?
    thanks!
    appreciated your help.
    Shanti

    Shanthi,
    1. Create a custom action ZMaintainBasketDispatcherAction. Extend the MaintainBasketDispatcherAction. In this write logic for the customerExitDispatcher method to forward to a custom action when the simulation is done.
    Ex: String actionSimulate = (String)parser.getRequest().getParameter("simulatepressed");
              if (actionSimulate!=null && actionSimulate.length() > 0) {
                   zforwardTo = "zsimulate";
    2. In config.xml add a new entry for zsimulate and provide another action class like zsimulationaction.java
    3. Here read the value of the field from the request and set it to the extension data of header/item based on the field location in order.jsp.
    Ex: preOrderSalesDocument.getHeaderData().addExtensionData("obj","value");
    4. Create a custom backend object for Order / Quotation. There, create instance for the ZCreateStrategy which will extend the CreateStrategy.
    5. You will have a user exit available performCustExitBeforeR3Call where you can read the extension data that you set earlier
    Ex: document.getHeaderData().getExtensionData("obj")
    6. YOu can pass this data to backend FM which will be SD_SALESDOCUMENT_CREATE.
    7. After function module is executed. implement the user exit performCustExitAfterR3SimulateCall
    8. Again set the value back to the extension object.
    document.getHeaderData().addExtensionData("obj","value")
    9. Now in the ordersimulate.jsp read the extension obj and display it.
    Hope this helps.
    Pradeep

  • Link in Report does not work when run on Citrix

    Hello,
    we use Crystal Reports (v11) for creating Reports.
    Data is based on our CRM system "SuperOffice".
    We have several reports and what we did is to add a column that includes a link to SuperOffice.
    For example - if I have a list of contacts as a report, then every line has a link to SuperOffice.
    If I click this link, the contact in SuperOffice gets open.
    This works on lokal pc installations.
    But is doesn't work on a citrix server.
    If I click the link - nothing happens.
    Is that a known problem or does anyone have any ideas for that?
    Are there any known problems with links in reports on citrix servers?
    Thanks in advance.
    Best regards,
    Tony

    Hi Don,
    thank you for fast response.
    That is a good advice. We will check that.
    The main question is, to which folders etc. does CR needs access?
    To explain the situation better: To run the reports we use Crystal Reports Runtime (Version 11.1.1883).
    Do you (or anyone else in these forum) know where we could get information about which kinds of access CR Runtime needs to handle with these links?
    Regards,
    Tony

  • Using a text field as well as a display as text field on a form

    I have a text field that a user will enter in an employee id and from there it will populate a display as text field with their first and last name. I am trying to accomplish this using a javascript process but can not get the name to display. This does work if i change the display as text field to a select list. Can someone tell me what im doing wrong? Thanks
    My code is below:
    Application Process
    DECLARE
    v_desc VARCHAR2(255);
    BEGIN
    SELECT last_name||','||first_name
    INTO v_desc
    FROM org1
    WHERE radionum = :P2_technician1_radio;
    htp.prn(v_desc);
    END;
    HTML Form Attributes for p2technician1_radio_
    onblur="set_Item();"
    Javascript in HTML header
    <script language="JavaScript" type="text/javascript">
    <!--
    function set_item(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Item',0);
    if(pValue){
    get.add('P2_TEMP_APPLICATION_ITEM',pValue)
    }else{
    get.add('P2_TEMP_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' &&
    l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    Edited by: Dclipse03 on Dec 1, 2008 9:48 AM

    Javascript:
    <script language="JavaScript" type="text/javascript">
    <!--
    function pull_value(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Item',0);
    if(pValue){
    get.add('P2_TEMP_APPLICATION_ITEM',pValue)
    }else{
    get.add('P2_TEMP_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' &&
    l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    Setitem Process:_
    DECLARE
    v_technician1_name VARCHAR2 (200);
    CURSOR cur_c
    IS
    SELECT last_name||','||first_name d,last_name||','||first_name r
    FROM org1
    WHERE radionum = v('p2_TEMP_APPLICATION_ITEM'));
    BEGIN
    FOR c IN cur_c
    LOOP
    v_technician1_name := c.technician1_name;
    END LOOP;
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_technician1_name">' || v_technician1_name || '</item>');
    HTP.prn ('</body>');
    EXCEPTION
    WHEN OTHERS
    THEN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_technician1_name">' || SQLERRM || '</item>');
    HTP.prn ('</body>');
    END;

  • Working with 3 Reports -- How to Display Summary/Formula field in Each Repo

    I have 3 Report that represent three Company.
    Each Company/Report has their report Details and field totals at the bottom.
    Now what I am trying to accomplish is that I need to add all three companies grand total and sum it up and display at the bottom of each reports.
    FYI, I have created matrix report and i pass user parameter where user can choose which company's report him/her would like to run so for example: if user run Company_1 then at the bottom i want to display all the companies Grand Total.Each reports have 6 columns and all the columns are same in each report except the data change by company. and with the same thing with Company_2, and Company_3
    Now, I tried to use create a separate query and tried to use DATA LINK but it didn't work due to very awkward report design.
    Is there a way where i can create a formula field and write PL/SQL and display at the bottom of my report.
    Please let me know if its possible I will very appreciated.
    Thank You

    Thanks for your reply,
    Actually, I would done that before taking Company's parameter off but i have to send out this report to all three companies thats resoan why I put companies paramters.
    Also, I have solved that problem by creating new query that will give me total off each company so in my Data Model. I have Q_1 (main query), Q_2 (Company 1 query which give me total for each field), Q_3 (Company 2 query....), Q_4
    and call those all fields and RESET AT REPORT level.
    so, no mather which company i choose in my parameter field it will give me final total at the bottom of my report for all the departments.
    Thank You,

Maybe you are looking for