on 05-27-2013 9:11 PM
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
hi shiva
as liran as suggested u may want to call a routine in dynamic action to map the requirement
no worries
kg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.