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

Similar Messages

  • 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

  • Dynamic Action-Delimiting a record and creating new record

    Hi ,
    My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
    Iam able to delimit all records in the Subtype but , Iam not able to create new records.
    My code for delimiting is as given below, in T588Z,
    9901     2          06     801     P     P9901-SUBTY='2'
    9901     2          06     802     P     PSYST-IOPER='MOD'
    9901     2          06     803     P     P9901-STATS='X'
    9901     2          06     804     P     P9901-PREAS='91'
    9901     2          06     805     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     2          06     806     W     P9901-ENDDA=RP50D-ZZDATE3
    9901     2          06     807     I     MOD,9901,3
    9901     3          06     808     P     SY-UCOMM='UPD'
    9901     3          06     809     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     3          06     810     W     P9901-ENDDA=RP50D-ZZDATE3
    The above code is working fine.
    My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
    9901     3          06     811     P     SY-UCOMM='UPD'
    9901     3          06     812     P     PSAVE-ENDDA<>P9901-ENDDA
    9901     3          06     813     P     P9901-STATS<>'X'
    9901     3          06     814     I     INS,9901,3
    9901     3          06     815     F     BEGIN_DATE(ZHSRAS_T588Z_9901)
    9901     3          06     816     W     P9901-BEGDA=RP50D-ZZDATE3
    9901     3          06     817     W     P9901-ENDDA='99991231'
    Kindly help me on this.

    Hi shahana,
    1. I have not worked on this dynamic action.
    2. But instead of doing in 2 steps,
       it is usually done in 1 step only, manually.
    3. If we CREATE record from some date,
       then the OLD will AUTOMATICALLY get Delimited.
    (We don't have to do anything specially for delimiting
      the old record)
    regards,
    amit m.

  • 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 for 1000 infotype

    Hi all,
    Is it possible to create a dynamic action for Org management infotypes like 1000? If so, pls let me know.
    Thanks and regards,
    prasad

    hi
    From SPRO
    GO TO T-CODE OOMT
    THEN CREAT YOUR OWM ACTION LIKE JOB..
    REWARD POINTS

  • Dynamic Actions with multiple infotypes.

    Hi,
    I have the following business requirements where I am supposed to trigger a function call when the users creates an action via PA40 and the Action Type = 'X1' and subsequently saves IT0001 and IT0019.
    Both IT0001 and IT0019 are configured as part of the infogroup in Personnel Actions. The function call is supposed to be triggered if the above 3 conditions are met.
    Please advise how it can be done via Dyanmic Actions or how it can be done.
    Points will be rewards.
    Thanks in Advance.

    Hi,
    You can use programs within a dynamic action like in standard T588Z (example):
    0005                   00     3     FHIRE_P0311(HNZCHIR0)
    There you can more flexibly check if the conditions are met by accesing database.
    hope it helps!,
    Carlos.

  • 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

  • How to Send Notification to Manager of the Employee using Dynamic Action..

    Hi All,
    I am sending a notification using the Dynamic Action for an Infotype.. I am able to send mail using distribution list but I have a requirement to send the notification to employee manager. I am able to determine the Line Manager ID calling the subroutine in the dynamic action. But I am not sure how to send the notification to the manager.
    If the email's are maintained in distribution list if I specify the text id in the feature M0001 and distribution list the notifications are sent. I am not sure how to pass the line manager id to get the same notification..
    I have seen the option REC1 but infotype 0001 in not having the line manager id..

    Used the Function Module RH_GET_LEADING_POSITION.
    Thanks..

  • Dynamic actions and PA-PD integration a problem

    Are you aware of an update problem with MSS and PA-PD integration?  This information was made available in a presentation to us last year.  Was this issue resolved in mySAP ERP 2004?
    Dynamic actions and PA-PD integration a problem
    Dynamic actions and PA-PD integration are not
    processed on updates made from the web (but in the
    background through a batch or call transaction session)
    That’s why most standard PCRs require HR to process
    the transaction using the SAP GUI in the foreground
    This normally affects changes to infotypes 0000 &
    0001
    Then the next slide states:
    Workaround for dynamic actions
    Review dynamic actions in table T588Z (use SE16 to
    display) and document the infotypes and values that
    trigger dynamic actions
    Incorporate those infotypes into your background
    processing and web forms (if necessary)
    Workaround for PA-PD integration
    Include the integration steps for these infotypes in your
    background processing (just as in conversions)

    Hi John,
    Not sure if it is fixed.. or can be fixed.. we are still in 47  & Use custom code to account for Dynamic Actions.. the PCR processes use the function module HR_MAINTAIN_MASTERDATA to update the infotypes. This function mimics a BDC & hence cannot handle Dynamic Actions... Basically, the issue is not with MSS but it is the way Dynamic Actions work.. to quote SAP  "Dynamic actions are not correctly processed in batch input sessions since in batch input the sequence of the screens needs to be predefined correctly. To be able to process dynamic actions in batch input, the checks of the dynamic actions need to be programmed when creating the batch input session. To avoid errors when programming and running the session, the static actions  only are processed in batch input. Calls of infotypes that are triggered by dynamic actions should be realized by separate Transaction calls.
    Please take a look at OSS Note #386027 for additional info about Dynamic Actions.
    Regards,
    Suresh Datti

  • Using HR_INFOTYPE_OPERATION in external subroutine for Dynamic Actions

    Hi,
    I am calling an external subroutine in the Dynamic Actions of an Infotype. In this external subroutine, I am using HR_INFOTYPE_OPERATION to modify OTHER records of the same Infotype number.
    However, when I tried to trigger the Dynamic Actions in PA30, the other infotypes get modified as intended. But when I refreshed the PA30 screen, the changes were reversed back as if the HR_INFOTYPE_OPERATION were not carried out at all. I have COMMIT WORK after the HR_INFOTYPE_OPERATION, refreshed the buffer. But it doesn't seem to work.
    My question is: Can i use HR_INFOTYPE_OPERATION in an external subroutine which is called during dynamic actions? As I have some complicated logic, I do not want to embed the coding in the Dynamic Actions. Is there a way for HR_INFOTYPE_OPERATION to work in the external subroutine with the changes being committed to the database?
    Thank you.

    Hi,
    I remember the same problem being faced by some of the forum members.
    Suresh Datti had replied that "Call the subroutine in a nother program using a SUBMIT statement. This will create two sessions and will update the DB". This was working fine for the users.
    Hope you can try this.
    Just call a program using SUBMIT statement and code your form routine inside that.
    Hope this helps you.
    Regards,
    Subbu.

  • Calling earliest record in a dynamic action

    Hi all,
    I am using dynamic actions to call infotype 0016 when user creates a new record in infotype 19. I am opening this infotype 0016 in change mode.
    Now,  I want that the earliest record of infotype 0016 should come in the change mode and not the latest one.
    Please suggest what to do for that?
    Thanks
    Ribhu

    Hi Do in this way..
    Call a routine...
    There is a structure RP50D which is accessible in dynamic action...
    Structure is : 
    FIELD1
    DATE1
    DATE2
    FLAG1
    .INCLUDE  CI_INCLUDE
    in side that routine find out the record for ur particular date..
    and pass BEGDA and ENNDA for that record to RP50D-DATE1 and RP50D-DATE2.
    and in dynamic action call :
    COP,0016,,,(RP50D-DATE1),(RP50D-DATE2)
    if u want more fields then u can include in CI include..
    Hope it will work
    reward if helpful
    Regards
    Prax

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

  • 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

Maybe you are looking for

  • HELP!!!! CAN'T SETUP PASSWORD

    I have a linksys wireless router connected to a dsl modem and someone is jumping on the connection. I have tried repeatedly to set up a password via Linksys' web site. I followed their instructions: "Launch your Internet Explorer 5 or later version o

  • How do I delete pages based on logical page number?

    I have a large combined PDF document and am using logical page numbers. I only want to see the first page of each document in the combined file. How do I delete all of the page 2, 3... at once rather than deleting them from the thumbnail section or g

  • Invalid keystore format

    I have a Java applet (called PALS) that was developed with version 1.5 update 7. It has been signed with a digital certificate from Thawte. Recently a customer had her Windows XP machine re-imaged, and that image comes with the Java 6 JRE. Others hav

  • Interface SAP - External System

    hi expert i need make a interface beetween sap and a visual basic program... my idea is use a rfc, but i think i need use a connector, can i do this without a extra connector ...my client don´t want buy a licence thxz......

  • Simulating Acccounting Document before billing is created ( VF01 )

    Hi All,   We are on ECC6.00 . As it is a standard feature that SD billing is created and then the billing details are submitted to create accounting document .  If the system fails to create the the FI document, the billing docuemt still exists in th