Purge Data #error when UserResponse and ToDate function is used in same formula

Hi,
I have a formula which works well when there is data but when I purge the webi report I get #Error for the cells wherever I have used UserResponse and ToDate function in the same formula.
Ex: =FormatDate(ToDate(UserResponse("Enter Modified Date:");"M/dd/yyyy hh:mm:ss a");"MM/dd/yyyy")
I tired in multiple reports. I get the same error in all reports when i purge the data but when i unpurge and show the reports with data, I won't get any error.
Is this known issue? If anyone knows the solution. Please answer it.
(FYI, I am using BO4.0 SP5)
Thanks.

Thanks a lot for all your efforts in trying to find the solution to my question but the formula that you had has a error, as you were using commas instead of semicolon. If you want I can change it & it's not a big deal.
By the way, I have found even better solution.
Substrings will kill the processing time and we should try to avoid string functions as much as possible. So I used IsError function instead.
=If IsError(FormatDate(ToDate(UserResponse("Enter Modified Date:");"MM/dd/yyyy hh:mm:ss a");"MM/dd/yyyy")) Then "" Else FormatDate(ToDate(UserResponse("Enter Modified Date:");"MM/dd/yyyy hh:mm:ss a");"MM/dd/yyyy")

Similar Messages

  • Error when flattening and embeding all annotations using javascript program file "flatten.js"?

    I need to flatten an Adobe Acrobat fill-in form with annotations and after installing a javascript file, I get the option available to flatten the document under the "document" menu; however, when selected, I receive an error "An Internal Error Has Occurred".  Why am I getting this error?  How to I get rid of it and get the javascript file to work and flatten my document?  Any help would be appreciated.  Thanks.

    You almost certainly have a corrupted cache file. See Deleting a corrupted cache file.
    By the way, you could have found this information much more quickly by visiting the Dreamweaver FAQ.

  • Nested Ago and Todate function problem

    Hi,
    in my rpd i have following Time hierarchy:
    Year
    Quarter
    Month
    and a fact table Fact Shop which contains Monthly measure "Number of Hearing Aids Delivered".
    I must calculate PY_QTD, PY_YTD versions of above measure.
    I have tried to use built-in Time Functions Ago and ToDate in the following way:
    PY_QTD
    Todate(Ago("Number of Hearing Aids Delivered",1,"Time.Year"), "Time.Quarter")
    PY_YTD
    Todate(Ago("Number of Hearing Aids Delivered",1,"Time.Year"), "Time.Year")
    but when i check consistency i have error which says approximately "You can nest Ago and ToDate functions".
    There's another way, to calculate it? Can you help?
    Thanks
    Giancarlo

    So u r referring PY as previous year ;)
    Here u go;
    it’s a combination of AGO and TODATE.
    You create a value – let’s say Sales MTD by just following normal process…then you create a logical column with the following formula AGO (Sales MTD, Month Dim, 12)
    that should give you a MTD measure you’re looking for. I hope this is useful. Just dont use both function in single logical column....use seperate by first creating YTD n then AGO function to create previous year data.
    For ur case use to calculate PY_YTD use below:
    Create logical column
    Aids Delivered YTD with formula as TODATE("Number of Hearing Aids Delivered"), "Time.Year")
    and then create another logical column as
    Aids Delivered PY_YTD with formula as AGO("Aids Delivered YTD","Time.Year",1)
    This will work for sure....

  • AGO and TODATE functions

    I want to use the AGO and TODATE functions to calculate a measure for the selected year and the year before, as well as a year--o date measure, but cannot get it to work. It fails with the following error:
    A general error has occurred. [nQSError: 22040] To use TODATE function, the storage level of the query ('[D_TIJD.TIJDKEY]') must be a static level.
    I have setup a time dimensions in which I can drill up and down and followed exactly the same steps that were layed out in the Oracle training activity guide, but so far without any luck. From Mark Rittman's articles I learned that using these functions is not as straight forward as one might hink. Does anybody have a working example of this?
    Regards,
    Paul

    To reply to my own question. It appears I got it working, that is, the error message problem is solved, but I still have questions on how to use these functions.
    To get it to work, I added the primary key D_TIJD.TIJDKEY at the level of the lowest grain in my dimension (level tab).
    What I still wonder is how to make it select the right values. I have the following hierarchy: bookyear - bookperiod - week. A bookperiod contains 4 or 5 weeks (4,4,5 in a quarter), so 12 periods in one year. I defined a measure at period level and another at that level with the ago function, that should return the figures for that same period of the year before. My first question is, whether to go back 12 periods or 52 weeks (which is the lowest grain in my dimension)?
    The second question is how to use a combination of TODATE and AGO so that if I calculate the current period (of which only 2 weeks are passed), I also only want to include the same two weeks for that period one year ago in order to make a correct comparison. How do I do that???

  • Error when calling SOAP Runtime functions - Please help!

    Hi,
    Very new to SAP. I just installed SAPNW7.0ABAPTrialSP12 (sandbox server, with default options) and setup the
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/7c623cf568896be10000000a11405a/content.htm">Flight Data</a>.
    I wanted to invoke some of the Flight Data functions through SOAP. So I invoked the following URL:
    http://localhost:8000/sap/bc/srt/rfc/sap/BAPI_FLIGHT_GETDETAIL?sap-client=000&wsdl=1.1
    I get the following error:
      The following error text was processed in the system NSP : Error when calling SOAP Runtime functions
    The error occurred on the application server hs_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: HANDLE_REQUEST of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
          Method: HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
          Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
          Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
          Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
          Module: %_HTTP_START of program SAPMHTTP
    FROM Runtime Error Log:
    Runtime Errors                     UNCAUGHT_EXCEPTION                                                          
    Exception                          CX_SOAP_CORE
           Termination occurred in the ABAP program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCP" -                
               in "HANDLE_REQUEST".                                                                               
    The main program was "SAPMHTTP ".                                                                               
    In the source code you have the termination point in line 37                                 
              of the (Include) program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCM004".
    Does anyone have any ideas on what is going on? Thanks in advance.

    Hi,
    Have a look at this blog from Michal Krawczyk to find a solution:
    The specified item was not found.
    Hope this helps,
    Grzegorz

  • Error when workflow created from Function Module

    Hi All,
    I am trying to implement leave module workflow for one of my requirement.
    when i create a leave from PTARQ transaction workflow it is being triggered, but when i tried to do the same from a custom function Module using the same FMs used in PTARQ, workflow initiated but stopped at initial stage( at switch branch )
    i went to SWI1 transaction and executed it manually, it end up with error saying ' Error when starting a SWITCH branch'
    what should i do to move it forward.
    Thanks,
    Krish.

    Hi Kishore,
    For leave workflow, SAP has the separate frame work. They called the FM SAP_WAPI_START_WORKFLOW and pass all necessary data's to Process the leave workflow.
    Its not advisable to overwrite the standard behavior. Please check your 'REQ' workflow container in the log. There will be a no data or Some data's might be Missed.
    Before Call the FM, make sure that all data's are passed to the Table parameter, SImple_Container.
    The reason for the Error in your workflow is, there is no data stored in REQ.STATUS container.
    please check the Workflow log.
    Thanks.

  • Error when calling SOAP Runtime functions

    Hi Guys,
    I have a requirement in which i have to consume a webservice and get a response from it but when i consumed the web service and tried to test it i got the below error please let me know solution for this as it is very urgent and also i am very new to web services stuff
    Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")
    Thanks
    shivraj

    Hi,
    Have a look at this blog from Michal Krawczyk to find a solution:
    The specified item was not found.
    Hope this helps,
    Grzegorz

  • WORKLOAD ANALYSIS (INTROSCOPE DATA) - Error when opening an RFC connection

    Hi all SDNers,
    Help is needed on error "WORKLOAD ANALYSIS (INTROSCOPE DATA) - Error when opening an RFC connection".
    This error occured on RCA -> Extractor FWK administration and go to managed system (PI) and from the log, i can see some extraction failed due to error message " Error when opening an RFC connection"
    consequently, JAVA performance data is not appearing in RCA -> workload analysis but work fine for ABAP and adapter engine.
    I've followed below notes and perform the troubleshooting step by step by still to no avail:
    Note 1332428 - Missing data in service sessions from BI/CCDB
    Note 1257308 - FAQ: Using EarlyWatch Alert
    Note 1274287 - End-to-End Diagnostics 7.0 EHP1 SP18 to SP27
    Note 1265070 - Diagnostics - Setup of Managed Systems
    Note 1010428 - End-to-End Diagnostics
    http://wiki.sdn.sap.com/wiki/display/SMSETUP/WorkloadAnalysis-Noapplicabledatafound
    steps that have performed:
    restarted agent
    enlarge RFC resource cap for solmandiag and none
    delete entire SID in SMSY and pull again from SLD, re-setup managed system
    restart PI system
    i've spent 2 days on troubleshooting this issue but lack of information in SMP and SDN, even in google.
    in table E2E_EFWK_STATUS and extractor E2E_JAVA_EXTRACTOR_IF, i see all WLI_ID ended with RC 96, MESSAGE = Error when  opening an RFC connection and LASTRECORDS = 0
    I strongly believe this is the issue that causing no applicable data found for JAVA data.
    fyi, we are on SOLMAN EHP1 SPS27.
    Any kind advise is most welcome.
    Thanks,
    Nicholas Chang

    Gosh! at last i found the solution!!
    I appreciate those who tried to help and i''m sharing the solution as i believe this is the purpose of SDN Forum and help others Netweaver Chap who facing the same problem:
    Problem faced:
    Extractor failed intermittently for WORKLOAD ANALYSIS (Introscope Data) due to error message "Error when opening an RFC connection"
    Due to the above error, performance data is not available in RCA workload analysis for J2EE engine.
    Possible Solution:
    1) Ensure both webadmin & SOLMANDIAG RFC working fine -> SM59 -> TCP/IP
    2) go to SE16 -> E2E_RESOURCES and change the resourcecap to 10 for SOLMANDIAG
    3) go to /smd/services -> Diagnostic System -> Advanced Setup -> Abap connectivity -> Connection Configuration and change server count to 10
    4) Restart webadmin (step 3 & 4 can perform in VA too)
    5) set gw/keepalive &  gw/reg_keepalive to value 0 in RZ11 (without reboot of instance)
    5) again go to SM59 -> TCP/IP -> SOLMANDIAG and put in the gateway host and gateway service correctly, don't leave this empty!!!! -
    > This is the main solution to solve intermittent failed RFC for extractor.
    Now, go back and monitor the extractor log and you should see no RFC error anymore and wait for 1 hour for the data to populate.
    Thanks!
    Nicholas Chang,

  • Ago and Todate functions very slow

    I have been playing around with the Ago and Todate functions in BI EE (based on data from the Global schema which I imported into BI EE Administrator) but I find these functions very slow to return the data in an Answers report. Has anyone else found this?

    What's the size of the data set?
    Yes, I'm currently experiencing it. Running on a 600-700k rows tables...
    However, there're 2 things that might help:
    a) we're doing development with cache off - enabling cache - makes report come instantly...
    b) make sure the metrics have correct levels set up - i.e. it's sometimes advantageous to have several duplicates of 1 metric just for this purpose...with different levels....
    Please let me know if you find other ways to improve performance...

  • I have a A12E6 error when downloading and installing apps

    I have an
    A12e6 error when downloading and installing apps   yesterday i had the A12e1 error so i used the cleaner tool and did a new install but today again i have an arror A12e6
    Do you have a solution for me???? (mac osx 10.7.5)
    kind regards Arold

    Hi Arold,
    Welcome To The Forums
    http://forums.adobe.com/thread/1197816 or http://forums.adobe.com/thread/1291134 may help,
    Thanks!
    Eshant

  • Getting Date error when I process

    Hi All,
    I have DEV & QA Analysis services on 2 different server. This is 2005 SSAS
    I am using same solution so DEV process OK but QA gives me date error
    when  I check with SSMS , date fields  look fine .
    But I am getting this error in QA
    Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_view_ftblCharge, Column: SrvDateKey, Value: 12/13/2005. Errors in the OLAP storage engine: The record
    was skipped because the attribute key was not found. Attribute: Date of Dimension: Service Date from Database: Charges, Cube: Charges, Measure Group: Charges, Partition: Charges, Record: 1. Errors in the OLAP storage engine: The process operation ended because
    the number of errors encountered during processing reached the defined limit of allowable errors for the operation. Errors in the OLAP storage engine: An error occurred while processing the 'Charges' partition of the 'Charges' measure group for the 'Charges'
    cube from the Charges database
    Thanks,
    Gok

    12/13/2005 is an American date format (mm/dd/yyyy) whereas you need a british date format 13/12/2005 (dd/mm/yyyy).
    Have a look at this topic on how you can force the correct collation (date format)
    http://sqlmag.com/blog/forcing-collation-where-clause-22-jun-2011
    Please click "Mark As Answer" if my post helped. Tony C.

  • Error when login and authorizing my new computor

    error when login and authorizing my new computor

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • HT3743 I was trying to software update i phone 3g, when software downloaded an install, one unknown error has occurred, and asking for restore, at the same time i am trying to re-store again an error of 1015, happen, what i should do

    I was trying to software update i phone 3g, when software downloaded an install, one unknown error has occurred, and asking for restore, at the same time i am trying to re-store again an error of 1015, happen, what i should do, for solution,
    please advise me,
    best regards,
    Ahmed

    try to edit your host file ang delete any line that contain gs.apple.com

  • HT203242 I get this error when launching itunes "the registry settings used by the itunes drivers for importing and burning CDs and DVDs are missing." I ahve reinstalled iTunes multiple times but the issue remains.....any suggestions?

    I get this error when launching itunes "the registry settings used by the itunes drivers for importing and burning CDs and DVDs are missing." I ahve reinstalled iTunes multiple times but the issue remains.....any suggestions?

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Why yahoo/gmail retrieval and facebook app so so slow when in WIFI. But using the internet to check for emails and facebook is fast using the same WIFI connection??

    Why yahoo/gmail retrieval and facebook app so so slow when in WIFI. But using the internet to check for emails and facebook is fast using the same WIFI connection??

    Hi SandyS_VZW,
    Yes tried resetting the wifi connection and problem still persist.
    Here it is...to make it clear. Connected thru the same wifi at home...
    -> emails (yahoo/gmail) and facebook WEBSITES are working fine and fast when using/accessing thru a browser (chrome/samsung browser) - no problem with this.
    -> emails (yahoo/gmail) and facebook APP is soooooo sloooww (thru the App). Slow I mean comparing it to using their browser/websites... news feeds/emails refreshing so quickly but not when using the APP installed in Samsung Galaxy Note 4. Slow like - It will take around 5-10minutes just to get your emails and news feed refreshed.
    THIS HAPPENS ONLY WHEN CONNECTED THRU A WIFI which has a speed of 10-20mb. It is not happening when connected to the network data/plan.
    My wife has the same Samsung Galaxy Note 4 (coming from different provider at&t) - same setup (emails, fb app), same wifi connection, but she's not experiencing anything like it.
    Not sure why, I dont want to believe that while connected to a WIFI, Verizon is restricting anything and ******* me off to make me switch to my data plan connection everytime - which is Unfair!
    Was there a known issue similar about this case?
    thanks,

