How to Create a View of a Query and assign it into my web template?

Hi All,
I need to create 3 views for my query and show that on my web template. I have never done this before. Can you please let me know step-by step procedure to create views for a query and how to show it on my WAD report?
Thanks,
Satyam

Hi Satyam,
Include the Dropdown Box web item in your web template. In the Web Item Parameters tab, select the Data Binding type as Query View Selection. Assign the Dataprovider from Selection of Query Views button below the Data Binding Type. You also have the option to Display Specific list of Query Views or all views based on that Query. For this you have to choose Selection of Query Views button. Here you can turn on Specific List of Query Views checkbox and select the Views depending on your requirement.
Regards,
Hari.
Edited by: Hari Krishnan K on Aug 18, 2010 2:33 PM

Similar Messages

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a background job in CE and assign a Web Service to it?

    Hi,
    We have a specific requirement here.
    We have an application service which perform some updates based on timestamp etc, it will be exposed as a Web Service.
    The requirement here is that a background job should invoke this Web Service everyday at Midnight.
    But here I don't know how to implement this functionality in SAP CE 7.1.
    Please reply ASAP.
    Regards,
    Manish

    Hi Manish,
    Job Scheduler is available as part of the app server,
    Create a class and extend MDBJobImplementation override the method onJob in this method trigger your webservice.
    for more details please go through this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10fed553-0e01-0010-9bb8-ed55659e1236
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e
    Regards
    Ayyapparaj

  • How to create a view with Oracle apps Org initialization ?

    Hi,
    How to create a view which needs Oracle apps org initialization to provide the correct data .
    The purpose of the view is to be accessed in Primavera DB via a DB link for reporting purpose.
    So how should the org be initialized so that the view returns the correct data when accessed from the remote data base using the DB link?
    EX: step1 run fnd_client_info.set_org_context for the org
    step2 query the veiw returns correct data in Oracle.
    How can this be achieved if the view needs to be accessed via DB link?
    sample view sql :
    select po_header_id
    from po_distributions_all pod
    where (apps.po_intg_document_funds_grp.get_active_encumbrance_func
    ('PO',
    pod.po_distribution_id
    ) <> 0
    Thanks in advance!
    Darshini

    Hi,
    This is not possible in Oracle. What u can do is create the view without the where clasue and supply the where clause at runtime.
    Hope this helps...
    Regards,
    Ganesh R

  • How to  create i view  in visual composer give details screenshots

    how to  create i view  in visual composer give details screenshots

    Hi,
    Go through these threads
    VisualComposer
    http://help.sap.com/bp_epv170/EP_US/HTML/Executive_Cockpit.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e019d290-0201-0010-f186-8630a949800a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30987099-a74c-2a10-70b5-a2751ce79359
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/content.htm
    Tarak
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939

  • How to creat a view in

    Hi all,
    i am new to can u tell me how to creata a view. and how we can create node.and how we can create outbound plug and inbound plug.
    thanks & regards
    naveen

    Hi Naveen,
    In the component click on view qith the right button and select "Create View" follow the steps. Its a very simple wizard.
    Let me know if you have more issues.
    Best regards,
    Caíque Escaler

  • How to create a view in R/3?

    Hello, Can anyone plz gimme step by step how to create a view in R/3....

    Hi dear,
    go to SE11, out your Z* view and click create...
    Then choose your source tables, the join condition between them and, finally, all the fields (coming from source tables) you need for your purposes...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Hope it helps!
    Bye,
    ROberto

  • How to create a view on tables with different keys?

    I have to create a View on:
    Z3PVR: Transparent Table
    BSEG: Cluster Table
    CKIS: Transparent Table
    BKPF: Transparent Table
    RV61A: Structure
    T001: Transparent Table
    All the tables have different "Key Fields" and the structure has no "Key Fields". When i create the view, what do I mention in the "JOIN FIELDS" tab. and how do i create the view with the structure?
    Please advise.

    How to create a view on a Non-Transparent Tables.
    how to create view?
    HELP.. How to create a view with the tables with ALV

  • How to create a view indicating column's length?

    SQL>create table abc (a number(12));
    I want to create a view cde with a length of number(5) by "describe cde" in sql*plus.
    SQL>create view cde(a) as select a from abc;
    SQL>desc cde
    A NUMBER(12)
    how to create a view indicating column's length? the actual value in abc only <1000
    I want to create a view cde with a length of number(5) .
    SQL>desc cde
    A NUMBER(12)
    Thank You
    Ming-An Zhang

    This does not make sense. How can a view be a NUMBER(5) and the actual column a NUMBER(12)?
    What happens if there is a 10 or 12 digit number in the table? Just what is the view suppose to do? Crash and burn? Where is the logic in that?!
    If the table's column has an incorrect precision and size, THEN FIX IT!! Do not hack it with view!
    It is silly purposefully building constructs into the database that can easily result in run-time errors.

  • How to create a view dynamicly in plsql?

    I need to write a pl/sql package to create a view dynamic
    ,but i can't use 'create or replace view xxxx as select *
    from db where ...',I know the dbms_sql package can parse the
    'select' sentence,but i don't know how to create a view,only can
    drop a view,who can help me?
    thanks!
    null

    Try 'EXECUTE IMMEDIATE 'CREATE AS SELECT....' in your PL/SQL
    xhpxorcl (guest) wrote:
    : I need to write a pl/sql package to create a view dynamic
    : ,but i can't use 'create or replace view xxxx as select *
    : from db where ...',I know the dbms_sql package can parse the
    : 'select' sentence,but i don't know how to create a view,only
    can
    : drop a view,who can help me?
    : thanks!
    null

  • How to create a view object and attach with extended AM

    Hi,
    I tried to create new vo and attach this vo with the extended AM. But it is throwing error like 'PC.NAME : invalid identifier' (Actually this PC.NAME is exiting one).
    Now i want to know how to create a view object similar like seeded one but with one additional condition in the where clause.
    It is possible though extension, but i want to create two view object similar like seeded one, one with some other condition in the where clause
    and another one with some other condition.
    So for my requirement, i'll extend one VO and i'll add my condition but how to do it for second condition.
    But i want same seeded VO with two different condition.
    Any suggestions please,
    SAN

    SAN,
    There is no need to attach the newly created VO with extended AM. You need to attach the same with the standard AM.
    Regards,
    Gyan

  • How to create a view  with "WITH CLAUSE"

    Hi,
    I have a query with "WITH" CLAUSE , I need to create a view on this query. But I am getting error like
    ORA-32034 : Unsupported sue of WITH clause.
    Please help me...!!
    Please find below my query...!!
    WITH RANGE
             AS (SELECT A.MASTERMACHINEID,
                        a.startdate,
                        a.enddate,
                        a.startdate - (1 / 3) + (lvl) * 1 / 3 SHIFT_ST_DT,
                        a.startdate + (lvl) * 1 / 3 AS SHIFT_END_DT,
                        a.quantity,
                        (LEAST ( enddate, TODATE) - GREATEST ( FROMDATE, startdate)) * 24 TOTAL_HRS,
                        (enddate - startdate) * 24 AVAIL,
                       todate,
                       fromdate
                  FROM OMP A,
                       (SELECT LEVEL lvl
                          FROM (SELECT MAX (enddate - startdate) AS diff FROM OMPWORKORDER)
                        CONNECT BY LEVEL <= (diff) * 3),
                       MASTER B
                 WHERE A.MASTERMACHINEID = B.MASTERMACHINEID
                   AND lvl / 3 <=(enddate - startdate) + 1
                ORDER BY SHIFT_ST_DT)
       SELECT shift_date,
              shift_num,
              shift_hrs,
              DECODE (SIGN (SHUT_DWN_TIME), -1, 0, SHUT_DWN_TIME),
              8 - DECODE (SIGN (SHUT_DWN_TIME), -1, 0, SHUT_DWN_TIME) shift_avail_hrs,
              qty,
              total_qty
         FROM (SELECT TRUNC (SHIFT_ST_DT) shift_date,
                      ROW_NUMBER () OVER (PARTITION BY TRUNC (SHIFT_ST_DT) ORDER BY SHIFT_ST_DT) shift_num,
                      8 shift_hrs,
                      (LEAST ( SHIFT_END_DT, TODATE) - GREATEST ( FROMDATE, SHIFT_ST_DT)) * 24
                        SHUT_DWN_TIME,
                      quantity / (avail - TOTAL_HRS) qty,
                      round(((SHIFT_END_DT - SHIFT_ST_DT) * 24 - (LEAST (SHIFT_END_DT, TODATE) - GREATEST (FROMDATE, SHIFT_ST_DT)) * 24)  * QuantiTY / (AVAIL - TOTAL_HRS),2)
                         TOTAL_QTY
                 FROM RANGE A );Regards
    KPR
    Edited by: BluShadow on 17-Mar-2011 09:48
    added {noformat}{noformat} tags for readability                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Try creating view on following query, if it can help you:
    SELECT shift_date,
        shift_num,
        shift_hrs,
        decode(SIGN(shut_dwn_time),     -1,     0,     shut_dwn_time),
        8 -decode(SIGN(shut_dwn_time),     -1,     0,     shut_dwn_time) shift_avail_hrs,
        qty,
        total_qty
    FROM
            SELECT TRUNC(shift_st_dt) shift_date,
                 row_number() over(PARTITION BY TRUNC(shift_st_dt)
             ORDER BY shift_st_dt) shift_num,
                 8 shift_hrs,
                (least(shift_end_dt,      todate) -greatest(fromdate,      shift_st_dt)) *24 shut_dwn_time,
                 quantity /(avail -total_hrs) qty,
                 ROUND(((shift_end_dt -shift_st_dt) *24 -(least(shift_end_dt,      todate) -greatest(fromdate,      shift_st_dt)) *24) *quantity /(avail -total_hrs),      2) total_qty
             FROM
                  SELECT a.mastermachineid,
                     a.startdate,
                     a.enddate,
                     a.startdate -(1 / 3) +(lvl) *1 / 3 shift_st_dt,
                     a.startdate +(lvl) *1 / 3 AS
                 shift_end_dt,
                     a.quantity,
                    (least(enddate,      todate) -greatest(fromdate,      startdate)) *24 total_hrs,
                    (enddate -startdate) *24 avail,
                     todate,
                     fromdate
                 FROM omp a,
                        (SELECT LEVEL lvl
                     FROM
                        (SELECT MAX(enddate -startdate) AS
                        diff
                         FROM ompworkorder)
                    CONNECT BY LEVEL <=(diff) *3),
                     master b
                 WHERE a.mastermachineid = b.mastermachineid
                 AND lvl / 3 <=(enddate -startdate) + 1
                 ORDER BY shift_st_dt
             ) a
    ;Regards,
    Dipali.l

  • How to create dynamic view in hr report category

    i want to make company code mandetory in in selection screen given by logical data base PNP here i want to make field mandetory. so how to create dynamic view in hr report category.
    thanks in advance

    solved by self

  • How to create XMLTYPE View from the XMLType table

    Hi:
    I have a large XML file and inserted to the XMLTYPE table
    For the XQUERY purpose I would like to create XMLView of the table.
    The examples I got from Oracle to create XML view are for small files.
    Can some one help me how to create XMLType VIEW for large XML Files ( 20,000 lines )?
    Ali_2

    Have a look at the examples given on XMLType Views (based on relational tables) or standard views (based on XMLType storage) in the FAQ url located on the main page of this forum site regarding XMLDB.

