2013 Jun 21 11:34 AM
Hi All,
When I run code inspector, it is showing me the below error:
Conversion from ls_cdpos-objectid to lifnr may cause data to be truncated.
How to solve this? Awaiting your replies.
Thanks,
Venkata
lifnr = ls_cdpos-objectid+0(10).
(I suppose object is KRED)
Regards,
Raymond
2013 Jun 21 1:16 PM
HI
if u wan to remove this error put the pseudo comment.....
for example u can see the below one....
Can be hidden using pragma ##NO_TEXT (or pseudo comment "#EC NOTEXT)....
so put "#EC NOTEXT at the end of the line.
2013 Jun 21 1:21 PM
Hello Venkata,
how did you define lifnr? And what is the code you use to put the value of ls_cdpos-objectid to lifnr?
Kind regards
Peter
2013 Jun 21 1:51 PM
2013 Jun 21 2:00 PM
Hello Venkata,
Check whether the length of ls_cdpos-objectid is same as lifnr .
Regards,
Tushar
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |