Web.show_document for all records (%).

Hi all

I m using form 11 GR 2 and call report form with a Web.show_document integrated as follows:

v_show_document: = v_show_document
|| v_connect
|| '+ server ='
|| v_report_server
|| '+ report =' |:parameter.repname
|| '+ destype = CACHE'
|| '+ desformat =' | v_format
|| "' + paramform = no"
|| '+ select1 =' | : mainblock. SELECT1
|| '+ fromdate =' | TO_CHAR(:FROMDATE,'DD-MM-RRRR')
|| '+ todate =' | TO_CHAR(:TODATE,'DD-MM-RRRR');

Web.show_document (v_show_document);

It runs the report properly.

But a problem arises when I change one of the parameters defined in above integrated i.e. select1 = % , for all of the records, i.e.
When I do select1 parameter equivalent to * % (which is intended for all records) *. That's when I put a parameter for all folders = %, it displays following error:

REP-52006: the specified URL % cannot be decoded.

that is when I put the parameter equal to single value, report works well, but when I put the parameter equal to * % (all records) *, it show above error.

I searched the net, someone said that * % * cannot be used for all records, then must be used for this and how?

PL guide me.

Thank you and best regards.

Published by: ocpdev on January 2, 2013 22:52

You must add your parameters using SET_REPORT_OBJECT_PROPERTY, only not by adding it to the url, add something like

set_report_object_property(repid, REPORT_OTHER, 'FROMDATE="' ||TO_CHAR(:MAINBLOCK.FROMDATE,'DD-MM-RRRR')
                         || '" TODATE="'TO_CHAR(:MAINBLOCK.TODATE,'DD-MM-RRRR')
                         || '" select1="'||:mainblock.SELECT1|| '"');

Tags: Oracle Development

