Dateformat Questions

What is the most accurate precision a column of type Date can have? It seems that the dateformat only has precision up to a second. I would like if anyone could confirm that second is indeed the most precision you can have in dateformat.
What is the effect of ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD'?
When I selected sysdate from dual the result was the same as before: 11/29/00 10:27:02 AM.
Eivind

Hi.
Oracle date precision is limited to seconds. If you want more you will have to write an external procedure (java, vb, c etc.) to pick up the milliseconds and store it in another column for later use.
Doing this will make date comparisons more tricky!
Cheers Tim...

Similar Messages

  • Questions, Suggestions, Bugs - results from 7-day workshop

    Last week we (AMIS that is) finished yet another JHeadstart workshop with one of our customer’s development teams. In this workshop we focused on Struts, BC4J and both JSP and UIX. (so no Toplink this time). By the way: we used JHeadstart 9.0.4.5 in conjunction with JDeveloper 9.0.4.
    Over the course of this 7 day workshop we had several discussions, most of these the result of our customer’s ambition to generate all or most of an application they had already developed manually using the Web PL/SQL Toolkit and integrated with Oracle Portal. These discussions resulted in several questions/suggestions/enhancements requests. I list them below to inspire future releases.
    Questions:
    ·     Why does JHeadstart not make use of the UIX-Struts integration (see Chapter 15 of the UIX developer’s Guide)?
    ·     How do you specify which columns/attributes in a Table Layout are sortable?
    Suggestion/Enhancement Requests:
    ·     Offer the possibility to generate Regions “Side by side” instead of always below each other
    ·     Could you provide the same kind of “nested navigation” on persistentAttribute for BC4J as you offer for Toplink, e.g. through the use of Jakarta Commons BeanUtils in DataObjectImpl.getAttribute()?
    ·     Allow Master-Detail with Detail Table-Form layout style and same page is true (at least a recipe, preferably full generation) (I do understand that having multiple Child-table-layouts with Details-buttons on the same Master-page could be an issue due to the conflicting details-events, but surely one can be arranged?)
    ·     Generation of breadcrumbs for JSP
    ·     Allow us to specify for a file upload which attribute will hold the filename; allow us to specify for download which attribute will provide the filename (for the save as dialog in the browser) and possibly the mime-type.
    ·     Allow an Alt-text property to be defined for attributes with Display Type = Image; this alt-text property can refer to another attribute.
    ·     In Jsp: Display Type displayField should generate a <bean:write> instead of a disabled <html:text> field. For domain-based attributes that are normally rendered using a pop-list (Choice), a displayField requires additional logic to display (bean:write) the meaning rather than the value
    ·     Allow the prompt to be empty (if you leave the prompt property empty, the generator will use the attribute name; you can not explictly leave it empy; the workaround is to type a single space for the prompt)
    ·     Provide a way to preview the defaults that the generator will use for properties that are not explicity set OR provide a way to explicitly set those defaults as values on the Entity Object’s attributes
    ·     Allow the Domain and Region-properties to be set through a Combo-box with a list of the available Domains and Regions
    ·     Make the private members in oracle.jheadstart.model.bc4j.handler.DataObjectImpl protected, so that a subclass can access those variables
    ·     Allow us to specify a “split prompt” , for example Weight|kg that would display as Weight …. (field) kg; make the JDG pick up split prompt from Designer and set accordingly in the VO Attribute.
    ·     Allow the definition and generation of separate prompt and hint values for Find, Table and Form-page
    ·     Provide a utility to copy VO Attribute properties between ViewObjects (or even to copy entire ViewObjects)
    ·     Documentation: provide a JDG Reference “to-from” in addition to “from-to”: it is very convenient when trying to generate an application using the JDG if you can easily find out what you have to do set in Oracle Designer in order to achieve some result in the generated application. For example: how do I generate a Table-Form layoutstyle?
    ·     Provide a shortcut to run the JDG again, with the exact same settings as the previous run; this makes incremental development using the JDG a lot more convenient; having to walk through the entire wizard for every little change in Designer is rather a pain.
    ·     Provide properties in the Group, Lookup and Region elements in the Application Structure File (editor) for recording post-generation changes
    ·     Generate Regions (minus Table Summary items) in Detail Disclosure
    ·     Provide (style)Class property on ViewObject Attributes and generate the styleClass property for UIX elements or a class property for JSPs (if the Struts tags do not cater for a Class property, you can also generate a <SPAN class=””> around the JSP items)
    ·     Provide a shortDesc or altText property for VO Attributes; these are turned into popup texts on items and can for example provide popup hints in a Table Layout; generate the UIX shortDesc property.
    ·     Provide preComment and postComment properties on VO Attributes, Groups and Regions; the values of these properties should be generated into the UIX or JSP pages as <!-- preComment value --> and <!-- postComment value -->. Not only does this allow better documentation of the generated sources, it also provides hooks for post-generation utilities.
    ·     Support displayType numberField/numberItem; this in UIX would render a right-aligned input-item
    ·     Allow specification of dateFormat at VO Attribute level (in addition to Service Element)
    ·     Switch to JSTL from the Struts tags – at least for bean:write (c:out) and all logic tags; configure new JHeadstart projects for JSTL (libraries, taglibs, web.xml etc.)
    ·     Allow multiple values to be returned from a List of Values
    ·     Allow an onBlur property on VO Attributes; this property includes a piece of JavaScript to be executed on leaving the item; the code may refer to other items in the same record. Ideally also provide other event-triggers such as onFocus, onMouseOver etc.
    Bugs?? We ran into some issues that may indicate bugs
    ·     The Master-context in UIX pages for Detail Group, Table-Form (same page false) is missing
    ·     Master context in JSP voor Detail Group, Form page (same page false) is missing
      Watch this Topic      Copyright 2004, Oracle Corporation. All rights reserved. About OTN I Contact Us I About Oracle I Legal Notices and Terms of Use I ·     A ViewObject Attribute with displayType File Upload seems to result in a html:file element that pastes the contents of the file into the HTML Page: <input type="file" name="PublisherLogo" maxlength="100" size="30" value="ÿØÿà JFIF H H ÿÛ C ? $.&#39; &quot;,# (7),01444&#39;9=82&lt;.342ÿÛ C etc It would seem that the value attribute of the <html:file> element should explicitly be set to an empty string
    ·     (I am not absolutely certain that this is really the case, but we have seen this behavior several times) The JDG seems to generate a faulty BC4J Design for JDeveloper 9.0.4: when running the JDG for the second time for a Module, a second, similar ViewLink is created where the JDG should overwrite a previously created one. In the BC4J Tester we could still see the data, but in the generated application, we could not find the children of the masters through this duplicated ViewLink. Removing the second viewlink did not solve the problem. Creating the ViewObjects and ViewLinks from scratch in Jdeveloper (i.e. not through the JDG) worked fine.

    In the meantime, I can answer to your questions:
    · Why does JHeadstart not make use of the UIX-Struts integration (see Chapter 15 of the UIX developer’s Guide)?This has been done to allow the same page to be run both with Struts and MVC Framework, without needing to change the page. Using the UIX-Struts integration would have made the pages 'controller aware'.
    · How do you specify which columns/attributes in a Table Layout are sortable?As far as generation is concerned, you can only specify the whole table to be sortable. In case of UIX you can post-gen modify the <sortableHeader> tag of each column separately. In case of JSP you can remove the <a href> tag for each column that you do not want to sort on.
    Jan Kettenis
    JHeadstart Team

  • DateFormat parse method usage

    Hi all,
    I am using the following code to parse the date String object to Date Object -
    ======================================================================
    if(dateString == null || dateString.trim().equals(""))
    return null;
    DateFormat dateFormatter = DateFormat.getDateInstance(DateFormat.SHORT,
    Locale.getDefault());
    Date d = null;
    try
    dateFormatter.setLenient(false);
    d = dateFormatter.parse(dateString);
    catch(ParseException pe)
    e.printStackTrace();
    =================================================================
    This code works perfectly for all formats of String objects I give except for the format - "12/12/12/1" in which case it converts to following date object -
    "Wed Dec 12 00:00:00 IST 2012" although its an invalid date String.
    Please let me know how I could have correct validation done in such cases or if this is the right behavior for DateFormat class.
    Thanks in advance!!

    I'm not going to comment on how exactly the parse method does its business, but I can suggest you use a regex pattern to validate the input you will send the parse method.
    Here is some info from the CodeProject website on date validation(Note that this is aimed at .NET - but regex works the same in Java as it does in .NET [i think]):
    Dates: As with numbers, we need two validators: a key-press validator, and a completion validator. The key-press validator can be pretty simple, if we limit how our user enters the date. Let’s say that we want to validate for the U.S. date format mm/dd/yyyy. Here is a validator that will do that:
    ^([0-9]|/)*$
    The regex reads: “Match any string that contains a sequence of zero or more characters, where each character is either a digit or a slash.” This validator will give the user immediate feedback if they enter an invalid character, such as an ‘a’.
    Copy that regex to Regex Tester and give it a try. Note that the validation fails if the user enters dashes, instead of slashes, between the parts of the date. How could we increase the flexibility of our regex to accommodate dashes? Think about the question for a minute before moving on.
    All we need to do is add a dash to the alternates group:
    ^([0-9]|/|-)*$
    We could add other alternates to make the regex as flexible as it needs to be.
    The completion validator does a final check to determine whether the input matches a complete date pattern:
    ^[0-2]?[1-9](/|-)[0-3]?[0-9](/|-)[1-2][0-9][0-9][0-9]$
    The regex reads as follows: "Match any string that conforms to this pattern: The first character can be a 0, 1, or 2, and it may be omitted. The second character can be any number and is required. The next character can be a slash or a dash, and is required…” And so on. This regex differs from the ones we used before in that it specifies each character of the pattern—the pattern is more of a template than a formula.
    Note the first character of the regex: ‘[0-2]’. This character points out that we can limit allowable digits to less than the full set. We can also expand them; for example, ‘[0-9A-F]’ would allow any hexadecimal digit. In fact, we can use this structure, known as a character class, to specify any set of characters we want. For example, the character class ‘[A-Z]’ allows capital letters, and ‘[A-Za-z]’ allows upper or lower-case letters.
    Our date regex also points out some of the limitations of regex validation. Paste the date regex shown into Regex Tester and try out some dates. The regex does a pretty good job with run-of-the-mill dates, but it allows some patently invalid ones, such as ‘29/29/2006’, or ‘12/39/2006'. The regex is clearly not ‘bulletproof’.
    We could beef up the regular expression with additional features to catch these invalid dates, but it may be simpler to simply use a bit of .NET in the completion validator:
    bool isValid = DateTime.TryParse(dateString, out dummy);
    We gain the additional benefit that .NET will check the date for leap year validity, and so on. As always, the choice comes down to: What is simpler? What is faster? What is more easily understood? In my shop, we use a regex for the key-press validator, and DateTime.TryParse() for the completion validator.
    Oh - and there is another regex validator:
    ^[0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))$
    which matches the yyyy-mm-dd date format and also validates month and number of days in a month. Could be improved as currently all leap year dates (yyyy-02-29) will validate.
    Sorry if I couldn't be of more help...
    Edited by: JoKiLlSyA on Oct 9, 2008 11:22 PM

  • 2 simple newbie questions!

    hi, I have some simple questions. I already searched on the web for some answers but I couldnt find any :(
    1. Is there any way to make a class execute another class's method every x minutes (say 5)? like an external signal that every 5 minutes executes "regelsysteem.genereerOverzicht()"
    2. i would like to retrieve the system's current time and date (in string format), how could i do this?
    thanks :)

    1. See Timer in the API Docs.
    2. See Date, Calendar, and DateFormat ditto.

  • Astrology Java Program- a tough question

    I need someone to help me in my project...here is the question:
    Write an astrology program. The user types in his or her birthday(month,day,year),
    and the program responds with the user's zodiac sign, the traits associated with each sign
    the user's age(in years,months,day), the animal sign for the year(e.g., Year of the Pig,
    Year of the Tiger), the traits associated with each animal sign, and if the year is a leap
    year or not. The dates covered for each sign can be searched through the horoscope section
    of a newspaper or through the internet. Then enhance your program so that if the user is one
    or two days away from the adjacent sign, the program outputs the nearest adjacent sign as well
    as the traits associated with the nearest sign. The month may be entered as a number from 1 to 12
    or in words, i.e.,January to December. Limit the year of the birthday from 1900 to 2010 only.
    The program should allow the user to repeat the entire process as often as desired.
    You can use this imports:
    import java.text.DateFormat;
    import java.util.Date;
    import java.util.Calendar;
    thanks for your reply! I am hoping for your kind consideration!

    edit
    1. Please continue in your [_earlier thread_|http://forums.sun.com/thread.jspa?threadID=5429726], don't flood the forum with your homework assignment.
    2. Please confine your questions to the "New to Java" forum until such time as you can regard yourself as a Java Programmer.
    I'm locking this thread and it will be removed later.
    Edited by: DarrylBurke

  • JFileChooser and date format questions

    I have a JFileChooser that currently works - I set the default directory and allow the user to select a file or enter a file name.
    I have been asked to modify this to prepopulate the file name field on the JFileChooser.
    How do I do that? It is not obvious which method to call to set the filename field.
    Also, the file name needs to be a timestamp "*yyyyMMddHHmmss*.dat"
    I tried creating the timestamp part with the following code, but it does not format as expected.
            String s = "";
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddddHHmmss");
            try
                java.util.Date now = new java.util.Date();
                java.util.Date dat = dateFormat.parse( now.toString() );
                s = dat.toString();
            }What is wrong with this?
    Thanks.

    I don't do Swing and this is also not the subforum for Swing questions. It has its own subforum.

  • DateFormat timestamp masks

    I am writing a date generating routine based on the default DateFormat timestamp masks/time pattern Strings. This cycles through different Locales, and gives you the mask for each Locale for short, medium, long, and full format. For an API to an external script, I will need to hash the available Java timestamp masks vs. some predefined masks of my own.
    My question is this. When I review the available Locales' timestamp masks, there are symbols I don't see listed in the documentation for SimpleDateFormat. For example, a.n.j. is one mask that is listed. There is no "j" symbol listed here:
    http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
    Does anybody know where I can get a complete list of definitions for these time pattern symbols?
    -Jeff

    Are you using "toLocalizedPattern()" when you print the pattern Strings? toLocalizedPattern() returns the pattern String of DateFormat in a locale specific format... meaning if the locale is set to de.DE (Germany), toPattern will return dd.MM.yy (for SHORT), but toLocalizedPattern will return tt.MM.uu (tag for day and Uhr for year). Could this be what you are seeing?

  • First CFC question

    Ok, I'm working on my first CFC, and having some problems.
    The code I have
    so far is:
    <cfcomponent displayname="duplicate" hint="Duplicates
    local club
    tournaments">
    <!--- This function retrieves all customers from the
    database --->
    <cffunction name="getinfo"
    hint="Gets all tournament info from the database">
    <cfquery name="DuplicateTournamentList"
    datasource="SalleBoise">
    select * from clubtournaments
    where TournID=#session.tid#
    </cfquery>
    <cfset NewEventName=DuplicateTournamentList.TournName>
    <cfset NewEventDesc=DuplicateTournamentList.TournDesc>
    <cfset
    NewDateTime=dateadd("m",2,dateformat(TournDateTime,"mm/dd/yyyy"))>
    <cfset
    NewTournFoil=DuplicateTournamentList.TournFoilEvent>
    <cfset
    NewTournEpee=DuplicateTournamentList.TournEpeeEvent>
    <cfset NewType=DuplicateTournamentList.EventType>
    <cfset
    NewDuplicate=DuplicateTournamentList.TournDuplicated>
    <cfquery name="NewTourn" datasource="SalleBoise">
    insert into clubtournaments
    (TournName,TournDesc,TournFoilEvent,TournEpeeEvent,EventType,TournDateTime,TournDuplicate d)
    values
    (#NewEventName#,#NewEventDesc#,#NewTournFoil#,#NewTournEpee#,#NewType#,#NewDateTime#,#NewD uplicate#)
    </cfquery>
    <cfquery name="UpdateOldTourn" datasource="SalleBoise">
    update clubtournaments
    set TournDuplicated=1
    where TournID=#session.tid#
    </cfquery>
    </cffunction>
    </cfcomponent>
    And I'm calling it with:
    <cfinvoke component="duplicate.cfc" method="getinfo">
    And I'm getting:
    Error Occurred While Processing Request
    Could not find the ColdFusion Component or Interface
    duplicate.cfc.
    Ensure that the name is correct and that the component or
    interface exists.

    The 1 question I have with your code that is different than
    mine is the
    query. Mine, I had hoped would take the info from the
    previous event,
    and add a number of months to it before adding it into the
    table.
    It looks like yours simple duplicates the event without
    changing that
    date, correct?
    Azadi wrote:
    > first, rtfm about <cfinvoke> tag. the component
    attribute needs a
    > dot-delimited path to your cfc, i.e. if your cfc is
    stored in a
    > components folder under web root and your calling
    template is also in
    > the webroot: component="components.duplicate"
    >
    > then, it is not a good practice to access outside
    variables from within
    > the cfc - in your case you are accessing session vars.
    you better pass
    > them in to your cfc as arguments when you invoke it and
    have
    > <cfargument> tags in your function that accept
    them (see code at the bottom)
    >
    > <cfinvoke component="components.duplicate"
    method="getinfo"
    > tid="#session.tid">
    >
    > or
    >
    > <cfinvoke component="components.duplicate"
    method="getinfo">
    > <cfinvokeargument name="tid"
    value="#session.tid#">
    > </cfinvoke>
    >
    > then, variable scoping - always scope any cfc vars with
    var: <cfset var
    > somevar = something>. this will help you avoid
    variables confusion when
    > your calling page has vars with same names.
    >
    > then, even inside cfc, you should always use
    <cfqueryparam> tags in your
    > queries.
    >
    > as for your queries - the 3 of them can be combined
    easily into one.
    >
    > so your function in the end can look something like:
    > [note: query syntax is db-specific; check your db for
    correct syntax to use]
    >
    > <cffunction name="getinfo"
    > hint="Gets all tournament info from the database"
    returntype="boolean"
    > output="no">
    > <cfargument name="tid" required="yes"
    type="numeric">
    > <cfset var DuplicateTournamentList = "">
    > <cfset var result = true>
    > <cftry>
    > <cfquery name="DuplicateTournamentList"
    datasource="SalleBoise">
    > INSERT INTO clubtournaments
    > (TournName, TournDesc, TournFoilEvent, TournEpeeEvent,
    EventType,
    > TournDateTime, TournDuplicated)
    > SELECT TournName, TournDesc, TournFoilEvent,
    TournEpeeEvent, EventType,
    > TournDateTime, 1 AS TournDuplicated
    > FROM clubtournaments
    > WHERE TournID = <cfqueryparam
    cfsqltype="cf_sql_integer"
    > value="#arguments.tid#">
    > </cfquery>
    > <cfcatch type="any">
    > <cfset result = false>
    > </cfcatch>
    > </cftry>
    > <cfreturn result />
    > </cffunction>
    >
    > and your cfinvoke something like the examples above.
    >
    > hth
    >
    >
    > Azadi Saryev
    > Sabai-dee.com
    >
    http://www.sabai-dee.com/

  • Suppressing Day Light Saving in DateFormat

    Hello.
    I am having problem finding a solution to a use of DateFormat class in my application.
    A format I have in my DateFormat object is converting a long primitive representation of date and time (ie. yyyyMMddHHmm, eg. 200510300300) to a string representation in "yyyy-MM-dd HH:mm".
    Now, my time zone is in EST (GMT + 10), and has a day light saving starting from 30th October 2005, 02:00am.
    Problem is that "the" tick on 2005-10-30 02:00 gets automatically converted to 2005-10-30 03:00.
    So...
    200510300200 is converted to 2005-10-30 03:00
    200510300300is converted to 2005-10-30 03:00
    But my requirement is...
    200510300200 is converted to 2005-10-30 02:00
    200510300300 is converted to 2005-10-30 03:00
    Is there a way to do this?
    Do I have to manually convert the string/numbers without using DateFormat?
    Thank you for your assistance!

    Surely this from TimeZone answers your question?
    You can use the getAvailableIDs method to iterate through all the supported time zone IDs. You can then choose a supported ID to get a TimeZone. If the time zone you want is not represented by one of the supported IDs, then a custom time zone ID can be specified to produce a TimeZone. The syntax of a custom time zone ID is:
    CustomID:
    GMT Sign Hours : Minutes
    GMT Sign Hours Minutes
    GMT Sign Hours
    Sign: one of
    + -
    Hours:
    Digit
    Digit Digit
    Minutes:
    Digit Digit
    Digit: one of
    0 1 2 3 4 5 6 7 8 9
    Hours must be between 0 to 23 and Minutes must be between 00 to 59. For example, "GMT+10" and "GMT+0010" mean ten hours and ten minutes ahead of GMT, respectively.
    The format is locale independent and digits must be taken from the Basic Latin block of the Unicode standard. No daylight saving time transition schedule can be specified with a custom time zone ID.
    At the end it says no Daylight Savings can be specified

  • Simple question - How to find date

    Hi Experts,
    I have a simple question on date. Suppose today is Jan 4, 2010. I have to find out Jan 1, 2007 using Java code.
    I have used following code. This code will work for 2010 and 2011 properly. However it won't work properly after Feb 28, 2012. Please see "dayInMillis*1096 " portion of code. Here 365365366 = 1096.
    How I can avoid this hard coding. Do we have any simple way to get Jan 1, 2007 even without using following code.
         Calendar calendar = Calendar.getInstance();
         int lastDate = calendar.getActualMaximum(Calendar.DATE);
         int firstDate = calendar.getActualMinimum(Calendar.DATE);
         int todayDate = calendar.get(Calendar.DATE);
         int dayofyear = calendar.get(Calendar.DAY_OF_YEAR);
         java.sql.Date currentdate = new java.sql.Date(System.currentTimeMillis());
         long dayInMillis = 1000 * 60 * 60 *24; //1 day
         wdContext.currentContextElement().setFromDate(new Date(System.currentTimeMillis() - dayInMillis*1096 - ((dayofyear-1)*dayInMillis)));
    Please help.
    Regards,
    Gary

    Hi Gary,
    I am not pretty much clear with your question, whatever i have understood, i have found a way to get the previous date given the current date.
    Below is the code for the same.
                           Calendar now = Calendar.getInstance();//Jan 4, 2010
           String nowDateStr = DateFormat.getDateInstance().format(now.getTime());
           System.out.println("date now : " +nowDateStr);
           now.add(Calendar.YEAR, -3);//2007
           now.add(Calendar.DATE, -3);//1st
           now.add(Calendar.MONTH, 0);//No change in month, Jan.
           String changedDateStr = DateFormat.getDateInstance().format(now.getTime());
           System.out.println("date changed : " +changedDateStr);

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

  • Satellite P300D-10v - Question about warranty

    HI EVERYBODY
    I have these overheating problems with my laptop Satellite P300D-10v.
    I did everything I could do to fix it without any success..
    I get the latest update of the bios from Toshiba. I cleaned my lap with compressed air first and then disassembled it all and cleaned it better.(it was really clean insight though...)
    BUT unfortunately the problem still exists...
    So i made a research on the internet and I found out that most of Toshiba owners have the same exactly problem with their laptop.
    Well i guess this is a Toshiba bug for many years now.
    Its a really nice lap, cool sound (the best in laptop ever) BUT......
    So I wanted to make a question. As i am still under warranty, can i return this laptop and get my money back or change it with a different one????
    If any body knows PLS let me know.
    chears
    Thanks in advance

    Hi
    I have already found you other threads.
    Regarding the warranty question;
    If there is something wrong with the hardware then the ASP in your country should be able to help you.
    The warranty should cover every reparation or replacement.
    But I read that you have disasembled the laptop at your own hand... hmmm if you have disasembled the notebook then your warrany is not valid anymore :(
    I think this should be clear for you that you can lose the warrany if you disasemble the laptop!
    By the way: you have to speak with the notebook dealer where you have purchased this notebook if you want to return the notebook
    The Toshiba ASP can repair and fix the notebook but you will not get money from ASP.
    Greets

  • Question regarding NULL and forms

    Hi all, i have a survey that im working on that will be sent via email.
    I'm having an issue though. if i have a multiple choice question, and the user only selects one of the choices, all the unselected choices return as NULL. is there a way i can filter out anytihng that says "NULL" so it only shows the selected options?
    thanks.
    here is the page that retrieves all the data. thanks
    <body>
    <p>1) Is this your first visit to xxxxxxx? <b><%=request.getParameter("stepone") %></b>
    </p>
    <p> </p>
    <p>2) How did You Learn About xxxxxxx?</p>
    <p><b><%=request.getParameter("steptwoOne") %></b>
      <br>
        <b><%=request.getParameter("steptwoTwo") %></b>
      <br>
        <b><%=request.getParameter("steptwoThree") %></b>
      <br>
        <b><%=request.getParameter("steptwoFour") %></b>
      <br>
        <b><%=request.getParameter("steptwoOther") %></b>
    </p>
    <p> </p>
    <p>3) What was your main reason for visiting xxxxx?</p>
    <p><b><%=request.getParameter("stepthreeOne") %></b>
        <br>
          <b><%=request.getParameter("stepthreeTwo") %></b>
        <br>
          <b><%=request.getParameter("stepthreeThree") %></b>
        <br>
          <b><%=request.getParameter("stepthreeFour") %></b>
        <br>
          <b><%=request.getParameter("stepthreeOther") %></b>
    </p>
    <p>4) did you find the information you were looking for on this site?</p>
    <p><b><%=request.getParameter("stepfour") %>
    <br>
    <b><%=request.getParameter("stepfourOther") %></b>
    </b></p>
    <p>5) Do you plan on using this website in the future?</p>
    <p><b><%=request.getParameter("stepfive") %></b></p>
    <p>6) What is your gender</p>
    <p><b><%=request.getParameter("stepsix") %></b></p>
    <p>7) What is your age group</p>
    <p><b><%=request.getParameter("stepseven") %></b></p>
    8) Would you like to take a moment and tell us how we can improve your experience on xxxxxxxxxx?
    <p><b><%=request.getParameter("stepeightFeedback") %></b></p>

    i was messing around and came up with this. it doesnt remove the null, but if it is null it adds ABC beside it. so i think i might be getting close. i just need to figure out how to replace the null.
    code]
    <b><%=request.getParameter("steptwoFour") %></b>
         <% if (request.getParameter("steptwoFour") == null ) {
         %>
         <% out.print("abc"); %>
         <% }
         %>

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • Basic question

    Hello, i have a basic question. if i have defined 2 fields in a cube or a dso:
    Name Quantity
    and from the external flat file i get some characters for my quantity field. would my load fail?  for standard dso and for write optimized?
    NOTE: quantity field is a keyfigure defined as numeric.
    and the load coming in has "VIKPATEL" for Quantity field and not numbers.
    thanks

    Hi Vik,
    Yes, the load will fail.
    May be you coud first load this data into BW (into PSA) and set both fields as characters fields. Then you can create DSO, do transformation from this PSA to the DSO, and put your logic as to what do you want to do with those Quantity that is not number (e.g. convert to 0, or 'Not assgined', etc).
    You can use transfer rule, or a clean up ABAP code in the start routine.
    Hope this helps.

