Define Active Subtypes and Application Case

Hi all,
I am working on V_T7XSSPERSUBTYP in order to define the subtype for ESS.
If I try to insert a new value for country 01 --> infotype 0021 --> subtype 2 --> use case A6, the system dispalys this error message:
"There is an inconsistency in the usecase maintained for this record" (Message no. HRXSS_PER003).
For the subtype 2 (in IT0021) the time constrain is 3 and there is the flag in object allow.
Could you please help me to understand the problem?
Thanks a lot
Rosy

Dear All
Make the Use Case B3 or A3
Hope it hepls

Similar Messages

  • Determine Active Subtypes and Make Settings Error for IT0021

    Hello Experts,
    We are running SAP ECC 6.0 Ehp 5.  I am trying to complete the IMG step Personnel Management > Personnel Administration >  Employee Self-Service (Web Dynpro ABAP) > Service-Specific Settings > Personal Information > Personal Profile > Determine Active Subtypes and Make Settings.
    We are configuring for country grouping 10, Infotype 0021 subtype 1.  For this subtype (spouse) we want to make sure the check box "New Button always available on overview screen" is NOT checked (since people in USA can only have 1 spouse).  However, anytime we try to save, the system comes back with the error "The check-box 'New button Always Available' is Mandatory".
    I tried checking IMG step Personnel Management > Personnel Administration > Personal Data > Family > Define possible family members and confirmed that subtype 1 is set to Time Constraint 2 (not mandatory and can have gaps).
    In addition, I want all other IT0021 subtypes to have the check box "New button Always Available" to be checked (because you can have multiple children for example).  But this box is greyed out and not checked!  I confirmed these are under Time constraint 3.
    Please help!

    this occurs due to this
    HRXSS_PER004
    Main Program     SAPLHRXSS_PER_CHECK
    Source code of   LHRXSS_PER_CHECKI01
    Whats not allowed in usecase settings
         if new_btn_alwys = ' '.
           if ( l_timeconstraint = 2 and l_flg_objps      = 'X' ) or
              ( l_timeconstraint = 3                            ).
              message e000(hrxss_per).
           endif.
         endif.
    HRXSS_PER004
    Check-boxes are reset due to inconsistency of
    usecase being maintained
    For example Child subtype we have tghis config, Please check these tables for your config
    Table  V_T591A
    IT 0021
    Subtype    Name    Time Constraint   OBJID
    2          Child   2                 X
    This will allow you to maintain the entries as desired.
    You may also put a breakpoint
    Include          LHRXSS_PER_CHECKI01
    PERFORM get_timecontraint_objps USING    v_t7xsspersubty-infotype
    Then go to SM30 > V_T7XSSPERSUBTY
    CG  01
    New Entries >
    Infotype        0021
    Subtype         2
    Flag the New Button always available...

  • How to define JAXP Parsers and Transformer in a Web Application Context

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

  • Is there any methods like application activated and application de-actived in windows app 8.1

    Hi,
    Is there any events such as on application loaded and application closed in windows store app 8.1
    Thanks,
    Alok

    Please see the application lifecycle page:
    https://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to configure "User defined" activity in a process flow

    I want to start a shell script from a workflow process in an Unix environment. I use owb 10.2.0.1
    Name of shell_script:           verify_infile.sh
    Location of shell_script:     /ASW/dw
    3 parameters to the script:     X X /local/db/import/rain/finans.dat
    First parameter is the letter X
    Second parameter is the letter X
    Third parameter is the path and file name I want to verify
    I assume it's the User defined activity I should use and the parameters of the user defined activity are as follows
    4 IN PARAMETERS
    COMMAND
    PARAMETER LIST
    SUCCESS THRESHOLD
    SCRIPT
    1 OUT PARAMETERS
    RESULT_CODE
    So my question is what shall I have as in parameters in the User defined activity?
    Kind regards
    Jan

    Here is the solution to the case
    First make sure parameter in (owb_home)\owb\bin\admin\Runtime.properties is not disabled.
    If it is, change the parameter to the value NATIVE_JAVA as described in the file:
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    Second
    COMMAND: /bin/sh
    PARAMETER LIST: ?/ASW/dw/verify_infile.sh?X?X?/local/db/import/rain/finans.dat?
    RESULT_CODE: 0
    SCRIPT:
    SUCESS_THRESHOLD: 0
    Regards
    Jan

  • User Defined Activity: Run OS Command with OS parameters

    OS: OELR5 U3 x64
    DB: 11.1.0.7
    OWB: 11R1
    I would like to be able to run an os command from a user defined activity within a process flow. I am trying to make use of VMWare's vmrun to control a virtual machine. From the OS command line I enter:
    /usr/bin/vmrun -T server -h https://server:port/sdk -u user -p userpassword -gu guest -gp guestpassword runProgramInGuest "[standard] VM/Virtual Machine.vmx" -activeWindow -interactive "c:\path_to_program\program.exe" /switch
    How many I duplicate this OS command from within a user defined activity in a process flow?
    I create a user defined activity:
    COMMAND: /usr/bin/vmrun
    PARAMETER_LIST:
    RESULT_CODE:
    SCRIPT: -T server -h https://server:port/sdk -u user -p userpassword -gu guest -gp guestpassword runProgramInGuest "[standard] VM/Virtual Machine.vmx" -activeWindow -interactive "c:\path_to_program\program.exe" /switch
    SUCCESS_THRESHOLD: 0
    The process runs without error in the log, but the os command is not being run.
    I tried again with:
    COMMAND: /usr/bin/vmrun
    PARAMETER_LIST: ?-T?server?-h?https://server:port/sdk?-u?user?-p userpassword?-gu?guest?-gp guestpassword?runProgramInGuest "[standard] VM/Virtual Machine.vmx"?-activeWindow?-interactive?"c:\path_to_program\program.exe"?/switch?
    RESULT_CODE:
    SCRIPT:
    SUCCESS_THRESHOLD: 0
    with the same result.
    And I also tried calling sh:
    COMMAND: bin/sh
    PARAMETER_LIST:
    RESULT_CODE:
    SCRIPT: /usr/bin/vmrun -T server -h https://server:port/sdk -u user -p userpassword -gu guest -gp guestpassword runProgramInGuest "[standard] VM/Virtual Machine.vmx" -activeWindow -interactive "c:\path_to_program\program.exe" /switch
    SUCCESS_THRESHOLD: 0
    also with the same result.
    The process runs in each case, and ends with: "Log file is available", but when I look in the log, I don't see errors or any information that might help me adjust the user defined activity.

    This method works:
    COMMAND: bin/bash
    PARAMETER_LIST:
    RESULT_CODE:
    SCRIPT: /usr/bin/vmrun -T server -h https://server:port/sdk -u user -p userpassword -gu guest -gp guestpassword runProgramInGuest "standard VM/Virtual Machine.vmx" -activeWindow -interactive "c:\path_to_program\program.exe" /switch
    SUCCESS_THRESHOLD: 0
    The issue seems to be caused on an upgrade to OWB 11R2. Our installation does not always update the VALUE entry when a user types in a value, meaning that our entry changes were not reflected into the deployed process package.

  • User Defined activity does not log messages

    I have created a User Defined activity which calls a unix shell script.
    This script writes messages to standrard output ("echo") that I want
    the process flow to catch in its log, so I can see the messages in
    Control Center Manager.
    This was actually the behaviour of my User Defined activity until recently.
    I must have changed, unintentionally, some parameter/configuration that
    I cannot remember. Maybe some "suppress script-messages" parameter? :-)
    Anyone in this forum who knows which paramater I might have changed
    and/or how I can get back the old behaviour of my activity?
    // Pontus

    I had the same experience recently: I was trying to log a message to a Unix file, but the process flow would always fail, even though the script executed well from the Unix prompt.
    The problem in my case was that redirection is not supported from within an OWB version 9.0.4 process flow. Once I eliminated the "echo My message > logfile" everything was fine. You can even keep "echo My message" with no redirection and it's still ok.
    The above holds regardless of where you put your script -- external Unix file, or as part of an "external process" icon in the flow.
    If things are the same in your case, you'll need to figure out an alternative way of logging messages when executing the script. I decided to use external files as flags, by renaming them from the script.
    Santiago

  • Do i need to reinstall programs and applications like FCP after upgrading to the new Lion OS?

    Do i need to reinstall programs and applications like FCP after upgrading to the new Lion OS?

    I've installed Lion over Snow Leopard and all my non Apple software is still here - you may want to check if your software will work with Lion and I would definately recommend having a bootable backup in case anything goes wrong
    Regards,
    Colin R.

  • Need in HR Infotyp Subtyp and a second Keyfield

    Dear colleague,
    I will use in a HR - Infotyp a Subtyp and a second Keyfield. The Subtyp defined the shape of the Infotyp und the second Keyfield is a foreign key from a other database table. The keyfield length is greater then 3 Bytes, so I can't use the standart fields OBJPS or SEQNR for the second Keyfield.
    My question is:
    Is it possible to use a keyfield outside of structur PAKEY. I want to set in this case the second Keyfield as Key in the transaction SE11 for this Infotyp. Will this Keyfield to be considered in all cases as "Time constraint"  (Transaction PM01 / Infotyp charakteristics)
    Thank you for your response
    Frank Dehle

    Hi,
    It is not possible to use the key field other than the PAKEY structure. When you try to create a infotype through PM01, system automatically inserts the PAKEY structure as the key for the corresponding transparent table created in the dictionary. Those fields entered by the user will be created as PSnnnn structure in the infotype.
    regards,
    sankar

  • Are you using a shield *and* a case?

    I tried and failed to put my invisible shield on last night (see invisible shield application thread) and today have been looking for a good case to use while I figure out what to do and am wondering - is anyone using a plastic shield and a case? I figure the case protects against shocks and most scratches, while the shield is ultimate scratch protection. But I'm wondering if I get the kind of case it can stay in all the time (hoping for the iSkin evo3 soon) then do I really need a shield?

    I got my IPOD video (30GB) just a few weeks ago, when I purchased it, I couldn't find a case for it in the store, so I spent a good amount of time online looking at the different options and searching for the best to work with my IPOD.
    I found a case that protects the corners, the click wheel, the front and back of the IPOD. The case fits my IPOD, but isn't too tight, and the IPOD most definately doesn't slide around. The case comes with a wrist strap, as well as a neck lanyard, and also has a belt clip on the back. There are holes in the case for the headphones, hold button and the dock connector.
    Also at this website I found a clear protective shield that goes on the front to protect the screen, it fits down the face of the IPOD, and fits inside the case as well.
    I purchased both these items for around $30.00, and I must say after some of the reviews I read on the internet about some cases, I believe I've found an excellent case.
    You can shop for it here...
    www.ipodaccessories.com
    they sell leather cases, as well as 'tubes' (which is what I bought, screen protectors (which they call 'full body screen protector'--which I also bought.)
    GREAT ACCESSORIES FOR all 5th Generation IPODS!
    Built it myself   Windows XP  

  • JNDI, Active Directory and Persistent Searches (part 2)

    The original post of this title which was located at http://forum.java.sun.com/thread.jspa?threadID=578342&tstart=200 subsequently disappeared into the ether (as with many other posts).
    By request I am reposting the sample code which demonstrates receiving notifications of object changes on the Active Directory.
    Further information on both the Active Directory and dirsynch and ldap notification mechanisms can be found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/overview_of_change_tracking_techniques.asp
    * ldapnotify.java
    * December 2004
    * Sample JNDI application that uses AD LDAP Notification Control.
    import java.util.Hashtable;
    import java.util.Enumeration;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import com.sun.jndi.ldap.ctl.*;
    import javax.naming.directory.*;
    class NotifyControl implements Control {
         public byte[] getEncodedValue() {
                 return new byte[] {};
           public String getID() {
              return "1.2.840.113556.1.4.528";
         public boolean isCritical() {
              return true;
    class ldapnotify {
         public static void main(String[] args) {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=antipodes,DC=com";
              String adminPassword = "XXXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              String searchBase = "DC=antipodes,DC=com";
              //For persistent search can only use objectClass=*
              String searchFilter = "(objectClass=*)";
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //bind to the domain controller
                      LdapContext ctx = new InitialLdapContext(env,null);
                   // Create the search controls           
                   SearchControls searchCtls = new SearchControls();
                   //Specify the attributes to return
                   String returnedAtts[] = null;
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                         //Specifiy the search time limit, in this case unlimited
                   searchCtls.setTimeLimit(0);
                   //Request the LDAP Persistent Search control
                         Control[] rqstCtls = new Control[]{new NotifyControl()};
                         ctx.setRequestControls(rqstCtls);
                   //Now perform the search
                   NamingEnumeration answer = ctx.search(searchBase,searchFilter,searchCtls);
                   SearchResult sr;
                         Attributes attrs;
                   //Continue waiting for changes....forever
                   while(true) {
                        System.out.println("Waiting for changes..., press Ctrl C to exit");
                        sr = (SearchResult)answer.next();
                              System.out.println(">>>" + sr.getName());
                        //Print out the modified attributes
                        //instanceType and objectGUID are always returned
                        attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();System.out.println("   " + e.next().toString()));
                             catch (NullPointerException e)     {
                                  System.err.println("Problem listing attributes: " + e);
              catch (NamingException e) {
                          System.err.println("LDAP Notifications failure. " + e);
    }

    Hi Steven
    How can I detect what change was made ? Is there an attribute that tell us ?
    Thanks
    MHM

  • Deploy software packages and applications (roles) to rolebased assets

    Hi everybody,
    I'm new to SCCM and I need some advice about how to deploy software suites (fixed lists of software packages and applications) automatically to our rolebased assets. Rolebased assets are assets that have predefined software suites or 'roles'. Combinations
    of several roles on a single machine are possible. We currently use Altiris NS for our software deployments. The system I have there is as follows.
    - regkey on the local machine defining the role(s) for that asset (values are streamed from our CMDB into the local registry) 
    - dynamic collection for each role based on the value in the regkey
    - task assigned to the collection to install the role(s) (a fixed list of packages and applications)
    - as stated several roles can be assigned to a single asset
    For the deployment of several roles to the same machine we use a in house built solution called Sequence Installer (SQI). SQI keeps track of which role it is installing and will put other roles in a queue. It also has retry and reset functionalities.
    In case of failure it will automatically retry from the failed step. We can also manually restart the SQI from the start or from the failed step.
    We are planning to migrate towards SCCM 2012 R2 and the purpose is to do as much as possible out-of-the-box. Meaning SQI should become obsolete and replaced by SCCM built-in functionality.
    For SCCM, I'm thinking to do it like this: use the regkey to populate a collection for each role and work with a task sequence for the role installation. I'm sure that will work, but perhaps there are far better and simpler ways to do this in SCCM? Furthermore,
    I'm afraid SCCM will not be as flexible as SQI when it comes to automatically retrying and/or resuming the installation sequence in case of failure (failures caused by something that doesn't need manual intervention of course, like source corruption,
    non-blocking failures, et cetera).
    Another way of doing it could be UDA, create a functional user representing each role and assign software to the user. Then link the assets needing a role as primary devices to the user representing the role and pre-deploy the software (in an OSD scenario).
    But again, also in this scenario I need the capability to automatically restart and retry failures.
    It would be great if I could get some other opinions on the subject, thanks guys!
    Kind regards,
    Chris

    nope, I did not start actual testing of the scenario, and this for several reasons (I'm sure TimDK understands what I'm talking about :-))
    - I work at a financial institution where things tend to go very slow (understatement of the year...)
    - I have a lab environment but no rights to create AD stuff for example, I have to officialy request these things and that takes time...
    - lab environment testing is very high-level (wake-on-lan, 1E nomad testing, et cetera), we'll promote in the near future to our test and development environment where more in-depth testing can be performed
    In short, I'm thinking about the concept(s) that can be used, actual testing and playing with it will be for later... I thank everybody for the tips, my goal is to get some thoughts and insights from the experts, one can only learn... I will feedback later
    about the what and how and which solution will actually gets implemented.
    Regards,
    Chris 

  • Logging Alarm Activations, deactivations, and Acknowledgments

    Lookout 5.1
    I have a need to be able to execute an event on alarm events when they become active, inactive, and are acknowledged.  Management wants an up to date record of when an alarm comes in, how long that alarm is on, how long it takes operations personnel to respond to the alarm, etc...  I see that I can use the $Alarm block to produce a list of when the alarm is activated, but don't see any method of allowing me to capture when that alarm goes inactive, or when the alarm is acknowledged.
    Does such a capability exist, or is management stuck yet again?
    David

    David,
    There is not an easy way to access the alarm database.  Alarms are stored in the MSDE database, and you are free to try to access this database via OBDC (in a 3rd party environment or from Lookout) but the tables aren't published and it is not a supported method of accessing alarm information.  Oh, you are using Lookout 5.1 which stores alarms in the Citadel db.  In any case, you could try using OBDC to import alarms into a datatable.  This may be easier than in Lookout 6.0 but I don't know the structure of the tables -- you'd be on your own there.  Here are a few other ideas:
    Have you used the ActiveX AlarmBrowser object? This embeds the same Alarm Browser you use in MAX right into your Lookout Panel.  This gives you all the information you are asking for (timestamp for when the alarm occured, when it was acknowledged, when it became inactive) and color codes the four alarm states: active unacknowleged, active acknowledged, inactive acknowledged, and inactive unacknowledged.  Now, it just presents the timestamps, not a running amount of time the alarms have been active, etc, and you can't really do anything besides acknowledge the alarms from it, but it does present the information you are referring to.
    If you actually want to programmatically do things with alarms, you can use either the $alarm object built into every process, or create your own Alarm objects.  Alarm objects have an 'active' datamember that you could work with to create different types of timers with.  As far as knowing when individual alarms are acknowledged programmatically, the only thing I can think of would be to create a separate alarm area for each alarm, then you can use the $alarm object and check which alarms are active and/or acknowledged. With some creative uses of timer objects, the $alarm object, and expressions, you may be able to do what you are thinking about.  Hope this helps!
    Message Edited by Doug M on 12-20-2005 03:44 PM
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Test scripts and Test cases

    Hi Team,
    Kindly can you let em know what is the difference between Test Scripts and Test cases with example if possible.
    Regards,
    Vimal

    Hi Vimal,
    A test case  is a set of conditions or variables under which a tester will determine if a requirement or use case upon an application is partially or fully satisfied. It may take many test cases to determine that a requirement is fully satisfied.
    Test cases are often incorrectly referred to as test scripts. Test scripts are lines of code used mainly in automation tools.
    Test script
    A test script is a short program written in a programming language used to test part of the functionality of a software system. A written set of steps that should be performed automatically can also be called a test script, however this is more correctly called a test case.
    Any test that is written as a short program is regarded as an automated test. Test scripts written as a short program can either be written using a special manual functional GUI test tool or in a well-known programming language (such as C++, C#, Tcl, Expect, Java, Perl, Python, or more recently, Ruby). Automated test tools can test many areas of system functionality such as the user interface, performance of the system, the system code and the requirements.
    Automated testing has the advantage over manual testing in that it is easily repeatable, and thus is favoured when doing regression testing. This however is not always the case as automated tests may be poorly written and can break during playback. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point. 
    Test Script defines the actions and pass/fail criteria. For example, if the action is "to enter a valid account number," the expected result is that the data are accepted. Entering an invalid number should yield a particular error message.
    Award Points accordingly.
    Regards,
    Kitchlu

  • What is the diffrence between sap events and application events

    Hi all,
    what is the diffrence between sap events and application events.Can any one tell me with examples.
    regards,

    Hi,
    Look at this,
    <b>System Events (Default)</b>
    The event is passed to the application server, but does not trigger the PAI. If you have registered an event handler method in your ABAP program for the event (using the SET HANDLER statement), this method is executed on the application server.
    Within the event handler method, you can use the static method SET_NEW_OK_CODE of the global class CL_GUI_CFW to set a function code and trigger the PAI event yourself. After the PAI has been processed, the PBO event of the next screen is triggered.
    The advantage of using this technique is that the event handler method is executed automatically and there are no conflicts with the automatic input checks associated with the screen. The disadvantage is that the contents of the screen fields are not transported to the program, which means that obsolete values could appear on the next screen. You can work around this by using the SET_NEW_OK_CODE method to trigger field transport and the PAI event after the event handler has finished.
    <b>Application Events</b>
    The event is passed to the application server, and triggers the PAI. The function code that you pass contains an internal identifier. You do not have to evaluate this in your ABAP program. Instead, if you want to handle the event, you must include a method call in a PAI dialog module for the static method DISPATCH of the global class CL_GUI_CFW. If you have defined an event handler method in your ABAP program for the event (using the SET HANDLER statement), the DISPATCH method calls it. After the event handler has been processed, control returns to the PAI event after the DISPATCH statement and PAI processing continues.
    The advantage of this is that you can specify yourself the point at which the event is handled, and the contents of the screen fields are transported to the application server beforehand. The disadvantage is that this kind of event handling can lead to conflicts with the automatic input checks on the screen, causing events to be lost.
    Hope u understood.
    Thanks&Regards,
    Ruthra.R

Maybe you are looking for