How to create a Calendar Class in Universe.

I want to create a Calendar class which will further contain Year,Quarter,Month,Day,Week Objects which can be used at report level.
In our database we have different dates in " DD/MM/YYYY:hh:min:ss " format.
I would like to know if this can be used to create a new Calendar Object or do I need a different table in DB like Calendar look up table provided in sample efashion universe?
Help appreciated.

Hi,
Sorry for the delay in coming back - I had no access yesterday.
I am not sure what you mean. If you have a lookup table, then you create views/aliases of this table for each of the dates you want to use it for.
So f your transaction record contains original date and paid_date
you would create a
original_date_view as select * from calendar_lookup
paid_date_view as select * from calendar_lookup
these views could then be joined to the orginal_date and paid_date fields in your transaction table.
In the universe you would then expose 2 classes, which contained the same objects.
Original_date
Date,
Day,
Month,
Year
etc
Paid_date
Date,
Day,
Month,
Year
etc
If you are not using the lookup then you would have to code each date object based on the transaction date field
So Day in orignal_date would be to_char(txn.original_date, "dd")
while Day in Paid_date would be to_char(txn.paid_date, "dd")
Hope this helps
Alan

Similar Messages

  • How to create a calendar layout in jdev 12c?

    In jdev  12c,
    When drag and drop a data control into jsf page, in the popup menu->Create, there is no Create a calendar choice.
    How to create a calendar layout in jdev 12c?
    Thanks.

    Timo,
    From a  reference doc of previous version of jdev/adf, it said :
    http://www.oracle.com/technetwork/cn/java/calendar-091799.html
    Expand the Data Controls accordion and drag the collection that represents the view object for the activity created above (FodCalEventVO) and drop it as a Calendar.
    But in Jdev 12c.--cannot find the Create Calendar choice.
    In jdev 12c can drag and drop a calendar component from the component palette, but do not now how to bind it to view objects.
    Thanks.
    BAO

  • Can any one give me hint how to create(dsplay) calendar in jsp 1.2

    can any one give me hint how to create(dsplay) calendar in jsp 1.2
    friends
    i wants to display calendar (not the date) in tabular way please give me hint how to create it

    Hi,
    i would just add my question cos it looks similar , how can i add calendar of the whole year and let the user browse and select it
    thanX in advance

  • How to create a calendar for two years in GL

    how to create a calendar for two years in GL

    Hi,
    - Login into Oracle EBS and select a responsiblity with GL Superuser drants (e.g. General Ledger Super User)
    - Navigate to Setup + Financials + Calendars and open the GUI Accounting (Navigation for R12)
    - Query the used calendard (used from jour Set of Books/ Ledger via the GUI
    - Enter for each Period (= Period Type 13, 16, 18,...) one Record, have a look to the existing data, used the same logic.
    In the GUI, defined the calendar for 2 Years
    Dirk

  • How to create an object class programmatically?

    Guys,
    I need your help. If possible with a simple example of how to do it.
    I need to create an aplication that read an specification of a repository type from a file and then creates it inside my BEA Repository. The problem are few:
    1 - How to Create an Object Class programmaticaly?
    I looked at documentation of ObjectClassOps but havent figured out how to do it.
    2 - How to Create a Property Definition programmaticaly?

    Sorry, ITypeManager only exists in 9.2. If you are working on 8.1, then the previous example becomes:
    RepositoryManager repositoryMgr = RepositoryManagerFactory.create();
    //connect to the repository
    repositoryMgr.connect();
    //get ObjectClassOps
    ObjectClassOps ocops = repositoryMgr.getObjectClassOps();
    ID repId = new ID();
    repId.setRepositoryName(repositoryName);
    PropertyDefinition[] pds = new PropertyDefinition[1];
    pds[0] = new PropertyDefinition(repId, "stringProp", null, Property.STRING, false, false, false, false, false, null);
    ObjectClass oc = new ObjectClass(repId, "myType", null, pds);
    oc = ocops.createObjectClass(oc);

  • How to create custom calendar in webdynpro ABAP.....(WDA)

    Hi,
    How to create custom calendar in Webdynpro Abap ?.
    Regards,
    Narasimha

    The best way I see here is to develop your custom calender in any of the UI technologies supported like Flash (flex) or HTML5 (or maybe even SilverLight? not sure) and embed it in your WD view. You can also handle interactions between the embedded component and the WD controller.
    Regards,
    Raghavendra

  • How to create a container class for 2 object?

    I use JDK to create 2 objects, one is Customer and one is Book. I need to enqueue these 2 objects, but they canot share the same queue class. Some one told me that I can create a container class for these 2 objects but I don't know how to create it. Can some one tell me how to create the container class?

    I use JDK to create 2 objects, one is Customer and one
    is Book. I need to enqueue these 2 objects, but they
    canot share the same queue class. Some one told me
    that I can create a container class for these 2
    objects but I don't know how to create it. Can some
    one tell me how to create the container class?
    class CustomerBook{
    Book m_book;
    Customer m_customer;
    pulbic CustomerBook (Customer customer, Book book){
    m_book = book;
    m_customer = customer;
    }If you want to create a class that represents one customer and many books, do this:
    class CustomerBooks{
    Vector m_books;
    Customer m_customer;
    pulbic CustomerBook (Customer customer){
    m_books = new Vector();
    m_customer = customer;
    public void addBook (Book book){
    m_books.addElement (book);
    public void displayBooks (){
    //I assume the Book class has a toString method or something similar
    for (int i = 0;i < m_books.size();i++){
      System.out.println ("book: "+((Book)m_books.elementAt(i)).toString());

  • Re: How to create More two class with one object

    haii,
             i have small information How to create More two class with one object,
    bye
    bye
    babu

    Hello
    I assume you want to create multiple instance of your class.
    Assuming that you class is NOT a singleton then simply repeat the CREATE OBJECT statement as many times as you need.
    TYPES: begin of ty_s_class.
    TYPES: instance   TYPE REF TO zcl_myclass.
    TYPES: end of ty_s_class.
    DATA:
      lt_itab      TYPE STANDARD TABLE OF ty_s_class
                     WITH DEFAULT KEY,
      ls_record  TYPE ty_s_class.
      DO 10 TIMES.
        CLEAR: ls_record-instance.
        CREATE OBJECT ls_record-instance.
        APPEND ls_record TO lt_itab.
      ENDDO.
    Regards
      Uwe

  • How to create a calendar on iOS 7?

    How to create a calendar on iOS 7? I want to use dayforce to upload my work schedule onto my iPhone but I can't create a calendar on my phone... Help?

    Check the App I mentioned above.
    To add a normal Calendar go to Settings > Mail, Contacts, Calendars > Add Account > Other > Calendars and select what is appropriate for DayForce.

  • Anyone has ideas how to create Google Calendar as an embedded web applet

    Hello...
    Anyone has ideas how to create Google Calendar as an embedded web applet in CRM On Demand? I would like to create an embedded web applet to show up the user's Google Calendar. I may have users Google credentials saved in its user record of CRMOD.

    This can be enabled with InBound SSO implementation where your CRMOD Credentials and Google Apps Credentials are mapped.
    if it would help consider reading something on OpenSSO on SAML for this requirement
    Regards.
    Deepak H Andeli

  • Class override, how to create the child class and then the base class

    I started to write a program for a smart DMM, the problem is every version of the DMM the company change the communication commend.
    My idea is to write a child class for every DMM version and every SubVI of the child will override the base class SubVI.
    My problem is, i want first to create one child class and after i will see every thing is work,  start to create the base class. that way i will see if am thinking the right way.
    My question is
    How can i create a child class and then create the base class and configure the SubVi of the child class to be Override of the base class?
    I tried to search in the property of the class but i didn't see nothing.
    Thanks
    Solved!
    Go to Solution.

    This can be done and I've done it on occasion.
    You simply create the base class with the dynamic dispatch methods you require (connector panes need to be identical to thos of the child class).
    Then set the inheritance of the class to inherit from this base class.  If your method is defined as a dynamic dispatch method in the parent, you'll most likely now have some errors (unless your child method was already DD in which case you might just be OK already).
    To change the inheritance of a class, right-click the properties of the class in your project and select properties.  I believe the ineritance tree is at the lower end of the properties.  Click on the "change inheritance" (or something similar) to choose the class from which you now wish to inherit.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • How to create a calendar activity in accessibility mode ?

    I didn't find any way to create a calendar activity in accessibility mode. Since it shows blank list of days in calendar component for a month.
    It seems to be a bug in ADF calendar component. Please suggest if there is any alternate way to support this.
    Thank you so much.

    Timo,
    From a  reference doc of previous version of jdev/adf, it said :
    http://www.oracle.com/technetwork/cn/java/calendar-091799.html
    Expand the Data Controls accordion and drag the collection that represents the view object for the activity created above (FodCalEventVO) and drop it as a Calendar.
    But in Jdev 12c.--cannot find the Create Calendar choice.
    In jdev 12c can drag and drop a calendar component from the component palette, but do not now how to bind it to view objects.
    Thanks.
    BAO

  • How to create new data class in DDIC?

    Hi Friends,
    I want to store 5 custom tables into a particular Table space.
    For that i want to creat a new Dataclass and which has to be mapped to a new table space.
    So what i need is.
    1. How to create a new Customer data class apart from USER1 and USER that is available?
    2. How to map the newly created Dataclass to a Table space?
    Purpose: DBA wants to maintain these tables separately so that this won't disturb other data.
    SAP VERSION - 4.7EE - AIX - DB2
    Any help on this would be highly appreciated.
    Regards,
    Simha

    you can use either usr or usr1 for your  development ... because
    read the belo statment  provided by SAP
    The data class defines the physical area of the database (for ORACLE the TABLESPACE) in which your table is logically stored. If you choose a data class correctly, your table will automatically be assigned to the correct area when it is created on the database.
    The most important data classes are (other than the system data):
    APPL0    Master data
    APPL1    Transaction data
    APPL2    Organizational and customizing data
    Master data is data which is frequently read, but rarely updated. Transaction data is data which is frequently updated. Organizational und customizing data is data which is defined when the system is initialized and then rarely changed.
    There are two more data classes available, USR and USR1. These are reserved for user developments. The tables assigned to these data classes are stored in a tablespace for user developments.
    Note:The data class only has an effect on table storage for the database systems ORACLE and INFORMIX

  • How to create a calendar category

    I do not know how do create a new calendar category
    Post relates to: Pre p100eww (Sprint)
    This question was solved.
    View Solution.

    The Pre / Google don't really support categories.
    If you wish to have separate categories what you can do is in Google create a separate calendar within your email account for each "category."
    E.G.
    You have your email address [email protected] and then you have your calendars (business, personal, etc.)

  • How to create a new class

    Hi,
    I'm trying to create a new class called Questions, which has
    two properties (type and condition).
    The action script is saved in the folder myComponents under
    the project.
    When I compile the Main app, I get the following error
    message:
    "1172 Definition myComponents:Question could not be found."
    Why?
    How do you call a constructor for a new class, that is not an
    extension of an existing class?
    Regards
    /Acke
    //-----------Class----------//
    package myComponents
    // Import all classes in the mx.events package
    import mx.events.*;
    public class Question {
    // Public constructor.
    public var Question(){
    // Call the constructor in the superclass.
    //super();
    // Define properties and methods.
    // Define public vars.
    public var type:string;
    public var condition:string;
    //------Main----------//
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    xmlns:MyComp="myComponents.*">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    import myComponents.Question;
    etc, etc....

    quote:
    Originally posted by:
    MannenMytenLegenden
    Hi,
    I'm trying to create a new class called Questions, which has
    two properties (type and condition).
    The action script is saved in the folder myComponents under
    the project.
    When I compile the Main app, I get the following error
    message:
    "1172 Definition myComponents:Question could not be found."
    Why?
    How do you call a constructor for a new class, that is not an
    extension of an existing class?
    Regards
    /Acke
    //-----------Class----------//
    package myComponents
    // Import all classes in the mx.events package
    import mx.events.*;
    public class Question {
    // Public constructor.
    public var Question(){
    // Call the constructor in the superclass.
    //super();
    // Define properties and methods.
    // Define public vars.
    public var type:string;
    public var condition:string;
    //------Main----------//
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    xmlns:MyComp="myComponents.*">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    import myComponents.Question;
    etc, etc....
    Here is a test class I created a while back, although this
    one does extend Object it might help you out a bit with your
    constructor issue:
    package com.evilest
    import mx.controls.Alert;
    public class Testing_class extends Object
    private var message:String = new String();
    public function Testing_class(input:String) {
    this.message = input;
    public function showAlert():void {
    Alert.show(this.message, "sup");
    }

Maybe you are looking for

  • PowerPoint into a slideshow

    Hello all, I'm having a hard time trying to figure out the best way to work this. I have about four PowerPoints that I need to turn into a slideshow to work on a DVD Player. I have learned how to do this with just images, and adding audio, but the pr

  • T-code HUPAST??

    Hi All, What is the use of T-code HUPAST? What are the advantages with using T-code HUPAST? Regards, Shetty

  • Lion redownload question

    I have Lion o s x on my laptop.  My harddrive is full.  I bought a new harddrive.  Now I need to download Lion to a USB drive and put it on the new harddrive.  I went to  my purchased apps and it says download.  When I hit download, it doesn't downlo

  • Toshiba registration reminder keeps popping up at startup

    Hi, I registered my Portege laptop some time ago. Nevertheless the toshiba registration reminder keeps popping up at each startup of the computer and trying to find a solution. How can I switch off this reminder? The registration reminder program is

  • SBO-Common LOGFILE = 40.000 MB/40GB - Wechsel von FULL auf SIMPLE Mode ?

    Guten Morgen, unsere B1 läuft seit Oktober 2009. Aktuell ist das Logfile der SBO-Common-DB bei 40.000 MB Größe angelangt. Als Lösung wurde mir vorgeschlagen: - DB -> Eigenschaften -> Optionen - Mode von derzeit FULL auf SIMPLE zu stellen - DB -> Task