Show TOC

Message ContainerLocate this document in the navigation structure

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

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.

Adding Messages

An application should add all messages to the message container.

Return Code

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).

Table 1: Domain Values

Value

Description

OK

Success

WA

Processed with warnings

FP

Not processed successfully - permanent