I am working ona scenario.
Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate time entries in SAP HR. If errors are encountered during the process they are returned to the client in a report or as erroneous file.
1) sender will FTP the file to XI directory
2) XI will send the file after validation with BAPI for time entry creation in SAP R/3.
3) If there is an error encountered XI will get an error response from BAPI
*4) The erroneous file is sent to XI directory for client to view*
I have to write this error files on the Xi directory.
*How will I capure the error response from BAPI. as we are interested only for failure messages and not the sucessful messages. How we filter the mesages in XI, we want to capyure only failed messages.*
Please help me out wz this.