Similar Questions

  • EventHandler process post for all the user records in the system target

    Hi Experts,

    My environment: IOM - 11.1.1.5, Sun Directory Server - 5.2
    I did after,

    1. implement the recon trust with Sun's LDAP
    2. I was able to read the sun ldap users to the IOM
    3. I wrote the post event handler process for updating the user password. It works fine if the connector gets only a new user
    4. size of the batch = 0, in iPlanet Planner recon trusted user.

    My Question:

    In my target system, I have 100 users, for recon trust I need calling the game/Manager events vertical process of post for all 100 records and update process. Now, it runs only for the last record not for all records.

    My event handler is,

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < eventhandlers xmlns = "http://www.oracle.com/schema/oim/platform/kernel" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.oracle.com/schema/oim/platform/kernel orchestration - handlers.xsd" >
    <! - custom event handlers process post - >
    < class = "Manager com.custom.eventhandlers.CustomPostProcessEventHandler of shares" kind of entity = "User" operation = "CREATE" name = "CustomPostProcessEventHandler" order = "8000" stage = 'postprocess' sync = "TRUE" / > "
    < / eventhandlers >

    I do with sync = TRUE-> FALSE?

    Please give your suggestions.

    Thank you

    The event handler will trigger in the BulkExecute. In this code, you must loop through all entries and not just the last.

    You do this in your code?

    -Kevin

  • Match any record of all records in OBIEE 11 g

    Hello

    I have a requirement which, with 4, conditions and should have the conditional formatting.

    Open_Flag, empno, month, count_flag are columns that I use.

    When Open_Flag = 'n' for any record in the month it will be red in all cases.

    Else count (case when count_flag = 'Y', then empno) count (empno) and apply the conditional formatting on the number of result as < 10 then green and > 20 then < 20 yellow and red.

    Is there anyway that I can reach the requirement on the side of report? How can I check the Open_flag = 'Y' condition for all records, if not, I have to go for other conditions?

    Thank you

    Prasanna

    Hello

    You can use a condition like this

    case when County (filter ("empno" Using "open_flag = ' n '") per month) > 0, then count of red one (empno using open_flag = 'Y') end

    Thank you

    R

  • loops through the sections XML &lt; RecieptDetails &gt; and for each record found...

    My input XML file is...
    I get this XML using file adapter...

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< root xmlns:ns2 = "http://www.w3.org/2001/XMLSchema" >
    -< ns2:ReceiptBatch >
    < ns2:FileID > "99999" < / ns2:FileID >
    < ns2:Warehouse > in THE < / ns2:Warehouse >
    'L' < ns2:Revision > < / ns2:Revision >
    < ns2:DocID > A4 < / ns2:DocID >
    -< ns2:Receipt >
    < ns2:DeliveryNo > 123 - OP < / ns2:DeliveryNo >
    < ns2:ProcessDate > 112138 < / ns2:ProcessDate >
    < ns2:ContainerNo > 98765 < / ns2:ContainerNo >
    < ns2:Instructions > TREKAU < / ns2:Instructions >
    < ns2:ReceiptType > 1 < / ns2:ReceiptType >
    < ns2:SuppCustCode > 111 < / ns2:SuppCustCode >
    TREK-Cycle < ns2:SuppCustName > < / ns2:SuppCustName >
    -< ns2:ReceiptDetails >
    < ns2:Line > 1 < / ns2:Line >
    < ns2:ProductCode > 1000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 1 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 1 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    -< ns2:ReceiptDetails >
    < ns2:Line > 2 < / ns2:Line >
    < ns2:ProductCode > 2000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 2 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 2 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    -< ns2:ReceiptDetails >
    < ns2:Line > 3 < / ns2:Line >
    < ns2:ProductCode > 2000 < / ns2:ProductCode >
    < ns2:QuantityAdvised > 3 < / ns2:QuantityAdvised >
    < ns2:QuantityReceived > 3 < / ns2:QuantityReceived >
    < / ns2:ReceiptDetails >
    < / ns2:Receipt >
    < / ns2:ReceiptBatch >
    < / root >

    There are 2 tables in the database.
    Table 1 = T1743512
    Table 2 = T2743002

    table - structure

    T1743512-

    DOCO KCOO DTCO LNID LNIX LITM NOTICE USR JOBN UPMJ PID'M CKNU UREC
    123 00026 1 1 1000 1 1 123 - OP OP
    124 00026 1 1 1000 1 1 124 - OP OP
    123 00026 2 2 1000 2 2 123 - OP OP
    123 00026 3 3 1000 3 2 123 - OP OP



    Things to do are:--

    1. Research Notice T1743512 (table) with the following keys:
    1.T1743512. CKNU = < DeliveryNo > XML
    2.T1743512. LNIX = XML < row >
    II. write a record in the T2743002 table for each < RecieptDetails >. (See map below)

    Mapping of the records in the table T2743002 to < ReceiptDetails >

    EDU - "SABSSV".
    EDBT - < EDBT > (the same for all records)
    EDTN - < DeliveryNo > (from the section < reception > XML)
    EDLN - < row > (from < ReceiptDetails > section in XML format)
    EDSP - white
    DOCO - white
    DCTO - white
    KCOO - white
    LNID - white
    LITM - < ProductCode > < ReceiptDetails > section
    UORG - < QuantityAdvised > < ReceiptDetails > section
    UREC - < QuantityReceived > < ReceiptDetails > section
    USER - "SABSSV".
    JOBN - "SOA - 3PL".
    PID - 'PO-ENTRANTS ".
    UPMJ - current Date Julian
    - Hour current HHMMSS



    Please suggest the solution.

    Published by: Prashant_AP on June 22, 2012 12:24 AM

    Hello

    Solution by using a loop in BPEL;
    1 count the number of nodes for ReceiptDetails.
    2 create a counter for loop through each node ReceiptDetails. Use a while loop in BPEL
    3 search T1743512 (table) with DeliveryNo and the line. Make sure that you select the correct line from the ReceiptDetails node element node. This can be done using the counter example of xpatch ns2:ReceiptBatch / ns2:Receipt / ns2:ReceiptDetails [counter] / ns2:Line. Please use the DB adapter.
    I guess that the DeliveryNo can only appear once in the document following your example.
    4. for each receiptDetails you write a record in table too T2743002. Please use the DB adapter.
    5. Since the time increment the counter. This is to ensure that the while loop stops at the point where the counter is greater then the number of nodes to ReceiptDetails.

    I think a better solution is to make the loop in PL/SQL. It will be faster. You specify an input of type of collection in your pl/sql package parameter. Assign all items receiptDetails and DeliverNo line to the PL/SQL package. Within PL/SQL unravel you the closure. With a little luck, you have the T2743002 in the same schema to create the record too. Otherwise create synonyms of the database or database links.

    Good luck

    Thank you

    Sander

  • Display values in LOV by one and addition of choice for all

    Hello

    How can I add to values of the shape parameter of Runtime (RPF) of each record as well as the option for all records. Below, I describe my problem more in detail.

    Here is a picture of what I want
    [Photo of LOV | http://img201.imageshack.us/img201/7974/captureq.png]

    To be clear lets say we have employee table:

    Nr. Name
    --------------
    1. Joe
    2. To get married
    3. Sam
    4. Steve
    5. Jack

    In order to add all employees to the list of values simply write us: "SELECT Nr OF THE employee. Then our RPF would contain the following entries in the drop-down list box:

    1
    2
    3
    4
    5

    But I also want to add the option for 'ALL', so my RPF should contain:

    ALL THE
    1
    2
    3
    4
    5

    I know that this can be done by using the UNION somehow, but I just can not understand.

    Thanks for the help in advance.

    You can adjust your where to handle the special value, as

    Select nr, name from employee where name = DECODE(:parameter, '-1', name, :parameter)
    
  • Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site.

    Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site since the update to version 3.6 to 4 RC1.

    Gel mouse pointer when it comes across objects that use some sort of animation or gradual highlighting when hovering on (which is basically all the Firefox 4 items menu, tabs, etc.) But also a lot of things on the Web pages as the green buttons on this page that change color when you hover over them).

    After rebooting my system, however, the problem seems to have disappeared!

    [, WinXP SP3 - 4 GB RAM, Core i5 M520, driver Nvidia NVS3100M 6.14.12.5738, Firefox 4.0]

  • but wireless connection can't get all web pages for display on any browser

    connected to a wireless connection but can't get all web pages for display on any browsersit is connected with good strengh but does not connect

    Hello

    What happens when you connect to the router via a wired connection?

    Method 1: Reset the Internet (TCP/IP) Protocol:

    One of the components of the Internet connection on your computer is a package of instructions called TCP/IP. TCP/IP can sometimes become damaged or altered. If you are unable to connect to the Internet, TCP/IP can be causing it.

    TCP/IP is a main component of Windows, you cannot delete it. However, you can reset TCP/IP to its original state by using the NetShell (netsh) utility. Reference:

    Reference:

    How to reset the Internet (TCP/IP) Protocol:

    http://support.Microsoft.com/kb/299357

    Method 2: Reset the default Hosts file

    The "hosts" file is an important Windows system file which maps hostnames to IP addresses. Its a simple text file that is stored in the folder "%windir%\System32\drivers\etc\" in Windows NT, 2000, XP, Server 2003, Vista, Server 2008 and Windows 7 32-bit editions. In the 64-bit editions, it can be also stored in the folder "%windir%\SysWOW64\drivers\etc\".

    Structure of the hosts file is very simple. It contains lines of text containing the IP address, followed by the host name.

    Sometimes this hosts file is hijacked by viruses, adware, spyware or Trojan software and is changed to redirect your browser to various websites containing malicious code. It could also block security Web sites and the Windows Update Web site in your system so that you can not install virus definitions and security updates in your operating system.

    Reference:

    How can I reset the default Hosts file?

    http://support.Microsoft.com/kb/972034

  • Hello, I downloaded a new Web site, but all the svg files are not displayed on the browsers. When I opened it in Muse with the "Preview in browser", its fine! can someone tell me please where is my problem? (Sorry for my English!)

    Hello, I downloaded a new Web site, but all the svg files are not displayed on the browsers. When I opened it in Muse with the "Preview in browser", its fine! can someone tell me please where is my problem? (Sorry for my English!)

    Hello

    Could you please check this thread, it might be useful

    Muse exporting is not svg, can only see Preview

  • For all the records for each record double, I need to get a single column with null or 0.

    Hi all

    I have a requirement where I need to get all the records, for each record in double, I need to get a single column with null or 0.

    create table a1

    (

    Identification number,

    VARCHAR2 (100), the point

    part varchar2 (100));

    Insert into a1

    values (1, 'ABC', 'A1');

    Insert into a1

    values (2, 'DEF', 'A2');

    TABLE A

    PART ITEM ID

    1 ABC A1

    1 ABC A1

    1 ABC A1

    DEF 2 A2

    DEF 2 A2

    3 DEF A2

    O/P

    PART ITEM ID

    1 ABC A1

    1        ABC             0

    1        ABC             0

    DEF 2 A2

    2       DEF              0

    3       DEF              0

    Thanks in advance.

    Thanks for your help FrankKalush...

    This one will work.

    WITH got_r_num AS

    (

    SELECT NVL (a1.id, a1.id) as id

    NVL (a1.item, a1.item) AS element

    NVL (a1.part, a1.part) IN the framework

    a1.id AS a_id

    ROW_NUMBER () OVER (PARTITION BY a1.id

    ORDER BY NULL

    ) AS r_num

    BY the a1

    )

    SELECT id

    element

    CASE

    WHEN a_id IS NOT NULL

    AND r_num = 1

    THEN part

    ELSE ' 0'

    END in the framework

    OF got_r_num

    ;

  • All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but did need help how to get rid of the pre-selection, so he's going to defau

    All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but need help how to get rid of the preset then all photos of goes to Default or in the shot. Thank you

    Go to the develop module and highlight all the images in the film at the bottom of the screen. Enable automatic synchronization, and then click the reset button. To reset all the images in your camera default settings.

  • I just remdered and recorded an intro I would like to use for all my projects, it is saved in a (* perl) file and is the only option to save in this format.  "When I try to open this file and start a new project using tha the intro file, I get an error.

    I just made and recorded an intro I would like to use for all my projects, it is saved in a (* perl) file and is the only option to save in this format.  When I try to open this file and start a new project using tha the intro file, I get an error "the file is not a supported file or codex is not installed.  How can that be, I made the file using this program and he does'nt recognize files it creates?  Please advise... Thanks /.

    grethell

    What version of Premiere Elements you are using and on what computer operating system is running?

    You cannot import a project file (.prel) in another.

    For now, generalize choice

    a. export your Timeline (your intro) content to a file saved on the hard drive of the computer. And then import that

    file in new projects by using the new project add Media/files and folders. See publish + Share/computer/and the other

    choices here to generate this file intro for later use in other projects.

    b. you can set up what is called a dummy projects - this is a project with nothing other than the intro file. And, at all times

    you want to use the intro, you open one of these saved dummy projects and add your media sources.

    A lot of things to discuss. Please fill in some details more and then we can refine the answer for your particular situation.

    Thank you.

    RTA

  • I'm trying to add a pdf file to my Web site which should be readable for all, but I can't DOWNLOAD able to everyone

    I'm trying to add a pdf file to my Web site which should be readable for all, but I can't DOWNLOAD able to everyone.

    The document starts on motivating topics like short stories and quotes and the site is [link deleted]

    If someone already uses such interface please suggest.

    Impossible.

    PDF files do not stream - before anyone can open the file, it must be downloaded.

  • Forms for reports and the Web.Show_Document userid

    I inherited several form - combinations of report to update and I am not familiar with the reports. I'm working to be converted to run under Web Forms / Reports 10

    In a pair of form/report, the form passes the user of the report ID, and I was able to convert that.

    In another pair, however, I don't see how the form passes authentication user name to run the report. The form creates a list of parameters, adds a number of parameters, but no user name, and then calls Run_Product. It works without problem, immediately send a report to my printer. Can someone explain what the form of forms 6 on connection information to the report? Where can I find the mechanisms which achieve?

    I need to get this working in Web Forms.

    Thanks in advance!

    Why Oracle provides the java frmrwinteg plugin to hide the name of user and password on the report URL in the browser?

    Because you don't have to call a report from a form. Or you call a report of a form through web.show_document instead of via run_report_object.

    Is - it so the report can be run with a different username than the Forms user ID?

    It could be if you need this feature. But this seems very strange to me. Normally, you would then run the report with a default user defined in the mapping of keys to server file cgicmd.dat.

    What is the difference between Run_Report_Object and Web.Show_Document.

    Run_report_object is a direct communication between the drivers of forms and reports on the application server.
    Web.show_document opens a URL in the browser on the client computer.

  • Forms web.show_document replace &amp; in the url

    Hi all

    I am trying to replace & in varchar for web_show.document
     v_params := v_params || '&name=' 
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');
    
     
    Name = "you & you".
    On debug, everything is correct as are 20% 26% 20tu %, but after web.show_document(v_params,'_blank') the link is ...es%20 & % 20tu... WHY?

    Why new symbol & is back?

    Thank you

    ID

    Edited by: 1D10T 8 February 2013 07:16

    Edited by: 1D10T 8 February 2013 07:20

    Eh_bien, certainly you must compile your forms on the platform target;). You need to move your sources on your linux machine and compile it there using frmcmp

    See
    http://www.Google.com/search?q=compile+Oracle+Forms+Linux

    see you soon

  • generate unique sequential IDS for a record to be displayed in HTML

    Hello

    How do you have

    generate unique sequential IDS for a record to be displayed in HTML

    Yes, let me correct my statement. It is not true that an error will be generated if you did not have a trigger in place. You can simply include it directly in the insert statement. Under the following assumptions that a sequence had all ready been created for this table.

    Method 1:

    First, you must create the sequence:

    create sequences emp_no_seq.

    By default, it increments of 1, starting at 0.

    Use its values when data is inserted in the table:

    insert into the emp

    (emp_id, name)

    values

    (emp_no_seq.nexval, "Bill Smith");

    Then, copy the following code works fine and your examples are correct.

    You may need to configure the triggers. Check with your Oracle DBA.

    Method 2:

    create sequence product_seq with increment of 1 1
    /
    create or replace trigger product_insert before insert to start each line
    Select productseq.nextval
    in: new.product_id
    Double;
    end;
    /

    Insert into the product

    (product_id, product_type)

    values

    (productseq.nextval, "Monitor");

    Using the trigger on the DML (data manipulation language) when the product
    table is an insert command of the trigger fires. The trigger can give you more
    rules and specificity around this action and may have so so otherwise the conditions if necessary.

    RazorTrak
    SR Web Applications architect.,.
    Certified Macromedia ColdFusion MX Developer Advanced

Maybe you are looking for