on 12-20-2005 4:49 PM
Hello,
I am having the type conversion problem with the "Wait" field of the BAPI_TRANSACTION_COMMIT. It is CHAR1 but after importing in WD it is boolean.
Any ideas how can I convert it back to CHAR1 on the WD side?
Many thanks,
Dharmi
Hi Dharmi,
The Domain of the "Wait" field (dont remember which one this is) is of length 1, but is specifically meant for creating a boolean on the web dynpro side. I think you will see 'X' = true and ' ' = false in its valid values at the domain level. You are supposed to send a true or a false from web dynpro which would be the same as sending an 'X' in ABAP. Anyways, if you still want to keep it as a CHAR1, change the domain of the field to a CHAR1.
Regards,
Nirav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dharmi,
If you are using adaptive RFC model node add value subnode (CalcAttrs) and add value attribute with your own custom type (with fixed length = 1) and set calculated property to true. In calculation method get value from model and return appropriate CHAR1 value.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.