The message container gathers all messages raised and retrieved by application agents during the processing of a request. It is defined by the interface /IWFND/IF_MESSAGE_CONTAINER, which supports adding messages in the following different formats:
Standard T100 format
BAPIRETURN2 table
SOA Web service Log Item
Exception
Note that for the backend system (where software component IW_BEP is deployed) a corresponding class exists called /IWBEP/IF_MESSAGE_CONTAINER for OData Channel development.
An application should add all messages to the message container.
A return code is not part of the message container but is a parameter of the Request Data object.
All SAPÂ Gateway inbound Web Services support a return code of data type /IWFND/COR_RESULT_CODE (NUMC length 2).
Value |
Description |
---|---|
OK |
Success |
WA |
Processed with warnings |
FP |
Not processed successfully - permanent |