Skip to Content

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

Webdynpro Java


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.


Supriya Manik.

Former Member
Former Member replied


boolean OPCL = "";

here u r trying to asign string to a boolean


boolean OPCL = true;


boolean OPCL = false;


Abhijith YS

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