For the inbound BAPI service, why the N type value becomes zero in SAP

For the inbound BAPI service, why the N type value becomes zero in SAP

book

Article ID: KB0076888

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions 7.x

Description

For the numerical text type(ABAP type N), the TIBCO ActiveMatrix® Adapter for SAP would use the AEType String in the AESchema. According to SAP, the numerical character type allows digit chars and leading zero. All other characters, such as sign(+/-), leading space and dot, are invalid.

 

Issue/Introduction

For the inbound BAPI service, why the N type value becomes zero in SAP

Environment

All supported systems

Resolution

The TIBCO ActiveMatrix® Adapter for SAP 7.2.0 communicates with SAP via the JCo library 3.0.x. When sending type N data in the RFC/BAPI, the data format must match its definition in SAP. It should have only digit characters or optional, the leading zero. If the type N field value has unsupported characters such as alphabet, space, dot and sign, the JCo will reset the value as 0 and pass to SAP without any warning or error.