Validate in Derivation

Hi.
My name´s Elisabeth. I have a lay-out that´s running at Web. This lay-out has 2 fields: Internal Order and Cost Center. Both have derivation (Comp Code).
When user input these fields, I need to check if both com code are equal. If they´re different, I need to send a message.
I have done a EXIT but, when I send a message Error (Type E), The message is showed but the fields are protected (they´re characteristics) and no records are saved (right records are not saved). IF I send Message type W (Warning), The messages are not showed and all the records are saved (wrong records are saved).
Anybody has an idea how can I validate these characteristic? Anybody has had this kind of problem?

Hi, Vidhya
Thanks for your answer. Sorry, but I forget to mention that my lay-out is like a browser. In this way, I need to consist each line by time. I have many lines like below:
   Order     Cost Center
1  901070     82000006
2  902086     82000006
3  902087       21000000
Regards,
Elisabeth

Similar Messages

  • How to validate derived characteristic

    Hi,
    Hope you guys can help me with the following quite easy task:
    I'm deriving characteristic "Attribute" according to basic characteristic "Basic" in Characteristic Relationships. Sometimes the "Attribute" has not been maintained in the "Basic" master data, so there will be "Attribute" = "Not assigned" in the planning cube after saving. What I would like to do is get rid of these "Not assigned" rows, but only if "Basic" has a value. Guess it will be characteristic relationship of type exit, and if so, could you guys share a sample code, thanks!
    Regards,
    Aki

    Thanks, it was easier than I thought
    DATA A TYPE A.
    DATA B TYPE B.
    A = OBJV().
    B = ATRV('B',A).
    IF B = ' '.
      MESSAGE E001(ZZZ1).
    ENDIF.

  • Problem to validate XML document if the type of root element is abstract

    I have the following XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <ct013/>
    It corresponds to the following XSD Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="ct013" type="foo"/>
         <xs:complexType abstract="true" name="foo"/>
         <xs:complexType name="fixedType">
              <xs:complexContent>
                   <xs:restriction base="foo"/>
              </xs:complexContent>
         </xs:complexType>
    </xs:schema>
    Please take attention to the fact that the type of root element of that BDD is abstract.
    XML Schema provides a mechanism to force substitution for a particular element or type. When an element or type is declared to be "abstract", it cannot be used in an instance document. When an element is declared to be abstract, a member of that element's substitution group must appear in the instance document. When an element's corresponding type definition is declared as abstract, all instances of that element must use xsi:type to indicate a derived type that is not abstract.
    Declaring an element as abstract requires the use of a substitution group. Declaring a type as abstract simply requires the use of a type derived from it (and identified by the xsi:type attribute) in the instance document.
    For more information of using abstract types please see chapter 4.7 Abstract Elements and Types of XML Schema Part 0: Primer Second (http://www.w3.org/TR/xmlschema-0/#abstract).
    In this case there is Oracle bug when I try to validate this XML document using Oracle XDK:
    String validate(String xml, String schema)
    throws XSDException, XMLParseException, SAXException, IOException
    System.setPropert("oracle.xml.parser.debugmode", "true");
    XSDValidator xsdValidator = new XSDValidator();
    XMLError xmlError = new XMLError();
    xmlError.setErrorHandler(new DocErrorHandler());
    XMLDocument xmlDocument = parseXMLDocument(xml);
    XMLDocument schemaXMLDocument = parseXMLDocument(schema);
    XMLSchema xmlSchema = (XMLSchema) new XSDBuilder().build(schemaXMLDocument, null);
    xsdValidator.setError(xmlError);
    xsdValidator.setSchema(xmlSchema);
    xsdValidator.validate(xmlDocument);
    return getValidationError(xsdValidator);
    I get the following error:
    Can't find resource for bundle oracle.xml.mesg.XMLResourceBundle, key XSD-2046.
    I tried to validate this XML document using two other libraries - XSD Schema Validator (http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx) and xsdvalid-29 (http://www.w3.org/XML/Schema#XSDValid). Both libraries pointed me on the error that the type of root element is abstract and it cannot be used for doing validation.
    I think that Oracle should return me explaining message but not to throw exception.
    Am I right? Is there really Oracle bug or I miss something?
    Any help, hits, advices would be gratfully apriciated.

    Define Element1 as follows:
    <xs:element name="Element1">
    <xs:complexType>
    <xs:complexContent>
    <xs:restriction base="xs:string"/>
    </xs:complexContent>
    </xs:complexType>
    </xs:element>
    Does the XML document get validated if the element is specified as
    <Element1></Element1>

  • Is it possible, I can validate the notification response

    Hi,
    Is it possible, we can force a user to enter a value before approving the notification . Because one of our workflow process required a value from the approver. This notification contains 3 responses ( 1 Approve, 2 Partially Approve, 3 Reject). In the case of partially approve I want partially approved amount from the approver.
    How I can validate amount entered or not, before clicking the partially approved response button in the workflow notification.
    With Regards
    Satheesh Kumar

    Hi,
    You can derive the button by looking at the response from the notification. the WF_ENGINE.CONTEXT_NID variable will tell you the notification ID that is being responded to, and you can derive the response from there:
    v_response := wf_notification.GetAttrText(wf_engine.context_nid,'RESULT');
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to derive/generate Revenue only wth Project costing?Burdening possible?

    Hello Experts / Dina,
    I am doing a implementation to customer where only Project costing is in scope and customer wanted to derive / generate revenue for few of the revenue generated project using oracle project costing. Currently this customer is using legacy external application to enter manual journal for revenue.
    So can you please provide me workaround to achieve only revenue generation using oracle project costing?
    I have one workaround but wanted to validate from you all experts. Plz help me...
    1. Enabling budening on same expenditure item I can generate revenue using burden schedule and setup total burden cost db and cost cr account in auto accounting so that burdent Cost Crd account will be a reveue account and burden Cost dbt account will be UBR a/c. and then transfer the burden cost to GL as revenue vs UBR.
    This work around is thorotical and dont know what is implication of burden mulitpliers. If I used this workaorund then revenue (burden cost) amount is depend upon the expenditure orgnization multiplier and not on job based or employee based. How to solve this problem?
    I think there is possibility to drive the burden multiplier based on expenditure types..if taken that approch then end up in creating lot of expenditure type for each multiplier.
    So please help with workaround or someother method.
    Thanks

    Hi Dina,
    First of all many many thanks for posting your answer on this question.
    1. > I tried using total burden schedule approch to generate revenue but I think there is problem to restrict the accounting for the expenditur items which should not be burden ( need not to be generate revenue). As Total burdening approch creates burden accounting as raw cost though burden mulitplier is not specified ( system takes as value 0) :(
    2.> Then I tried a approch of using create & distribute burdening method ( burdening on separate expenditure item) - This works fine and generate burden accounting ( revenue a/c -& UBR). And provides a restriction of generating revenue on selected expenditure items based on burden schedule schedule (multiplier as 0 not specified). On Expenditre Inquiry also can reports a revenue after querying on Expenditure Type Class as "Burden Transactions". You can also reverse items and reverse costing / burdening ( reveneu ) with normal standard process.
    3.> If I wanted to use borrowed and Lent processing then I guess it will be easy. But only problem is I can't keep Project Org as Resource Org. Then there is pain in defining lot of resource organization and project organization ( I m not sure customer will agree :() . Also after referring the Project API guide I am still confuse about 2 diff extention doing same thing.
    a.> Transfer Price Determination Extension b.> Transfer Price Override Extension . Can you please explain what is difference between both of them and wat is purpose for both of them?
    Also In case i don't used the extension then I will be left only using Transfer price % ( 100% + ) to derive my revenue price? rght? Also I am not sure how can customer will have restrictions on the expenditure items which should not generate revenue? ( By defining another transfer price schedule on the selected TASKS with rule as transfer price % 0? )
    and I hope by using borrowed and lent processing I can do adjustments ( like reversing of revenue ) as standard way?
    Please guide.
    Thanks a ton !!!
    Cheers,
    :-)

  • Validate Biztalk schema Element field value

    HI Experts,
    I have a scenario here, i have an incoming xml file and i need to validate the data in the xml.
    for Ex-
    <elementvalue>name1,name2,name3,name4</elementvalue>
    Is there any thing to do in biztalk to validate name1,name2,name3,name4 agnist the incoming data?

    you can use enumeration property in the schema.
    select the field  and go to its property and set it to Derived, this will enable another property "Enumeration"
    you can enter the values each per one row.
    if it such that the filed value comes as "name1,name2,name3,name4" in the input schema then enter this
    entire values in a single line in enumeration.
    if you also want to validate at port level, make sure you set the validate document to true at the pipeline settings.
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • OSB Validate action problem with xs:short datatype

    Hi,
    In the XSD, intPayment is defined as xs:short.
    We have the validate action in OSB proxy.
    If we pass below, everything is fine : (correct)
    <intPayment>96</intPayment>
    If we pass below, OSB is throwing a validate error indicating fractional digits after decimal point. (correct)
    <intPayment>96.01</intPayment>
    But if we pass below, OSB validate action is not catching :
    <intPayment>96.00</intPayment>
    I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point).
    Can you pl help me?
    Thanks,
    S
    Edited by: user13058197 on Jan 13, 2011 10:29 AM
    Edited by: user13058197 on Jan 13, 2011 12:16 PM

    I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point). Your assumption is incorrect and OSB is working as designed (actually as per XML standard). Actually short datatype is derived from int, int is derived from long, long is derived from integer and integer is derived from decimal.
    Definition of Integer (http://www.w3.org/TR/xmlschema-2/#integer) says -
    [Definition:] integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal. And hence xs:short accepts 96.00 but does not accept 96.01
    Regards,
    Anuj

  • Validate of Age

    How to validate the age of a person.
    I have two fields one is birth day field where one enters the birth date. And other one is some other date field say Join Date.
    And also there is one more field age field. The user enters his age. But I want to validate this age is correct or not from birthday field and join date fields. How can this be done ?
    Waiting for the reply.
    Regards,
    Venkat

    in principle we do not store age on database only date of birth age is just computed programatically.
    whats the use of entering age while it could be already derived always correct than entering it and checking it.

  • Exit to validate data in CJ01

    Hi experts ,
    I have a issue in Exits . I need to validate data in CJ01 Project Definition data .
    Exactly is there any Badi or Userexit to validate the data at SAVE of the CJ01.
    Regards,
    Sandeep thota.

    Thats a very generic question. You can use various methods for that
    1. Use script task and include your validation logic
    2. Use derived column transform and do validation using ssis functions and return boolean result based on outcome
    3. Get details onto staging table, use t-sql stored procedure etc
    If you can explain exact scenario we may be able to suggest more specific answer.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Check status for Derived role generation

    Hello,
    We are trying to place a check to validate and ensure that the child roles are generated using "generate derived role" (CtrlShiftF4) from the parent role. However, i'm not able to find an appropriate function module or table field via which this can be checked.
    Are there any options to check this?
    Thanks in advance
    Vijaya

    Hi,
    You can find the status of the roles whether the profile is generated or not .. with PFCG only.
    PFCG
    -> Utilities (M)
    -> Overview Status (CtrlShiftF11)
    Give the role names (for which you need to know whether they are generated or not)
    Tick/select - Only Display Roles with Errors and Warnings
    -> Execute
    It will display all the role names and profile name and their status green generated, yellow not generated. If you copy all data and paste it in the excel it would be like below...
    ZS_ECC_NPR_AFM_TESTING_GL     @IC\QSingle Role@     11/20/2011     12:47:32     VKUMAR     @5C\QNo menu exists@          @5D\QCurrent version not generated@     ZNPRAFMTES     @5D\QUser master record not completely updated@
    ZS_ECC_NPR_DATABASE_ADMIN_GL     @IC\QSingle Role@     08/02/11     18:02:26     MMAKUCH     @5C\QNo menu exists@          @5B\QAuthorization profile is generated@     ZNPRDTBADM     @5C\QNo users are assigned@
    Hope this helps you.
    Thanks,
    Vinod

  • Creating a property with list values derived from other hierarchy

    Hello Friends,
    Thanks in advance for any help in this regard.
    1)     Can we have a property with list values populated automatically from other hierarchy.
    2)     Can we select multiple items from the list box. Does property allows multiple values.
    The example is like this. There are 2 hierarchies.
    Customer
         Customer 1
         Child Customer
    Industry
         Hightech
         Computers
         TVs
    Manufacturing
         Auto
         Steel
         Healthcare
         Pharma
         HealthInsurance
    The requirement is to add Industry hierarchy as property of Customer Hierarchy and select each customer is what type of Industry they belong as a property value.
    Thanks

    Use property data type ListGroup for multiselect.
    To select values from another hierarchy you can use Node or MultiNode, or an Asscociated Node property, of which there are several types. I'm not fond of the property editors for Node data types and will often just use a string and validate the user input by defaultin prefixes and such with a derived property that is checked by a query based validation. Make sense?

  • How to re-validate an import after changing some mappings?

    I imported a delimited text file into FDM. The import was successful.
    I then validated the import with the existing mappings. The validation was successful.
    I then exported the data to the target system (Essbase). The export was successful.
    I later found out that some of the mappings needed to be changed. For instance, instead of mapping A to X, I needed to map A to Y (both X and Y are valid targets).
    I thought after changing the mappings I would be able to go back to the workflow and just repeat the Validate step with the updated mappings, followed by the Export step (with the Replace option). What I found, however, is that none of the output records changed when I re-validated the import. The original mapping results were still in the output. It appears that re-validating didn't do anything at all. I had to repeat the entire workflow, starting over from importing the data, to get the updated mappings onto the output records.
    Is this the correct and expected behavior?  (I'm using FDM 11.1.1.2.).  Shouldn't I be able to make mapping corrections and have them take effect without having to re-import all of the source data?+
    I'm guessing there may be a logical reason for this behavior having something to do with archiving and/or auditing, since I successfully exported the data with the original mappings to the target system, but can anyone say for sure whether this is the way it's supposed to work and explain why?
    Thanks very much.

    Hi,
    If I Understand your issue correctly, You want to change some of the existing mappings and want to load the file again.
    I assume that the maps for that location is not derived from any other location. In the locations, the Parent location should be None, If not, You need to change the maps of the location metioned in the Parent location.
    Then update the grid and Please follow the workflow, It should reflect the changes you have done for the mappings.
    Regards,
    tvmk
    Edited by: tvmk on Mar 24, 2010 10:52 AM
    Edited by: tvmk on Mar 24, 2010 11:03 AM
    Edited by: tvmk on Mar 24, 2010 6:16 PM

  • Deriving a date using UCM Global Rules

    I am trying to use global rules to derive a date/time. When a user selects from a metadata field "status" the value of "Complete" I want the current date and time written out to an "end_Date" metadata field. I have been playing with derived values in Rules but am having some trouble making this work.
    Am I on the right track. Should I be able to accomplish this in Rules?
    Thanks for your help,
    Data_Bitz

    Make sure "Complete" is the EXACT value that you're trying to validate against. Remember, option lists have a display value and an internal value. Also check for whitespace. You can try using wildcards as well:
    <$if #active.xStatus like "\*Complete\*"$>
    <$dprDefaultValue=dateCurrent()$>
    <$endif$>
    Good luck.
    Edit: Had to escape the asterisks to prevent bolding it
    Edited by: stellentpmp on Nov 2, 2010 1:50 PM

  • I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    I've uploaded Acrobat XI Pro and it freezes when I'm using it.  I uninstalled and re-installed.  When I login, it says that it is unable to validate the account and has an option to use the trial.  How do I fix this?

    This is an open forum, not Adobe support... you need Adobe staff support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Erroe while invoking a process (could not validate SAML)

    Hi,
    I am getting the following error while invoking a process from
    Weblogic  Portal Server.The invocation happens properly always but
    after frequent  intervals(approx 1-1.5 hrs) this error comes.Then if
    the Portal Server(the  client which is invoking the process) is
    restarted again it works properly.
    This is very urgent to resolve.Any pointers to this will be very 
    helpful.
    Thannks in advance,
    Leena Jain
    Stack Trace of the error:
    ALC-DSC-215-000:  com.adobe.idp.dsc.DSCAuthenticationException: None of
    the Auth Provider  could authenticate the user. Authentication Failed
            at 
    com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.authenticate 
    (AbstractMessageReceiver.java:157)
            at 
    com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke 
    (AbstractMessageReceiver.java:312)
            at 
    com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall 
    (SoapSdkEndpoint.java:138)
            at 
    com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke 
    (SoapSdkEndpoint.java:81)
            at  sun.reflect.GeneratedMethodAccessor377.invoke(Unknown
    Source)
            at  sun.reflect.DelegatingMethodAccessorImpl.invoke 
    (DelegatingMethodAccessorImpl.java:25)
            at  java.lang.reflect.Method.invoke(Method.java:585)
            at  org.apache.axis.providers.java.RPCProvider.invokeMethod 
    (RPCProvider.java:397)
            at  org.apache.axis.providers.java.RPCProvider.processMessage 
    (RPCProvider.java:186)
            at  org.apache.axis.providers.java.JavaProvider.invoke
    (JavaProvider.java:323) 
            at org.apache.axis.strategies.InvocationStrategy.visit 
    (InvocationStrategy.java:32)
            at  org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:
    118)
            at  org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
            at  org.apache.axis.handlers.soap.SOAPService.invoke
    (SOAPService.java:454) 
            at org.apache.axis.server.AxisServer.invoke(AxisServer.java: 
    281)
            at org.apache.axis.transport.http.AxisServlet.doPost 
    (AxisServlet.java:699)
            at  javax.servlet.http.HttpServlet.service(HttpServlet.java:
    727)
            at  org.apache.axis.transport.http.AxisServletBase.service 
    (AxisServletBase.java:327)
            at  javax.servlet.http.HttpServlet.service(HttpServlet.java:
    820)
            at  weblogic.servlet.internal.StubSecurityHelper 
    $ServletServiceAction.run(StubSecurityHelper.java:226)
            at  weblogic.servlet.internal.StubSecurityHelper.invokeServlet 
    (StubSecurityHelper.java:124)
            at  weblogic.servlet.internal.ServletStubImpl.execute
    (ServletStubImpl.java:283) 
            at weblogic.servlet.internal.TailFilter.doFilter 
    (TailFilter.java:26)
            at  weblogic.servlet.internal.FilterChainImpl.doFilter
    (FilterChainImpl.java:42) 
            at 
    com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter 
    (InvocationFilter.java:43)
            at  weblogic.servlet.internal.FilterChainImpl.doFilter
    (FilterChainImpl.java:42) 
            at weblogic.servlet.internal.WebAppServletContext 
    $ServletInvocationAction.run(WebAppServletContext.java:3393)
            at  weblogic.security.acl.internal.AuthenticatedSubject.doAs 
    (AuthenticatedSubject.java:321)
            at  weblogic.security.service.SecurityManager.runAs(Unknown
    Source)
             at
    weblogic.servlet.internal.WebAppServletContext.securedExecute 
    (WebAppServletContext.java:2140)
            at  weblogic.servlet.internal.WebAppServletContext.execute 
    (WebAppServletContext.java:2046)
            at  weblogic.servlet.internal.ServletRequestImpl.run 
    (ServletRequestImpl.java:1366)
            at  weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
            at  weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: |  [com.adobe.idp.um.api.impl.AuthenticationManagerImpl]
    errorCode:16421  errorCodeHEX:0x4025 message:Could not validate SAML
    Token --- Assertion is  not valid. Current time is greater than
    NOTonOrAfter time specified in the  Assertion| [IDPLoggedException]
    errorCode:12804 errorCodeHEX:0x3204  message:Could not validate SAML
    Token --- Assertion is not valid. Current  time is greater than
    NOTonOrAfter time specified in the Assertion
             at com.adobe.idp.um.api.impl.ManagerImpl.handleException 
    (ManagerImpl.java:246)
            at  com.adobe.idp.um.api.impl.ManagerImpl.handleException
    (ManagerImpl.java:192) 
            at 
    com.adobe.idp.um.api.impl.AuthenticationManagerImpl.validateAssertionCheck 
    (AuthenticationManagerImpl.java:587)
            at 
    com.adobe.idp.um.api.impl.AuthenticationManagerImpl.validateAssertion 
    (AuthenticationManagerImpl.java:552)
            at 
    com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.authenticate 
    (AbstractMessageReceiver.java:132)
            ... 33 more

    This happens due to expiry of the SAML assertion that the client has. Have a look at the Renew Assertion Recipe at the cookbook site

