01-11-2011 8:16 AM
Hi all,
In CJ30, we can maintain only one budget percentage, so I have created a Ztable to maintain the needed 3 budget values. I have done this correctly with EXIT_SAPLBPFC_001 AND 002 to send mail to Outlook. My new requirement is to send only 1 e-mail per day to responsible persons, even if the budget value changes several times a day. I thought of keeping track of mails sent by creating a field in my Ztable but not correct. Please suggest suitable ideas
01-11-2011 11:23 AM
Hi Rahul,
Hmmm, it depends on your requirement, say
1)if your supposed to send 1 email per day for the first change then you have to maintain a Z table to store Project Name and Date and save an entry after sending the email and prior to sending check that Z table.
2)if your supposed to send 1 email per day for the last or latest change then you have to store the date of stored Budget value in your Z table(this table is already created by you, just add created date). Daily at XX:XX time a background job should be scheduled and it should check whether system date matches with the Create date of Budget, then system need to send the email to the responsible person.
Thanks & Regards,
Faheem.