PARAMETERS into VIEW

HI! I´am trying to do a view and need pass parameters, if not use be to slowly(sorry, for my English)
example:
SELECT DISTINCT vmc.COD_SOLICITUD,vmc.LOCALIDAD,vmc.AMBITO,vmc.INGRESOS
FROM (select *
from AEAT.VIEW_MUNICIPIO_COEFICIENTE
where cod_solicitud = PARAM_COD_SOLICITUD) vmc,
(select *
from AEAT.VIEW_VALOR_CASAS
where cod_solicitud =PARAM_COD_SOLICITUD) vvc, ADMIN_AYUDAS.TIPO_VIVIENDA
where vmc.localidad=vvc.localidad
GROUP BY vmc.COD_SOLICITUD,vmc.LOCALIDAD,vmc.AMBITO,vmc.INGRESOS
Message was edited by:
user576436

need pass parameters..if i understood correctly... did you tried with '&'
SELECT DISTINCT vmc.COD_SOLICITUD,vmc.LOCALIDAD,vmc.AMBITO,vmc.INGRESOS
FROM (select *
from AEAT.VIEW_MUNICIPIO_COEFICIENTE
where cod_solicitud = &PARAM_COD_SOLICITUD) vmc,
(select *
from AEAT.VIEW_VALOR_CASAS
where cod_solicitud = &PARAM_COD_SOLICITUD) vvc, ADMIN_AYUDAS.TIPO_VIVIENDA
where vmc.localidad=vvc.localidad
GROUP BY vmc.COD_SOLICITUD,vmc.LOCALIDAD,vmc.AMBITO,vmc.INGRESOS

