Infotype 0006 dynamic actions

Hi Experts,
0006>0207>210
We need everytime begda of 0006 to all other infotypes.
Plz let me know what i need to insert the records in  V_T588z .
Regards,
Lava.

Hi Prashanth,
Could you please send me the T588z table entries, in the order which you created.  I think there might be some mistake in that.
Venu

Similar Messages

  • Dynamic actions - how to create an infotype with a date - 1 day.

    Hi everyone,
    I need a requirement to change an infotype through dynamic action with ENDDA = BEGDA of maintaned infotype(0000) - 1 day.
    In other words when a  personel action is performed, another infotype (2001) should appear for change, and in the validity period of this infotype should end with the day before the start of the personel action.
    is it possible to achieive this using dynamic actions? how?
    Thanks!
    Stanislaw Adamski

    Hi Adamski,
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    you have to look for the scenario what you are planning tyo create .
    The maintenance of dynamic actions is done via the view V_T588Z, as shown in 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions
    Here you havev to use conditions INS for the infotype what you want to create..
    Please brief the light on the scenario.
    Warm Regards,
    Kapil Kaushal

  • Dynamic Actions - Delimiting an infotype

    Hi All,
    I have to delimit an infotype using dynamic action. How do i set the Delimit Date in this case. I am using the command
    LIS9,0008
    Where should i mention the Delimit date
    Thanks,
    Divya

    Hi Divya,
    if you pick F1 in the "Variable function part" the SAP documentaion
    looks like the following:
    I - Calling an Infotype                                                                               
    You can call an additional infotype for processing. You must enter the    
      step, infotype, subtype, object ID, start and end dates of the record to  
      be selected. <b>Possible operations here are INS, COP, MOD and DEL.</b> If you   
      want the action to run in the background, enter the appropriate           
      indicator (D) at the end of the line. The following entry rules apply:   
    So LIS9 isn't possible, isn't it?
    Regards
    Bernd

  • How to perform an enter in a dynamic action?

    Hi friends,
    I would like to know How to perform an enter in a dynamic action?
    Thanks in advance.
    Albio.-

    Hi Vivas,
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    Requirement: When the postal code or the city of an employeeu2019s permanent residence is changed in infotype 0006, an email should be sent to the administrator.
    INFTY    SUBTY    FIELDN    FC          NO.    STEP       VARIABLE FUNCTION
    0006           1             ORT01      06             001           V               PSTLZ            
    0006           1             PSTLZ      06             002           M               M0001
    The V statement on line 001 is used to link the two fields to the M statement. The statements relevant to field PSTLZ are also applicable to the ORT01 field.
    When a record is created or changed in infotype 0006 of permanent address, an email is sent using the feature M0001. Information such as the recipient address, subject, and content of the mail is derived from M0001.
    The maintenance of dynamic actions is done via the view V_T588Z, as shown in Figure 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions).
    Warm Regards,
    Kapil Kaushal

  • Configure Dynamic Actions

    Hi All,
    How to configure Dynamic actions?..I know that you need to create dynamic actions in Spro-PA-Dynamic actions. .what are the steps to be done after that ?.
    Kindly provide with an example.
    Regards
    Eliz

    HI Eliz,
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    The maintenance of dynamic actions is done via the view V_T588Z, as shown in Figure 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions).
    Requirement: When the postal code or the city of an employeeu2019s permanent residence is changed in infotype 0006, an email should be sent to the administrator.
    INFTY    SUBTY    FIELDN    FC          NO.    STEP       VARIABLE FUNCTION
    0006           1             ORT01      06             001           V               PSTLZ            
    0006           1             PSTLZ      06             002           M               M0001
    The V statement on line 001 is used to link the two fields to the M statement. The statements relevant to field PSTLZ are also applicable to the ORT01 field.
    When a record is created or changed in infotype 0006 of permanent address, an email is sent using the feature M0001. Information such as the recipient address, subject, and content of the mail is derived from M0001
    Warm Regards,
    Kapil Kaushal

  • Dynamic actions: more than 999 rows?

    hello,
    is there a solution when there are more than 999 lines to insert for an infotype in dynamic actions?
    the sequential number has only a length of 3, but i have more than 999 lines to insert!
    thanks in advance.

    For this kind of table, Numbers would be a better choice.
    In Pages we may build tables with 65 * 999 cells.
    In Numbers we may build tables with 256 * 65535 cells.
    Yvan KOENIG (VALLAURIS, France) mardi 11 mai 2010 22:39:24

  • How to make use of a Badi in dynamic action on infotype?

    Hi...
    i need to create a dynamic action on infotype 6 to create a record in infotype 207.
    I have to use badi for it.
    i need to use 'f' for 'Indicator for step'. right?
    kindly help..
    Thnx and regards.
    Abhi.

    Hi,
    Using F calls a routine and not BAdI.
    If record will directly be created then there is no need to write Z program and calling it using F indicator. However, in case there is some logic which can not be written directly in the Dynamic Action then you need to write that logic in a routine and call it using F indicator.
    VK

  • Dynamic actions in creation of infotype

    HI,
    i have a requirement wherein i need to create a custom infotype.
    In the new infotype which i  have created, i need to update the records dynammically upon the modification of data  in the standard infotype.
    Thanks in advance.

    Naveen,
    Follow this link to make your dynamic action successfull.
    http://help.sap.com/saphelp_40b/helpdata/es/51/5184ab7b35d111950d0060b03c6b76/content.htm
    - Ashish

  • Get infotype data in e-mail/sapscript - Dynamic action-

    Hello,
    we developed a dynamic action sending a mail if an employee leave the company.
    We can catch data in infotype 0000 and 0001 in the sapscript used in the mail, but we would like also fetch data from other infotypes.
    We tried to generate an ABAP code from an ad hoc query, but it was impossible to get the return tables in the sapscript.
    Are there other solutions to get infotype data in saps scripts?
    Kr,

    Hi ,
    you can follow the below solution .
    1. Create a custom report for the leaving/terminated employees by using the action in infotype 0000 with field massn, massg.
    2. you will get all the employees from table pa0000 who are laving between a date interval .
    3. by using the personnel numbers from pa0000 get other infotypes information.
    4. create a smartform/script for your requirement.
    5. using the program you can send the data to the employees.
    another way .
    if you know the name of the script you can create some variables for the other fields from other infotypes in that script and you can populate the variable values using perform in program command using a custom program in that script.

  • Issue with Dynamic Actions - Infotype 0041 Updation

    Hi All,
    Requirement :
    I have to update the Date type-13 ( Resignation Date - DAR11 ) without Date ( DAT11 as Blank value - User will fill through Infogroup ) while performing the Termination action through PA40.
    Added below code in V_T588z (0000):
    I have added 186,188 Lines.Other lines are standard thing.
                  04     180     P     PSPAR-MASSN='10'/X  **Termination
                  04     181     P     PSPAR-MASSN='ZB'/X **Termination
                  04     182     P     PSPAR-MASSN='14'/X  **Termination
                  04     185     I     COP,41,,,(PSPAR-BEGDA),(PSPAR-ENDDA)/D
                  04     186     W     P0041-DAR11='13' **BEGIN & END OF CRA01670 CODE ***
                  04     188     W     P0041-DAR11='' **BEGIN & END OF CRA01670 CODE ***
    Issue :
    1. The above logic is not working for Finland ,other countries. For only India it is working.
    2. Some times Date type-13 is coming twice while through the Infogroup-0041 screen twice,which is incorrect. The infotype-0041 should call only once.I have checked the User parameters,MOLGA,USR. But it is not working.
    2. The standard configuration Date type -09-Last day of work - is working fine . But i could not be able to find ,from where it is coming.I have checked the Dynamic actions,but no use.
    Need your inputs to solve the issue.
    Thanks,
    N.L.Narayana

    P     P0000-MASSN='01'    Action type
    P                   P0000-MASSG="01"   Action Reaosn
    P     T001P-MOLGA='40'
    F                   here u will keep the Call Routine
    I     INS,2001,,,(P0000-BEGDA),(P0000-ENDDA)/D  (here u have pass the date of Call routine )
    W     P2001-IAWRT='01'
    But here Infotype 2001 we will give Absence type this IT is used for Booking Absence Types i did not get the Wage type 8001
    thru which IT are u processing it
    for more info Checjk Tabvke V_T588Z  here iam pasteing the sample call routine which i got from earlier thread
    Create a Program (Subroutine) using SE38. Save and activate it.
    ZZSY_DYA_TEST2
    REPORT ZZSY_DYA_TEST2.
    tables : p0000,p0001,rp50d.
    FORM getdate.
    rp50d-date1 = p0000-begda + 90.
    ENDFORM.
    FORM get_date.
    rp50d-date2 = p0000-begda + 180.
    ENDFORM.

  • Triggering of dynamic actions in infotypes!

    Hi Experts,
    I have Query regarding the triggering of dynamic actions. Have a scenario where I create a record in infotype 21
    with subtype 'XX".
    On save of this record I need the dynamic actions to be triggered , where I will write the logic to modify the end date of an  existing infotype 21 record with subtype 'YY'.
    How can I achieve this?
    Please help!!!!

    Hi,
    Just try this.
    Goto V_T588Z.
    INFTY     SUBTY      FIELDN      FC NO.      STEP VARIABLE FUNCTION
    0021     XX          I     INS,21,(P0021-ENDDA)
    Regards,
    Srini

  • Dynamic Actions in Custom Infotype

    Hi,
    We have a requirement where we need to default the field values from Infotype IT0001, IT0315, IT0041 to custom infotype 9030 which has similar fields.
    I am trying with the below code in dynamic actions
    9030                            04        1           I          INS,9030
    9030                            04        2          W        P9030-KOSTL=P0315-KOSTL
    9030                            04        3          W        P9030-MSTBR=P0001-MSTBR
    9030                            04        4          W        P9030- DAR01=P0041-DAR01
    But the values are not getting defaulted. What could be the reason. Please suggest.
    Edited by: siddhesh kandalgaonkar on Mar 3, 2010 3:59 PM

    Hi Siddhesh,
    What you are actually doing with this set-up for a Dynamic Action is telling the system to create an IT9030 when you create an IT9030!  You should set it up to process after another infotype is created as the trigger.  For example:
    0001   06      1   I     INS,9030,,,(P0001-BEGDA),(P0001-ENDDA)
    0001   06      2   W  P9030-KOSTL=P0315-KOSTL
    0001   06      3   W  P9030-MSTBR=P0001-MSTBR
    0001   06      4   W  P9030-DAR01=P0041-DAR01
    This way if IT0001 is created or changed, a new IT9030 will be created. 
    Also, you should verify that your fields are set up properly in your custom infotype to match the size and type of the fields from the reference infotypes. 
    Paul
    Edited by: Paul Davidson on Mar 3, 2010 9:25 AM

  • Dynamic actions on OM Infotypes

    Hi All,
    Can we use dynamic actions for OM infotypes?

    Hi
    for dynamic actions for OM infotypes try with
    include the required infotypes in V_T582A     Infotype attributes (Customizing)
    and write your code in V_T582A     Infotype attributes (Customizing)
    Regards
    Sri

  • 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

  • Triggering Dynamic actions when updating an Infotype using a FM

    Hi all,
    This is the scenario.
    I am trying to run a Transfer action, (80), which updates the Infotype 0000 and Infotype 0001. When the entry in the Infotype 0001 is saved, a dynamic action is triggered and a custom infotype is updated automatically. I need to find a FM that takes care of any dynamic actins associated to an Infotype.
    I tried using a BDC, but I was not successful. While using the FM HR_INFOTYPE_OPERATION, I am able to update the data into the infotyes 0000 and 0001 but the dnamic action is not triggered. Can someone please suggest a solution.
    Thanks,
    Amar

    Hi,
       Thanks for you r reply. Well I am new to dynamic actions, but this is the Dynamic action that has been written.
    GET_DU(ZHRDUDYNCALL)
    COP,9009,,,(P0001-BEGDA),(P0001-ENDDA)/D
    ----P9009-SEQNR=P0001-SEQNR ---***
    P9009-AEDTM=P0001-AEDTM
    P9009-UNAME=P0001-UNAME
    P9009-DU_CD=RP50D-FIELD1
    --END OF ENTRY IN TABLE PA9009--
    --CREATE ENTRY IN TABLE PA9009----
    SY-DATUM=SY-DATUM
    GET_DU(ZHRDUDYNCALL)
    DEL,9009,,,(P0001-BEGDA),(P0001-ENDDA)/D
    P9009-DU_CD=RP50D-FIELD1
    --END OF ENTRY IN TABLE PA9009--
    The FM that I am using goes like this:
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  =  '0001'
        number                 =  lv_pernr
      SUBTYPE                =   wa_0000-MASSN
      OBJECTID               =
      LOCKINDICATOR          =
       VALIDITYEND            = lc_endda
       VALIDITYBEGIN          = wa_source_data-begda
      RECORDNUMBER           = 1
        record                 =  wa_0001
        operation              = 'COP'
       TCLAS                  = 'A'
       DIALOG_MODE            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
       SECONDARY_RECORD       = proposed_values0001
    IMPORTING
      RETURN                 = return
      KEY                    =
    Please let me know if there is anything more I need to do?
    Thanks,
    Amar

Maybe you are looking for

  • 0ENTRY_DATE not displayed in the Cube

    Hi All,             Please help me out its urgent, I'm having a field(0entry_date) in the transfer structure and also in the communication structure of the infosource, but the field is not being displayed in the Cube and also in the Update rules.The

  • T400 Dual Monitor Recommendation

    Hi all, I want to use dual monitor with additional LCD monitor. But I do not know much about dual monitor resolution setting. Can I ask if this monitor works well with T400 as an additional extension display?

  • Photoshop hotkeys are intermittently pulling down menus instead of switching tools

    I am currently using Photoshop CS5. When I try to use hotkeys to switch tools, instead of switching them, menus from the menu bar will drop. For example, I hit "E" for the eraser tool, but instead of switching to the eraser the Edit menu drops. I hav

  • Custom fields in Field status variant and Posting keys

    Hi, We have defined some custom fields in BSEG table for which we wish to control the field status through Field status groups and Posting keys as well. Has some one addressed this requirement before? Please provide me some inputs on this. Regards, S

  • Illegal seek?!?!?!

    I tried downloading the trial of Photoshop Elements 11.  After waiting forever it said it couldn't install it because it was an "illegal seek".  I had to click okay and now it has been saying "extracting....this may take a while".  This has been goin