on 09-25-2008 2:46 PM
Dear All,
Please provide me the solution for the following unicode error.
Here, REC1 is an internal table with header line.
WRITE VBRK-MWSBK TO REC1-MWSBK NO-SIGN CURRENCY '3'.
WRITE VBRK-NETWR TO REC1-NETWR NO-SIGN CURRENCY '3'.
This statemnet is giving warinigs like the following.
"REC1-MWSBK" must be a character-type field (data type C,N,D or T).
But if I replaced REC1-MWSBK as char type the output value is coming differently.
Its not giving expected value what it is giving at actual statement.
Please let me know the solution.
Points will be awarded for responding and solution.
Regards,
PJ
Myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
make target fields as char and then do this
WRITE VBRK-MWSBK TO REC1-MWSBK.
WRITE VBRK-NETWR TO REC1-NETWR.
This will do it
Regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this
report zaRs.
tables : vbrk.
data : v_mwsbk like vbrk-mwsbk.
move : vbrk-mwsbk to v_mwsbk.
write : v_mwsbk no-sign currency '3'.
a®
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi declare the fields in the rec1 as the char type fields with the same lenght of the data element . then it will be solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hHi Praksh,
Write to statement some times it is giving some errors. Use string as a mediater for move the value from VBRK-MWSBK to REC1-MWS. First move the value from VBRK to string and then string to REC1.
Regards,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.