Dynamic actions required for IT0021 - child subtype 2.

Hello ,
Can someone help me  with required dynamic actions to delimit the child subtype in infotype 21,
when any new subtype is created in IT0021?
Best Regards,

The scenario actually is like :
After the Save of subtype XX, we could use table T588Z (Dynamic Action Table) and let the automatic calling of this table drive bringing up the IT0021 subtype 2 (Child) and even  put the End date on the IT0021 child.  The user would then click the Save button.  The advantage here is we donu2019t do any direct update of the Child IT0021.
Regards.

Similar Messages

  • How to write dynamic actions for delimiting child subtype of IT0021

    Hi ,
    I need the dynamic actions for the below scenario:
    In IT0021 , there is a child subtype '02'. This needs to be delimited to a new subtype 'XX' when the child reaches a certain age.
    The above process needs to be automated..as in when the new subtype 'XX' is created, it should check the fields like date of birth , last name and on saving it , the corresponding child subtype screen should be called where the user can modify the end date and delimit the child subtype.
    Please help me with the required dynamic actions..
    Thanks.

    Hi,
    Just try this.
    INFTY     SUBTY      FIELDN      FC NO.      STEP VARIABLE FUNCTION
    0021      02      Field Name      P       TabName-FldName>=age
    0021     XX               I         INS, 0021,XX/I
    Regards,
    Srini.

  • I am trying to add a note in numbers when I can link an action required to my calendar... Is this possible? For example I am using numbers like a CRM and I would like to be able to have my next action required for a customer link to my calendar

    I am using numbers as a CRM and one of my columns is called 'Next Action Required' i.e
    Next Action Required
    Email Douglas on the 02-12-14 about information needed for tour
    Call Thomas 0446 393 about booking trip
    Thank you in anticipation
    Doug

    Utterly bizarre. I can't see your two follow-up posts when I'm logged in. However...
    Things would be simple if Apple implemented Data Detectors for dates in Numbers, as they have in applications like TextEdit and Script Editor. Then you’d have a system-level means of quickly moving from a selected date in your CRM spreadsheet to Calendar.
    Until that happy day arrives, though, we can approximate it with AppleScript and Automator.
    First, make sure your Numbers table is called CRM and your column has the header Next action required. (You can change these if you want but you’ll also have to modify the script.) This is the basic setup:
    Then, launch Automator and create a new workflow. From the Choose a type… dialog, specify Service.
    At the top of the workflow, “Services receives selected…” should be set to text in Numbers.app. (You'll need to choose Other... from the pop-up and then navigate to Numbers.)
    In the Library menu at the left, click on Utilities, then drag a Run AppleScript action into the main Automator pane. Delete all the boilerplate text from the script.
    It should look like this:
    Now copy and paste the script below into the Run AppleScript action.
    on run {date_string}
      tell application "Numbers"
      tell document 1
      tell active sheet
      try
      set crm_table to (item 1 of (every table whose name is "CRM"))
      on error
      display dialog "No CRM table in this sheet"
      return
      end try
      tell crm_table
      try
      set the_selection to selection range
      set the_row to row 1 of the_selection
      on error
      display dialog "Select some text in a cell"
      return
      end try
      set the_col to item 1 of (column of the_selection)
      set header_cell to cell 1 of the_col
      if value of header_cell is "Next action required" then my run_calendar(date_string)
      end tell
      end tell
      end tell
      end tell
    end run
    on run_calendar(date_string)
      try
      set date_string to date_string as string
      set real_date to date (date_string)
      on error
      set real_date to (current date)
      end try
      tell application "Calendar"
      activate
      switch view to day view
      try
      view calendar at real_date
      on error the_err
      display dialog the_err
      end try
      end tell
    end run_calendar
    Click the little hammer at the top to make sure that the script compiles (indents and colours in). If it doesn’t, you may need to sort out some line breaks in the copied and pasted script.
    Now save the workflow as Go to date in Calendar. Quit Automator.
    So what does the script do? Basically, it looks at the selected text in a Numbers cell and checks to see that the table name is “CRM” and the column header is “Next Action Required”. It then tries to convert the selected text into a valid date. If it can, it takes you to that date in Calendar. If it can’t, it takes you to today’s date. In both cases it switches Calendar to day view. You have to bear in mind that if you select all of “10/10/14 Call John re contract” it won’t understand that part of this is a date, and won’t go to October 10.  You'd have to select just "10/10/14"
    To run the Service, right-click or control-click on the selected text and go down to Services, then choose Go to date in Calendar:
    Alternatively, run it from Services in the main Numbers menu.
    You can set up a keyboard shortcut for any Service in System Preferences - Keyboard - Shortcuts. Post back if you need more info about this.
    Tested with Numbers 3.5 (2109). This will not work with Numbers '09.
    Hope this works for you, let us know how you get on.
    H

  • Specific UME Actions required for Deployement in CE 7.1

    Hi Experts,
    I need to know how many and which UME action are required for deploying the application in CE 7.11
    For deployement, we usually assign the UME Role called "Administrator" to the ID that we use for deployment.
    If I remove this "Administrator" UME role, an error message is thrown as...
    com.sap.ide.eclipse.deployer.api.APIException: DeployException,cause=ERROR CODE DPL.DCAPI.1023AuthorizationException
    This "Administrator" UME role has some 2978 UME Actions assigned to it.
    For the UME role "Administrator", inside the assigned UME actions, I have tried filtering the UME Actions based on the filter keyword "deploy", which returned some 14 UME actions.
    Now, I have made following Test case and result.
    Test Case:
    1) Remove the Administrator Role from the ID that is used for deployement.
    2) Now Assign all the above 14 UME actions that were found related to "deploy" keyword to a Custom UME role "DeployRole".
    3) Deploy using the same id.
    Result : Deployement fails with the same above mentioned error.
    Conclusion: There can be 2 possible conclusions...
    1) None of the above 14 UME actions provide the authorization for the deployment.
    2) OR There are some other UME actions which might have some dependecies that are required along with the suspected UME actions.
    In short my requirement here is, to find out the specific UME actions that are required for deployment, so that i can remove the "Administrator" UME role and assign the specific UME actions needed for deployment to a my Custom UME role, and assign this Custom UME role to the user ID for deployment.
    Regards,
    Shreyas Pandya

    Hey Nghia Nguyen...!
    Thanks a lot for your reply, i have rewarded you the points.
    I have found out that for deployment following UME actions are required.
    dc_action (Mandatory)
    auth.all.all (Mandatory)
    deploy_action (Not Mandatory)--> if you remove this deploy_action UME action the deployment will still work, but in developer studio, the Deploy result dialog box with OK button, that pops every time after you deploy your project by right clicking your application and choosing "Deploy new Archive and Run" will cease to appear and the application will directly run in the browser.
    Regards,
    Shreyas Pandya

  • Dynamic-actions/expressions for Radio button in VC

    Hi,
    I would like to know whether dynamic actions for radio-buttons are possible in VC??
    I have a situation where, i have to display/hide an input-field according to the radio-button that i select.
    Is this possible in VC??
    Because, i do not find any place where i can write expressions for a radio-button so that it can take actions accordingly.

    Actually its possible.
    Here is the sample code for this.
    tables : kna1.
    parameters : chk1 radiobutton group g1 user-command abc,
                 chk2 radiobutton group g1.
    parameters : chk3 type kunnr.
    at selection-screen output.
    loop at screen.
      if chk1 = 'x' and screen-name = chk3.
          chk3-active = '0'.
      endif.
    endloop.
    In this way you can hide a input-field on the screen.

  • What action required for Cisco Unity 8 if i am migrating Active Directory Forest

    HI
    Currently we have running cisco unity 8.0 in our environment. Now we are planing to change our domain name ( i.e from abc.com to xyz.com ) for that change what is the procedure to change the Cisco Unity Server domain name. We need to do anything on cisco unity software or just we neeed to change the domain name of the appliance.
    Please share your ideas.
    Thanks

    Renaming a Cisco Unity 8.x Server or  Moving a Cisco Unity 8.x Server to Another Domain
    http://www.cisco.com/en/US/docs/voice_ip_comm/unity/8x/upgrade/guide/8xcurug080.html
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • BADI, User Exit or Dynamic Action for Infotype 24

    Hello,
    in PA30, our HR admin team want me to write an Infotype 19 record when a user amends or creates an Infotype 24 record.
    I spent all day yesterday trying to find a solution to this.
    Can anyone please tell me:
    1) Do dynamic actions work for IT0024? - our HR admin suggest that they don't as there is no 'subtype'.
    2) Should user exit PBAS0001 (function EXIT_SAPFP50M_002) work for IT0024? I have tried putting in a test display which should appear on save of IT0024 and this does not appear to work.
    3) Will BADI HRPAD00INFTY work? If so, does anyone have an example of code that tests the 'old' IT0024 record before modification - the documentation does not help too much with a good example. I'm planning to use this as a last resort due to the need for an access key.
    Many thanks in advance,
    Keiron.

    The BADI is probably the best way to go.  You should not need an access key - you do not put your code in the BADI, but instead create an implementation of it in a Z name range.  Go to SE18 for the BADI and display it, and select menu option implementation--->create.  Give a Z name and then you will have a place to put your code.  You can double click on the methods shown in your implementation to get to the ABAP code editor.
    Exit PBAS0001 should also work - put a breakpoint in it to see if it is called.
    Both the BADI and Exit are called at almost the same point in the SAP PA30 code - however the BADI is called in some cases when the exit is not.  It is outside an additional IF test in the SAP code.
    Andrew

  • 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...

  • Dynamic Actions for Rehire

    Hi All:
    I've been trying to write a dynamic action to take the termination date from infotype 0041 and based on that data change the benefit eligibility date and rehire date on infotype 0041.
    Can anyone explain how can this be done?
    Thanks
    Venkat

    Hi Raj,
    There's no dynamic action functionality for PD.
    Instead you can use user exits & BADIs.
    Pls check the following thread:
    https://forums.sdn.sap.com/click.jspa?searchID=14814870&messageID=4494628
    Regards,
    Dilek

  • Problem with dynamic actions

    Hi,
    I am creating the following dynamic action configuration for my custom infotype 9902. My requirement is to Insert a new record of Additional payments (0015) infotype with wagetype (LGART) = 9GHS and Amount(BETRG) = 1000 when the value in field "ALL_ENROLL" is created/changed.
    <u><b>INFTY|SUBTY|FIELD             |FC|No|S  | Variable function</b></u>
    <b>9902      |           |ALL_ENROLL |06 |20 |I   | INS,0015,,,(P9902-BEGDA),(P9902-ENDDA)
        9902  |           |ALL_ENROLL | 06|30 |W| P0015-LGART='9GHS'
        9902  |           |ALL_ENROLL |06 |40 |W| Q0015-BETRG='100000'</b>
    The dynamic action is getting triggered properly with Wagetype(LGART) being populated properly. But the value in Amount(LGART) is not getting populated. The technical details of the amount field shows the field as Q0015-BETRG.
    Can someone help me in acheiving this?
    Thanks,
    Prasath N

    Problem solved. The documentation for dynamic action states that,
    <b>Do not set defaults for Q fields of an infotype because the values for these fields are derived from the corresponding P fields.
    Examples
    Infotype  Subtype  ..... FC  Ind.  Variable function part
    0021       2              04  I     INS,0015,M430
    0021        2              04  W     P0015-BETRG='10000'
    When a Family/Related Person record (0021) record with subtype 2 (child) is created, an Additional Payments record (0015) with a default amount of 100.00 is created.
    </b>
    Thanks,
    Prasath N
    Message was edited by:
            prasath natesan

  • Dynamic actions user execute the Hiring action, IT 0105 dynamically adjust

    Hello Any body can guid me for the below requirement..
    Whenever the user execute the Hiring action (action type: Z1-Hiring cPA) the system should adjust the infotype 0105 dynamically during executing the hiring process, in the same way the subtype (0010 : E-mail )for the userid in SAP HR should be adjusted.  The HR Services should not have to do this manually.
    The e-mail account can be composed from the fields first name, name prefix and birth name. The fields have to be separated by dots. When the name prefix contains more words they have to be separated by a dot.
    When company code is 003 the value email atthe rate xx.comhas to be adjusted at the end.
    When company code is 004 the value email atthe rate yy.com has to be adjusted at the end.

    Hello Donnie Freako
    Thanks for the the information, As i am a HR-ABAP consultent. I am not much femiler on this dynamic actions..
    for this case: the  DESCRIPTION:  In the dynamic module pool ZXXXM000 has to be changed. - so for this where exactly i need to check the transcation, i think its in SE51..
    please provide me the steps for the same... and if possible please provide the breaf detaild explination for the below code where exactly i need to place the below, i think we need to place this in T588Z table against fields and values and whatis the meaing of P and I and F and W .. as a technical person i dont know much about this please help me on the same..
    P PSPAR-MASSN=u2019Z1u2019
    P P0001-BUKRS=u2019003u2019
    I INS,0105,0010/D
    F Z_003_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    P P0001-BUKRS=u2019004u2019
    I INS,0105,0010/D
    F Z_004_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    clear explination would be appreciated

  • HR PA Dynamic Actions: Generate mail to the admin when 0002 & 0021 changed

    Hi gurus!
             My client wants us to generate a mail to the Admin when an employee changes his 0002 or 0021 infotype
    through ESS. I believe we could do this is Dynamic Actions. Can you please tell me how we do it?
    Thanks and Regards,
    Soniya

    Hi,
    Some good write-ups :
    http://wiki.ittoolbox.com/index.php/Dynamic_Action
    http://www.sapconfig.com/index-3.html (look for "Dynamic Action Mail for Infotype". This will require registration but free.
    Thanks.
    Regards
    Kir Chern

  • In HR ABAP WHAT IS DYNAMIC ACTIONS? GIVE ME ONE EXAMPLE?

    DEAR EXPERTS
    in HR ABAP WHAT IS DYNAMIC ACTIONS? GIVE ME ONE EXAMPLE?

    Dynamic actions are nothing but calling one more Infotype when trying to Create/Change or Delete a perosnnel number.
    Lets take an example company want that whenever an employee Communication data Fax/mobile no entered then immediately they want to make their email IDs depending upon VORNA NACHN of the personnel numbers data.Then at this point they will configure dynamic actions.But as a technical consultanat u will be given a Program name and the subroutine name in which u need to write the coding.
    Dynamic actions are a great tool to make infoytpe maintenance easier. When you create an infotype you can create another one automatically for example. Dynamic actions work for both master data and applicant data infotypes. It is basically a view on table T588Z you can reach via IMG - Personnel management - Personnel administration - Customize procedures - Dynamic actions.
    The table view looks like this:
    Infotype - Subtype - Field - Function code - Number - Step - Variable function part
    The infotype, subtype and field determine what should be created, filled, modified and so on. 
    The function code determines when something should happen. It can have the following values:
        * 02 - Change record
        * 04 - Create record
        * 08 - Delete record
    These values can be added so e.g. 06 means change record + create record. Remember - this only tells us when something should be done.
    The number simply tells us which step is first and which next. I recommend to go by 10's (10, 20, 30,40...), this makes it easier if you later on want to fill something in.
    The step determines what should be done. It can have 6 values:
        * P - check conditions under which something is done
        * I - maintain infotype record
        * W - set default values for new record
        * V - Reference to another step
        * F - call a routine
        * M - send mail
    Reward if found Helpful

  • How to raise Error Message in foreground through Dynamic Action?

    Hi,
    I have a requirement where I have to raise an error message in foreground so as to stop processing whenever HR_INFOTYPE_OPERATION fails to update a record in a dynamic program. I tried using MESSAGE statement but it did not work, as the error message was not displayed properly on the Infotype screen that calls the dynamic action.
    For ex.: If infotype PA0000 is calling PA0014 through dynamic action, then I want the error message to be displayed on the Actions Screen of PA0000.
    Is there any specific way to raise error messages through dynamic action programs?
    Quick answers will be appreciated.

    HI Sanjana,
    In the Substitution exits you can create the message in the configuration it self.
    You dont't need raise message explicitly.
    Thanks,

  • Dynamic Action help please

    Good day
    I am a new user to SAP (roughly 6 weeks), focussing on the HR side. I have been asked to attempt to compile the code for the following requirement:
    Capture IT9007 (Service History) for new employees, or those who have a change in Position The fields required are Start Date; To Date; Employee Type; Status; Workplace; Grade; Position.
    Please help me understand how to go about gathering the data. Explanation of the syntax too would be appreciated too.
    Thanks for the help
    P.s. I have put together the following code, but my colleague has just informed me it does nothing...
    IType     STy.          Field Name     FC     No.     S     Variable function part
    0                    6          P     SY-TCODE='PA40'
    0                    6          P     PSPAR-BUKRS='5005'
    0               MASSN               P     P0000-MASSN='Z1'/X
    0               MASSN               P     P0000-MASSN='Z2'/X
    0               MASSN               P     P0000-MASSN='ZA'/X
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS
    0               MASSN               P     P0000-MASSN='12'/X
    0               MASSN               P     P0000-MASSN='Z9'/X
    0               MASSN               P     P0000-MASSN='ZAZ5'
                        0          I     COP,P0000-BEGDA
                                  W     P9007-BEGDA=P0000-BEGDA
                        0          I     COP,P0000-ENDDA
                                  W     P9007-ENDDA=P0000ENDDA
                        0          I     COP,PSPAR-PERSG
                                  W     P9007-EMPLOYEE_TYPE=PSPAR-PERSG
                                       EMPLOYEE STATUS
                        0          I     COP,P0001-WERKS
                                  W     P9007-WORKPLACE=P0001-WERKS
                        0          I     COP,P0001-PERSK
                                  W     P9007-GRADE=P0001-PERSK
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS

    Hi KNaidoo,
    Welcome to swim the SAP ocean:).
    Dynamic actions are actions that is triggered during infotype maintainance.
    lets say you enter some details in infotypes and save it (PAI ) ,it has to populate an email or populated another inoftype,its intended for this purpose.
    There are standard infotypes and customer infotypes(9000-9999).If you see in your case it IT9007(customer infotype)
    http://www.hrexpertonline.com/downloads/Rehan%20Zaidi%20Online%20Portion.doc
    tcode pa30 lets say you are opening IT0001  for one employee and when you go to view the infotype details.click system->under SAP data you will find MP000100(MPXXXX) its module pool program .when you double click on that will take you to abap editor.every module pool program of the infotype will have a standard program MPPERS00(standard include) and it wil have the routine that checks if there is a dynamic action maintained for that infotype be refering T588Z.
    Rehan zaidi power of dymamic action is an execllent one for understanding .please download the doc from the link shared.
    No Worries
    KG

