on 08-25-2009 3:11 PM
Dear All,
I have to send the mail on the basis of my date which i maintain in IT0019 (Monitoring of Task).
First I have to know how can i send mail.I need a step wise detail.Kindly guide me .
How i can create the dyanamic action for sending the mail based on the some personnal action.
Do'nt said that these detail alredy in frorum.I alredy search but not find accroding to my requirmrnt.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
As mentioned by Arti, refer 1st thread. In addition to that ask your technical tem to write a function module to fetch reminder date from IT0019 and call that Funacton module in dynamic action. Then mail will trigger. Belkow set up we have done in dynamic cation to call feature (M0001) and Function module to trigger mail You can refere and proceed further.
0034 06 2 P PSPAR-MASSN='ZA' (ZA is action name)
0034 06 3 P T001P-MOLGA='08'/X (08 is UK)
0034 06 4 P T001P-MOLGA='11'/X (11 is Ireland)
0034 06 5 F F_GET_TEXTS(Z_XXPS_NOTIFICATION) --> Funaction module to get text since we had different requirement, But you can call from SO10 thorugh feature M0001)
0034 06 6 F F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)--> To get Distribution list)
0034 06 7 M WE001 (Feature)
Why we have set from It0034 because after saving IT0034, notification will trigger. So set up from IT0019 for your requiremnt in the dynamic action.
Revert for further clarification.
Regards,
Purnima
Dear Purnima,
I want to know what entry i have to do in M0001 .
I had already created FM for fetching the Reminder date .Now the question is how i call the FM in Dynamic Action.My FM Name is ZFTEST.
Where Should i have to write this information
0034 06 2 P PSPAR-MASSN='ZA' (ZA is action name)
0034 06 3 P T001P-MOLGA='08'/X (08 is UK)
0034 06 4 P T001P-MOLGA='11'/X (11 is Ireland)
0034 06 5 F F_GET_TEXTS(Z_XXPS_NOTIFICATION) --> Funaction module to get text since we had different requirement, But you can call from SO10 thorugh feature M0001)
0034 06 6 F F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)--> To get Distribution list)
0034 06 7 M WE001 (Feature)
I am purely technical guy am not a functional one that why am phasing soo much problem kindly help me
Thnaks
Sandeep
Skinder That Thing i know ,I have to write that thing in V_T588Z Table .
My question is why am using the IT0034 It's necessary .
Why we writing this two times
0034 06 3 P T001P-MOLGA='08'/X (08 is UK)
0034 06 4 P T001P-MOLGA='11'/X (11 is Ireland)
and what entry is needed in M0001 .
0034 06 5 F F_GET_TEXTS(Z_XXPS_NOTIFICATION) --> Funaction module to get text since we had different requirement, But you can call from SO10 thorugh feature M0001)
0034 06 6 F F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)--> To get Distribution list)
0034 06 7 M WE001 (Feature)
06 001 P PSPAR-MASSAG="ZA" this can be ur action reaosn
0034 06 3 P T001P-MOLGA=40
0034 06 5 F F_GET_TEXTS(Z_XXPS_NOTIFICATION) --> Funaction module to get text since we had different requirement, But you can call from SO10 thorugh feature M0001)
0034 06 6 F F_NOTIFY(Z_XXPS_DYNACT_NOTIFY)--> To get Distribution list)
0034 06 7 M WE001 (Feature)
Try this note : iam not that much good in DA
Hi Sandeep,
Ok...I am explaining little more.
1. You have already created notification content in SO10 Tcode.
2. You have already created distribution list in SBWP Tcode.
3. You need to create a feature which is copied from M0001 lets say named z0001. Then assign your text ID under IDTXT and distribution list under DISTR
4. Please note that under feature Z0001 (assume) maintain IT0019 > Then assign text and distribution list as mentioned inpoint 3.
5. You have already created Function module
6. Then set up dynamic action like below.
0019 06 3 P T001P-MOLGA='<Country grouping>'
0019 06 4 P PSPAR-MASSN='<Action type>'
0019 06 5 F '<Your Function module>'
0019 06 6 M Z0001
Your Question:-
1Q. Why I am using IT0034?
Ans:- Because I need to trigger notification after IT0034. If you skip IT0034, notification will not trigger. You need to save IT0034 to trigger mail. It was my client requirement. In your case, it will be IT0019
2Q. Why we writing this two times
0034 06 3 P T001P-MOLGA='08'/X (08 is UK)
0034 06 4 P T001P-MOLGA='11'/X (11 is Ireland)
Ans:- Same notification should trigger for UK (08) and for Ireland (11). Si as per SAP standard Functionality, we can maintain multiple condition by giving /X
3Q. what entry is needed in M0001
Ans:- I have mentioned above. Just check and revert for further clarification.
Regards,
Purnima
Hiee Purnima,
I had create copy the Z0001 from the M001 and also i add the new infotype 0019 in that i copy the two node IDTXT and Distr from IT0001.Now am not able to assign the the distribution list and Text ID .Kindly tell me how i will do .
And also how we create the distribution list.:)
My Z0001 is this -
A Master Data and Time Data
INFTY Infotype
0001
0002
0006
0019
DISTR (Not able to assign)
IDTXT MAIL_FOR_I0001_A(Not able to assign) thses thing i copy from IT0001
thanks
sandeep
Distribution list dies ot c ome from IT0001
You need to create under Tcode SBWP.
Creation of Distribution list (DL)-
Tcode SBWP > Share folders > Clcik on share folders > You will see one field named Distribution list (last one) > Click on that > Clcik on create > Under Attributes tab Give Name (Exa- ZDL0001) under Name field > Give Title (Exa-It0019 Notification) > Under Distr. list content > Give mail ID to whom you need to send mail under recipient column> Then maintain whether mail ID is external or SAP inbox under Recip. type > Click on enter > Save
Then assign this DL code ZDL0001 like below.
My Z0001 is this -
A Master Data and Time Data
INFTY Infotype
0001
0002
0006
0019
DISTR ZDL0001
IDTXT <Youe text ID which has been created via Tcode SO10>
Regards,
Purnima
Purnima,
I feel doubt in my dynamic action am here mentioning my Dynamic Action.
Kindly check is it ok or not .Am choosing the IT0019
06 3 P T001P-MOLGA='40'
06 4 P PSPAR-MASSN='NEW HIRE-GHPL'(Actin Type)
06 5 ZFMTEST(FModule)
06 6 M Z0001(Feature)
My req is that on the basis of the reminder date i have to send the Mail .
The Function Module which i created what it will return .It will return the Reminder date according to the personnel no.
thanks
Hallo Sandeep,
As per SAP standard functionality, action type should be 2 characters. Check Table T529A and find your action type from 1st column (Action). Maintain that 2 characters code in dynamic action in stead of 'NEW HIRE-GHPL'. I think this is not your code this is description for action type. Maintain aaction type code in dynamic action. Then it should work.
If it is not working, then ask your technical team to debug and fins out where it is stoping....
Function module will find out reminder date and on that date system will send Notification to Distribution list which has been created in SBWP.
Regards,
Purnima
Write dynamic action
M0001 feature
RCNEW feature
Distribution lists
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.