0equipment_attr query with respect to 0calyear

Dear  all,
i need to make a query showing number of equipments, i use infoprovider 0equipment, however, i need to get records with respect to 0calyear. Is it possible with making a query with 0equipment and how?
thanks.

Hi thanks for the reply,
i guess i should use 0date or 0date_from and fill 0calyear from this field.
Where i am confused is when i upload data in 0equipment_attr, it overwrites all fields with new values.
i need to develop a report as follows:
calyear              equipment number             total capacity
2008                           12                             23500
2007                            11                            19000
can it be possible?
thanks

Similar Messages

  • A query with respect to creation of the  shared Objects.

    Hi ,
    I am having a query with respect to creation of the  shared Objects.
    I have seen a example where the Author is creatining Shared Object as shown
    below :
    SharedObj = null;
    sharedObj = SharedObject.getLocal("myTasks");
    and there is nothing related to the word "myTasks" anywhere in the Application .
    Can anybody please let me know what is this word "myTasks" mean here ??
    Thanks in advance .

    hi,
    With a shared object it will create one if it doesn't exist, so "myTasks" will become the shared object name or if it exists it will load any objects that are within that shared object.
    Below is a simple example that uses sharedobjects to store login details.
    http://gumbo.flashhub.net/login/
    David

  • A basic query with respect to using Message Selectors in JMS

    Hi
    When i am going MEssage Selectors topic in web , it seems very confusing for me .
    I have written a simple JMS Application based on Weblogic as my Queue .
    I have two Java Files one for Message Producer and another file acting as Message Consumer using MDB
    I have a basic TextMessage with some header properties in my Producer file .
    Please tell me in what file should i put MessageSelector ??.
    Thanks for reading .
    Please clarify my query on this .

    Thank you very much .
    I found the code of a MDB making useage of a Selector .
    *<message-driven>*
    *     <message-selector>shirtType = 'polo'</message-selector>*
    *     </message-driven>*
    Assume that i written a MDB that listens to particular type of Messages (Polo in this case ) .
    Please tell me what happens to other messages in the Queue that were never listened by the MDB .
    Thank you .

  • A query with respect to Flex 3 States

    Hi ,
    I am new to Flex3. states
    I have started with a sample application , but i couldn't able to understand some of the things in Flex 3 States . Please help .
    This is my sample Application what i am trying :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="absolute"
        currentState="bad">
        <mx:states>
            <mx:State name="bad">
                <mx:SetProperty target="{label1}" name="text" value="Bad Day!"/>
                <mx:SetProperty target="{linkbutton1}" name="label" value="Go Good"/>
                <mx:SetEventHandler target="{linkbutton1}" name="click" handler="this.currentState='vgood'"/>
            </mx:State>
            <mx:State name="vgood" >
                    <mx:SetProperty target="{linkbutton1}"  name="label" value="Go Good"/>
            </mx:State>
        </mx:states>
        <mx:Label
            x="255" y="191"
            text="Good Day !"
            fontWeight="bold"
            fontSize="22" id="label1"/>
        <mx:Button
            x="255" y="98"
            label="Go To Bad Day" 
            click="this.currentState='bad'" id="linkbutton1"/>
    </mx:Application>
    Please see the above code , It is working fine , but i am having some questions related to it .
    Please tell me whether  Is it possible to know under what state the Application is currently in ??
    Thnaks in advance .

    Okay fine , i will do that .
    I am having one more question related to flex 3 states . That is :
    Refering to the above program  posted , in case if i need to change the current state , i am depending on this
                <mx:SetEventHandler target="{linkbutton1}" name="click" handler="this.currentState='vgood'"/>
    Is it not possible to achive the above requirement using <mx:Property>
                <mx:SetProperty target="{linkbutton1}" name="label" value="Go Good" handler="this.currentState='vgood'"/>
    (I have tried with  this , but its not working , the mx:property is not accepting the handler attribute ) )
    seems Flex learning curve is so big .

  • A query with respect to Cairngorm Events

    I am new to cairngorm .
    I am designing a StudentApplication using Flex with Cairngorm .
    I am struck at writing a Event class for Cairngorm .Please guide me
    Assume that this StudentApplication is suppourting Create , Delete , Update ,Read Operations .
    My question is do i need to write 4 Event classes , each representing that Operation ,
    Or is it possible to do in one Event class by taking 4 different Sring constants , each representing the Appropiate Action .
    package com.control
        import com.adobe.cairngorm.control.CairngormEvent;
        public class CreateEvent extends CairngormEvent
    public static const EVENT_CREATE_STUDENT : String = "EVENT_CREATE_STUDENT";
    My question is do i need to make Create , Update , Delete , Read Events for every
    Event of my Application ??
    Please guide me .
    Thanks in advance .

    Hi Kiran,
    You can write all the events in a single class say StudentEvent class and perform the appropriate action according to the event type(delete,update,add..etc) but if you do so you need to process the result returned from the remote service based on the event type in command later and write your logic.
    for ex:
    In your command layer(StudentCommand) in the result Handler...function you need to process this way..
    public function result( data : Object ) : void
                if(data != null)
                        if(_eventtype == "deletestudent")
                             // Write you logic to delete student
                        else if(_eventtype == "createstudent")
                             // Write you logic to create student
                        else if(_eventtype == "updatestudent")
                             // Write you logic to update student
                        else
                             // Write you logic to read student details
    deletestudent, createstudent, updatestudent, readsrstudent are the four event types which you decalre as Static Constants in StudentEventclass.
    If you wanna write 4 event classes for all then also its good so that you can have seperate wrapper class for all the events.
    If you want to have customized and reduced code then use the Single event class. Its based on your requirement...
    Thanks,
    Bhasker Chari

  • Performance issues with respect scheme registration,select & insert query

    I am facing performance issues with respect to schema registration,Select & insert query towards 10.2.0.3 version.It is taking around 45 minutes to register schema and it is taking around 5 min to insert a single document into xml db where as it was taking less than min to insert a single document into xml db of 9.2.0.6 version.Would like to know the issue and solution to resolve this issue.Please help me out on this as it is very urgent for me

    Since it appears that this is an XML DB specific question, you're probably better off posting in the XML DB. The folks over there have much more experience with the ins and outs of that particular product.
    Justin

  • Query: Count a char with respect to another char

    Hi,
    In the query I would like to count the "unique occurances" of a characteristic with respect to another "characteristic". The value should be fixed ipprespective the drill down state of any other char. Any ideas?
    Example: I have Material and Customer. and material is in many orders... I would like to get number of Materials a customer has ordered. Well, this can be done if only the "Customer" is in drill down. But, I have customer, material and some other characteristics in the drill down. At any drill down state, I would like to know number of materials ordered by a customer.
    I already went thru the white paper, "Count the occurrences of a characteristic relative to one or more other characteristics". This works only when "Customer" is the only object in the drilldown. Doesnt work when additional chars are in the drill down too...
    Thanks
    Gova

    Ashish, thanks for the response.
    Here is the detailed example.
    initial view:
    Customer Material Count
    001 abc 5
    after expanding by material group, it should show
    Customer Material Mattype Count
    001 abc xyz 5
    001 abc pqr 5
    if I expand by Sales Order also, it should display the same
    Customer SalesOrder  Material Mattype Count
    001 345 abc xyz 5
    001 345 def pqr 5
    001 678 abc xyz 5
    001 678 def pqr 5
    Whatever the drilldown state may be, I am only interested in "How many distinct values of Material" did a Customer order.
    thanks

  • How to populate the data or details of only the present year and the previous year with respect to the given RATNG?

    Hi All,
    I have created a form with 5 blocks (namely ENQACMHDR, ENQACMDTL, ENQACEHDR, ENQACEDTL, ENQACSPEC), where i have 8 push buttons (namely ENTER_QUERY, EXEC_QUERY, CLEAR, FIRST, NEXT, PREVIOUS, LAST & EXIT).
    This form is created just for viewing purpose only. So after I execute, all the blocks have been blocked against insert & update.
    I query on 2 fields that is 'ENQNO' and 'RATNG' (Both the fields belong to the block ENQACMDTL).
    When I click on 'EXEC_QUERY' directly, all the data of all the years populates.
    But the user wanted the data to be populated from only the present year and the previous year.
    So , on 'WHERE Clause' of the property_palette of 'ENQACMDTL' block , I put in the following condition:
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    PROPERTY PALETTE (ENQACMDTL block)
    WHERE Clause
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    Now the data of only the present year and the previous year is being populated. Its ok with the field of 'ENQNO'.
    The problem is when i query on field 'RATNG' . 'RATNG' is a Text_item with Number of Items displayed=5. (5 rows)
    The following are 2 columns of a Table (Name=ENQACMDTL) in Database.
    ENQNO
    RATNG
    2013900054
    500KC2
    2013900047
    800KC4
    2013520018
    750KC6
    2012900037
    1000KC2
    2012520109
    500KC2
    2012140019
    750KC6
    2011540036
    500KC2
    2011100030
    1000KC2
    2006100007
    90KD8
    2006750014
    750KC6
    2006900072
    500KC2
    The first 4 numbers of 'ENQNO' denotes the year. There are more than a lakhs of records.
    So when i query on the field 'RATNG',
    Example:For RATNG=500KC2;
    I click on ENTER_QUERY, On the field of 'RATNG' , i put in the value 500KC2 and click on  EXEC_QUERY; Details with respect to 500KC2 is displayed as well as all the other unwanted RATNG like 750KC6, 1000KC2 (which belongs to the ENQNO of the present year and the previous year) also gets displayed.
    I want details of only RATNG (500KC2) to be displayed, but only of the present year and the previous year, that is 2013900054, 2012520109 (ENQNO).
    Other than 500KC2 RATNG, no other RATNG must be displayed.
    The RATNG=500KC2 is also present for ENQNO=2011540036 , 2006900072. But I dont want these to be displayed.
    I want only the data or details of the present year and the previous year to be displayed or populated with respect to the given RATNG.
    Can You Help me or tell me what do i do for this?
    Hope I'm clear with my question!!
    If my question is not clear, let me know plz.
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Oracle forms 6i.

    On key-exeqry you have to program.  Delete all other trigger codings for checking your condition.
    It dint work on key-exeqry.
    I tried key-exeqry on form trigger, block (enqacmdtl) and also on field(:enqacmdtl.enqno) , but none of them worked.
    It did not display the message.
    I have a 'PUSH-BUTTON:EXEC_QUERY.
    For EXEC_QUERY, Trigger : WHEN_BUTTON_PRESSED;
    I added the following code:
    if to_number(substr(:enqacmdtl.enqno,1,4))<to_number(to_char(add_months(sysdate,-12),'YYYY')) then
         message('The Rating is not present for the present year and the previous year');message(' ',no_acknowledge);
         raise form_trigger_failure;
    else
         execute_query;
    end if;
    It is working fine and the message is being displayed.
    But again I have a new problem and that is;
    On the field :enqacmdtl.enqno, when i enter the '2013%' and press 'EXEC_QUERY', it works fine.
    but when i enter '2006%' and press 'EXEC_QUERY', it shows the following error
    FRM-50016: Legal characters are 0-9 - +E. It does not display the message also.
    but when i enter the complete number, '2006580002', then it works fine , that is it displays the message (The Rating is not present for the present year and the previous year).
    The problem is because of '%', only when i put in the restricted data (which does not satisfy where condition).
    How do i solve this?
    Thank You Priyasagi.

  • Need help with SQL Query with Inline View + Group by

    Hello Gurus,
    I would really appreciate your time and effort regarding this query. I have the following data set.
    Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
    1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*20.00*-------------19
    1234567----------11223--------------7/5/2008-----------Adjustment for bad quality---------44345563------------------A-----------------10.00------------19
    7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
    4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765--------------------I---------------------30.00-------------19
    Please Ignore '----', added it for clarity
    I am trying to write a query to aggregate paid_amount based on Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number and display description with Invoice_type 'I' when there are multiple records with the same Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number. When there are no multiple records I want to display the respective Description.
    The query should return the following data set
    Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
    1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*10.00*------------19
    7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
    4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765-------------------I---------------------30.00--------------19
    The following is my query. I am kind of lost.
    select B.Description, A.sequence_id,A.check_date, A.check_number, A.invoice_number, A.amount, A.vendor_number
    from (
    select sequence_id,check_date, check_number, invoice_number, sum(paid_amount) amount, vendor_number
    from INVOICE
    group by sequence_id,check_date, check_number, invoice_number, vendor_number
    ) A, INVOICE B
    where A.sequence_id = B.sequence_id
    Thanks,
    Nick

    It looks like it is a duplicate thread - correct me if i'm wrong in this case ->
    Need help with SQL Query with Inline View + Group by
    Regards.
    Satyaki De.

  • CST Report with respect to PO

    Is there any way to get Central Sales Tax amount with respect to Purchase Order Numbers. I need this for report.
    Pls get me table numbers from whic i can extract

    You can link EKBE to BKPF to BSET.
    EKBE has the PO number and Material Doc#, BKPF has the Accounting Doc#, and BSET has the tax information.  You might need to right a query to get your required list.

  • Expense reports with respect to posting date

    Hi Folks,
    Kindly let us know if any statndard reports are available to extract trip details with respect to the trip posting date (prrw).
    Thanks,
    Nandagopal C

    Hi Folks,
    The posting date is maintained in the table PTRV_Doc_header. Using the table we have created a  query to fetch the posted trips according to  posting date.
    Thanks,
    Nandagopal C

  • Two Invoices with respect to One Goods Receipt

    Dear Experts ,
    We have got a query from a user like this....
    With respect to one Goods receipt can we do two invoices??
    i.e GR with a quantity 50No for Material 'A'
    Two invoices with Material A and Quantity of 50 for a single Goods Receipt..
    How it is possible????
    Please guide me...
    Regards
    MK

    Hi MK
    If u have activated duplication check for invoices then u can not pass two invoices with same Po number and similar data
    U can set duplication check in SPRO
    Path
    SPRO>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoices
    here u can tick Required options for UR company code
    Vishal...

  • Fetch value from Table with respect to APP_USER.

    Hi,
    i want to fetch value from Table with respect to APP_USER.
    i am using
    SELECT ID,NAME,FILE_OBJ_ID,MIME_TYPE,DOC_SIZE,BLOB_CONTENT,DESCRIPTION,UPLOAD_DATE,'Download' FROM DUMY_FILE where CREATED_BY =:APP_USER;
    Show me error
    failed to parse SQL query:
    ORA-00911: invalid characterThanks
    Edited by: 805629 on Jan 13, 2011 2:09 AM

    Hello,
    I too have the same problem.
    I am using this query:
    select manager from leave_mgmt where support_engg=:APP_USER
    and source type is SQL Query(return single value)
    but nothing is coming up in the text field. Its empty.
    Please advice. Thanks in advance.

  • Single Query with multiple fiscal variants / fiscal period

    Experts,
    Currently we have two different queries 1) for US and 2) for Mexico.
    Both the queries are hard-coded with respective company codes and different fiscal variants. We have i step =1 variable, so in both query we have respective fiscal period by default in variable screen.  The user can decide to run the query for current fiscal period or manually overwrite it for past few fiscal periods.
    Now, we want to consolidate two queries into a single one and behind the scene depending on company code entered by user we want the query to run for default period AND we also want user to have liberty to change it for different fiscal periods (similar to istep 1 variable) which is hard coded for each query. Please advice how to proceed?
    Thanks!

    Hi Durgesh,
    I agree with part 1- we can let user select his company code, but my challenge is pre-populate or get the default fiscal period for different company codes.
    2) You can keep rest of the things as it is, because you will be populating the default period value and if user want he can select the required value manually.
    (Alok) =  So if user runs report in Nov'2011 = the US fiscal period is 002/2012; but for Mexico it might be 011/2011 - so is there any way where we can give this value in prompt screen and at the same time not let user remember these values...
    Since with single query and without hardcoding how to determine the current fiscal period for different company codes?

  • How do I list the last n number of hours with respect to sysdate?

    I had a query regarding listing the last n number of hours with respect to sysdate?
    Say the current time is 1 AM, I want to get an output in the below format:
    1 AM
    12 AM
    11 PM
    10 PM
    9 PM...
    I know I can do it using a simple begin end block but I want the output to be returned in one single query.
    Any help would be very appreciated..

    Thanks!!
    I just figured it out as well!
    I used this:
    with hour_list as
         select trunc(sysdate- level/24,'HH') ,rownum
         from dual
         connect by level <=8
    select * from hour_list;

Maybe you are looking for

  • URGENT!!! My apps are deleted when i sync as i transfer videos

    I just bought my beloved iphone 4 and was very excited to transfer my videos since i had lots of them in my computer ( Windows Vista ) After a few days of overpower of downloading and using Apps on my iphone 4 . I tried to copy more videos to my ipho

  • Phone Will Not Display Accurate Battery Life Remaining

    It's really not that big of a deal, but it is a tad annoying. I've tried restarting and resetting it. I'd like to fix this, if possible, myself.

  • How to center 6 divs in a container div - horizontally

    I'm trying to build a Fluid Grid website with DW CC. For now I have a problem which I can't solve. I have six links in a nav bar. Every link has different block sizes, so I arranged that with CSS. Now I like to have those divs, which are in a contain

  • Does anyone know how to install qmail on linux platform

    Does anyone know how to install qmail on linux platform and the site name where we can download the rpm of qmail.

  • Resample data at a higher rate

    I need to resample data at higher rate. I was able to use matlab interp function to interpolate my data. Bellow is the description of the matlab function. Is there a function or vi like this in labview.  My data is in the form of a .dat file. I tryed