on 09-09-2014 12:08 PM
Hi experts,
I have an infopackage loading file from AL11 server to a DSO. Sometimes the loading fails.
All those steps are automated in a process chain. What i would like to do, if the loading fails is to send an email to the person that uploaded the file in the server.
The header of the file uploaded contains informations about the person : Fisrt name, last name.
So i have to dynamically constitute his email by reading the header of the file.
Is that possible?
Thanks.
Amine
Hi Amine,
create your own process type 'FileError'. You can put it as next step in your process chain and connect it by "error" if your infopackage fails. In the execute method of your process type you can read out the filename of the infopackage and then read file contents from server. This information you can send to reposnsible person. But all this logic has to be done in your process type, you need strong ABAP knowledge and experience how to build your own process type.
You can find lot of documents here in SCN hoe to create your own process type.
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The term which used for standard process types. for custom one you need to use "create process type".
Thanks guys.
Amine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Right click on the load step variant and click create a message on condition failure on process type loading (load step). Save the mail id id of the person (here the person who is loading the file). If the load step fails it will send a message to the person mail id.
You have another option of creating an alert using the tcode alrtcatdef
double click on process chains on left window
click display/ change then click BWAC_PROCESS_CHAIN_ERROR
and also maintain the parameters in the lower panel
Alert description and so on..
For more information please check this PDF document
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.