Skip to Content
0
Mar 09, 2010 at 06:55 PM

Leading zeros from Adobe form web service data connection

194 Views

I created a web service for BAPI_PRODORD_GET_DETAIL and used it as a data connection in an Adobe form. When executing the connection using request parameters of:

Number = [Production Order #]

OrderObjects.Operations = 'X'

no production orders are found.

I debugged and discovered the BAPI only found production orders when the Number importing parameter contained padded leading zeros. After searching the forums, I suspect (1) I have the wrong field type and / or pattern for the production order number input field or (2) SAP Note 1050826 may apply.

Does anyone have suggestions on which field types and patterns to use? I have tried each of Text, Numeric, and Decimal. When using Numeric, I set the data format to Float instead of Integer. I tried data patterns such as: num , the data displays with leading zeros but does not pass to the BAPI with them.

I was also thinking a Formcalc or Javascript may be the solution.

Livecycle version: 8.1.2

Component SAP_APPL: 603 (for SAP note relevancy)

Thank you,

--- Scott