Maybe you are looking for

  • Text in accordionwidget 'wobbles' in the different states

    Staggered text. I cannot seem to keep the text in textboxes in place in the different states. What do I do wrong? I work with a Wacon tablet pen. Do I translocate textboxes in different states little bits unnoticed? To keep the text in place I try to

  • Can't get in and out markers to work

    In Pro 7, I can't find the In and Out markers on some clips I've downloaded off Limewire. When I go File:New audio and record blank noise for a few seconds, the markers appear. How can I get the markers and trim down my Limewire clips? Thanks g5 dual

  • System broke after major update

    I did a pacman -Syu and now anything I try to do gives this error: "error while loading shared libraries: lib(whatever).so.x: cannot open shared object file: No such file or directory" I can log in and get a bash prompt but most commands don't work.

  • How to read multiple segments with same name in IDOC

    I want to read segments in IDOC say e1edk02.I am using orders05 idoc. BUT If I use the statement CONSTANTS :             c_segnam1     type  char19 value  'E1EDK02'. read table idoc_data into wa_idocdata with key segnam = c_segnam1. It will read only

  • Behavior of query to blob service with prefix/delimiter parameters with 2009-09-19 REST API

    I'm having trouble properly accessing the blob storage service using raw HTTP requests.  So far, listing raw container contents has worked as expected. Using just a delimiter to simulate directories in the root of the container also works fine. Howev