Disabling a weblink within a report

In accounts, I have a report(Dues) which reports on fields in CO1.
There is a weblink to launch another report (Past Due Details), within the report 'Dues', which reports on fields in CO2.
I wish to either:
1. Disable the weblink within report 'Dues', if one of the fields(Total Past Due), within the same report contains the value '0.00'.
or
2. pass the value of 'Total Past Due' (when clicking on the weblink) so that it displays a blank report or a report with an error message.
I hope someone can help me out with this 'roadblock'....
Edited by: raverz on Dec 1, 2008 2:31 AM

Hi Rod,
just to make sure that I understood you correctly.
You have a report with a row selector and NO default ApplyMRU process. Instead you have written a process (on submit - after comp and validation) with the code you posted, where you now try to insert into another table than the report is based on. Correct? If so, you where already close with your solution.
BEGIN
    FOR i IN 1.. HTMLDB_APPLICATION.G_F01.COUNT LOOP
        INSERT INTO PL_ALB_IMGS VALUES (PL_ALB_IMGS_SEQ.nextval, HTMLDB_APPLICATION.G_F01(i), :P16_ALBUM_ID);
    END LOOP;
END;You could also use my Plug & Play Tabular Form handling (http://inside-apex.blogspot.com/2006/12/plug-play-tabular-form-handling.html).
In that case your code would look like that.
BEGIN
    FOR i IN 1 .. ApexLib_TabForm.getRowCount
    LOOP
        INSERT INTO PL_ALB_IMGS VALUES (PL_ALB_IMGS_SEQ.nextval, ApexLib_TabForm.V('CHECK$01', i), :P16_ALBUM_ID);
    END LOOP;
END;This library allows you to access columns by there name.
Hope this helps
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com

Similar Messages

  • 500 Internal Server Error when including a JSP within a Report JSP

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

  • Automatic creation of MS Word Documents within a Report

    Dear Experts,
    within my report which creates automatically activities in a background process I have to create MS Word Documents and
    attach this Word Documents to the Activity.
    The Word Document does have a Logo and the text is changing with every Activity created.
    What would be the best technical solution for the creation of this word documents for my report?
    Best Regards
    Oliver

    Hello, I have found out what was the problem. In the end I have used method EDITREPLACE and not WW2_EDITREPLACE and I put the method EDITREPLACE more to the end of my ABAP Code:
    REPORT  z_prueba_oliver.
    TYPES: BEGIN OF ty_partner,
                 nif            TYPE bu_partner,
                 name_org1      TYPE bu_nameor1,
                 conting_com    TYPE c LENGTH 2,
                 fecha_efecto   TYPE zbufecha_ef,
                 END OF ty_partner.
    DATA:  lt_partner1     TYPE TABLE OF ty_partner,
                 ls_partner1     TYPE ty_partner,
                 lv_file_save_as TYPE c LENGTH 40,
                 lv_contador     TYPE n LENGTH 3.
    * Include necesario para la declaracion de objetos OLE2
    INCLUDE ole2incl.
    * Declaraciones para la llamada a WORD.
    DATA zword TYPE ole2_object.
    CLEAR zword.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 1'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 2'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 3'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 4'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 5'.
    APPEND ls_partner1 TO lt_partner1.
    LOOP AT lt_partner1 INTO ls_partner1.
      AT FIRST.
        CREATE OBJECT zword 'WORD.BASIC'.
    * Se abre el fichero que contiene la plantilla de la carta
        CALL METHOD OF zword 'FILEOPEN'
          EXPORTING
          #1 = 'C:DOCSPRUEBA_1.DOC'.
      ENDAT.
    * Se selecciona todo el texto del archivo PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se copia el texto seleccionado al portapapeles
      CALL METHOD OF zword 'EDITCOPY'.
    * Se crea un documento nuevo, al que WORD llama documento1
      CALL METHOD OF zword 'FILENEW'.
    * Se pega el texto del portapapeles a documento1
      CALL METHOD OF zword 'EDITPASTE'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Se selecciona todo
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se borra la selección
      CALL METHOD OF zword 'EDITCLEAR'.
    * Se incorpora el texto original de PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITPASTE'.
    *IF ls_partner1-conting_com is initial.*
       *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *else.*
         *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo y Contingencias Comunes, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *ENDIF.*
      *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#codprov#'*
        *#02 = ls_partner1-nif*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#nomprov#'
        #02 = ls_partner1-name_org1
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
    * Se reemplaza el campo #nomprov# con el valor de la tabla interna.
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#FECHA_EFECTO#'
        #02 = '10 de Junio de 2010'
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
      lv_contador = lv_contador + 1.
      CONCATENATE 'C:DOCS' 'PRUEBA' lv_contador '_' sy-datum '.DOC' INTO lv_file_save_as.
    * Se cierra el documento activo, documento1 con opción de salir sin salvar
      CALL METHOD OF zword 'FILESAVEAS' EXPORTING #1 = lv_file_save_as.
    * Se cierra el documento activo PRUEBA.DOC con opción salir sin salvar
      CALL METHOD OF zword 'DOCCLOSE' EXPORTING #1 = 2.
      AT LAST.
    *   Se cierra WORD
        CALL METHOD OF zword 'APPCLOSE'.
    *   Se libera el objeto ZWORD
        FREE OBJECT zword.
      ENDAT.
    ENDLOOP.

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. mail will not be sent.

    Hii all,
    I have a subscription which used to send report email daily 10 am morning 
    now today it does not sent an email the status i s showing above error message ..
    why this occurs ?? at the time of subscription running time ??
    i have checked there is not error of subscription it runs fine ..
    only today errored ..
    Kindly , help me
    Dilip Patil..

    Hi Dilip,
    Based on the error message "An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database." it seems the issue is caused by the Report Server catalog databases are
    corrupted.
    To fix this issue, I suggest that you use the Reporting Services Configuration Manager to recreate the Report Server catalog databases. In addition, please make sure report server instance can connect to the report server database. For more details about Configure
    a Report Server Database Connection (SSRS Configuration Manager), please see the following document:
    http://msdn.microsoft.com/en-IN/library/ms159133.aspx
    Besides, if the issue is caused by the connection to the SQL Server Reporting Services Report Server catalog database is timeout. Please refer to the following thread:
    http://social.technet.microsoft.com/Forums/en-US/db4ca6c2-5445-4ff9-9f63-e20f3859cc70/error-throwing-microsoftreportingservicesdiagnosticsutilitiesreportserverstorageexception-an?forum=sqlreportingservices
    If the problem is still existed, I would appreciate it if you could give us detailed error log, it will help us move more quickly toward a solution.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • What is the best way to call a report from within a report

    What is the best way to call a report from within a report(master / Detail concept)
    A type of drill down report
    Oracle Database 10g
    Forms 10.1.2.0.2
    Report Builder 10.1.2.0.2

    Hi
    Have a look in this link, certainly you will get fix, if not just post a comment on blog, will get reply soon
    http://windows7bugs.wordpress.com/?s=oracle+10g+bug

  • How to disable refresh button in webi reports in BOXI3.1SP2-Java SDK

    Hi all,
    We have integrated Java with BO, here end users will give parameters through java screen. After submitting all the parameters webi reports will opens in separate window.
    Here requirement is end users should pass the parameters from java screen and they should able to save the report in to excel/PDF.
    Refresh/edit buttons should disable/hide in the webi report.
    below is the sample url we are using in the java.
    http://" + CMS + ":8080/ OpenDocument/opendoc/openDocument.jsp?"+ "iDocID=" +ReportID + "&sType=wid&sRefresh=N&sWindow=New&lsSEnter List Name: =+List&token=" + token
    we tried with using &buttonrefresh=hide in above URL.
    Note: We are also having hyperlink reports in the Webi.
    Please provide me inputs to disable refresh button.
    Thanks,
    Subash

    Hi,
    why do not set this over the authorization scheme? Just deny your users the right to refresh/edit the report.
    Regards,
    Stratos

  • Select list within a report

    Hi All
    I need help creating a report with the first column as a select list and the other columns (4 of them) will auto populate based on the selected item. This is a report region on form that will update a table when submitted.
    My Table: Cost Center
    Cost Center Id - PK
    Cost Center
    Variable
    Object Code
    Department Accumaltor
    Year
    The user would select a cost center from a dropdown within the report and the other values would be filled in.
    So far I have created the select list and created a tabular form.
    I'm sure if I need to even use this type of report because the user will be able to add a new record if necessary.
    I think I need a process to retrieve the rest of the info from the table once the user made a selection. But where would I put that?
    I've read many posts that are similiar but I need some guidance.
    Thank You
    Moe

    Hi I wanted to include the code I'm trying to use based on various posts I found:
    I found this suggestion on Denes Kubiek site and tried to modify it to be used in a report with dropdown. Un fortunately it's not working.
    In the Region Header:
    <script language="JavaScript" type="text/javascript">
    <!--
    function pull_multi_value(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=getCostCenter',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM',pValue)
    alert(pValue);
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByid("id");
    --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 == 'hideMe508'[i]){--I changed the class name[/i] l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    ON Demand Process -
    DECLARE
    v_var VARCHAR2 (15);
    v_yr VARCHAR2 (15);
    v_obj VARCHAR2 (15);
    v_acc VARCHAR2 (15);
    v_dept varchar2(10);
    CURSOR cur_c
    IS
    select variable, year, object_code,accumulation_code, dept_accum FROM cost_center_code
    WHERE costcenterid= (v('TEMPORARY_APPLICATION_ITEM'));
    BEGIN
    FOR c IN cur_c
    LOOP
    v_var := c.variable;
    v_yr := c.year;
    v_obj := c.object_code;
    v_acc := c.accumulation_code;
    v_dept := c.dept_accum;
    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="f04_0001">' || v_var || '</item>'[i]);--I changed these to reference the fields within the report HTP.prn ('<item id="f05_0001">' || v_yr || '</item>');
    HTP.prn ('<item id="f06_0001">' || v_obj || '</item>');
    HTP.prn ('<item id="f07_0001">' || v_acc || '</item>');
    HTP.prn ('<item id="f08_0001">' || v_dept || '</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="f04">' || SQLERRM || '</item>');
    HTP.prn ('</body>');
    END;
    Any help will be greatly appreciated
    Moe

  • Using stored procedures within Crystal Reports

    Hello all,
    Background Information:
    I am trying to teach myself how to execute a stored procedure within Crystal Reports.  This is an aspect of Crystal that my work group has not utilized before and we're trying to gather information on the subject.  We use Oracle to create and execute functions and procedures all the time, but I've never tried this within Crystal.
    I use the "Add Command" functionality within Crystal on most of my reports so that I can taylor the sql to the report.  I find this easier to do versus using the ODBC connection to the tables and writing the code through the Crystal Reports wizard.  I also frequently use functions within these sql statements that are inserted in the Add Command.
    What I'm trying to achieve:
    I have a report that needs to run as a "trial", and then later as a committed "run".  This is for a monthly billing system.  Essentially, the user will run the report as the "trial", preview the data, make any necessay corrections, and then later, run the actual billing run.  Within my application, the bills are not actually marked as "billed" until they are actually "billed', if that makes sense.  As a result, the "trial" report will need to mark the bills as "billed", generate the report, and then rollback the data (so that the bills are not "billed".  Once the actual billing reports are ran, the same report will run, but with a "commit" at the end of the report so that the bills are now "billed".
    I'm trying simple tests and failing (i.e. taking baby steps to learn what capabilities Crystal has):
    I created as simple of a procedure as I can envision.  This procedure inserts the word "test" in one of my fields for a provided account number.  When I try to run this procedure via Crystal (via New Report ->History->My ODBC Database link->Stored Procedures), Crystal asks for the account number parameter, as it should.  But I then receive the error message:
    Database Connector Error: '42000:[Microsoft][ODBC driver for Oracle]Syntax error or access violation'
    The existing ODBC connection has work great for years and years to retrieve data from tables, but this is the first time I've tried to utilize procedures.  Can anybody help?  And can anybody explain what the Stored Procedures link is supposed to do?  Am I going down the right path?
    thanks,
    Noel

    Hello,
    Make sure the Oracle client install path is in the PATH statement. And also make sure you are using an IN/OUT cursor. CR only reads the last SELECT statement. Search the Documents area on how to create a Stored Procedure.
    Also, if you are using CR XI ( 11.0 ) then upgrade to CR XI R2 and apply all service packs ( SP 6 ). Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    It may fix your issue also.
    Thanks again
    Don

  • Very urgent :how I order by my report within the report option not change i

    Hi master
    Sir I design the report but I need my report order by cheq_no now my report order by voucher no but If I change in query then my format must be change that very problem for me I again design
    Is any option in report through which I order by my report as per my require column I is if I need on cheq_no , voucher_no or date
    Please give me idea how I order by my report within the report option not change in report query
    Thanking you
    aamir

    Use a lexical parameter (see online help):
    select ...
    order by &sort_parameter

  • Embedding DMS Documents within CG42 Report Template

    Hi All,
    We are using EH&S and DMS and would like to combine these two into a CG42 report template.  Through CG02, we have created specifications where we would like to have some value assignments instances take advantage of the user-defined text tab to pull in documents from DMS.  We have configured the system to successfully link in the DMS document info record into the user-defined tab within the value assignment area of CG02 and can view the DMS documents by double clicking on that reference.
    In taking this to the next step, we would like to embed this document into our report template definition.  Mind you that some of these documents are .pdf containing text and graphics.  Within CG42, we go to the specification symbol that we want and open the area called ADDITIONAL INFO, which then opens to other symbols, one of which is "ESTDF Additional Information - User-Defined Text".   When we open that node, it provides us with many attributes as options that we can embed within the report template.  The only one that relates to content is "GESTDHEADE HEADER Start of UD Text ".  It appears that all this does is just repeat the link that was specified in CG0 when we use the command to include that in the report template and then do a preview on the report.
    In reading some SAP Help Documentation in the section for user-defined text, I'm led to believe that you can embed these into the report template but I have not been able to do so thus far.  The only thing I can do is embed information about the user-defined text into the report template.
    Can someone shed some light if this is feasible?
    By the way, we are already embedding graphic logos by relating it to a phrase and keeping these images in a folder on a file server.  If we must, we can use that approach but I'd really lile to keep these documents in DMS as a controlled document.
    Thanks!

    Hello
    please consult online help. Take a look here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/2872ac0a6c11d28a220000e829fbbd/content.htm
    Chapter: Symbol Type: Specification
    Subchapter: Output of Document Management Documents
    The description is ok and in my opinion a good starting point.
    Hope this helps.
    C.B.
    PS: http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/286d780a6c11d28a220000e829fbbd/content.htm is helpful too.
    Chapter: User-Defined Texts and Documents
    Edited by: Christoph Bergemann on Nov 26, 2011 5:12 PM

  • Select list within interactive report.

    Hello y'all,
    I have a need to develop an interactive report and am lost in how to proceed. I am asking for your help. The report requirements are as such:
    - There are 3 types of records that will be in the report
    - The is a checkbox to associate the records to a particular event.
    - If the record is of a certain value, 3 of the columns in that record have to show as select lists.
    - The records with the other 2 values should not have the select lists, just show a null in those columns.
    - The checkbox must be checked for the select lists to appear.
    - The select lists are based on a list of values. The values are populated with an existing common function used in many of the application pages.
    I am having no success in trying to get the select lists in the report. Has anyone developed an interactive report that uses select lists within the report? Is this even possible?
    I am using application Express 3.2.0.00.27. Any help that you can give is greatly appreciated. Thank you so much!
    *** Got it. It has to be a tabular report with updateable columns. ***
    Edited by: seashell on Sep 13, 2010 5:22 AM
    Edited by: seashell on Sep 13, 2010 7:07 AM

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • Performing searches and scrolling within a report using Plus and Viewer

    Hi All:
    In Discoverer Plus and Viewer, is there a way to do searches within a report?
    Also, if I have a report that has multiple pages, as much as I can adjsut the row number, is there a quick way to get from the beginning to the end of the report and vice versa without using the Down/Up option?
    thanks .... cm

    Hi cm
    In Plus, you can click the Search button, it has the icon of a Torchlight. This brings up a new dialog box that allows you to search through the report. Because Viewer is an HTML page it has no similar feature. If the whole report is on screen you can the browsers own search facility by pressing CTRL-R.
    As for getting to the last page in Viewer, that functionality was added as an enhancement during the release of 10.1.2.2 cumulative patch 2 and has been continued into 10.1.2.3
    Here are the notes from CP8:
    Enabling Bug 5639863 - ENH: NEED OPTION TO NAVIGATE TO LAST PAGE IN VIEWER
    Introduced UI for page navigation, using which a user can navigate to first/previous/next/last/specific page of the worksheet in Viewer. A new config parameter, named ‘pageNavigation’ has been added in configuration.xml as part of this enhancement.
    It is a Boolean parameter, which when set to true, the page navigation toolbar will appear in the Viewer page, else not. It has been added owing to the fact that non-incremental query has to be run for showing the page serial number information correctly, thus resulting in relatively more show-up time of worksheet (based on how large the worksheet is) for the first time its rendered. It is recommended to set this parameter as FALSE, because setting it to true makes the query non-incremental, which is a performance trade-off.
    And some additional commentary from CP2:
    The default is FALSE. If you wish to use this UI, then you may notice a performance trade off for very large queries when the query initially runs compared to the default 10.1.2 functionality. The trade off is that it is much easier and quicker to navigate to specific pages of a large report.An example of the usage of 'pageNavigation' is given below
    <viewer queryRefreshPeriod="3000" queryRequestTimeout="1000"
    longRequestRefreshPeriod="6000" longRequestTimeout="10000"
    userDefinedConnections="true" logLevel="error" laf="dc_blaf"
    switchWorksheetBehavior="prompt" defaultLocale="en" disableBrowserCaching="false"
    enableAppsSSOConnection="false"
    pageNavigation="true">
    Best wishes
    Michael

  • Hyperlinks within Crystal Reports

    Hello,
    I am using Crystal Reports to create a statement. We would like to include hyperlinks in our report. We have already created hyperlinks within the report. The hyperlinks are only operational when I click within the subreport. I want to process my report to a PDF and have the hyperlinks work. Any Suggestions? I am currently working in Crystal 8.5 (we have 10 but our database is not matching up).

    As an alternative, at least one of the 3rd-party Crystal Reports Manager tools listed at http://www.kenhamady.com/bookmarks.html can use visible or hidden (white font) formulas anywhere within a Crystal report (including inside subreports) to create file, web, or email links at that same location within the pdf export of the report. Optionally, an image (such as a .png button image can be added to provide a GUI for the link.

Maybe you are looking for

  • How can I see the entire page on ebay?

    I cannot view the entire page on ebay. I can see the photo and the first list of items on the specific page but am unable to see any further information such as what other options are available on an Apple laptop or any additional info until I get to

  • Error in updating vacancy in iRecruitment

    Hi experts I have a special case. If i try to update a vacancy in iRecruitment i get the error: The mandatory argument object_version_number value cannot be null Cause: The mandatory argument object_version_number has either not been specified or has

  • I can't attach a file in Gmail using firefox, but its working in Safari and Chrome.

    I can't attach a file in Gmail using Firefox, I can attach files when using Chrome and Safari, so it must be Firefox. I've tried all the other suggestions for making things work, but nothing works so far, and it started yesterday afternoon (Aug 6th,

  • Xdim_member  - How to use it

    Hi, Does  xdim_member  is still available for BPC 7.5 SP04 ? Im trying to make a change in my  scripts, taking as a base this: acc1 = account.x.category.budget acc2 = account.y.category.budget acc3 = account.z.category.budget now: xdim_member categor

  • IPhoto/Spotlight not indexing SOLUTION *edit

    For those iPhoto 6 users whoose comments and keywords not being indexed by Spotlight, here is the solution to your problem! If you are getting * Parsing file: '~/Pictures/iPhoto Library/AlbumData.xml' ERROR: syntax error (<key>PhotoCount</key>) when