Maybe you are looking for

  • IPod Touch 1st Generation Shuts "Off" Continuously

    My first generation iPod Touch will shut it self off after a minute or so, after no activity. It forces me to do a hard reset (pressing both buttons, the only two buttons, lol) to turn back on. When the iPod is on, it works flawlessly, no app crashes

  • Problem with brushes in PSE 9

    My brushes in PSE 9 seems to live a life of their own. Eks: I click in my photo with the eraser/dogde/clone and so on.. and the "work" is done in a different place in the picture. Hope you understand my explanation. Does anyone know what to do about

  • Can I transfer apps on an ipad account to another account?

    Okay so on our ipad, the account that was there to download apps and games are my mom's account and I also bought some games since she let me and lets me use her ipad and buy things on it. but i want to make a new account with my own email (well i cu

  • Report RSXMB_RESTART_MESSAGES needs a lot of resources

    Hi, we are using PI 7, SPS9. When we have a heavy load in XI, we are getting sometimes JavaNullPointer-Exceptions in Java-mappings, so we have to restart these messages - no problem! There is the report RSXMB_RESTART_MESSAGES to restart failed messag

  • IDE Raid not recognised by Solaris 10 6/06

    Hi, I am new to Solaris and was trying to install Solaris 10 on my old machine which has got Intel Server Board SE7500CW2 with built in Raid (ATA-100) controller. The raid controller is Promise Technology PDC20267 ASIC. What settings are needed to be