How to generate a View from Query

Hi
How to save a Query as a view....that to be used in web templates
I had a query with 20 diff columns and 20 free chars in it.
My requirment is to generate 5 to 8 different views for the same query with diff combinations KF's & CHAR's and same them and then assign then to users according to their requirment
That will make easy to maintain the Query
Thanks

Hi,
1) Execute the query in BEx analyser and set/Define the report as you want.
2) In BEx tool bar click SAVE AS Views and save it.
3) This view can be used in WAD.
The Problem with the View is that, whenever there is change in the query, you must regenerate the view.
Regards,
Kams

Similar Messages

  • How to generate a view with dynamic name?

    I want to generate a view from several tables;
    create view sample as select * from book1;
    But I hope to create a serial views in my program,that is "sample" maybe "sample20010401" and "sample200010501" ect.If I define a variable,how to pass the value to the view?
    Any words are help to me?thanks.
    [email protected]
    null

    Use dynamic SQL
    null

  • How to generate XML data from Lotus Notes to migrate to SharePoint by passing XML to SharePoint.?

    How to generate XML data from Lotus Notes to migrate to SharePoint by passing XML to SharePoint.?
    Ramesh S

    You could use XMLQuery to return the data from your tables as XML, that would give you a CLOB.
    An example using the SCOTT schema might be like this:
    SELECT XMLQuery(
             'for $i in ora:view("DEPT")/ROW
              return <Department dname="{$i/DNAME}">
                     <Employee>
                       {for $j in ora:view("EMP")/ROW
                        where $j/DEPTNO eq $i/DEPTNO
                        return ($j/ENAME, $j/JOB, $j/SAL)}
                     </Employee>
                     </Department>'
             RETURNING CONTENT) FROM DUAL;In the docs you can find more information about its use:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb_xquery.htm

  • How to refer one view from another view?

    Hi,
    I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
    How to refer one view from another view? Or how to create a reference to a view wherever needed?

    I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
    for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
    In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
    StageOrientationEvent
    As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
    private function onOrientationChanging(soe:StageOrientationEvent):void
          MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
    Is my question clear now?

  • How to Access Maintenance View from a program

    Hi Experts,
    I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
    with regards,
    James...
    Valuable answers will be rewarded...

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
    Regards,
    Prabahar

    Hi Raju,
    If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
    I would suggest following approch :
    1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
    2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
    3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
    This is just deleting the entries...this does not delete any objects from the system.
    4)Now click on Back arrow, and delete the entry for IUICMRD...save.
    5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
    6) We did not touch to the entries for IUICMD  in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
    7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
    All the best !!
    Thanks & Regards,
    Suchita
    If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion...

  • How to generate an idoc from invoice cancellation (VF11)

    Hi
    How to generate an idoc from invoice cancellation (VF11)?
    Can someone help ..
    Regards
    Pratiksha

    Hi,
    You can generate an IDOC from invoice cancellation.Define a new "Z" output type for this cancellation billing document type and select the medium as 5(EDI).Check with your ABAPer for this.
    Regards,
    Krishna.

  • How to call a view from Interface view

    Folks,
    How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
    Manish

    Hi Manish,
    An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
    - Add your component controller in your interface view properties
    - In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
    wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
    -Access these context variables in your view as well by adding the component controller as the required controller
    Your default view will appear automatically when you call the application.
    Regards,
    LM

  • How to generate .DTD file from IDOC?

    Dear All,
    On behalf of my colleague,
    How to generate .DTD file from IDOC? I want to generate this file for importing into the WebMethod Tool. Please share relevant content regarding the same.
    IDOC name is: BOMMAT01
    Let me know if you need any other information.
    Regards,
    JK

    Hi Jitendra,
    When PI receives idoc from ECC it will be in xml format.
    Are you telling that you want to convert this xml to .dtd file?
    check this for converting xml into .dtd file.
    How to convert XML file into DTD or XSD
    could you please explain about what you are doing in this requirement?
    After importing into WebMethod what is the next action?
    do they want to send the file to PI?

  • How to generate random numbers from 1 to 5

    How to generate random numbers from 1 to 5   
    -1110340081
    Solved!
    Go to Solution.

    (You should not mark a post as solution unless it actually contains a solution to the original problem)
    Do you want to share your code? Did you test to make sure that all numbers equally probable?
    LabVIEW Champion . Do more with less code and in less time .

  • How to generate load commands from cap (ijc)

    I don't understand how to generate load command from cap (in my case ijc)-file.
    This is the example from GPShell, first command of three:
    Command --> 1. 80E80000EFC48203DE01001ADECAFFED01020400011048656C6C6F576F726C64303030305F5002001F001A001F00140031006E00180147004E0036000000F1000A0005003503010004003103000107A0000000620101060210A0000000090003FFFFFFFF8910710002000110A0000000090005FFFFFFFF8913000000030014011048656C6C6F576F726C64303030305F410031060018438003020001070200000041004480020081010108810000070147000A40188C0002188D00058700181100FFAD007B0003037B00039210210303038B0004538901AD00058B0006188B00077A05308F0008181D1E1100FF538C00097A0020
    questions:
    1. Why the length of each command is equal to EF (239 bytes)? Maybe 239 bytes + Mac len + cla, ins, p1,p2, cmdLen. I mean, will the length always be EF?
    2. C48203DE - what is it. In the GP221 i found:
    'C4' 1-n Load File Data Block Mandatory. So if it is right, is the 8203DE - Load File Data Block? Because real data from my ijc-file starts after DE - 01001...
    3. Is all data from the file used for load? (i notised that the last command does'nt used all the rest bytes)

    So, I will help myself
    CAP is zip, but with other filename extension. Inside there are following files:
    Applet.cap
    Class.cap
    ConstantPool.cap
    Debug.cap
    Descriptor.cap
    Directory.cap
    Header.cap
    Import.cap
    Method.cap
    RefLocation.cap
    StaticField.cap
    Order of reading these files for loading by commands 80E8 the following:
    loading Header.cap (51 byte)
    loading Directory.cap (36 byte)
    loading Import.cap (55 byte)
    loading Applet.cap (19 byte)
    loading Class.cap (19 byte)
    loading Method.cap (6779 byte)
    loading StaticField.cap (13 byte)
    loading ConstantPool.cap (397 byte)
    loading RefLocation.cap (663 byte)
    loading Descriptor.cap (1005 byte)
    loading Debug.cap (12115 byte)
    But ijc the file is not cap (zip) and while I didn't understand how to load ijc

  • Is there any way how to generate JPG image from DNG easily?

    I use PS, FW and Bridge.
    I have often a problem to show images for preview from DNG files.
    Please can you explain me, how to do it as a batch easily? Generate preview images from a whole folder?
    Do you generate JPG in original size or do you archive only DNG?
    Thank you

    Little confused here.  Are you saying you do not get a thumbnail for a DNG and therefore can not view as a preview?
    If you want to batch convert a DNG to a jpeg you can use tools/photoshop/image processor.

  • How modify data one view from another view in Cluster view

    Hi,
    I have a cluster view which includes two independent maintenance views. These views have not a direct relationship.
    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view.
    1.
    I have tried to use Extended Table Maintenance Events of the first view to modify the second but I cant access to the TOTAL and EXTRACT tables the second view from the fist view.
    Is there any way to get access from one view to another using Extended Table Maintenance Events?
    2.
    I have tried to use the Event 04/VC: Before Saving the Data in the Database of the cluster view. I can access and modify the second view internal table using routines
    READ TABLE vcl_struc_tab WITH KEY object = 'ZFIRST_VIEW' INTO structab_wa.
    if  not structab_wa-UPD_REQU is initial.
       perform VCL_SET_TABLE_ACCESS_FOR_OBJ using 'ZSECOND_VIEW' changing error_flag.
       it_tbl_second = <VCL_TOTAL>.
       loop at it_tbl_second into wa_second.
         wa_tbl_second-vim_action = 'U'.
         modify it_tbl_second from wa_second
       endloop.
    endif.
    But to save modified entries of the second view to database I have to twice press SAVE buttons.
    The first time I have pressed SAVE above routines are executed and modified entries appear only in the second view internal table. The second time I have pressed SAVE modified entries appear in the database.
    I would like user press SAVE button only once. How I can do it?
    Regards,
    Malnor
    Edited by: Malnor on Nov 30, 2010 9:11 PM

    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view
    Without a dependant field how will you perform this operation ?
    You have to link the fields in the tables, generate maintenance view, add it to cluster view and do it.

  • How to generate database schema from CMP?

    I'm using JDeveloper 10g to design J2EE application in the Up-bottom manner. Then I have written UML model with CMP beans and now I would like deploy the model to the database. Is there a wizard to automaticly generate database schema from CMP beans?
    Marek

    Here are some links that might help you:
    The Oracle XML Developer's Kits (XDK) contain the basic building blocks for reading, manipulating, transforming and viewing XML documents. Includes XML Schema Processor: supporting Java, C, and C++, allows use of XML simple and complex datatypes.
    http://otn.oracle.com/tech/xml/xdkhome.html
    Building Server-Side XML Schema Validation
    Discusses how XML Schema can be used within Oracle9i to validate XML documents.
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_093001.html
    How XML Schemas Simplify Dynamic Content Management
    With XML Schema now a W3C Recommendation, compare Document Type Definitions to XML Schema.
    http://otn.oracle.com/tech/xml/htdocs/SchemDTD.html
    Regards,
    -rh

  • How to  get formated value from query

    i get value from query use the follow method
    Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_UNFORMATTED);
    Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_FORMATTED);
    the first method retrun a value '1666.0',
    the second method return a value null
    but i want to get the value '1,666'.
    who can tell me how can get the formated value?

    Ahu,
    An implementation of DataAccess is not required to support all DataMap constants. For example, the OLAP-based Query object does not support DataMap.DATA_FORMATTED. To find out which DataMaps are supported for a particular implementation, you can call the DataDirector's getSupportedDataMap method.
    If you have an Crosstab instance, there is a way to get the formatted cell value, based upon the formatting rules associated with the Crosstab. Get the GridViewFormatManager reference from the Crosstab, and call its formatDataValue method to return a String representation of the formatted data value.
    Hope this helps,
    djb

