I have a simple File-RFC-File scenario : I call BAPI_GET_COMPANYDETAIL by sending the company code from a flat file to make the RFC Call . I get the returns and put it in another file.The File contains Return data from BAPI which includes error structure also.
.I want to split the BAPI response to 2 files-1)containing return data 2) Containing Return Error
I have implemented a BPM which has Sync Send to RFC and the returns from RFC are send asynch to abstract interface .I have 2 async abs interface for BPM(one for send and other for receive)
Now I want to have another file which wll have the error messages from the BAPI call.
How do I split the return message from the BAPI call to send it to 2 different files?
Do I need to make 3 abstact async interface in BPM (1 for send and 2 for receive)?
Any clue ?