Date Format of a particular R3 system

Hi,
I am trying to find out the system date time format for an R/3 system because in our network some machine has YYYYMMDD and some has DDMMYYYY. Is it stored in any table that I can write select statement in ABAP to obtain it somehow? I would appreciate if anyone can help point me out.
Thanks in advance,
Sunny

Even i faced similar kind of problem in one of my object, here is what i did...
SELECT SINGLE datfm
FROM usr01
INTO w_datfm
WHERE bname = sy-uname.
IF sy-subrc EQ 0.
CASE w_datfm.
WHEN 1.
CONCATENATE l_dd  l_mm l_yy INTO bkond2-datbi.
WHEN 2.
CONCATENATE l_mm  l_dd  l_yy INTO bkond2-datbi.
WHEN 3.
CONCATENATE l_mm  l_dd  l_yy INTO bkond2-datbi.
  WHEN 4.
CONCATENATE l_yy  l_mm  l_dd INTO bkond2-datbi.
WHEN 5.
CONCATENATE l_yy  l_mm  l_dd INTO bkond2-datbi.
WHEN 6.
CONCATENATE l_yy  l_mm  l_dd INTO bkond2-datbi.
ENDCASE.
ENDIF.
ELSE.
MOVE-CORRESPONDING product_list_price TO wa_error.
This should work in whatever format the setting is....

