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

Dynamic action- default Values(check box- with flag)

Hi,

I need some guidance around creating dynamic action with default value, Please guide me through.

I am aware I can set default values for new infotype, but I need to set default value for same infotype, let me explain the scenario.

Currently employee is on one pension scheme which is called NE1 and now we are moving this employee to CRESP Pension Scheme.

When employee is in NE1, his IT0071 has got a opt in field with a flag on, when the same employee is moved from NE1 pension scheme to CRESP Pension scheme, his new IT0071 record should have the same opt in field with a flag on, I want it to set this flag automatically using dynamic action. I dont want to update this field manually, while moving from NE1 to CRESP.

Currently the below dynamic action is coded when employees are being moved form NE1 to CRESP, but now they will have a opt in flag which should appear automatically, What needs to be done to make this happen?

Please let me know if I set default value for the Opt in field for the same infotype.

. When employees are being moved from NE1 to CRESP pension scheme we currently use a dynamic action as show below:

0071 04 10 I INS,0069

0071 04 20 W P0069-BEGDA=P0071-BEGDA

0071 04 30 W P0069-ENDDA=P0071-ENDDA

0071 06 1 F DYNACT_PAE031(ZHRPROG016)

Your help is very much appreciated.

Kind Regards,

SK

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2013 at 03:19 AM

    HI Sumana,

    first of all you did not put any condition P. what you have written is, when your creating IT0071 then IT0069 has to be created with the defaluld value of start date and endate of IT0071 and you are calling a subrouting program ZHRPROG016 (pls consider the sequence number 40).

    You need to check or debug the program whether vallue is passing correctly.

    Regards,

    Dinesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Dinesh,

      Many thanks for your response.

      The current code is working fine, when employee is moved from Nest to Cresp.

      Now we need to have an opt in field in 0071 for employees on Ne1, when the are moved to Cresp, I need the opt in field to be defaulted, will it be possible?. If so what needs to done.

      I know this is possible on another Infotype.

      Please advise.

      Regards,

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.