Error display session in the report Variable

Hi all

I created the session variable to display the current period of closed from the AP. Variable is etup as initialization of the sage line. The default values are assigned.

When using this variable in report filter - I get the error message below. Please let me know what mistake I make.


State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 23006] The session variable, NQ_SESSION. CPG_AP_PERIOD_CLOSED, has no value definition. (HY000)
Issued SQL: SELECT Time. "' Exercise ' saw_0 OF THE time WHERE 'Financial States - AP Transactions'. "' Exercise ' = VALUEOF (NQ_SESSION. ("' CPG_AP_PERIOD_CLOSED ') ORDER BY saw_0


Thank you
Poojak

Session variables are associated with a users session. In other words, that it will be initialized when a user connects to OBIEE. Apparently, the session variable has not been initialized for your user. I don't know why, but you must check the file NQServer.log.

Tags: Business Intelligence

Similar Questions

  • Use of session in the title of the report variable

    Is it possible to add variable s_x of session in the text of the title of the report?
    What is the correct syntax?

    You can use:
    @{biServer.variables ['NQ_SESSION.variablename']}

    See also the link below to learn more about the syntax:
    http://shivabizint.WordPress.com/2008/10/02/Oracle-BI-EE-variables-overview/

  • Number of the results in the report variable

    Hello everyone,

    I need help in TestStand reports. I use TestStand 2014 and 2014 of Labview, both 32 bits.

    The situation is like this: I am running a test with test steps 3. The first stage of the test is a step of "additional results" which records the device under test info (versions of the hardware software etc...). This information appear in the report and the result data in the database (table prop_result). The next 2 steps are the steps 'real' which measures something.

    In the report, there is a call from the variable "Number of results" (see the screen attached capture) and you see a '3 '. There are actually only 2 steps of 'real' test as I don't want to consider the first step of "additional results" as a test step. How can we affect the variable 'Number of results' so that it does not count this first step? I tried to use the properties-> Run Options-> record result of the for Option set to "Disable". It works and the number of results appeared as "2", but the device under test info do not appear in the report and not in the prop_result of the database table.

    In general, how can I get the number of results of account not a step, but continues to display the result in the database and report? Is there an API where I can access and modify its value (number of results value) such as: "Number of results" - 1?

    Hope someone can point me in the right direction. I have attached the release of the report, as well as the file in the sequence.

    Yours,

    chati

    I ment, you can change the XML seq.--> \Components\Models\TestStandModels\reportgen_xml.seq generator (Ref http://www.ni.com/white-paper/3977/en/).

    It's the AddReportHeader, you need to change. Or more specific step 9 (in teststand 2012) which is a statement-->

    Parameters.ReportHeader += "<" +="" fileglobals.reportelementname="" +="" "="" type='UUT' "="" +="" "="" title='" + ResStr("MODEL", "RPT_HEADER_TITLE") + "' "="" +="" "="" link='" + Locals.UUTItemNameForLink + "' "="" +="" "="" uutresult='" + Str(Locals.Status) + "' "="" +="" "="" stepcount='" + Str(Parameters.StepCount) + "' "="" +="" "="">\r\n".

    and then, you can modify the varabel StepCount using some filtering by using for example a subsequnce that counts only the type of measures that your customer wants to be counted.

    There might be ways esier there, but that's what I'd do.

  • Can I use the session with the presentation variable variable

    Hello

    I'm using a method join the variable session or repository with the presentation variable.

    I created a variable called 'VarPres' in obiee presentation I created a session with a new block of initialization variable and I made this request

    "{Select fullName from employees where idEmp=@{VarPres}.

    but when I called the session variable in obiee I got this error

    The session variable, NQ_SESSION. S_OBJ, has no definition of value

    Hello

    Does not allow a presentation in an init block variable, simply because there is no variable presentation.

    In general what you try to do probably will never work because of "timing" and is as a session variable.

    A session variable is set once per session, for once he put no exchange of value as the init block is not executed again. So, because of this you already can imagine that there is a problem in your logic, if you want to use a value set by the user in the front end to set the value of a session variable.

  • Error: "could not load the report" while trying to print an invoice with Crystal Reports

    Original title: crystal reports

    I am trying to install a trial version of crystal reports for simply accounting Pro 2007.  The crystal report has been downloaded to computer but when I go to print an invoice I get a message "unable to load the report.

    Thank you

    White

    Hi white,.
     
    Follow the suggestion given in the article below to resolve this issue:
     
    1215058 - error message: "Runtime Error 20525 Unable to load the report"when using CR 9 and OCX
  • Apex 4.2, display image in the report.

    Hi all

    I'm a noob here Apex. I came across some problems with image display in a report. When I tried to have a report on a form of simple image download, it works perfectly with dbms_lob.getlength("IMAGEFILE") 'IMAGEFILE', workaround. Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.

    Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB. The textual part, appears perfectly.  I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.

    -----------------

    Here's the SQL code of the image gallery that works very well.

    ------------------

    Select "PUBLICATION_NO."

    "FILENNAME,"

    DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.

    "MIME TYPE"

    'PDFNAME '.

    DBMS_LOB. GetLength ("pdflink") "PDFLINK."

    "LASTUPDATED"

    "ID".

    of ' #OWNER # '. " IMAGE3.

    ---------------------

    And here is the one which does not show correctly the BLOB type.

    ---------------------

    Select PATMAN2.ID as ID,

    PATMAN2.PA as PA,

    PATMAN2. SUCH as TITLE,

    PATMAN2. OTHERS like the OTHERS,

    PATMAN2. TYPE as the TYPE,

    PATMAN2. PATENT_FAMILY as PATENT_FAMILY,

    CUSTOMERDB.COMPANY_ID as COMPANY_ID,

    PATMAN2. PUBLICATION_NO as PUBLICATION_NO,

    IMAGE3. FILENNAME as FILENNAME,

    DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,

    IMAGE3. PDFNAME as PDFNAME,

    DBMS_LOB. GetLength (pdflink) as PDFLINK,

    IMAGE3. MIMETYPE as MIMETYPE,

    PATMAN2. CUSTOMER_ID as CUSTOMER_ID

    of IMAGE3 IMAGE3.

    CUSTOMERDB CUSTOMERDB,

    PATMAN2 PATMAN2

    where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID

    and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)

    ------------------------------


    avman wrote:

    Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.

    Sorry, no idea what you mean by that.

    Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB.

    Still, it is far from clear what you mean by "that the report now generates a page where I can't have no matter what selection for BLOB".

    The textual part, appears perfectly.  I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.

    -----------------

    Here's the SQL code of the image gallery that works very well.

    ------------------

    Select "PUBLICATION_NO."

    "FILENNAME,"

    DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.

    "MIME TYPE"

    'PDFNAME '.

    DBMS_LOB. GetLength ("pdflink") "PDFLINK."

    "LASTUPDATED"

    "ID".

    of ' #OWNER # '. " IMAGE3.

    ---------------------

    And here is the one which does not show correctly the BLOB type.

    ---------------------

    Select PATMAN2.ID as ID,

    PATMAN2.PA as PA,

    PATMAN2. SUCH as TITLE,

    PATMAN2. OTHERS like the OTHERS,

    PATMAN2. TYPE as the TYPE,

    PATMAN2. PATENT_FAMILY as PATENT_FAMILY,

    CUSTOMERDB.COMPANY_ID as COMPANY_ID,

    PATMAN2. PUBLICATION_NO as PUBLICATION_NO,

    IMAGE3. FILENNAME as FILENNAME,

    DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,

    IMAGE3. PDFNAME as PDFNAME,

    DBMS_LOB. GetLength (pdflink) as PDFLINK,

    IMAGE3. MIMETYPE as MIMETYPE,

    PATMAN2. CUSTOMER_ID as CUSTOMER_ID

    of IMAGE3 IMAGE3.

    CUSTOMERDB CUSTOMERDB,

    PATMAN2 PATMAN2

    where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID

    and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)

    Did you specify IMAGE DOWNLOAD and BLOB format masks for the IMAGEFILE and PDFLINK columns? Select "BLOB" in the column of the number/Date Format attribute, then fill the section attributes of Blob column as requires it.

    We cannot solve what we cannot see. We do not have your tables or data so we can not replicate this for ourselves. Please reproduce the problem with an example on apex.oracle.com and developer comments login information for the workspace here.

  • Display data in the report to pl/sql

    I need to display data in a report using pl/sql.

    The structure of the table would be fixed, but the data it would come from a pl/sql.

    Is this possible in Apex 3.2.1 for that? If so, how can we do this?

    Hi Hozy,

    As much as I know APEX report cannot manipulate the slider.

    If the options are:
    1)
    Try the PIPE...
    http://www.databasejournal.com/features/Oracle/article.php/2222781/returning-rows-through-a-table-function-in-Oracle.htm

    (2) as has said Roel, complete apex collection using your ps/sql and use it in the report.

    Kind regards
    Shijesh

  • MAXL: Error when you use the runtimesubvar variable in the function 'run the calculation '.

    Hello everyone,

    I am trying to use a variable ($MyScenario) as a runtimesubvar for a calculation script.

    This excerpt from my script works perfectly (without variables):

    run the calculation "MyApp". "MyPlantype'. '" MyCalcscript' with runtimesubvars ' MyRTSV = 'Budget '. ' ;

    The following with variable does not work:

    The value MyScenario = "Budget";

    echo $MyScenario;

    run the calculationn 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars ' MyRTSV = $MyScenario; ' ;


    It is the output:

    Budget (<-$MyScenario echo works!)

    MAXL > run the calculation 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars 'MyRTSV = $MyScenario;';

    ERROR - 1012150 - environment variable [MyScenario] does not exist...

    I also tried putting $MyScenario between quotation marks simple '$MyScenario', which seems to work better but leading to a different error:

    Budget

    MAXL > run the calculation 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars ' MyRTSV = 'Budget';

    ERROR - syntax error 1242021-1 ['Budget'].

    What Miss me?

    Thanks in advance,

    Fadel

    Have you tried to use double quotes around the entire string of RTSV? Apostrophes are cutting the expansion of variables in MaxL. I think the idea is at the exit of the second snippet - $MyScenario is passed through the intact calculation and then script (MIS-) interpreted as an environment variable.

  • Display the title of the report under condition

    Hello

    I would like the title of the report in a page is displayed only if the report contains all the lines. If no row returned the SQL for the report, I don't want the title of the report to show users IE cannot abt any report if there is no line. At the present time, if no rows are returned in the report, only the title is displayed. Can someone please help? Thank you.

    Suni

    Hi Suni,

    I think that you can just do the report region display conditionally. Simply go to 'Conditional view', select ' Exists (SQL query returns at least one row) ", then enter your request in the"zone 1"Expression.

    Josh

  • Need help for analysis "plan and background events waiting" on the report statspack for oracle database 11.2.0.4 on AIX

    HI: I analyze the STATSPACK report: this is the "volume test" on our UAT server for most of entry or "bind variables".  Our shared pool is well used in oracle.  Recovery of Oracle logs is not configured properly on this server, as in "Top 5 events of waiting", there are 2 for Oder.

    I need to know what other information may be digging from of 'waiting in the foreground events' & ' background waiting events ", and which can help us better understand, in combination of ' Top 5 wait event, that how did the server test /?  It could be overwhelming. wait events, so appreciate useful diagnostic or analyses.  Database is oracle 11.2.0.4 updated from 11.2.0.3 on IBM AIX 64-bit, level 6.x system power


    STATSPACK report


    DB Id Instance Inst Num Startup Time Release RAC database


    ~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---

    700000XXX XXX 1 22 April 15 12:12 11.2.0.4.0 no.


    Host name Platform CPU Cores Sockets (G) memory

    ~~~~ ---------------- ---------------------- ----- ----- ------- ------------

    dXXXX_XXX AIX-Based Systems (64-2 1 0 16.0)


    Snapshot Id Snap Snap time Sessions Curs/Sess comment

    ~~~~~~~~    ---------- ------------------ -------- --------- ------------------

    BEGIN Snap: 5635 22 April 15 13:00:02 114 4.6

    End Snap: 5636 22 April 15 14:00:01 128 8.8

    Elapsed time: 59.98 (mins) Av law Sess: 0.6

    DB time: 35,98 (mins) DB CPU: 19,43 (mins)


    Cache sizes Begin End

    ~~~~~~~~~~~       ---------- ----------

    Cache buffer: block 2 064 M Std size: 8 K

    Shared pool: 3 072 M Log Buffer: 13 632 K

    Load profile per second per Transaction per Exec by call

    ~~~~~~~~~~~~      ------------------  ----------------- ----------- -----------

    DB Time (s): 0.0 0.6 0.00 0.00

    DB CPU: 0.0 0.3 0.00 0.00

    Size: 458 720,6 8,755.7

    Logical reads: 245,7 12 874,2

    Block changes: 1 356.4 25.9

    Physical reads: 6.6 0.1

    Physical writings: 61.8 1.2

    The user calls: 38.8 2 033,7

    Analysis: 286,5 5.5

    Hard analysis: 0.5 0.0

    Treated W/A Mo: 1.7 0.0

    Logons: 1.2 0.0

    Runs: 801,1 15.3

    Cancellations: 6.1 0.1

    Operations: 52.4


    Indicators of the instance

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Buffer % Nowait: 100.00 do NoWait %: 100.00

    Buffer % success: 99.98% W/A optimal, Exec: 100.00

    Library success %: 99,77% soft Parse: 99.82

    Run parse %: 64.24 latch hit %: 99.98

    Analyze the CPU to analyze Elapsd %: 53.15% Non-Parse CPU: 98.03


    Shared pool statistics Begin End

    ------  ------

    % Memory use: 10.50 12.79

    % SQL with executions > 1: 69,98 78,37

    % Memory for SQL w/exec > 1: 70.22 81,96

    Top 5 timed events Avg % Total

    ~~~~~~~~~~~~~~~~~~                                                   wait   Call

    Event waits time (s) (ms) time

    ----------------------------------------- ------------ ----------- ------ ------

    CPU time                                                       847          50.2

    ENQ: TX - 4 480 97 434 25.8 line lock conflict

    Log file sync 284 169 185 1 11.0

    log file parallel write 299 537 164 1 9.7

    log file sequential read 698 16 24 1.0

    Host CPU (processors: 2 hearts: Sockets 1: 0)

    ~ ~ ~ Medium load

    Begin End User System Idle WIO WCPU

    ------- -------   ------- ------- ------- ------- --------

    1.16 1.84 19.28 14.51 66.21 1.20 82.01


    Instance of CPU

    ~~~~~~~~~~~~                                       % Time (seconds)

    -------- --------------

    Host: Time (s) Total: 7,193.8

    Host: Availability of time processor (s): 2,430.7

    % of time host is busy: 33.8

    Instance: Time processor Total (s): 1,203.1

    % Busy CPU used, for example: 49.5

    Instance: Time of database total (s): 2,426.4

    % DB time waiting for CPU (resp. resources): 0.0


    Statistical memory Begin End

    ~~~~~~~~~~~~~~~~~                ------------ ------------

    Host Mem (MB): 16,384.0 16 384,0

    Use of LMS (MB): 7,136.0 7 136,0

    Use of PGA (Mo): 282.5 361.4

    Host % Mem used for SGA + PGA: 45.3 45.8

    Foreground wait events DB/Inst: XXXXXs Snaps: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)


    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    ENQ: TX - line lock 4 480 0 434 97 contentio 0,0 25.8

    284 167 0 185 1 file synchronization log 1.5 11.0

    File I/O 8 741 of disk 0 4 operations 0.0 0.2

    direct path write 0 13 247 3 0.1 0.2

    DB file sequential read 6 058 0 1 0.0 0.1

    buffer busy waits 1 800 0 1 1 0,0.1

    SQL * Net more data to the client 29 161 0 1 0.2 0.1

    direct path read 7 696 0 1 0.0 0.0

    db file scattered read 316 0 1 2 0,0.0

    latch: shared pool 144 0 0 2 0,0.0

    Initialization of 30 0 0 3 0,0.0 CSS

    cursor: hand 10 0 0 9 0,0.0 S

    lock row cache 41 0 0 2 0,0.0

    latch: rank objects cache 19 0 0 3 0,0.0

    log file switch (private 8 0 0 7 0,0.0 str

    library cache: mutex X 28 0 0 2 0,0.0

    latch: cache buffers chains 54 0 0 1 0,0.0

    free lock 290 0 0 0.0 0.0

    sequential control file read 1 568 0 0 0.0 0.0

    switch logfile (4 0 0 6 0,0.0 control point

    Live sync 8 0 0 3 0,0.0 road

    latch: redo allocation 60 0 0 0 0.0.0

    SQL * Net break/reset for 34 0 0 1 0,0.0 customer

    latch: enqueue hash chains 45 0 0 0 0.0.0

    latch: cache buffers lru chain 7 0 0 2 0,0.0

    latch: allowance 5 0 0 1 0,0.0 session

    latch: object queue header 6 0 0 1 0,0.0 o

    Operation of metadata files ASM 30 0 0 0 0.0.0

    latch: in memory of undo latch 15 0 0 0.0 0.0

    latch: cancel the overall data 8 0 0 0 0.0.0

    SQL * Net client message 6 362 536 0 278 225 44 33.7

    jobq slave wait 7 270 100 3 635 500 0.0

    SQL * Net more data to 7 976 0 15 2 0,0 clien

    SQL * Net message to client 6 362 544 0 8 0 33.7

    -------------------------------------------------------------

    Context of the DB/Inst events waiting: XXXXXs clings: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)

    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    log file parallel write 299 537 0 164 1 1.6 9.7

    log file sequential read 698 0 16 24 0.0 1.0

    db file parallel write 9 556 0 13 1 0,1.8

    146 0 10 70 0,0.6 startup operating system thread

    control file parallel write 2 037 0 2 1 0,0.1

    Newspaper archive e/s 35 0 1 30 0,0.1

    LGWR wait for redo copy 2 447 0 0 0.0 0.0

    async file IO DB present 9 556 0 0 0.1 0.0

    DB file sequential read 145 0 0 2 0,0.0

    File I/O disk 349 0 operations 0 0.0 0.0

    db file scattered read 30 0 0 4 0,0.0

    sequential control file read 5 837 0 0 0.0 0.0

    ADR block lu file 19 0 0 4 0,0.0

    Block ADR file write 5 0 0 15 0,0.0

    direct path write 14 0 0 2 0,0.0

    direct path read 3 0 0 7 0,0.0

    latch: shared pool 3 0 0 6 0,0.0

    single log file write 56 0 0 0.0 0.0

    latch: redo allocation 53 0 0 0 0.0.0

    latch: 1 0 0 3 0,0.0 active service list

    free latch 11 0 0 0 0.0.0

    CPI of RDBMS 5 314 523 57 189 182 1.7 message

    Space Manager: slave wa slowed 4 086 88 18 996 4649 0.0

    DIAG idle wait 7 185 100 1000 7 186 0.0

    Streams AQ: waiting time 2 50 4 909 # 0,0

    Streams AQ: qmn slowed slave 129 0 3 612 28002 0.0 w

    Streams AQ: Coordinator of the 258 50 3 612 14001 0,0 qmn

    SMON timer 2 43 3 605 83839 0.0

    PMON timer 99 1 199 2999 3 596 0.0

    SQL * Net client message 17 019 0 31 2 0.1

    SQL * Net message to client 12 762 0 0 0.1 0

    class slaves wait 28 0 0 0 0.0

    Thank you very much!

    Hello

    I think that your CPU is overloaded by your stress tests. You have one VCPU with 2 wires (2 LCPU), right? And the load average is greater than one. You have time DB which is not counted in (CPU time + wait events) and which comes no doubt from time spent in the runqueue.

    > Oracle recovery logs is not properly configured on this server, as in "Top 5 events of waiting", there are 2 for oder

    It is an error in statspack for show "log file parallel write here." This moment is historical and is included in 'log file sync '. And I don't think you have to redo misconfiguration. Waiting for 1ms to commit is ok. In OLTP you should have more than one validation in a user interaction so that the user don't worry not about 1 m in batch mode, unless you commit to each row, 1 DC to commit should not increase the total execution time.

    The fact that you have a lot of line lock (enq: TX - line lock conflict) but very little time (on average 97 ms) is probably a sign that testers are running simultaneously a charge affecting the same data. Their set of test data is perhaps too simple and short. An example: when stress tests of an order entry system if you run 1000 concurrent sessions, ordering the same product to the same customer, you can get this kind of symptoms, but the test we unrealistic.

    It's a high activity of 2000 calls per second, 52 transactions per second, user. But you also have low average active sessions, so the report probably covers a period of non-uniform activity, which makes the averages without meaning.

    So note to tell about the events of waiting here. But we don't have any info about 39% of DB time devoted to the CPU which is where something can be improved.

    Kind regards

    Franck.

  • Cannot run the report please help

    Here is my code behind the button to run the report.

    declare
    Repid REPORT_OBJECT;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (50);
    BEGIN
    / * If other changes made by najim * /.
    IF: TXTFDATE is null THEN
    message ("Please enter Date of THE '");
    message ("Please enter Date of THE '");
    return;
    ELSIF: TXTTDATE IS NULL THEN
    message ("Please select up HERE '");
    message ("Please select up HERE '");
    return;
    ON THE OTHER
    Rep: = find_report_object ('HISTORY_REPORT');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_EXECUTION_MODE, batch);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_SERVER, 'repserver90');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'F_DATE =' |: TXTFDATE |) ' V_DATE =' | : TXTTDATE | "The PHASE =' | : TXTPHASE: ' paramform = no ");"
    v_rep: = RUN_REPORT_OBJECT (repid);
    rep_status: = REPORT_OBJECT_STATUS (v_rep);
    While rep_status in ('MARKET', 'OPENING_REPORT', 'PENDING')
    LOOP
    rep_status: = report_object_status (v_rep);
    END LOOP;
    IF rep_status = "FINISHED" THEN
    / * Display the report in the browser * /.
    WEB. SHOW_DOCUMENT ('http://172.29.3.202/reports/rwservlet/getjobid': substr (v_rep, InStr(v_rep,'_',-1) + 1) |'?) "|' server = repserver90","_blank"); "
    ON THE OTHER
    message ("error when running report");
    END IF;
    END IF;
    END;


    When I press the button, it gives an error message cannot run the report.

    Open the report server console and check the error here. : http://application-tier server: port/reports/rwservlet/showjobs? Server = REPORTSSERVER

    Published by: Andreas Weiden on 23.07.2011 09:13

  • Conditional display based on the value of line

    I have a report table with several lines on it.  I need to post a link to another page of user action if a value in the line corresponds to an attribute of the user's role, so they can act on the item.  Other display or update the document would not be able to run the link.

    The logic of nickname would go something like this:

    If user_role = role_this_line_item then

    display approval_link

    on the other

    Hide approval_link

    end if

    I know how to write pl/sql to return to the display of the correct state of true/false, but I can't find out how to reference the value on the display line.  I tried: role_this_line_item, role_this_line_item, #role_this_line_item # and none of them return one value other than false.  How to refer to an attribute on the current line of the decision to hide/show correct?

    Al

    Al Wondra says:

    I use V4.2.6 Apex in local installation of Oracle 11 g XE.  I tried with IE, Firefox and Chrome.  None has the conditional display.

    The report is a standard report created using the Apex report wizard.  I'm one of the columns (the ID of the line) changing to conditionally a link to a page to data entry.  I only need one line at a time to be the active link.  No line should have a link, if the user is not the role is required to perform this action.

    You have described my question exactly, it seems, that the conditional rendering is applied to the entire column.  I need that it is applied to specific lines.  Some lines (1) will be the active link.  All other lines does not display the link.  Is this possible?

    If you want the value of the ID to display for each row returned by the report, but only rendered as a link, if the condition is true? The values used in the State come "role_this_line_item" seems to be a value of a column in the report. "User_role" is also a column value?

    The simplest option is to modify the column attribute display as for the Standard report columnID column and conditionally generate the link in the report query:

    select
        ...
      , case
          when user_role = role_this_line_item
          then
            'where DATA_ENTRY is the 'data entry page' target number or alias of the page.

  • Call in the report for PDF download query does nothing

    I am trying to download a PDF report based on 2 queries. Each query has a where clause clause with values taken from the page elements. I installed Publisher OBI 11.1.1.5 and used the term of Publisher 11.1.1.5 OBI plug-in to create the RTF file that I downloaded then the components Shared-> presentation of the State.

    I created a new button in the region to call the report query. However, whenever I click on the button to download the PDF file, nothing happens. I looked at the debug and the button seems to be running OK, except that nothing happens.

    The APEX of BOIP configuration works since I was able to have BOIP generate another report that do not use the predefined query. In other words, parts of reports including the attributes defined print "allow printing of the report = Yes" and 'layout of report = report default layout' work very well. Reports based on the query predefined and launched with a button in the region do nothing.

    Environment: APEX 4.1, DB 11.2.0.2, BOIP 11.1.1.5

    Any contributions to this PDF issue is greatly appreciated.

    Thank you
    Reid

    Hello Reid,

    Thanks for reporting back!

    It now works with a button linked to printing the report query URL. This method was not working before because when I deleted/recreated the presentation of the report, the layout of request report report had to "use generic Report Layout. When I changed the presentation of the report query to the name of the correct report layout, button link to the print URL worked as expected.

    He therefore finally brought its fruits check attributes...

    Still, he doesn't when I create a button with action = 'Download printable report Query'. I tried several times, but couldn't make it work. It seems that it is a bug, but I can't say for sure.

    It should work as long as you have configured the report query according to the needs and assured the session state is included.

    Go ahead rather than use the with action = "Download the printable report query", I'll use a button with Action is "Redirection of URL" where the URL is the URL for the report query printing.

    In this case, my guess would be the session state, because you will always she, when redirecting to the session, and the report query seems to agree.

    -Udo

    P.S.: If you don't mind, please check all useful or correct accordingly to ensure that other users of the forum search can identify those posts easily.
    Thank you!

  • Db line not retained in the report

    I have one very simple view report.
    It retrieves data from db and displays such what.

    I have a column in db, where the records are stored with character CHR (10) newline.
    When I try to see the same page of the report, the line break is not preserved.

    For example,.

    I have a db as column value:
    DUMMY TEXT LINE 1
    DUMMY TEXT LINE 2

    But in the report page sound displayed as,
    TEXT LINE 1 DUMMY MANNEQUIN
    LINE OF TEXT 2

    printing is controlled by the number of characters in the first line and the width of the column in the report.
    All that may be the case, I want the new line to be preserved in report page.

    Could someone let me know how can I keep?

    Replace line breaks in the column with elements of HTML line break. Change the column in the report query in a function call with an alias:

    replace(db_column, chr(10), '
    ') db_column

    Make sure the column attribute display as for the report column is column of Standard report.

  • REP-50159 - when the report sent the directory on linux Box

    We created a directory called hbc_parvo, and the path is/u01/hbc_parvo. Adding path in reports.sh and restarted report server.
    I try to run the report and save it in the directory that I created in the Linux box.

    I get this error when I run the report

    REP-50159: executed successfully, but there were a few errors when distributing the output. Need help if anyone has had the same error and how to fix it

    Published by: user11244023 on July 13, 2010 13:20

    Hello

    You can test the URL:

    http://HBC-maroon.heartlandbc.org/reports/rwservlet?report=test.RDF&destype=file&desformat=PDF&desname=/tmp/output.PDF

    It work?

    If this works, have you checked if the operating system user account used to run the report server that is able to create a file in/u01/hbc_parvo?

    Concerning

Maybe you are looking for