Maybe you are looking for

  • Premiere Pro CC - and various other Adobe CC Aps - will randomly stop opening for good...

    This first started happening RIGHT AWAY after I downloaded CC on my previous iMac. After downloading a program from CC I could use it like once or twice, and then it would just stop opening. The opening icon pops up for a millisecond in the bottom ri

  • IPhone 3GS  - Display Photos on TV via component cable

    The original Apple Component Cable I bought does not permit mi iPhone 3GS to tranfer images to a TV screen. I can hear the iPod music, but I can not see both Videos (selected from the iPod mode) and Photos (selected from the iPhone menu). Even if I s

  • User-Exit at Save for KL01

    Hi, Is there any user-exit at save for transaction KL01. Here is my requirement. Where ever am employee is hired in HR ( transaction PA40; Action = Hire) i have to automatically create an Activity Type ( t.code : KL01 ). I am doing this in user-exit

  • Reloading data causes lost position in Paged View

    Say you have a paged view data set that lets a user page through four pages of five items (20 items total). Say also you have loadInterval on the underlying dataset set to 10 seconds. Now, say the user has paged to page three in their page view. With

  • Canon Rebel XT plug directly to my Ipad

    I would like to plug my Canon Rebel XT directly to my Ipad, is it possible and how? Im going on a trip and I wont have acces to a computer to transfer pics from the camera to a computer and than to my Ipad. Also, I would like to see the result immidi