Similar Messages

  • Exporting selected parameters into Excel?

    Hi,
    I am using Disco viewer and plus BI. How do I configure my report in Plus BI, so that using the export functionality (XLS) in the viewer, the chosen user parameter values are exported too into the Excel file. This would help the user to remember what is his exported spreadsheet about even after a day he/she saved it.
    I am using Disco over a relational RDBMS.
    Tamas Szecsy

    Have you tried inserting the parameters into the title of the report?
    These will export to Excel from Plus and Viewer.

  • Is it possible to scroll the current highlighted bookmark into view?

    I have a PDF with a lot of bookmarks and the current one, that points to the first page of the document, is highlighted. Sometimes that bookmark will be a long way down the bookmarks list and so initially out of view. The bookmarks have been created by a plug-in and I would like to know if there is a way to programmatically force a specific bookmark into view by making the bookmarks pane scroll to the correct place through the Acrobat (plug-in) API, or JavaScript, or perhaps an Acrobat setting to do this? I cannot find any way that does this yet.
    Thanks
    David

    It's not difficult to rebuild or amend the bookmark tree to better reflect the actual document, but there is no control of the navigation panel window through the API. You are able to open and close subsets of the tree if that would help.

  • The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • Is there a way to view just one open Finder window (without any other Finder or other application windows coming into view) from a Desktop hot corner in Yosemite?

    I just upgraded to Yosemite from Snow Leopard on a MacBook Pro. Previously, I could view just one open Finder window by viewing the Desktop via a hot corner and then selecting Finder from the Dock. This would pull only the top Finder winder into view, without showing any other open Finder windows, and most importantly, any other open application windows. I could then easily drag files/folder from my Desktop into the Finder window (which I do A LOT). Since upgrading to Yosemite, whenever I use the Desktop hot corner and select Finder from the Dock, it pulls every open application and Finder window back into view, putting Finder in front.
    Is there any way to view just one already open Finder window (or all Finder windows for that matter) without seeing all other open applications, without having to Hide the other applications or using Spaces?

    Yes I've created an Automator Application that does the job, but the "watch me do" function that does the Mail Merge is a rather Clunkey work around, as the mouse moves all over the place, thats the part i want to remove and replace with a script, or work out a different way around it that avoids the "watch me do" function.
    Is this Possible? or where/who is there i can ask to write me a script, im not a novice to scripting, but i am a novice to Applescript.

  • How to populate data into view object

    Hi all,
    I am quite new with ViewObject.
    I have one data table which is binding with view object.
    I want to populate data into view object from my managed bean.
    how can i achieve this kind of scenario?
    actually i try to get view object as in the following. but i get only null.
    ViewObject viewobject = DCIteratorBinding.getViewObject();
    With Regards,
    Wai Phyo

    Hi,
    You could use the following code snippet to get handle to view object from the iterator.
    FacesContext fc = FacesContext.getCurrentInstance();
    BindingContainer bindings =
    (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    "#{bindings}",
    BindingContainer.class);
    DCBindingContainer bc = (DCBindingContainer)bindings;
    DCIteratorBinding iterator =
    bc.findIteratorBinding("<ITERATOR_ID>");
    ViewObject viewObject = iterator.getViewObject();
         // Perform operations on the view objectThanks,
    Navaneeth

  • Window that slides into view

    Hi all, I'm looking to add a little bit of Swing eye-candy.
    I have a little pop-up window that informs the user that their file has saved after they hit "save" or Ctr-S. I need it to be noticeable (so that they are assured that their file did indeed save), yet out of the way and not requiring any action on their part (no "Ok" button).
    Currently I have a little JWindow that appears at the bottom of the frame when they save, and disappears after two seconds. However, I'm looking to make the application look a little polished, so I wanted something a little fancier.
    Does anyone know of a way to get a JWindow (or any other kind of internal, non-modal frame or dialog) to slide in from the edge of a parent frame? I'd want it to look like it was being pushed in, so the whole thing would slide into view in one piece (i.e. not stretching). Or a similar kind of eye-candy that would be simple to implement (maybe fade-in fade-out)?
    Any help greatly appreciated, thanks!

    Hey that works great! Using null layout makes a lot of sense.
    I couldn't get it to be both fast and smooth -- changing the delay/repeat time to 0 doesn't make it significantly faster, so instead I had to increase the amount by which it moves each time, so it's less smooth. It still looks pretty good, though.
    For anyone else who's looking for this, I'm posting an excerpt of my code below, which slides the window up from the bottom right corner and then back down again a couple seconds later. I haven't made it into an SSCE, since that's above.
    Thanks again!
    final JWindow savedWindow = new JWindow();
    JLabel savedLabel = new JLabel("File saved");
    savedLabel.setFont(saveStateLabel.getFont().deriveFont(Font.BOLD));
    String fileName = currentAuthoredFile.getAbsolutePath();
                                       // .... bunch of layout omitted
    savedWindow.add(savedPanel);
    savedWindow.pack();
    final int desiredHeight = savedWindow.getHeight();
    savedWindow.getContentPane().setLayout(null);
    savedWindow.setSize(savedWindow.getWidth(), 0);
    bottomCorner = new Point(mainFrame.getLocationOnScreen().x + mainFrame.getWidth(),
         mainFrame.getLocationOnScreen().y + mainFrame.getHeight());
    savedWindow.setLocation(bottomCorner.x - savedWindow.getWidth(), bottomCorner.y);
    savedWindow.setVisible(true);
    javax.swing.Timer timer = new javax.swing.Timer(0, new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            int newHeight = Math.min(savedWindow.getHeight()+6, desiredHeight);
            savedWindow.setSize(savedWindow.getWidth(),newHeight);
            savedWindow.setLocation(bottomCorner.x - savedWindow.getWidth(), bottomCorner.y-savedWindow.getHeight());
            savedPanel.repaint();
            if(newHeight >= desiredHeight) {
                ((javax.swing.Timer) e.getSource()).stop();
                //restore original layout
                savedWindow.getContentPane().setLayout(new BorderLayout());
                savedWindow.validate();
    timer.start();
    javax.swing.Timer timer2 = new javax.swing.Timer(0, new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            int newHeight = Math.max(savedWindow.getHeight()-6, 0);
            savedWindow.setSize(savedWindow.getWidth(),newHeight);
            savedWindow.setLocation(bottomCorner.x - savedWindow.getWidth(), bottomCorner.y-savedWindow.getHeight());
            savedPanel.repaint();
            if(newHeight <= 0) {
                ((javax.swing.Timer) e.getSource()).stop();
                savedWindow.dispose();
    timer2.setInitialDelay(2500);
    timer2.start();

  • Pass parameters into SessionEventListener by using ConnectionPolicy

    Hi,
    My project is using Eclipselink/JPA with Oracle VPD. I have to pass some parameters into SessionEventListener to set up VPD context. I found couple postings in this forum talked about using ConnectionPolicy to pass in the information. Does anyone could give me a code sample about how to pass a parameter (ex. user ID) into a ConnectionPolicy? I am using JPA, so I didn't see a clear way for me to access ConnectionPolicy. Thanks!

    I used the following solution and it worked for me
    ((EntityManagerImpl)em.getDelegate()).getServerSession().getDefaultConnectionPolicy().setProperty("USER_ID", userId);
    Then in SessionEventListener, I could use clientSession to obtain "USER_ID" from connection policy.

  • Firefox bookmark toolbar not allowing me to drag & drop website icons. I've gone into view and click on " bookmark toolbar".

    firefox bookmark toolbar not allowing me to drag & drop website icons. I've gone into view and click on " bookmark toolbar". bookmark toolbar appears but its but its not allowing me to drag and drop the icon on the toolbar. i've tried everything that one is supposed to do but its not working. its frustrating.
    stef./.\

    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible.
    *View > Toolbars
    *Right-click empty toolbar area
    Use Toolbar Layout (Customize) to open the Customize window and set which toolbar items to display.
    *check that "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *if "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette into the Customize window to the Bookmarks Toolbar
    *if missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar setup
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
    You can check for problems caused by a corrupted localstore.rdf file if the above didn't help.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Why I can't pass parameters into CR from VB6

    I want to Pass parameters into crystal report from VB6.
    But whatever I try, it don't work Fine,
    always Show the message "This field name is not known".
    Crystal Report::
    Parameter: a.@cmpy;
                       b.@p1
    formula:
    a. If {?@cmpy} ="USA" or {?@cmpy} ="usa" then
          "This is test 1 sentences"
       else if {?@cmpy}="TWD" or {?@cmpy} = "twd"  then
          "This is test 2 sentences"
    b. if trim({?@p1})="1" then "This is test 3 sentences"  
    VB::
    Public oApp As New CRAXDDRT.Application
    Public oRpt As CRAXDDRT.Report
    oRpt.ParameterFields(1).ClearCurrentValueAndRange
    oRpt.ParameterFields(2).ClearCurrentValueAndRange
    oRpt.ParameterFields(1).AddCurrentValue ("TWD")
    oRpt.ParameterFields(2).AddCurrentValue ("1")  
    I had trid to use "IsCurrentValueSet" function to check whether parameter was set or not, and It responsed "Ture",so I so confused about it.
    Anyone know about this??
    ps. I had trid other way that change the formula indirectly, although it can work fine, but it isn't a right way to solve my problem.
    Edited by: DeanLai on Jun 22, 2010 8:54 AM

    I Find something.
    First I tried to add parameter and wanted to see these value on Report.
    So I inserted {?@cmpy} and {?@p1} into report, and used VB code
    "oRpt.ParameterFields(1).AddCurrentValue ("TWD")" and "oRpt.ParameterFields(2).AddCurrentValue ("1")",
    then ran the process, but it didn't display any value on report,
    so why it couldn't pass value into parameter??
    then I tried other way which was to add new parameter, and used the same way to pass
    value into parameter, then it can display value on report.
    So the different between these is {?@cmpy} and {?@p1} which come from
    Stores Procedure.
    While I set Database in crystal report, set all value into Store Procedure's
    parameter(the window about "Enter Parameter Values"), then it automatic come out the DB columns and parameter(SP parameter)
    , course include {?@cmpy} and {?@p1}.
    Do this problem cause my question?
    Can we pass value into parameter which come from SP parameter??
    Can we use these parameter into forumla??
    Edited by: DeanLai on Jun 30, 2010 11:56 AM

  • Colored circles appearing into view using an expression instead of keyframes?

    Hello and thank you for your time,
    I'll explain this as simply as I can,
    I have a comp where a satelite is orbiting the Earth (the Earth is my comp space). The Earth is also in rotating but much slower. The satelite is one comp, and the Earth rotating is another comp. The orbiting satelite is looped, the Earth comp is rotating is looped - all is good there.
    Everytime the satelite makes a complete orbit around the Earth, at a specfic point on the comp space of my choosing, I would like to add a colored circle. So it would look like that circle appears into view.
    So the colored cirlce would appear into view, onto the comp (Earth) and follow the slow and gradual rotation of the Earth as it moves from left to right. The satelite would continue to orbit fast.
    However I would like to perform this action of "add coloured circle onto Earth" perhaps 100's of times and at specific points.
    The most important challenge here is : how can I perform this action using expressions so that I do not have to keyframe hundreds of colored circles appearing into view one at a time?
    The second important thing is : how can I position these colored circles in a specfic pattern laid out over the Earth and not in a random fashion?
    Thanks again!
    D

    Simply add the circles in the 2D texture or a separate comp synced to your Earth and make it a spehjre by using yet one more instance of CC Sphere. The timing could certainly be worked out using expressions based on the longitude/ latitude coordinates vs. angle, but that's gonna be more than copy&pasting 3 lines of code on a forum. If you can#t do it, hire someone or simply bite the bullet and hand-animate.
    Mylenium

  • Scrolling component into view programmatically without using javascript

    Hi,
    Is it possible to scroll an adf component into view programmatically without using javascript?
    I know of <af:scrollComponentIntoViewBehaviour> that can be added to a command component , but is there a way to do that programmatically in a bean?
    Problem with using javascript is its not guaranteed to work in different browsers.
    Regards,
    Rakesh.

    Hi John,
    Thanks for the reply.
    If i use the af:scrollComponentIntoViewBehavior, then i wont be able to achieve my desired functionality.
    In my use case, i want the id, of the component that needs to be scrolled into view, to be determined in the server listener of the button which is not happening.
    Code snippet in jspx page is as follows:
    <af:commandButton id="cb1" immediate="true">
    <af:clientListener method="clickButton" type="click"/>
    <af:serverListener type="customEvent"
    method="#{pageFlowScope.bean.doScroll }"/>
    <af:scrollComponentIntoViewBehavior id="#{pageFlowScope.bean.compId}/>
    </af:commandButton>
    And the java code for method doScroll is something like :
    public void doScroll (ClientEvent clientEvent)
    //logic to determine compId goes here
    compId = "id";
    So, the problem here is "compId" is set to some value when bean is loaded and the id in the af:scrollComponentIntoViewBehavior will be set to that value forever.
    I cant find any way of telling it to re-read the "compId" value, say after clicking the button. I can refresh the button in the server listener to update the compId .
    But the updated compId will come into picture from *next click*. This is because, after the button is clicked, "scroll" action happens first and then serverListener executes.
    Is there a way to change order of this execution like "execute server listener first and then do the scrolling thing" ?
    Regards,
    Rakesh.
    Edited by: 927925 on Jul 27, 2012 2:02 AM

  • Scroll entire panels into view

    A pet peeve of mine is that, when opening a panel, sometimes LR 2.1 doesn't scroll it entirely into
    view when it could have. Specifically, I use Solo mode, I'm in Develop using the Basic panel and I
    then click on the Tone Curve panel to open it up. The top of it is out of view, hidden behind the
    open Histogram panel. I always have to reach over and scroll it into view. Would be nice if LR used
    a rule where, if opening a panel and it's possible to fit it entirely into view then it does so.

    > What is the resolution of your monitor? I suspect it is rather small.
    It is 1680x1050 so not small at all. And the entire Tone Curve panel *does* fit vertically - I just
    have to move it into view myself. If the Histogram panel is closed, this works the way I'd like it
    to. It's when the Histogram panel is open that it behaves the way I don't like.

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • Reading URL parameter & displaying into view element

    Dear All,
    I have designed a ABAP webdynpro application.
    With one parameter in application so that I can pass data to webdynpro to views elements.
    Can any one help how to pass data from URL additional parameters to Views context elements?
    For Example:
    WebDynpro Application URL: http://XXXX.com:YYYY/sap/bc/webdynpro/sap/zumruf4?zdata=909090
    So Can I display parameter zdata '909090' to main view?
    Thanks

    ..

Maybe you are looking for

  • Z68A-GD80 B3 Boot Loop and Failed BIOS LED Flashing

    I've been having "boot loop" issues with my system since it was built in June. Basically, when the system is powered on the lights/fans come on for around 3 seconds then it shuts itself off for another 3 seconds and repeats the loop infinitely. Meanw

  • Help needed in rendering images...ThAnkS

    I have 2 classes for rendering images. When i run the application, the images kept flashing, may i know how could i actually have 1 image appearing instead of many images flashing? In other words, i would like in a way similar to mosaic rendering pro

  • Mysterious yellow behind text--not an underline

    Hi, I'm cleaning up a file from another designer (converted from Quark) and I've run into something odd with a Zapf Dingbats character. No matter what I do, a yellow background appears behind all Zapf Dingbats characters in this document. It looks li

  • Upgrading ECC5.0 to ECC6.0 and Internet Sales ISA4.0 CRM4.0

    We are performing a technical upgrade of ECC5.0 to ECC6.0 and we are seeking confirmation and instructions for connecting our existing ISA4.0 system to ECC6.0.  I have searched OSS and SDN and queried our SAP account manager for some confirmation and

  • Insert data with collection data

    Hi, I am using a loop for inserting data into a table but it doesn't work. On a form you can insert data for the items (text field). These data were stored in the collection 'COLLECTION_C1_T20': if :P103_SEQNR is null then apex_collection.add_member(