Similar Messages

  • Date format in Finder

    Swedish Leopard 10.5.2
    In the Finder's list view, is it possible to alter the date format shown? In the system settings, there are 4 different date strings available to alter (I don't want to start by altering them if I don't need to). Loosely translated from Swedish, they are called "Short", "Normal", "Long" and "Full".
    Finder displays the "Full" date format, followed by the time. I would like to change this to display the "Short" date format instead. Is this possible somehow? I know I can turn off showing dates as "Yesterday" and such, but that is NOT what I'm after. I want to display the date as set by the "Short" date format in the system settings.
    Is this possible to somehow achieve with some "defaults write" command in the terminal? I am new to OS X, but not afraid to fiddle with things like this.
    Thanks for any response on this.

    There are four different date formats in International, System preferences.
    The Finder seems to use all of these depending on the width of the time column.
    I myself don't like the appearance of the date and time changing with the width of a column.
    In particular I don't like the date with names for months; it's annoying for comparison.
    The only way to always get the same date/time in list view of the Finder is to make all date formats
    (short,medium,long,full) the same. That's what I have done and now I have what I want.
    It won't win a beauty contest.

  • Problem with date format dd/mm/yyyy. But I need to convert yyyy-mm-dd.

    Dear friends,
    I have the problem with date format. I receiving the date with the format dd/mm/yyyy. But I can upload to MySQL only in the format of yyyy-mm-dd.
    how should I handle this situation, for this I've created these code lines.But I have some problem with these line. please help me to solve this problem.
    String pattern = "yyyy-mm-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("2006-02-12");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I need the date format in yyyy-mm-dd.
    regards,
    maza
    thanks in advance.

    Thanks Dear BalusC,
    I tried with this,
    rs.getString("DATA_SCAD1")// where the source from .xls files
    String pattern = "yyyy-MM-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("DATA_SCAD1");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I want to display the date format in yyyy-mm-dd.
    regards,
    maza

  • Date Format in BW

    The date format accepted in the BW system is of the form yyyymmdd.
    But i have the flat file from the user which contain the below format : yymmdd.
    Kindly let me know how can i change the date format from yymmdd to yyyymmdd.
    Thanks in advance,
    Rachu

    please check the extract structure as to what is the format of date you are using , it should be of type D.
    also in BW the value has to be assigned to a date and as mentioned previously , the key field structure has a bearing on number of records updated. Also check the delta setting for finding out how delta is handled.
    As for date - it should be mapped to a DATS field only. and if this does not sole your problem , the conversion exits for the data element is absent either in R/3 or BW.
    Arun

  • I want to change the date format MM/YYYY to MM.YYYY in web report

    Hi to all experts,
       Here  the problem is: when i run a report for variable input when we select date as MM/YYYY its getting error . Here i need to change MM/YYYY to MM.YYYY. can u please tell me where exactly i need to change means in BEx or Web? if it is BEx where it is exactly pls tell m ethe step to step procedure.
    Its urgent!
    ( I will assign the points if its useful to me)
    Advance Thanks,
    Shah

    Hi Siggi,
            In su01 if we go  and change the date format from MM/YYYY to MM.YYYY  for a particular user ex:ss11 , if another user ex:bst55 try to run the web report he/she may get same error .If we make the change in su01-> default tab->under date format for a particular user , is it work for other users?
    Can u tell me step by step where exactly we need to go in AWB and where need to modify.
    I am looking for ur answer.
    Thanks in Advance
    Shah

  • Line Chart - date format

    Hi,
    i have some troubles with a "normal" line-chart. (graphType="LINE_VERT_ABS")
    The data is something like that:
    xvalue           yvalue
    01.01.2006     100
    02.01.2006     101
    03.01.2006     102
    04.01.2006     101
    01.02.2006     102
    02.02.2006     102
    03.02.2006     101
    01.03.2006     100
    02.03.2006     99
    03.03.2006     101
    I define the chart with:
    groups="xvalue" dataValues="yvalue"
    worked fine, BUT:
    I had to change the date-format from dd.mm.yyyy to "only" mm/yy.
    Now just 1 yvalue of every xvalue-group is displayed - the chart has only the following points:
    xvalue          yvalue
    01/06          100
    02/06          102
    03/06          100
    Does anybody know a solution where every point is shown just with the other date-format?

    Change your default system date format.

  • Date format on top right corner

    I have set the date format to European style in system preferences. It shows correctly in Finder's file view. However, the date format on top right corner still display in American format. It seems the date does not follow the setting in system preferences. Pls advise where to change it to European format. Thanks!

    From the Region menu in the preference pane, select one of the preset regions. If one is already selected, choose a different one, then change it back. Close the window and test.

  • How can I permanently change the date format from the American format to the UK's without having to constantly change it manually every time I start a new spreadsheet?

    This is my first mac so I'm still getting my bearings with it. I've only used Windows programmes before. I can't understand why it's so hard to change the date format of the cells in Numbers to keep it showing the UK format. The system preferences of the mac show that it's in the correct region and has the correct date but this doesn't seem to transfer into the Numbers program. I was very impressed with the mac until I discovered this. If anyone knows how I can get the date to stay in the correct format without having to go through the process of altering it in the cell inspector everytime then I would be very grateful.

    Numbers & most apps, especially those from Apple, use the date format you have set in System Preferences > Language & Text > Region. You can then choose UK from the Region drop-down list. Mine says Custom because I've defined things further as in the second screenshot.

  • How to take System Date format

    Hai,
    DateFormat class has various date format like DEFAULT, SHORT, MEDIUM, LONG. These format will display the date in a particular format. As well as Using SimpleDateFormat class we can give our own format.
    I want to display the date with system date format. In our system we can set any date format using control panel. But how can we take that format from our program.
    If any one know give me idea..
    Thanks.

    The default locale should be enough to set the correct date format for you. You can check the currently set locale with java.util.Locale.getDefault(). java.text.DateFormat.getDateInstance() generates the proper date format for that locale.
    The other poster is right, though. You're asking for an OS dependant function which Java, rightly, does not do.

  • How to convert date format in R3 system

    hi
    i have the problem converting the date formate in bapi
    for that i take value attribute value and map it
    with
    but it shows error

    public void checkDateInPast(java.lang.String fieldName) {
    //@@begin checkDateInPast()
    IWDMessageManager msgMgr =
    wdComponentAPI.getMessageManager();
    Date theDate = (Date)
    wdContext.currentContextElement().getAttributeValue(fieldName);
    IWDAttributeInfo attributeInfo =
    wdContext.getNodeInfo().getAttribute(fieldName);
    if (theDate.after(new Date(System.currentTimeMillis()))) {
    String fieldLabel =
    wdContext.getNodeInfo().getAttribute(fieldName)
    .getSimpleType().getFieldLabel();
    msgMgr.reportContextAttributeMessage(
    wdContext.currentContextElement(),
    attributeInfo,
    IMessageSimpleErrors.DATE_IS_IN_FUTURE,
    newObject[] { fieldLabel, theDate },
    true);

  • How to show date with format conforming to system date format ?

    Hi all,
    I write Java program running on Windows 2000 Advanced Server.
    I want to show date in a status bar with the format the same as that in system date format where the program resides, so when I change the date format through the regional setting, I expect that the date format in the status bar will adjust accordingly.
    But it seems that program fails to do so, the program keeps showing short date format MM/dd/yy. I've tried to use SimpleDateFormat.getDateInstance() method, but the result is the same.
    Any suggestion would be greatly appreciated.
    Setya

    Hello Setya !!
    I have the same problem as you.. Did you find any solution for this?
    Thank you,
    Claudia

  • How to get the system date format string?

    Hello, everybody!
    I want to create a MaskFormatter with a mask for dates. So, I could suply as the constructor parameter: "##/##/####'. However, what if the year comes first in the current system date format settings, or the month is in the second place or in the first?... So, I can't just suppose that the current locale format for dates is like the one above. So, my question is: is there a way to get the SYSTEM DATE FORMAT STRING in Java? Searching in google I saw that this was already asked in this forum:
    http://forum.java.sun.com/thread.jspa?threadID=301034&messageID=1193794
    but there was no effective answer. Does someone already know how to get this?
    Thank you.
    Marcos

    Hi, not sure, but
    import java.text.*;
    SimpleDateFormat sdf = new SimpleDateFormat();
    System.out.println(sdf.toPattern());
    will output something like dd/MM/yy HH:mm
    hthThank you very much. It worked.

  • How to pass date parameter in URL in system date format

    Hi All,
    I am working on a requirement where I need to pass the date parameter in URL. Where date format needs to be system default date format. How can we format date without providing specific date format.
    Also, I got some post which had below example. Can you let me know what this format does.
    '/analysis/report?queryGroupName=Custom-ProjectInfo&TimePeriodBeginning=', <%+%> FCI_CHARFMT(TIME_PERIOD_START_DATE),' <%+%>
    '&TimePeriodBeginning_format=17&link_crumb=true'
    Waiting for response.
    Thanks,
    Saloni

    Hi,
    If you're running this in SQL*Plus, you can use substitution variables.
    If you have a file called my_query.sql, like this
    select    A.agent_no,
              (a.first_name || A.agent_name)     as agent_Name,
              P.Policy_No,
              D.Driver_No,
              D.mvr_predict_score,
           D.mvr_received
    from        policy  P,
           agent   A,
           Driver  D
    where       D.request_mvr_hit   = 'M'
    AND       D.mvr_predict_Score > 540
    And       D.request_mvr          = 'D'
    AND        p.fullkey           = d.fullkey
    AND       p.agent_no          = a.agent_no
    AND       d.mvr_received     >= TO_DATE ('&1', 'DD-Mon-YYYY')          -- New
    AND       d.mvr_received     <  TO_DATE ('&2', 'DD-Mon-YYYY') + 1     -- New
    order by  a.agent_no,
                 CASE  a.producer_type
               when  'S'  then 1
               when  'C'  then 2
               when  'R'  then 3
           end
    ;Then you can run it from SQL*Plus by saying something like:
    @my_query  1-Jan-2009  31-Dec-2009&1 in the script will be replace by the 1st argument (1-Jan-2009) and &2 will be replaced by the 2nd argument (31-Dec-2009).
    Notice that the last condition adds 1 to the argument
    AND       d.mvr_received     <  TO_DATE ('&2', 'DD-Mon-YYYY') + 1     -- Newbut uses the < operator (not <=). The result is that if mvr_received is any time on the last day (e.g. 31-Dec-2009 11:59 pm) will be included.

  • System date format in reports (winnt)

    Hello All,
    I am using oracle report bulder 6.0.5.35. on winnt
    i have to show all the date fields in my report in the system format (as specified in the regional settings in control panel)
    i couldn't find a direct solution, so what i did was to create a user defined parameter and pass the system date format as a string to the report at runtime (this report is invoked from VC++, so i can pass the local setting as a string at runtime)
    after this, in BEFORE REPORT trigger i use the following code
    dbms_session.set_nls('nls_date_format',:dat);
    --where dat is the user parameter.
    shouldn't this change the date format for the current session. but this is not happening. (i have not set date formats for any date fields in report)
    i am not getting the output in format that i passed, but always i am getting in 'dd-mon-yy' format.
    can anybody please help. is there any other solution.
    thanks and regards,
    Pinto.
    null

    hello,
    the DBMS_SESSION changes the settings on the database side. as reports has it's own client-side NLS settings this does not have any influence on the output.
    the client-side settings are defined by the NLS_LANG settings in the registry on the client.
    regards,
    the oracle reports team

  • External date format in oracle source system

    Hai friends ,
    My situation is data reconciliation on the cube .I have virtual provider designed with date .My oracle source system has dates in external format say 19-sep-2009 .How to approach my virtual provider in BI with these date fields ..
    iam thinking of inversion routines to communicate with the source system and then reconvert again to BI format in the start routine .Suggest me if any logics with examples.
    Goodday.

    Hello,
    Please refer to the information in the SAP note 518241 , the note refers to DB connect but the section in the note on converting the
    date fields to SAP date format should also be helpful in your case.
    Best Regards,
    Des

Maybe you are looking for

  • Is there a way to manually reset firewire bus(ses)

    I'm running Logic Studio (9) through an mLan Presonus Firestation and Yamaha Motif Rack XS. I have an addition al firewire card installed attached to a Focusrite Liquid Mix. The system is stable but isn't so flexible. If I change sample rates by mist

  • Restoring Entire System with Time Capsule

    Hello, I configured my Time Capsule with custom user accounts (AirPort Utility -> Disks -> File Sharing -> Secure Shared Disks: with Accounts). I think this may be causing a problem with selecting a backup source for an entire system restore to a re-

  • Rebate Agreement Issue.

    Dear Gurus, My client's requirement is like this. Quantity and rebates are given below. Qty       Rs 100     10 200     20 300     30 400     40 This rebate agreement is on monthly basis. If the customer buys 100 tonnes then accrual is 100*10 Rs. Lik

  • Configuration of DI SSO with Configuration Wizard not working

    Hi All, I've installed CE 7.2 and connected it to an existing SLD. I'm running Configuration Wizard -> DI landscape SSO configuration for the SSO between NWDI and SLD components and getting error in the step -> Get J2ee Partner Sid Binding with error

  • Flickering dialogue box in Help

    I bought my MacBook two days ago. There is a problem when I access 'Help'. On the second page in, the dialogue box flickers and is present only half the time. Apple Support say take it back to the retailer. The retailer is re-installing the software