Skip to Content

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

Webdynpro Java

Hi,

I am trying to create an webdynpro using the adaptive RFC model.

I have a single character import parameter in the RFC.I am trying to set the parameter value by declaring a field in the NWDS.

I am trying to declare it as follows.

boolean OPCL = "";

But I am getting an error as follows :

<b>"Type Mismatch : cannot convert from string to boolean"</b>

Please help.

Thanks,

Supriya Manik.

Former Member
Former Member replied

Hi

boolean OPCL = "";

here u r trying to asign string to a boolean

give

boolean OPCL = true;

or

boolean OPCL = false;

Regards

Abhijith YS

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question