cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action for IT0019

Former Member
0 Kudos

Hello All,

I am trying to write a dynamic action for IT0019. Scenario is If an employee's probation is coming to end then the email should go to the administrator.

Please find the below configurations.

Feature: M0001 :-

    INFTY Infotype

        0019

            IDTXT MAIL_I0019_TEXT

            RECV1 X

            RECV2 X

            SUBTY 0010

            SUBTY 0001

            OUTBX X

            TCODE PA40

            PAINF 0019

            PASUB

            PABEG

            PAEND

            PAFCD INS

T-Code: SO10

Date: &P0019-MNDAT&

Confirmation is due for the following employees

First Name: &P0002-VORNA&

Last Name: &P0002-NACHN&

Effective Date: &P0002-TERMN&

Dynamic Action

V_T588Z - 0019

Field Name    FC    No.     S     Variable Function Part

MNDAT           06     900     P     T001P-MOLGA='99'

MNDAT           06     901     P     P0019-MNDAT=SYST-DATUM

MNDAT           06     902     M     M0001

Let me know where I went wrong..

Regards,

Shiva Sai Prasad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi shiva

as liran as suggested u may want to call a routine in dynamic action to map the requirement

no worries

kg

Former Member
0 Kudos

KG,

Can you please elaborate about routine..

Former Member
0 Kudos

Hello Everyone,

It is working fine now.. I am getting emaiil to my internal sap inbox.

The only mistake I have done is SYST-DATUM - this is incorrect

It should be SY-DATUM.

Regards

Prasad

former_member186667
Active Contributor
0 Kudos

Hi Shiva,

It will work only when you enter data into Infotype 0019.

I understand that you want it to run on a daily basis as a job and therefore Dynamic Actions will not work.

Creating a routine won't work also.

Regards,

Liran

maddilety_kanuku
Active Contributor
0 Kudos

If you have portal enabled (ESS and MSS) in place, manager gets the reminder in his portal view (MSS view), i suspect you dont have  ESS and MSS in place, in case not, you may check on these lines.

Warm Regards!

-Kanuku

Former Member
0 Kudos

Thanks Liran, I have asked abapers to develop a program. Thanks for your interest.

Former Member
0 Kudos

Thanks Kanuku.

maddilety_kanuku
Active Contributor
0 Kudos

Hi Please reward the points, if you feel viewers input helped you in any way.

Warm Regards!

-Kanuku

former_member186667
Active Contributor
0 Kudos

You are very welcome.

Please mark the thread as answered.

Regards,

Liran

former_member186667
Active Contributor
0 Kudos

Hi Shiva,

The Dynamic Actions only work online, meaning when the user perform an specific action, as entering a data record, changing data, deleting a record etc.

For example lets look on the code you've written: you specified that the operation mode is '06' - this is done when the user creates a record or changes it.

You cannot use it for your requested scenario.

Alternatively, what you'll need to do is to ask your ABAPer to develop a program which will run on a daily basis and check for all relevant employees if the date from IT0019 has passed and if so, generate a mail.

Regards,

Liran