Hello,
This is an inbound interface scenario.
I have a function module defined for an AIF action. This function module is based on the template /AIF/FILE_TEMPL_PROCESS
The function module has a changing parameter "Success" of type /AIF/SUCCESSFLAG
If everything is OK I pass a "Y" to this parameter.
If not, I pass an "N"
The issue that I face when I pass an "N" is:
1. If I run this interface via SPROXY, the error raised in the /aif/err transaction is an "application error" (which is good)
but if I run this via placing the CSV in PI the error raised in the /aif/err transaction is an "system error".
It should always be an application error
2. No matter where I run it from (sproxy or pi), the response message seen in sxmb_moni is an exception (shown below). I guess it should not be an exception. I am passing "N" to success so that it is flagged as an error in AIF