Skip to Content
author's profile photo Former Member
Former Member

dynamic action

Want to write dynamic action for infotype 41.Whenever change in pay action subtype promotion is run infotype 0041 should be updated with last promotion date.plz tell me how can I get this.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 06:38 AM

    Go to SM30 and T588Z table

    InfoType F N Variable Function Part

    0000 04 1 *** CREATE IT 0041 when Change in pay action *****

    0000 04 2 P P0000-MASSN='B4'

    0000 04 3 P P0000-MASSG='02'

    0000 04 4 I INS,0041,,,(P0001-BEGDA),(P0001-ENDDA)/D

    0000 04 5 w P0041-DAR01=u2019B2u2019

    0000 04 6 w P0041-DAT01= P0001-BEGDA

    B4: Action Type Promotion

    02: reason for action type

    B2:Date type which should be created in table V_T548Y

    Kindly test it

    Best Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      InfoType F N Variable Function Part

      0000 04 1 *** CREATE IT 0041 when Change in pay action *****

      0000 04 2 P P0000-MASSN='B4'

      0000 04 3 P P0000-MASSG='02'

      0000 04 4 I MOD,0041,

      0000 04 5 w P0041-DAR01=u201904u2019

      0000 04 6 w P0041-DAT04= P0001-BEGDA

      Kindly test now and update me

      Best Regards,

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 05:47 AM

    Hi,

    there are some SAP standards dynamic actions, may helps you query....

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 06:57 AM

    InfoType F N Variable Function Part

    0000 04 1 *** CREATE IT 0041 when Change in pay action *****

    0000 04 2 P P0000-MASSN='B4'

    0000 04 3 P P0000-MASSG='02'

    0000 04 4 I MOD,0041,,,(P0001-BEGDA),(P0001-ENDDA)/D

    0000 04 5 w P0041-DAR01=u2019B2u2019

    0000 04 6 w P0041-DAT01= P0001-BEGDA

    Try this but this will update only first date type and u can change it accordingly to ur requirement suppose it is third date type then in the last row of the dynamic action change it as " 0000 04 6 w P0041-DAT03= P0001-BEGDA

    Kindly test it

    Best Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.