SAP Adapter Not Returning Complete Exception Back (Doc ID 1264779.1)

Last updated on MAY 25, 2011

Applies to:

OracleAS Adapters - Version: 10.1.3.4 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms

You are using an outbound SAP adapter. If the adapter fails for validation only part of the exception is coming back to BPEL/ESB/Mediator. For example, if an input value can only have four characters and you send a value with six characters, BPEL/ESB/Mediator will only get the exception Error in processing input document.  Where as the IWAY logs show:

Thread[AJPRequestHandler-RMICallHandler-276,5,HTTPThreadGroup] [error] [IWAF JCA MySAP] Error in processing the input document.
getMessage(): com.ibi.sap.SapAdapterException: Field: WERKS exceeds defined in structure ZPLANT allowed length 4: KALYAN
int getError(): Client
getAdapterCode(): null
getVendorThrowable(): null

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms