on 04-02-2009 5:30 AM
Dear All ,
We are using HP Unix system .
Is there any option to send bdf status via e-mail within certain time interval or at any time of point file cross certain limit (%) in bdf.
Abhijeet
Hello,
That depends on whether your SAP server has a connection to an SMTP mail server. If so, then you can simply pipe the output of bdf into mailx like so:
bdf | mailx -s "bdf $(hostname) $(date)" <recipient> <recipient> ...
You can of course make a more sophisticated script, e.g. to send an e-mail only if a certain filesystem goes over a critical % full.
But if there is no SMTP server to handle your mail, then the message won't get anywhere, so that is the first thing to check with your UNIX and/or network administrator.
Rgds,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Abhijit,
You can make the SAP system to execute the external command and execute this command as a background job.Also, while scheduling you can have a spool request generated and forward this spool request to the recepients.
However, if you need a single report to do all this, I believe you will have to need the help of an abaper.
I had done such a thing:I cleaned up the /usr/sap/ filesystem using a single report scheduled in background.Probably even e-mailing can be done.
I checked with the my abap colleague who had helped me with this report and got to know it can be possible to send mails after execution of the Os command.
Try it.Just a suggestion.on ur sandbox or dev.
Thanks,
Prasanna
Edited by: Prasanna K on Jun 17, 2009 9:36 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.