Maybe you are looking for

  • Restore from Time Machine & OS X install not working

    Mid 2009 Macbook Pro Installed new hard drive, reformatted to GUID, hard drive is verified. Booted from USB Recovery HD Selected Restore from TIme Machine Plugged in external, it shows up, click on it, back up from this morning is there, pick new for

  • Half-Life 2 "The Orange Box, and Steam

    Is there an "easy" way to get Steam installed?  I thought it use to be easy to install it, and it seems to be a lot harder now. I believe just a few weeks ago, you could install with a typical "wine /media/cdrom0/Setup.exe". Now I get permission erro

  • Is is better to use static variables?

    Hi, Does anyone know if it's better to use static variables or to use normal variables? Concerning the size of the code, it seems that declaring a variable as static is more consuming (for example plus 6 bytes for an object reference). So this could

  • Export-Import on  Portal

    Hi all, i want to restore an item(a file) from portals full db export. Does anyone know the steps of this process? Regards, Ceren

  • Java.lang.UnsatisfiedLinkError: free_c_state

    Get This error when running TestInstallCreateTable. Have compiled with both java 1.1.3 and java 1.4.1 Get the same error when trying to run. Where is free_c_state ? CLASSPATH=.;M:\oracle\jdbc\lib\classes12.zip;M:\oracle\sqlj\lib\runtime12.zip;M:\orac