Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8704

AIF inbound scenarion exception: CX_AI_APPLICATION_FAULT while passing 'N' to success

$
0
0

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)

1.PNG

but if I run this via placing the CSV in PI the error raised in the /aif/err transaction is an "system error".

 

1.PNG

 

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

 

 

<SAP:Stack>Error during proxy processing An exception with the type CX_AI_APPLICATION_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error An exception with the type CX_SY_CREATE_DATA_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause The data object could not be created: The type does not exist.</SAP:Stack>

 

 

<SAP:Retry>M</SAP:Retry>

Thanks !

 


Viewing all articles
Browse latest Browse all 8704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>