Maybe you are looking for

  • Paid subscription, but opens in trial mode (expired)

    My Premiere Pro CC 2014 has finished its trial and I have already payed for the creative Cloud in order to get the Premiere Pro CC 2014 and Creative Cloud only let me download Premiere Pro CS6. Why??? Can the newest CS6 version open CC' files?? What

  • RMAN-06136: ORACLE error from auxiliary database

    Dear All, When i start to recover a tablespace(TSPITR) using RMAN, getting below errors. Could any guide me RMAN-03002: failure of recover command at 02/07/2013 14:12:30 RMAN-03015: error occurred in stored script Memory Script RMAN-06136: ORACLE err

  • File exist in application server directory

    Hi there, On my SAP server, i have a directory created specifically to store input files generated from other external systems. From my ABAP program, i need to check if any file exist on that application server directory. If yes, then i will proceed

  • Need help, No audio for mpeg on Quicktime

    Ok, the other day i downloaded a third party movie player that played movies that quicktime wouldnt play. It was MplayerOSXB8r5 and it worked ok. When i tried to play my regular mpegs that worked fine with quicktime i got no audio. the avi files work

  • Solution Manager: Work Centers setup and config

    My question is in finding helpful documents getting it all setup and on how to configure it. Looking for something that gets into each available section, not just tell me that they are available. I have checked out: Work Centers in SAP Solution Manag