Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Handling RAW data types (from SAP) in Adobe forms - Illegal Arg Exception

Hi,

I have a scenario where I have to get data of type RAW in SAP to Adobe Forms using web dynpro java. What is the corresponding type in Web Dynpro / Adobe Forms.

I am using Adaptive RFC and when I get the model from SAP function module, the RAW type is created as Binary type in the data dictionary of Web Dynpro.

When I map the model context to controller context, the type is taken as byte[].

I tried to set the attribute for this field and I got the Illegal Argument Exception error.

I am using NWDS 7.0.9 and NW04s SP12. Pl help. I am working on this since 10 days but could get no solution.

The initial exception that caused the request to fail, was:

<b>java.lang.IllegalArgumentException</b>

at com.sap.dictionary.runtime.DdTypeBinary.format(DdTypeBinary.java:60)

at com.sap.dictionary.runtime.DdTypeBinary.toString(DdTypeBinary.java:64)

at com.sap.tc.webdynpro.clientserver.data.DataContainer.doFormat(DataContainer.java:1405)

at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1098)

at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderAttributes(XfdRenderer.java:370)

... 41 more

Former Member
Not what you were looking for? View more on this topic or Ask a question