DRM- Validation to check properties combination in other/Parent Hierarchies

Hi,
We are currently working on DRM version 11.1.2.2.302.
Metadata of client is not unique in a single field. To attain the same we proposed them combination of several fields as a node to bring uniqueness. However we are ending up combining 6 fields as a node which users are not ready to accept.
We are now working for a sequenced number as a node, however we face a challenge when the combination of nodes are to be verified in the parent hierarchy to check whether the combination of properties existing previously or not. We can check whether node exits in other hierarchy or not using 'NodeInHier' and also we can only retrieve the property of a node using 'NodePropValue' but we are not able to use these functions to check if a property of Hierarchy B exist in a property of Hierarchy A.
Please suggest/help on the issue. Please let me know if you need any further info on the same.
Thanks
Venkatesh

Hi All,
This issue is closed now using UniqueProp Validation.
Thanks
Venkatesh

Similar Messages

  • DRM Validation for checking existence of nodes in a different Hierarchy as a property value

    Hello Gurus,
    I have two hierarchies named A & B respectively. I need to create a validation for nodes in hierarchy A which checks value of a property such that the node should have property value equal to any node name in Hierarchy B.
    Means the values for that particular property for nodes in hierarchy A should exist as a node in hierarchy B.
    It would be very grateful if some one can provide an idea to achieve this.

    Hi,
    Try this in a formula type validation-
    NodeInHier(PropValue(Custom.PropName),B)
    This would return false if the property value is not a node in Hierarchy B and True if it is.
    So you will get a validation message every time the property is loaded with a value which is not node in Hierarchy B.
    Thanks, Let me know
    Denzz

  • Creating Validation to check Plant/Material

    Hi All,
    I have a problem can any one please give me the answer. Its very urgent.
    I got a request from the user stating that when he is entering any FI transaction and in that if he give the Material and Plant in the line item then validation has to check the Plant Material combination exits in table MBEW. 
    In our company we are using sets in the validation.
    Here is the existing code:
    Prerequisite:
    ( G/L IN FSS-ZDS2-S3-GLACCOUNT ( Margin segmentation enhancement ) OR
    G/L IN FSS-ZDS2-S3-GLACC-NETPRO ( Accounts for Net Proceeds SV43 ) )
    AND
    ( Activity type <> 'SD00' ) AND
    ( NOT Document type IN
    FSS-ZDS2-V38-BLART-EXCL ( Doc type to be excl from val Rev COPA ) )
    AND
    ( NOT Company Code IN
    FSS-ZDS2-BUKRS-EXCL ( Co codes that are non GSAP ) )
    CHECK:
    ( Plant <> '' )
    We can change in this existing code or we have to create A new Step in the line item.
    I am not so strong in the creating Validation can you please let me know how we have to write the logic.
    Regards,
    Venkatesh.M

    Nies,
    You can create a Validation Rule in transaction OPSI, where you can check the contents of the Plant field against the WBS Element in the Project Builder.
    However, only PS master data can be validated so checking the plant against a PR or reservation using OPSI isn't possible, unless you store that data in a PS user field and then perform the check.
    Please review note 440186, an FAQ note on Validation rules.
    Regards,
    Damien.

  • Validation to check a field in Purchase Order.

    Dear friends ,
    Could we create an Validation to check a field in tcode ME21N, and this validation must check if field (header) is empty if yes when SAVE send error message"You could not create PO without release strategy , please contact IT area! "
    Rule to check it.
    Tcode ME21N
    if field EKKO-FRGSX or EKKO-FRGKE without value when Saving document so send an error message as discribed above not allowing user to save and create PO.
    Best regards
    Ale

    hi Amams
    check this link
    Adding Fields to Sales order
    i think it may give u some idea
    Regards,
    Naveen

  • New Authorizations as a logical combination of other Authorizations

    Wondering if anybody else has encountered the need to create Authorization schemes as a logical combination of other Authorization scheme.
    For example, if I had the following authorization schemes
    Manager
    Supervisor
    User
    I should be able to create something like
    ManagerOrSupervisor
    whose definiton is a logical OR of the Manager and Supervisor Authorization schemes.
    There should be no need to repeat the code/conditions for the new scheme !

    Hi,
    you can use
    WWV_Flow.public_security_checkto check defined authorization schemes. That way you don't have to duplicate your code.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • PL/SQL - inline validation errors check

    Hello,
    does there exist any function (PL/SQL) which tell me that inline validation errors were displayed or not?
    Now I use "Condition Type -> No Inline Validation Errors Displayed" but I need to check it in "PL/SQL expression".
    Is it possible?
    regards,
    Jarek

    OK,
    I found it.
    Following function gives you number of validations errors:
    wwv_flow.g_inline_validation_error_cnt
    regards,
    Jarek

  • Validation to check Plant in project builder

    Dear All,
    Can we implement validation to check if user create PR or reservation could only on certain plant , for example FG05 . If they didnot put FG05. the error message will come up.
    Cheers,
    Nies

    Nies,
    You can create a Validation Rule in transaction OPSI, where you can check the contents of the Plant field against the WBS Element in the Project Builder.
    However, only PS master data can be validated so checking the plant against a PR or reservation using OPSI isn't possible, unless you store that data in a PS user field and then perform the check.
    Please review note 440186, an FAQ note on Validation rules.
    Regards,
    Damien.

  • My Mac notebook does no longer recognise my external keyboard which was connected by a USB cable. I have checked the keyboard on other Mac notebooks and it works fine. Any suggestions?

    My Mac notebook does no longer recognise my external keyboard which was connected by a USB cable. I have checked the keyboard on other Mac notebooks and it works fine. Any suggestions?

    and in some kind of record, I've read another thread an it's fixed!!
    Kids.
    Accessability-> zoom-> off
    5 days i've been squinting!

  • Some chart types cannot be combined with other chart types

    Good morning,
    I am working on a MacBook Air (purchased Oct 2009) running Lion. While working in Excel 2011, I encounter the error "Some chart types cannot be combined with other chart types. Please select a different chart type." I am highlighting 46 cells to create a marked line graph. There are no other charts in the file. I called Microsoft support who told me they had not heard of this problem in Excel (only in PowerPoint). I also took it to an Apple Store Genius, who was unable to solve the problem, which is understandable, given that he does not work for Microsoft.
    To try to resolve this issue, I have recopied the data to a new spreadsheet, re-typed all the data to a new spreadsheet, and deleted plist files. When I sent it to a different computer (which was running Excel 2011 and Snow Leopard), I could make the figure but I cannot edit the figure or add data on my laptop.
    Any suggestions that you have would be much appreciated,
    Signed,
    One stressed out PhD student who desperately needs Excel to work

    Hi, folks.
    Apparently, when using Excel 2011 and running Lion, if the tab names in excel contain a period (.), this error occurs. I removed the periods and now I can graph again. I hope this helps anyone else who may experience this problem.

  • Oui is valid but for a machine type other than current

    Hi all,
    I am installing SAP ERP 6 on a Windows 2008 r2 server. I have Intel Xeon CPUs 64bits. However, as I start "oracle Universal Installer" (ou)i on it, I got a message that says "that oui is valid but for a machine type other than current". I guess is beacuse of the CPU, but I am not completely sure,
    Thank you in advanced for your help

    Same question of thread:
    http://scn.sap.com/message/13352961

  • Column check constraint cannot reference other columns  !????

    Hello,
    why it don't work?
    I have read that Check Constraint must work with other columns. What is the Problem here (KK_ID)?
    DROP TABLE Pat CASCADE CONSTRAINTS;
    CREATE TABLE Pat
    PAT_ID           NUMBER(12) NOT NULL
              CONSTRAINT pat_id PRIMARY KEY initially immediate,
    NAME           VARCHAR2(50)NOT NULL initially immediate,
    date_b          DATE NOT NULL initially immediate,
    PRIVAT_KNZ VARCHAR2(20)
              CONSTRAINT PRIVAT_KNZ_ CHECK (UPPER(PRIVAT_KNZ) in ('Y','N')) initially deferred,
    KK_ID           NUMBER(10)
              CONSTRAINT KK_ID CHECK      ((UPPER(PRIVAT_KNZ) in ('N')) AND KK_ID is NOT NULL) OR ((UPPER(PRIVAT_KNZ) in ('Y')),
              CONSTRAINT REF_KEY_KK FOREIGN KEY (KK_ID)
              REFERENCES Tab2 (KK_ID) initially deferred          
    The field KK_ID must became a value if PRIVAT_KNZ has a 'N'. If PRIVAT_KNZ has a value 'Y' then can KK_ID have a NULL or a value.
    ERROR__________________________________________________________________
    DROP TABLE Patient CASCADE CONSTRAINTS
    ERROR at line 1:
    ORA-00942: table or view does not exist
              CONSTRAINT KK_ID CHECK      ((UPPER(PRIVAT_KNZ) in ('N')) AND KK_ID is NOT NULL) OR ((UPPER(PRIVAT_KNZ) in ('J')),
    ERROR at line 12:
    ORA-02438: Column check constraint cannot reference other columns
    Thank you in advance!!!!
    Andrej

    Thank You very much!
    It works great!
    But i don't understand why i must put coma, after
    KK_ID                NUMBER(10) NUll REFERENCES KRANKENKASSE ,
    And then follows the contstraint? How can i see, that constraint KK_ID belongs to column KK_ID?
    How can i make,than the constrain belongs to definition of Columns KK_ID?
    Thank you in advance!
    DROP TABLE Krankenkasse CASCADE CONSTRAINTS;
    CREATE TABLE Krankenkasse
    KK_ID                NUMBER(10)
                        CONSTRAINT KK_id_PR PRIMARY KEY,
    BEZEICHNUNG          VARCHAR2(20)
    INSERT INTO Krankenkasse VALUES(1, 'AOK');
    INSERT INTO Krankenkasse VALUES(2, 'Techniker');
    INSERT INTO Krankenkasse VALUES(3, 'Barmer');
    DROP TABLE Patient CASCADE CONSTRAINTS;
    CREATE TABLE Patient
    PATIENTEN_ID           NUMBER(12) NOT NULL
         CONSTRAINT pat_id PRIMARY KEY initially immediate,
    NACHNAME           VARCHAR2(50)NOT NULL initially immediate,
    VORNAME           VARCHAR2(20)NOT NULL initially immediate,
    ADRESSE           VARCHAR2(100)Null,
    GEB_DATUM           DATE NOT NULL initially immediate,
    PRIVAT_KNZ           VARCHAR2(20)
                   CONSTRAINT PRIVAT_KNZ CHECK (UPPER(PRIVAT_KNZ) in ('J','N'))
                   initially deferred,
    KK_ID                NUMBER(10) NUll REFERENCES KRANKENKASSE,
                   CONSTRAINT KK_ID CHECK
                   ((Upper(PRIVAT_KNZ) in ('N') AND KK_ID is NOT Null) OR (UPPER(PRIVAT_KNZ)in ('J')))
    INSERT INTO PATIENT VALUES(1,'Schmidt','Bernd','Adresse1', TO_DATE('01101965', 'DDMMRRRR'),'N',1);
    INSERT INTO PATIENT VALUES(2,'Mueller','Heiko','Adresse2', TO_DATE('15061955', 'DDMMRRRR'),'N',1);
    INSERT INTO PATIENT VALUES(3,'Becker','Josef','Adresse3', TO_DATE('03101947', 'DDMMRRRR'),'J',2);
    INSERT INTO PATIENT VALUES(4,'Winter','Paul','Adresse4', TO_DATE('01051933', 'DDMMRRRR'),'J',Null);
    INSERT INTO PATIENT VALUES(5,'Winter','Paul','Adresse4', TO_DATE('01051933', 'DDMMRRRR'),'N',Null);
    commit;
    __________________________________________________________________________

  • Trying to clear unread emails shown as  a badge next to mail icon, have done network reset and now a complete factory reset and checked server. Any other thoughts on clearing these ghost emails??

    Trying to clear unread emails shown as a badge next to mail icon, have done network reset and now a complete factory reset and checked server. Any other thoughts on clearing these ghost emails?? Also can we get our old keyboard back that shows lower case and upper case?

    Understood, the difference with iTunes being that Apple doesn't (currently) require you to enter any account info on the device until you try to purchase something from their store. Initial setup is just a connection to the iTunes software and you're good to go.
    While I understand that RIM wishes the account to be defined, they also need to be aware that doing so during the initial setup without proving an option to do it later, while failing to provide any means to change it afterwards (short of a device wipe) doesn't always suit the the situation. Hopefully they'll be reviewing the forums to gather feedback that they can incorporate into future software updates.
    BESX 5.0.4, SQL 2008, Exchange 2010 SP2 RU4a

  • Copy values from one Parent node to other Parent Node

    Hi all,
    I have a 2 Parent node each having 3 child nodes. I want to copy the values of all the attributes of all the child nodes of one Parent Node to corresponding other node.
    Both the Parent Nodes as well as their Child Nodes have different name but their attributes have same name.For ex:
    Parent Node -A
    Child Nodes - a, b,c
    Child Node "a" has attributes "x" and "y"
    Parent Node -B
    Child Nodes - d,e,f
    Child Node "d" has attributes "x" and "y" .
    Now I want to copy the values od attributes "x" and "y" from one Parent Node to other Parent node.
    Please help me out.
    Helpful answers will be rewarded.
    Thanxs in advance...

    Hi Jin,
    To use copy service API, u need to satisfy 2 condition for the attributes of source node and target node:
    1. The name of the attribute should be same (including the case of the name)- Abc is different from ABC
    2. Type of the attribute should also be the same.
    copy elements works for copying values from Model node to context and does not work vice-versa. To enable the copying of context node to model node, use copycorresponding API.
    Eg:
    int contextNodeSize = wdContext().node<contextNodeName>().size();
    for(int i = 0; i < contextNodeSize; i++)
         <modelNodeName> modelObject = new <modelNodeName>();
         <contextNodeName>Element contextObject = wdContext().node<contextNodeName>().get<contextNodeName>ElementAt(i);
         WDCopyService.copyCorresponding(contextObject, modelObject);
    This will copy the values from Context Node to Model Node.
    Hope this helps you.
    Regards,
    Poojith MV

  • Template - issue with validity area - check on multiple usages at once

    Hi all
    One customer requirement Iu2019m trying to solve, and I donu2019t find a solution, is the following:
    <b>When we have two or more validity areas in the generation variant, we want to check on both at the same time in order to get the data on the SDS.</b>
    <b>Is this possible or not and, in case it is possible, can someone explain me how to do this?</b>
    Thanks in advance. 
    Two examples.
    In the generation variant we have validity areas:
    A.     REGION                SE 
                         USE_CAT             IND
    B.     REGION                NO
                         USE_CAT             IND
    C.     REGION                NO
                         USE_CAT             FER
    In the specification data of one VAT we have several instances. The usages added to these instances are:
    1.     REGION                SE
                         USE_CAT             IND
    2.     REGION                SE
                          USE_CAT             FER
    3.     REGION                NO
                         USE_CAT             IND
    When I use generation variant A, I only want to see instance 1 on the SDS.
    When I use generation variant B, I only want to see instance 3 on the SDS.
    When I use generation variant C, I donu2019t want to see any instances on the SDS.
    I donu2019t find how to solve this.
    When I donu2019t use a repeating group type G for validity area, using generation variant A, I get instances 1 and 2. Using generation variant B or C I get instance 3 on the SDS.
    When I use a repeating group type G for validity area USE_CAT, using generation variant A or B, I get instances 1 and 3. Using generation variant C I get instance 2 on the SDS.
    Similar with the exclude check put.
    In the generation variant we have validity areas:
    D.     REGION                SE 
                         USE_CAT             IND       
    E.     REGION                NO
                           USE_CAT             FER
    In the specification data of one VAT we have several instances. The usages added to these instances are:
    4.     REGION                SE
                         USE_CAT             IND        excl
    5.     REGION                REG_EU
                          REGION                SE           excl
                          USE_CAT             FER
    6.     REGION                NO
                          USE_CAT             IND
    When I use generation variant D, I donu2019t want to see an instance on the SDS.
    When I use generation variant E, I donu2019t want to see an instance on the SDS
    I donu2019t find how to solve this.
    When I donu2019t use a repeating group G for validity area USE_CAT, using generation variant D, I get instance 4 on the SDS. Using generation variant E I gent instance 6 on the SDS.
    When I use a repeating group G for validity area USE_CAT, using generation variant D, I get instance 6 on the SDS. Using generation variant E, I get instance 5 on the SDS.
    Kind regards,
    Luk

    Hello Luk
    You wrote: When I understand the documentation of the validity area's correct, options subset, superset, 1:1, ... always reflect to the relation of the entry in the generation variant and the usage that is maintained one on the data.
    This is exactly how the link is done between data in EH&S and the data which show up in WWI document (please exclude the topic of G group at the moment; this is special). Therefore the validity area entered in GenVar is the "Leading" validity area.
    Regarding you questions some "basic" work is needed. May be this help you to find new options to solve your issue:
    SAP EH&S uses the "validity area type" and the "validity area". Common used are the validity types:
    REGION
    DGREGION
    PLANT
    It seems that you have created a new validity area type USE_CAT with validity areas wich you have defined by your own.
    I will give you only an overview about the "normal" use of REGION. In this case the validity area is normally a 1:1 relation to a country (defintion is done via customizing). A "special" validity area is REG_WORLD (please refer to SAP docu). REG_WOLRD contains automatically (without further doing) all other validity areas of type REGION. Now it is always possible to generate new "fictive" validity areas. E.g. you Could define the validity area "NAFTA" which would have a link to the countries: US, MX etc. These validiyta areas can be used in data maintenance and in the GenVar as well.
    As I have no knowlede how you have defined the USE_CAT"  validity areas I can not provide you hints. But I would like to provide further hints in using the "Excl." Flag of usage of the VAT
    Example: if you use Rating 1 in combination with REG_WORLD, DE excluded and the GenVar has the leading validity area DE this value is not used in WWI report. But if the genVar would have the leading validity area BE it would be used.
    Please check really carefully the topic of "subset, superset, 1:1,.." because this is the "key" issue if or if not a VAT will show up in WWI.
    Now back to your next question:
    when on the data a validity area is excluded and the same validity area is present in the generation variant, data should not be displayed even when there is a positive match prasent as well. (e.g. positive match on region, negative match on use category).
    Now as explained above: if in VAT level a validity area is excluded but the same validity area is used as leading Validity area in WWI report the value will not show up. The same should be true if you have used "G groups" with discrete validity areas
    Next question:
    when you defined the data as relevant for region EU and use category industrial, data should only be displayed when the generation variant contains both a region related to EU AND this industrial use.
    Here I would need more information. The GenVar contains by default only one leading validity area. Therefore any further "logic" must be applied by using "G Group" in the template and now things get "worse" in some sense.
    If I remember correct the following should be true:
    If you have used properly the G Group with "Use_CAT" in your WWI document this should work:
    You have defined the VAT as : Rating + DE + IND. Now in a special section of your WWI report you have used the G Group. By using this the value should be printed but not a parallel VAT value with Rating + DE + FER.
    If you have used this logic in your whole template I really salute because the WWI template is in my opinion very complex to understand and the logic how to retrieve the data from EH&S into the WWI report is complex too and the length of the report should have increased by at least 20 % or something like that
    Now you have mentioned a further option you are using:
    "Currently we solve this by creating multiple characteristics (use category specific) and selecting only on validity area region based on the generation variant."
    If I underdstood your explanation correct you have done the following:
    If necessary you have entered a further characteristic in the Class called "use CAT" which must have values. Then using the "if else etc." logic of WWI you select only those VATs into the WWI report which does have the correct "Use Cat".
    Once again:hard work which you have done. In my opinion you should go on with this approach. In doing so you have implemented an "and" logic. Only if the Value does have DE and the UseCat (in characteristic) Is e.g. FER the value will be printed.
    It is complex yes but the "G Group" is much complexer
    Natural solution of demands like this is using further ratings to select the data properly. It seems to be you have excluded this option.
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Sep 4, 2011 5:50 PM
    Edited by: Christoph Bergemann on Sep 4, 2011 5:54 PM

  • Check settings combinations to achieve good Optical Flow HDV 50i -ProRes422

    Hi Guys
    RE: Motion 3, HDV 50i, standard ProRes 422, optical flow
    I'm trying to decide which combination of settings I should choose in order to ensure the highest possible standard of optical flow-treated video for a video clip which just features live people - no graphics.
    So far my results haven't been as 'smooth' as I would have liked. Below I have detailed my steps taken - if you could recommend which combination of 'lighting', 'field rendering', 'motion blur' or 'frame blending' I should choose I'd appreciate it.
    1. I captured my Canon XHA1 HDV 50i video via HDV - standard Prores 422
    2. I edited in FCP6 with standard Prores 422
    3. I sent a video clip to Motion 3, new project and chose Broadcast HD 1920 x 1080 25 fps field order Top (Upper First)
    4. I treated the video clip with optical flow to slow it down.
    5. Export as standard Apple ProRes 422 movie.
    Prior to exporting which of 'lighting', 'field rendering', 'motion blur' or 'frame blending' would anyone recommend please?
    For reference, in this forum David Bogie kindly stated the difference between the choices. I have included his post below. However I just want to be sure I'm making the correct choices, as I'm a bit confused about the '50i' (interlaced) aspect of my video footage.
    Here is David's post:
    "lighting
    field rendering
    motion blur
    frame blending"
    These are options you need to use when you know why you want to use them.
    If you have lights on in your scene, you want to render them. If you have no lights (and no camera) you do not need to activate lights. why does the switch exist at all? I render without lights for preview purposes.
    Fields are necessary for interlaced formats. You must know if your production format is progressive or interlaced.
    Motion blur enhances the illusion of movement by simulating image smear caused by an open shutter. You get the illusion at the expense of rendering time.
    Frame blending is only necessary if you have video clips in your scene and even then you don't need it unless you've changed the speed of the clip. Sort of. "
    Zak Peric also kindly posted, although I think his post relates more to graphics as opposed to interlaced video footage. Nonethless, here is his post:
    "Just use animation codec + alpha if you have alpha channel if not use animation codec millions of colours. This is the best codec for best quality. Also 4444 is a very good codec to use as it supports alpha channel but gives you smaller file sizes. Use always BEST from the render window, if you want additional motion blur then switch it on in render view. Be advised it takes much longer to render with motion blur on."
    Any tips would be really appreciated.
    Warm regards
    Peter

    Hi Mark
    Thanks for your kind prompt feedback.
    "You say you sent a clip to Motion, but then you say you chose project settings - I don't understand this. If you really "sent' a clip to Motion using Final Cut Pro's "Send to Motion" command, you don't need to set project settings - Motion automatically creates a project with settings that match the FCP sequence. "
    Okay I understand - sorry for any confusion caused - I had already used "Send to Motion" and applied Optical Flow to a clip which I then exported from Motion 3 as a Quicktime file. I was planning to repeat this process afresh, but am interested in which settings you could recommend from 'field rendering', 'motion blur' etc that might be applicable to my Optical Flow-analysed footage prior to exporting it as a Quicktime file.
    As regards exporting my Motion work as a separate Quicktime file, I prefer to do this so as to avoid the waiting for it to render in FCP.
    The already-optical-flow-analysed footage is actually pretty good (the original clips from FCP6 have already been stripped down to short durations to suit Optical Flow), but want to to double-check which of the 'field rendering', 'motion blur' etc combinations I should ideally choose to obtain best results, just in case I'm neglecting something that could otherwise make the quality even better?
    Once I finish this video project I'm on I'll definitely be going for a clean install of SL and FCS3.
    So, based on these choices...
    lighting
    field rendering
    motion blur
    frame blending
    ...I'm thinking that for my optical flow-treated video I won't need lighting, as it's mostly applicable to graphics.
    I don't have any graphics in these optical-flow video clips. It's just moving video footage of people.
    Am not sure about whether to choose Field Rendering (interlaced PAL 50i HDV - ProRes422 video).
    Am not sure whether to choose Motion Blur.
    Am not sure whether to choose Frame Blending.
    Any tips would be really appreciated, and thanks again for your valuable feedback.
    Peter

Maybe you are looking for