#ERROR message in report for date format conversion

Dear Collegues,
Why is it that I get #ERROR message (instead of date value) in my report when I use the formula
=ToDate(UserResponse("Enter End Date:");"dd.MM.yyyy")   ??
When I only write UserResponse("Enter End Date:") I get the appropriate date, f.ex 5/12/2009. This is american standard for 5th of may, I need to see it like 12/05/2009.
If I try to just enter the date object behind the prompt ([Settlement Date]) i get message #MULTIVALUE even though I have promptet for 1 special date...
Is there another formula I can use to get the right format? I can't adjust the format using properties, it doesn't make any difference, the settings I put in there.
Regards Silje

Thank you for the very quick answer! Using FormatDate() I get an error message while validating the formula:
The expression or sub-expression at position 12 in the FormatDate function uses an invalid data type. (WIS 10037)
I tried making a variable inside BO called [End Date] = userResponse("Enter End Date:") but I get the same error message then. Creating a variable you can only choose between Dimension, Measure and Detail, not Date. Is that some of the reason?
Finally I tried FormatDate([Settlement Date]; "dd.MM.yyyy"). Validating the formula I get the message that the formula is correct, but in the report the field containes message #MULTIVALUE...
SILJE

Similar Messages

  • Error message in Opportunity for dates

    Hi,
    I am facing a problem in finding the reason why an error message is coming.
    We have an opportunity and there is a validation stating that Start date shoudl not be greater than closing date.    I have checked the opportunity it carries correct values.  I have Start date is lower than closing date but even then I am getting an error on opportunity stading that Closing date is less than start date.  I have checked the badi I have kept the break point in all the place where ever this message is getting fine but no were it is getting stopped.   But even then I am getting this error message.
    Please help me .
    How to remove this error.
    Thanks
    naveen

    Resolved

  • Function module for date format conversion

    hi ,
    Can someone plzz tell me if there is a SAP standard function module that can convert date of any format to date of a particular format .
    Thanks
    Sheetal

    Hi,
    Data: V_date(10) type c.
    v_date = 'yyyy/mm/dd'.   " your format.
    write : v_date using edit mask '__/__/____'   " this will conver the format
    If you want the user specfic format, then use the below code
    Data: Date1 type Sy-datym,
             Date2(10) type c.
    date1 = Sy-datum
    Write: Date1 to Date2.
    Write:/ Date2.  " This Date2 will have the user Specif format
    Regards
    Sudheer

  • Regarding Date Format Conversion

    Hi,
    In my project i am picking the date from the date picker which is a javascript program . Then i am displaying it on a jsp page .It is coming in mm/dd/yyyy format .I have to change it to dd/mm/yyyy format .
    I have the code for date formatting conversion .
    What my doubt is whether  the code should be written inside the jsp page or in the javascript .
    Thanks .

    Hi
    <%@page language="java" import="java.sql.*,java.util.*,java.text.*" %>
    <%SimpleDateFormat sdf= new SimpleDateFormat(dd/mm/yyyy );%>
    <% java.util.Date temp_date = sdf.parse(PassYourDateHere); %>
    use this with your jsp
    Regards
    Abhijith YS

  • Input Value long enough for date format ,Error in executing parallel query

    Hi,
    My Table: ANML( ID, STATUS,B_DATE,B_MONTH,B_YEAR, DEATH_DATE)
    status 1 for alive and 2 for dead.
    i wrote a view to get age.
    as
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top
    when i tried to fetch all values from view its working fine.
    But when i tried to fetch values based on condition like as follows,
    select * from view1 where anml_age > 20 and anml_age<30
    I am getting error like:
    Input Value long enough for date format and Error in executing parallel query
    Please tell me wht is wrong.

    Here is your formatted code
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top

  • How to keep the field open for input with error message in report program

    Hi,
      Need a help in solving the below issue.
    "How to keep the field open for input with error message in report program"
    Regards,
    C.Shasiraj.

    Hi...
    you have to use the event:
    <b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
    u have to give an error message in this event.
    Consider the following <b>Example:</b>
    <b>PARAMETERS : NUMBER TYPE I.
    AT SELECTION-SCREEN ON NUMBER.
      IF NUMBER = 10.
        MESSAGE 'Number vakue is 10' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE NUMBER.
    </b>
    in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
    Execute this program once u will understand....
    also Consider the following links :
    <b>Regarding events:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
    <b>Regarding messages:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    This is very useful.......
    Reward points if useful....
    Suresh....

  • Error Message "No batch input data for screen SAPMF05A 0700" for FV60&FB60

    Dear All,
      I doing a BDC Upload program for Create Vendor Invoice and Park using FV60 ,But i can't upload successfully by Batch Input method and i am gettin the Error Message "No batch input data for screen SAPMF05A 0700'.I tried using FB60 and got the same error message. When i do in the direct method i can able to do it ,But can't park the document successfully and can do it untill sumilate only.
    How to overcome this issue and if you already encounter this kind of problem please advice me.
    Thanks in Advance.
    Deesanth

    Hi,
      Below is my recording.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'INVFO-ACCNT'  gwa_inv_up-lifnr.
        perform bdc_field       using 'INVFO-BLDAT'  gwa_inv_up-bldat.
        perform bdc_field       using 'INVFO-XBLNR'  gwa_inv_up-xblnr.
        perform bdc_field       using 'INVFO-BUDAT'  gwa_inv_up-budat.
        perform bdc_field       using 'INVFO-MONAT'  '9'.
        perform bdc_field       using 'INVFO-BLART'  gwa_inv_up-blart.
        perform bdc_field       using 'INVFO-WRBTR'  gwa_inv_up-dmbtr.
        perform bdc_field       using 'INVFO-WAERS'  gwa_inv_up-waers.
        perform bdc_field       using 'INVFO-XMWST'  gwa_inv_up-xmwst.
        perform bdc_field       using 'INVFO-MWSKZ'  'P0'.
        perform bdc_field       using 'INVFO-SGTXT'  gwa_inv_up-sgtxt.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=PAYM'.
        perform bdc_field       using 'INVFO-GSBER'  gwa_inv_up-gsber.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=BS'.
        perform bdc_field       using 'INVFO-ZLSCH'  gwa_inv_up-zlsch.
        cnt = 1.
        cnt1 = 1.
        clear gwa_inv_line.
        loop at gt_inv_up  into gwa_inv_line  where indic = 'D'
                                       and count = gwa_inv_up-count.
          if cnt1 gt 1.
            concatenate 'ACGL_ITEM-MARKSP(' cnt ')' into fld.
            perform bdc_field using fld 'X'.
            perform bdc_dynpro using 'SAPMF05A' '1100'.
            perform bdc_field using 'BDC_OKCODE' '=0005'.
          endif.
          concatenate 'ACGL_ITEM-HKONT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-lifnr.
          concatenate 'ACGL_ITEM-SHKZG(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-shkzg.
          concatenate 'ACGL_ITEM-WRBTR(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-dmbtr.
          concatenate 'ACGL_ITEM-MWSKZ(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-mwskz.
          concatenate 'ACGL_ITEM-SGTXT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-sgtxt.
          concatenate 'ACGL_ITEM-GSBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-gsber.
          concatenate 'ACGL_ITEM-KOSTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-kostl.
          concatenate 'ACGL_ITEM-PROJK(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-posid.
          concatenate 'ACGL_ITEM-FISTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fistl.
          concatenate 'ACGL_ITEM-FIPOS(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fipos.
          concatenate 'ACGL_ITEM-GEBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-geber.
          perform bdc_field       using 'BDC_CURSOR' fld.
          cnt1 = cnt1 + 1.
        endloop.
        perform bdc_dynpro using 'SAPMF05A' '1100'.
        perform bdc_field  using 'BDC_OKCODE' '=BS'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE' '=BP'.
        call transaction 'FB60' using gt_bdcdata mode 'N' pdate 'S'
                                        messages into gt_bdc_messages.
    Thanks,
    Deesanth

  • Today, after having published my website without difficulty for years, I got an error message saying that the file format was unrocognized.  Anyone have any suggestions.

    Today,  after having published my website without difficulty for years, I got an error message saying that the file format was unrocognized.  Anyone have any suggestions.

    You need to give some more info.
    How are you publishing your site - iWeb FTP or another application? If the latter, is the encoding set to Unicode (UTF-8)?
    Who is giving you this message - the server?

  • RE: Oracle DATE data format conversion..

    <C.M> Motta's question about dates and oracle>
    Dealing with dates and Oracle is somewhat of a nuisance. Oracle is very
    particular about how date strings are formatted, and if you get it wrong,
    you get the (unhelpful) message that C.M. Motta showed us. However, if
    you pass a DateTimeData to Oracle, Forte' does the right formatting for you.
    If you do need to format the date prior to interacting with Oracle, use the
    following format:
    dd-mmm-yy <time component>
    You can change the default format, but it is not easy.
    If you customise Express generated code that interacts with an Oracle
    database, again, make sure that you pass a DateTimeData, and not the
    .TextValue.
    Good luck!
    Richard Kirk

    Date: Wed, 06 Nov 1996 08:18:37 -0500
    To: "C. M. Motta" <[email protected]>
    From: Jim Milbery <[email protected]>
    Subject: Re: Oracle DATE data format conversion..
    Cc: [email protected]
    Cheers:
    Most likely what is happening is that you are using the default date
    format of Oracle, and you are sending a four-character year. As follows:
    SQL> insert into jimbo values ('01-dec-1997')
    2 /
    insert into jimbo values ('01-dec-1997')
    ERROR at line 1:
    ORA-01830: date format picture ends before converting entire inputstring
    >
    Oracle defaults to a format of 'dd-MON-yy'
    You can either truncate the year, or manipulate the date to match the standard
    database as follows:
    insert into jimbo values (to_Date('01-jan-1997', 'DD-MON-YYYY'))
    \jimbo
    At 09:21 AM 11/6/96 -0200, you wrote:
    Forte Users,
    First, Id like to thank all those who answered my question on
    droplist & SQL. I got just what I was looking for: its up and runnunig
    now.
    I have another question: Im trying to insert a DATE into an Oracle
    database. The source date is:
    data : DateTimeData = new;
    data.SetCurrent();
    So, when I try to insert data.Value or data.textvalue into DB, I
    get the following exception:
    ORA-01830: date format picture ends before converting entire
    input string.
    Are there any suggestions?
    Thanks for your help,
    C.M. Motta
    ====================================================================
    Jim Milbery
    Milbery Consulting Group
    132 N. West St., Allentown, PA 18102
    O: 610 - 432 - 5350 F: 610 - 432 - 5380
    E-Mail : [email protected]
    ====================================================================

  • Supress error message in reports 6i

    I am brand new to reports.
    I validate a date parameter in the AFTerFormParmater. If the
    date is null (blanked out) I want to issue an srw error message
    and reset the date on the form to a default.
    I get the my srw error message but
    then I also get a system error message about the "trigger failed"
    how can I supress this message
    in addition - how can I reset the date so it is not blank when
    the parameter form is redisplayed.
    I cannot run the report from a normal form as I have not taken'
    the forms class yet. Everything needs to be done from reports
    itself.

    Hi Dhananjaya,
    also check this.
    Messages allow you to communicate with users from your programs. They are mainly used when the user has made an invalid entry on a screen.
    To send messages from a program, you must link it to a message class. Each message class has an ID, and usually contains a whole set of message. Each message has a single line of text, and may contain placeholders for variables.
    All messages are stored in table T100. You create and edit them using Transaction SE91. Once you have created a message, you can use it in the MESSAGE statement in a program.
    Also,
    In SE91, you can see all the error message details.
    For information, if the error message shows "V10222", you have enter the first three digits in "Message Class" and last three in "Number". This means, whatever the message number is, the last three digits has to be entered in "Number" and the value precedes this last three numeric value has to be entered in Message Class.
    And finally,
    Let me put it this way..
    Every Error Message belongs to a Message Class.
    So, a particular Message Class will have a number of Messages under it.
    You need to know the Message class first. For Sales we have the following message classes V1, V10, V2, V4, V5, VD, VU, VV, VX, WVA
    *If you want to know all the message classes available for a transaction:-*
    For knowing all the Message Classes for a particular transaction, you goto-->SE93, put the transaction code and choose display. After this, there is a button on the top (Display Object List), press that button. On the left hand side you will get the Object Name-(example: VA in case of sales). Drop down there and choose Message Classes. You will get all the message classes there.
    If you know the Message Class and want to see the Messages under it:
    So, goto-->SE91, put the message class and choose Display
    cheers,
    Hema.

  • Error while loading Reported Financial Data from Data Stream

    Hi Guys,
    I'm facing the following error while loading Reported Financial Data from Data Stream:
    Message no. UCD1003: Item "Blank" is not defined in Cons Chart of Accts 01
    The message appears in Target Data.  Item is not filled in almost 50% of the target data records and the error message appears.
    Upon deeper analysis I found that Some Items are defined with Dr./Cr. sign of + and with no breakdown.  When these items appear as negative (Cr.) in the Source Data, they are not properly loaded to the target data.  Item is not filled up, hence causing the error.
    For Example: Item "114190 - Prepayments" is defined with + Debit/Credit Sign.  When it is posted as negative / Credit in the source data, it is not properly written to the target.
    Should I need to define any breakdown category for these items?  I think there's something wrong with the Item definitions OR I'm missing something....
    I would highly appreciate your quick assistance in this.
    Kind regards,
    Amir

    Found the answer with OSS Note: 642591..... 
    Thanks

  • Firefox crashes when I open it but there is no error message or report

    Upgraded to latest version and worked fine. Today, as soon as I open Firefox it starts to load the homepages and then crashes without any error message or report. Tried to restart PC but problem remains unchanged. Thanks for your help.

    Just FYI
    QuickTime 7.7 for Leopard - http://support.apple.com/kb/dl761
    http://support.apple.com/kb/DL27 <-- Quicktime 7.5.5

  • Error message -L3199-Total for assigned quantities exceeds quantity to be removed

    Hi,
    We are facing problem in picking at last HU in WM while creating transfer order for delivery document in PRD. We reproduced same issue in QXS.
    Sales order was created with 40 Drums and also delivery with 40 Drums. Conversion factor mantained in material master is 441 DR = 30000KG, Base unit of measure is KG. While creating TO , we need to insert 5HU(each HU = 8DR) i different line items in TO . Tilll 4th HU is inserted i.e 32 DR(total)  there is no issue. But as soon as we enter 5th HU below error is throwing.
    Error Message - L3199-Total for assigned quantities exceeds quantity to be removed
    In some cases delivery qty is showing more than picked qty (in other deliveries) and hence unable to create or confirm Transfer order.
    Appreciate your comments on above issue /resolution or any OSS note/user exits/BADI exists ?
    Regards,
    Srinivas M

    there is a huge amount of decimal dust
    1 drum has a weight of 68.02721088435374
    calculating the weight of 40 drums (quantity to be removed) in one single calculation rounds different to 5 * 8 drums where you actually have 5 individual calculations with a rounding that is then added to one result (assigned quantity).
    Have a look into this KBA, as it explains different reactions based on the screens that are used.
    However, I think you will not get lucky by this workaround as the you still have inaccurate quantities for the remaining drums
    1926014 - LT03 - Overpicking allowed / not allowed during TO creation in foreground

  • Error message in reports

    Hi Friends,
    How error message occured in ABAP Reports & solution for that ?

    Hi Dhananjaya,
    also check this.
    Messages allow you to communicate with users from your programs. They are mainly used when the user has made an invalid entry on a screen.
    To send messages from a program, you must link it to a message class. Each message class has an ID, and usually contains a whole set of message. Each message has a single line of text, and may contain placeholders for variables.
    All messages are stored in table T100. You create and edit them using Transaction SE91. Once you have created a message, you can use it in the MESSAGE statement in a program.
    Also,
    In SE91, you can see all the error message details.
    For information, if the error message shows "V10222", you have enter the first three digits in "Message Class" and last three in "Number". This means, whatever the message number is, the last three digits has to be entered in "Number" and the value precedes this last three numeric value has to be entered in Message Class.
    And finally,
    Let me put it this way..
    Every Error Message belongs to a Message Class.
    So, a particular Message Class will have a number of Messages under it.
    You need to know the Message class first. For Sales we have the following message classes V1, V10, V2, V4, V5, VD, VU, VV, VX, WVA
    *If you want to know all the message classes available for a transaction:-*
    For knowing all the Message Classes for a particular transaction, you goto-->SE93, put the transaction code and choose display. After this, there is a button on the top (Display Object List), press that button. On the left hand side you will get the Object Name-(example: VA in case of sales). Drop down there and choose Message Classes. You will get all the message classes there.
    If you know the Message Class and want to see the Messages under it:
    So, goto-->SE91, put the message class and choose Display
    cheers,
    Hema.

  • I get error message user\anja\app data.....

    error message: user\anja\app data\temp\glf8de5.tmp  please help

    If you simply check the domain WERT7, you'll see that the checkbox for "Sign" is <b>not</b> checked. Therefore negative numbers are <b>not</b> allowed.
    Just because a field is decimal or currency does <b>not</b> mean that negatives are allowed.
    Many times, the sign is handled by a separate debit/credit indicator field such as a field with a domain of SHKZG.
    Rob
    Message was edited by:
            Rob Burbank

Maybe you are looking for

  • How do I take the case off to replace a Hard Drive?

    I have a 12" G4 and i've take all the screws out but and I notice a few clips by the battery but I can't seem to get the case off to get to the Harddrive. Any ideas? chad...

  • Custom Timebase in sequence settings for 15 fps animation

    I have an stop-motion project, where we are capturing images to playback at 15 frames per second. I have set up FCP to do this in the past, but I cannot find where the preference is. I thought you could just set your sequence settings to use a 15 fps

  • Attribute Functions in Oracle Project Management Setup

    I have been trying to find the functionality and applicability of the menu option " Attribute Functions" that is available in Oracle Project Management Setup. I have used attribute groups and context to create view / placeholders to capture additiona

  • Change Image of a Button

    Hey, I'm searching for the command for changing the image of a button, after that is clicked. (iPhone OS) I added an outlet to my app: IBOutlet UIButton *myOutlet1; But I don't know how to change the picture after the click! Can someone please give m

  • I have a blog with links that work in every browser except Fire Fox

    I have a blog with banners and links. These links will work in every other browser except for FireFox. However, a friend of mine has assured me they worked about 2 days ago.