Maybe you are looking for

  • A few more general questions

    1) How is everyone testing the temperature their computers are running at? Is there a utility on the computer that does that? Sometimes my macbook runs very warm to the touch. When should get concerned? 2) I have my hard drive partitioned. HD #1 has

  • Any Orjinal SAP Reports which has currency field and currency key

    Hi Friends, I am looking for a report which has currency field and currency key at selection screen. I want to learn how SAP do selection with currency. Can you say a transaction deal with my desire? Thanks.

  • BAPI/ BDC for repartnering of customers in SAP

    HI Gurus! Our MDM goes through a tedious data clean-up process when moving one ship-to partner from one sold-to partner to a new sold-to partner. They are required to delete the ship-to partner from current sold-to location in all sales organizations

  • My Mac has started deleting things... System Preferences, Applications

    Hi My Macbook has started deleted things. Systm Preferences, Bluetooth, Garageband... My work for college, My music ! I'm currently broke also and I think my insurance has run out. It's the 2009 version. i can't afford to replace it and I've lost the

  • 2960S - Password required, but none set

    Hi, I set a password for the 'VTY lines', the Console, I set an 'enable secret' and an 'enable' password, but when I log in via ssh I get this: Switch15>en Password required, but none set Password: Switch15#sh run Building configuration... Current co