17 Replies Latest reply: Nov 25, 2011 1:36 PM by Samir Mamedov RSS

EG and ESG

Samir Mamedov
Currently Being Moderated

hi gurus,

 

I want to create an static action. on running this action i want to see only one Employee group (PERSG) and only one Employee subgroup (PERSK) in infotype 0000. I would do it via customizing but i dont know can I do it or not. Please help me in this issue.

 

Regards and thanks

 

Samir

  • Re: EG and ESG
    mohammad rafiulla
    Currently Being Moderated

    Hello,

     

    If this is for a USER specific then think of Authorizations.

     

    Regards

    • Re: EG and ESG
      Samir Mamedov
      Currently Being Moderated

      hello  mohammad

       

      Thank for ur idea. But it is not user specific. I want it for ALL my company users. Have you other idea?

       

      regards

      • Re: EG and ESG
        Maddilety Kanuku
        Currently Being Moderated

        I doubt, if you achieve this, as the Authorisation controls at Infotype or subtype level and not field level, and the EE group and EE subgroup are comes from the table drop down., so  i suspect, if you could achive this through standard configuration. I would suggest, you can chanllenge the reuqirment and provide them options ( i am sure you already done this )

         

        Whey business wants only this way, and what is the harm in having the other eE groups and EE subgroups in the drop down, if you are convinced, to their requirement, build up ABAP so that only those EE group and Subgroup would reflect them (its a way to achive the solution but not suggestable)

         

        Other way, is there.

         

        Try to have one action prior to the action where you set the EE group and EE subgroup, and try to run the desired actiion in second time, for the second action set the fields of EE group and subgroup NON EDITABLE in T529A, which case, user would not have the chance to change them..

         

        Try ways..

        • Re: EG and ESG
          Samir Mamedov
          Currently Being Moderated

          tahnk you Maddilety Kanuku     

           

          But it is not useful for me define T529A table. I know it is possible do it via ABAP code. But it is the last.

           

          I think it is possible with dinamic action. Can you help me in dynamic action?

           

          Regards

          • Re: EG and ESG
            Maddilety Kanuku
            Currently Being Moderated

            Hi

            Dynamic does not work in this situation, reason being, dynamic action gets created based on the certain conditions of one infotype it does create the other one.

             

            Look at your case, the action type, EE group both are storing in same infotype (actions) so it can not create the same infotype by reading the same infotype.

             

            Let me know if you have any other questions.

  • Re: EG and ESG
    Potnuru ManikyaRaju
    Currently Being Moderated

    Userexit would be suitable for your requirement.

     

    Thanks

  • Re: EG and ESG
    K. Varma
    Currently Being Moderated

    Are you running this static Action on the existing employee or for new hires.If it is for existing employees then each employee will belong to different EG and ESG right.In the Table T529A table Untick the fields EG and ESG.Kindly Test it.

     

    Best Regards,

    • Re: EG and ESG
      Samir Mamedov
      Currently Being Moderated

      this action will be for new hires. I will untick EG field from T529A. but I want do for my action defaul EG field.

      • Re: EG and ESG
        K. Varma
        Currently Being Moderated

        When u run this Static action on a new hire , EG and ESG should automatically default for a default position Ex:9999999, this EG and ESG is always constant for the Static action right

         

        Kindly confirm

         

        Best Regards,

        • Re: EG and ESG
          Samir Mamedov
          Currently Being Moderated

          thank you for ur sensible information.

           

          I write here my action type in detail. This action is for non-employee. It means that I have 2 hire action. on of normally hire action to specific position. Here I have no any problem. Other is for non-employee which hire to default position. For these employes I have scpecial EG = (N). Now I want that when I run my non-employee hire action in the infotype 0000 default EG should be N. Then we can tick the checkbox from T529A. have any idea?

           

          regards

          • Re: EG and ESG
            K. Varma
            Currently Being Moderated

            Firstly Create a dummy 99998888 and name it as default Position and for this Position maintain IT1013 , when ever u run this action and u select this 99998888 position then immediately  EG and ESG will automatically defaulted as defined in IT1013.Kindly try this

             

            Best Regards,

            • Re: EG and ESG
              Samir Mamedov
              Currently Being Moderated

              sorry but it is not solution.

            • Re: EG and ESG
              Madhu K
              Currently Being Moderated

              Assigning to one specific position (in OM), and defauling the EE group and Subgroup from OM looks possible solution. HOwever, i could forsee the problem of assigning going forward too many persons to one Position, as the occupancy of person exeeds more than 100%.

               

              So which case, you need to create your dummy (what ever the number youwish) position first in OM, and maintain the EE group, and Subgroup in the above mentioned infotype to default the values in IT0000 or IT0001

               

              If you look at the effort estimated way, its going to be take a 2 seconds to pick up the EE group, instead it would take not less than 10 mins to maintain the OM data.

               

              Think..

              • Re: EG and ESG
                Samir Mamedov
                Currently Being Moderated

                HI madhuk     

                 

                Thank you for yor idea. But it is not useful this time becouse my action is for non-employee and non-employees have no specific position. May be default position may be oher. and I cannot define default EG and ESG for this positions.such affairs

                Now have you any idea? I want crate it via relevant tables

                 

                regards

                • Re: EG and ESG
                  Madhu K
                  Currently Being Moderated

                  Hi.. as i suggested earlier there is only two options, either go through ABAP code, or change your requirement., there is no other way you can achive this.

                  If you still have questions u may write a question to SAP, and they would give you reply ( I doubt, if SAP gives you reply for these kind of questions, and i have never done this for configuration related queries)

                   

                  Which saves a lot of time to you.

                   

                  If you find any other way to achive this please keep us posted, ( I doubt there would be none), if not, any of our inputs given you thought process to achieve the solution give us the rewards appropriately.

                   

                  Thanks.

Actions