on 09-20-2005 9:06 AM
Hello,
I want to call an ABAP RFC that has some char(1) Arguments to be filled with 0, 1 or 2. The automatically generated structures generate on the Java side BOOLEAN types out of this??
Is that a bug that a char(1) is converted to boolean??
Frank
Hi,
I require information in Web Dynpro.
I have a field Xbilk which is char1 ABAP field.
Here there are 2 type of accounts which are identified by xbilk char1 field.
if that is filled then it is a Balance sheet account
else it is a Profit and loss account.
But in testing it is going to Balance sheet even if it is profit and loss account and end result is always Profit and loss account which is incorrect.
I have used char1 in value attribute and model attribute.
Please communicate me steps.
Thanks
Laxmikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It actually depends on how you define your values on the structure you are calling from the RFC.
I have found that if you define your domain as XFELD, you will get a boolean value on your webDynpro. I believe this occurs because XFELD has a mapping converting defining "Yes/No" values.
If your data domain is just a CHAR1 not defining possible values or more than yes/no, it should work, and you should receive a String value on your webDynpro.
I am actually having the almost opposite problem. I do want boolean values to setup some checkboxes. They come up properly but I receive an exception while updating the values. It seems that the NetWeaver core does not handle conversion between true and 'X'. Help wanted
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.