Formula error in Validation

Hi Gurus,
I want to have a validation on FB60 Document Date (BLDAT) which should not be more than 60 days in past compared to Posting Date.
But am unable to write a validation check for this as system is throwing syntax error in all the ways I wrote the formula.
I tried writing check like this
BKPF-BLDAT > ( BKPF-BUDAT - 30 )
Please help me...
Thanks in advance,
Mallik

Hi
You said it should not be more than 60 days from posting date. 
x = doc date
y = postig date
so your conditions could be :
x = y-60
x> y-60
so (x = y-60) .or. (x > y-60).
Is it correct ?
Regards

Similar Messages

  • Getting "Unexpected end of formula" error in user-defined function

    I created a user-defined function and registered it successfully in Discoverer Admin (10g), and it shows up in Discoverer Plus. However, when I call the function, I get this error:
    "Error in formula -- unexpected end of formula"
    If I hard-code in parameters, I can successfully run the function as such from Oracle SQL Developer:
    SELECT PAYLINETOT('2324', '111', to_date('01-Sep-2010'), to_date('31-Oct-2010'))
    FROM DUAL;
    But I still get the same error if I enter this in the calculation dialog in Discoverer:
    PAYLINETOT('2324', '111', to_date('01-Sep-2010'), to_date('31-Oct-2010'))
    Any idea what's going on and how to get this to work?

    Michael,
    I tried your suggestion, and this time I got a different error message that said that the function had not been registered with the EUL. I thought I had registered it, but when I checked, the return data type was wrong. I corrected it, and the function is "valid" in Discoverer Admin. Yet, when I go back to Discoverer Plus and attempt to use the function (and yes, I logged out and logged back in), I get the same error message:
    "Error in formula - unexpected end of formula - Error: Function PAYLINETOT has not been registered with the EUL."
    Any idea where the disconnect is? Are these two separate errors? How could Discoverer Admin tell me that the function is registered and Discoverer Plus tell me otherwise? And yes, I've made sure that the "Available in Desktop/Plus" checkbox is checked.

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • In F110 I getting error No valid Payment method found but i did

    While doing intercompany clearance using Pay methd Y in F110 payment run in payment proposal system showing error "No valid payment method found" this is showing in vendor line item and if i am clicking customer line item showing debit bal still exit because system not picking my pay mthd Y in vendor line item which one i assigned in vendor master data. But for another vendor its posting clearing this error occur only for particular vendor. Any can help me to rectify my error.

    Hello,
    We were get the same error message and found that the solution was that the vendor must have an address.
    In OBVU, Payment method / country, the required master record specs had Street checked on.  This reqiured an address for the vendor.  Once we entered an address the F110 payment run was successful for this vendor.
    Rgds,
    Dan

  • I*sqlplus: Internal error (no valid library could be found)

    Hello
    I have installed Oracle 8.1.7 on Windows NT
    and Oracle 8.1.7 on Sun Sparc Solaris.
    On Windows NT, I have installed i*sqlplus.
    However, when connecting from browser
    in the index file
    I've given a valid username/password of
    a database in Oracle 8.1.7 on Sun Sparc
    and a connect string to the database
    on Oracle 8.1.7 on Sun Sparc.
    This connect string is created using
    Net 8 assistant and this connect string
    is on the Windows NT with Oracle 8.1.7.
    However, instead of connecting I
    am getting the error
    Internal error : (no valid library could be found)
    Can you please help me?
    Thanks

    Cyril,
    Can you connect to the database using the command line version of SQL*Plus? If so, you're using the correct syntax.
    It sounds like iSQL*Plus is not set up correctly. Do you have the necessary 8.1.7 components on the NT machine (Oracle HTTP Server, Net8, SQL*Plus)?
    Review the installation documentation, and/or post more specific information on your set up.
    Alison
    iSQL*Plus Team

  • ISA B2B logon  Error: No valid private connection for internet user

    Hello ,
    i used isauseradm to create a user zzweb with all authorizations for B2B..
    now when i try to log to
    http://host:port/b2b/b2b/init.do  with the user zzweb
    i have a runtime error with the logs :
    EXCEPTION]
    #1#com.sap.isa.businessobject.BORuntimeException: Error getting private connection for internet user:com.sap.isa.core.eai.BackendException: Error: No valid private connection for internet userzzweb
         at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)
         at com.sap.isa.user.businessobject.UserBase.login(UserBase.java:313)
         at com.sap.isa.businessobject.User.login(User.java:143)
         at com.sap.isa.user.action.UserActions.performLogin(UserActions.java:295)
         at com.sap.isa.user.action.UserActions.performLogin(UserActions.java:368)
         at com.sap.isa.user.action.UserBaseAction.performLogin(UserBaseAction.java:126)
         at com.sap.isa.user.action.LoginBaseAction.ecomPerform(LoginBaseAction.java:77)
         at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
         at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
         at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    what does this error means..?
    i also realised that zzweb  was not created in CRM backen? should it be created ?
    many thnx for help ..
    Message was edited by: Blackman

    Its a late response... but if someone gets the same issue here is the solution.
    When you register try uppercase password . That should take care of that issue.
    The problem is with function module CRM_ISA_IUSER_SWITCH , Note 946536.
    Although the note says 5.0 the problem exists with ISA 4.0 too

  • ISQL*Plus: Internal error (no valid library could be found)

    I install iSQL*PLUS on middle tier (9i AS 1.0.2.1) according to documentation, when I trying to connect I am getting Internal error (no valid library could be found). The TNSNAMES.ORA file is correct.
    Any suggestions will be highly appreciated.

    My first suggestion is to use the HTTP listener on the RDBMS bundle. This is what iSQL*Plus 8.1.7 Beta was built for.
    The HTTP servers on the iAS and Database releases require mods to be compiled differently.
    - CJ

  • Disk Utility Error "no valid packages"

    Hi,
    I have a PowerBook G4 with 1GB RAM.
    I've noticed a significant system slowdown lately. Programs take longer to open and respond, and it's rather annoying. I came to the forums to seek some remedy, and tried to run a Disk Utility to check that everything there is at least okay. But when I click on verify permissions, I get an error that says "no valid packages." Does anyone know what this means and how to fix it (if it needs fixing; I'm assuming this isn't a good thing, whatever it is!).
    Thanks.
    Lori

    Hi librarygirl and Welcome to the Discussions!
    Mac OS X 10.3, 10.4: Disk Utility shows a "No Valid Packages" alert
    Disk Utility can't verify or repair permissions on the Mac OS X 10.3 or 10.4 volume if the "BaseSystem.pkg" file is not in /Library/Receipts.
    This alert appears when you try to repair permissions with Disk Utility:
    "First Aid failed
    "Disk Utility stopped repairing permissions on '(volume name)' because the following error was encountered: No valid packages"
    In the Disk Utility text window, this message appears in red text:
    "Error: No valid packages (-9997)"
    This happens when the BaseSystem.pkg file is not in /Library/Receipts.
    Solution
    If you've moved this file, move it back to /Library/Receipts. You shouldn't normally remove any files from /Library/Receipts.
    If the file has been deleted, replace it by copying it from a different computer that uses Mac OS X 10.3 or 10.4, or by reinstalling Mac OS X 10.3/10.4 from an installation disc.
    "Reinstall" means you can install 10.3 or 10.4 from a disc, if it's the same version of 10.3/10.4 (such as 10.3.3 on both the installation disc and computer). If the version of 10.3/10.4 on the computer is newer than what's on the install disc, then use the install disc to perform an Archive and Install installation instead, then update to a later version of Mac OS X.
    Joe

  • CRVS2010 Beta - Error: No valid Report Source is available

    I am new to using crystal reports in .NET so any (un-jargoned) help is much welcomed and appreciated.
    I am implementing an web application on a Windows XP machine using VS2010 and have downloaded and installed the CR4VS2010 beta 2 and the CRforNET40_x86.  All installed OK with no errors.
    I have embedded a crystal report viewer into my web page and have populated a dataset (myDS) successfully from my SQL server connection earlier in the code.
    The report (stoppages.rpt) is an untyped report stored in a separate folder and has 2 datetime parameters to pass in.  When I run the web app it runs fine until the parameter boxes appear - I enter 2 valid date values into the parameter boxes when I hit OK I get an error - No valid report source is available.
    My code is shown below - I have searched other forums and it was suggested to put in the session.add part but the error occurs with or without this bit in...
    Please help - newbie and desparate! Thanks
    Dim myReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
                myReportDocument.Load("C:\Reports\stoppages.rpt")
                myReportDocument.SetDataSource(myDS)
                Session.Add("Report", myReportDocument)
                crvThisReport.ReportSource = myReportDocument
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Oct 13, 2010 7:22 AM

    Hi Ludek,  I tried adding
    <startup useLegacyV2RuntimeActivationPolicy="true">
      <supportedRuntime version="v4.0"/>
    </startup>
    to the config file but it didnt resolve the problems. 
    However I think I have found a work-around solution to setting the parameters programmatically rather than use the crystal report viewer pop-up boxes.  I am posting my code to help anyone else who might be experiencing the same problems:
    Dim myReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    myReportDocument.Load(Server.MapPath(strRptPath))
    myDS.WriteXml(Server.MapPath(strXMLPath), XmlWriteMode.WriteSchema)
    myReportDocument.SetDataSource(myDS)
    myReportDocument.Refresh()
    myReportDocument.SetParameterValue("DateFrom", #9/1/2010 6:35:00 AM#)
    myReportDocument.SetParameterValue("DateTo", #9/8/2010 6:35:00 PM#)
    crvThisReport.ReportSource = myReportDocument
    DateFrom and DateTo are the parameter names within my crystal report.
    It seems to be working fine, it stops the crystal report viewer from displaying the parameter pop-up box which stops the error occurring.  However, the error still occurs when you want to interact with the report in other ways, ie page navigation, group tree navigation.  It still allows me to print, export and zoom in and out, so I will have to disable some buttons and features until this error is resolved - the search continues!
    Thanks for all your help and advise.
    Edited by: juliep68 on Oct 14, 2010 11:33 PM

  • PA-Hiring Error- No Valid Interval Found (Internal Number Assignment)

    Hello,
    Iam facing this issue at the time of hiring (IT0000). The internal number range (01) is maintained in transaction code PA04 from
    00000001 to 90000000     and ext check box is NOT checked.  In NUMKR , the return value of the feature is also 01 .
    Now the weird thing is i get this so called error " No Valid Interval Found (Internal Number Assignment)" but if i ignore the error and hit enter / save , it lets me save IT0000 and moves on to the next infotype in infogroup.
    has anyone faced this before? what could be the possible solution here? Any help would be greatly appreciated
    thank you in advance
    Reema

    Hey Reema,
    http://www.sapfans.com/forums/viewtopic.php?f=11&t=327031
    NUMKR-Feature
    I think these are similar threads and have the same problem as you. Hope Partha Murli picks this up or you might just mail him.
    cheers
    Ajay

  • Costing Run Error: No Valid Source of Supply

    Hi Experts,
       I am new to Costing,
        While executing Costing Run for a matrial ABC in plant XXX with a Costing Run 111, I get an error No valid source of supply could be found
    but when I run the Costing Run for Same material for sam plant with different Costing Run It gets executed properly.
    I have read the thread related to it where it is giving reference to note 713111, 499699 and 422926 but there is no check for Source List in Material master.
    Regards,
    Rajdeep Rane.
    Edited by: Rajdeep Rane on Jul 24, 2008 1:30 PM

    Rajdeep
    Use OKKN as Jigar says.  
    Select the costing variant that you are using and then click on "valuation variant"
    Look at the tab for subcontract - this will show what the costing variant is useing to creat cost estimates with.
    Your options for subcontracting are:
    2  Effective Price from Quotation Without Fixed Costs
    3  Net Quotation Price
    4  Gross Quotation Price
    5  Effective Price from Quotation
    6  Effective Price from Purchase Order Without Fixed Costs
    7  Net Purchase Order Price
    8  Gross Purchase Order Price
    9  Effective Price from Purchase Order
    If your material has a Special Procuremnet key 30 - then one of these strategies has to be used.

  • Automatic payment error - no valid payment method found

    I created an invoice which i try to clear in f110. the vendor has the appropriate payment methods specified too but still I get this error "No valid payment method found " for that document.
    kindly assist, if anyone knows where can be the error.
    this is only for one company code.
    thanks

    Hi,
    Check the configuration of Automatic Payment Program.  Check "Bank Determination" and verify whether the paymetn method is set up for the House Bank determined by Automatic Payment Program configuration.
    If the payment method in invoice or vendor master does nto match with the payemnt method set up for the house bank, you may get this error.
    Regards,
    Chirag
    Pls. award points if this is useful.

  • F110 error - No Valid Payment Method found - Account ID missing

    Hello All,
    I am trying to clear some Vendor invoices in F110 using a Payment method. We have entered the House Bank at the time of posting the Vendor Invoice (Invoice is posted through an BAPI) and I am able to see the House Bank in BSEG - HBKID.
    Further for the Payment Method we are using only one House Bank and one Account ID - which has been configured correctly in FBZP - Bank Determination.
    However when we are running F110 for clearing the invoices - we are getting an error no valid payment method found. I am able to see the Payment Method & the House Bank while editing the Proposal - only Parameter which is missing is Account ID - though we have maintained it in Bank Determination configurartion.
    Any help will be appreciated a lot to fix this issue.
    Thanks and regards,
    Ankur

    Dear,
    Everything may be alright but payment method is assigned to Bank Account in Bank selection section FBZP. So, system will process payment from the bank account with assigned payment method. So, there is no Account ID system is not able to find the payment method. It is difficult to provide remedy. If house bank and account ID is not in the vendor master then update them.
    Just try it out....all the best.
    Regards,
    Chintan Joshi.

  • Deployment Error : "No valid iviews"

    Hi,
    I am new to Visual Composer. I have created a sample model using the example given in help.sap.com, During deplyment i got the error "No Valid iviews".
    Can anybody help me resolvng this error.
    Thanks
    Vinit

    Hi Vinit,
    have you consult the log file?
    You should also enable the flex error messages:
    <a href="https://wiki.sdn.sap.com/wiki/display/VC/EnablingFlexerrormessagesinVisualComposer">https://wiki.sdn.sap.com/wiki/display/VC/EnablingFlexerrormessagesinVisualComposer</a>
    You can also have a look at http://<yourportalhost>:<yourport>/nwa/
    That is the path to the NetWeaver Administrator. Click on Tab "Monitoring" and then navigate to "Track and Trace". There you can take a look at the log files. I suggest you set a filter corresponding to you user-id. This makes debugging of visual composer errors quite easy, as some errors that are not channeled back to the visual composer are logged there.
    Best Regards,
    Marcel

  • SPP Error - No valid transportation lane between Supplier and LOC1

    Hi
    While running the EOQ and SFT planning service, we get the following error
    "No valid transportation lane between Supplier and LOC1". LOC1 is the entry location for our BOD.
    We have not created any procurement relationships as we are working on a standalone SCM trialbox.
    Appreciate any help/suggestions to resolve this issue.
    Thanks & Best Regds
    Mitesh

    Hi Mitesh,
    You need to have valid transportation lanes from the supplier. Maintain it manually. If I remember correctly it is possible to have External Procurement Relationships in APO only (type 4) and not just contracts, purchasing inforecords or scheduling agreements CIFed from ECC.
    Hope this helps.
    Thanks,
    Somnath

Maybe you are looking for

  • Customize workflow for project in  po account generator workflow

    hi, i customize workflow for project of PO account generator. the project is not working for PO account generator. for that customize PO account generator. it is working for one user.it is populating charge account. but it is not working for new user

  • Discrete manufacturing Resource Charge Type manual Versus Automatic

    We are implementing Oracle Discrete manufacturing, we want to know the pros and cons for using manual versus WIP move resource charge type and what is the best practice in this regards. Thanks Mohamed Abo Zekry

  • Planning & Analyzer on same server

    Hi there,we tried to install Analyzer 6.1 & Planning 2.3.1 on the same Win2K server but have a port conflict since both are using Tomcat as Web Application Server.Is there anyone having the same architecture?Thanks.

  • MD06 add Screen Field

    I need to add a filed in selection screen for requirement category in collective access tab how could i do that. I need thre report based on requirement category also. Kindly help me

  • Display xls file in iView

    Friends, I want to display the xls file in iView. Tell me whether its possible or not? If yes, than how? If someone has done this than pls. tell me the procedure to do that. Thanks. Hitesh