Internal Representation of RSSELDONE~LNR
The field RSSELDONELNR references the system data element RSNRCHAR which is CHAR10. When I try to use this field in a WHERE clause, the only success I have had so far is to code WHERE rsseldonelnr = "%1" which of course will return any row where this field ends with a "1". What I really want is only the rows where it's <b>exactly</b> equal to "1", but I need the proper syntax for this. I have tried "1", "_________1", "0000000001", and " 1" but they all return zero rows, sy-subrc=4.
u have to convert the number into char by appending zero before it .
lv_char10 type char 10.
Steps required are
1) lv_char10 = 1.
2) use FM CONVERSION_EXIT_ALPHA_INPUT
INPUT = lv_char10
OUTPUT = lv_char10.
it will convert
if it is
it is possible for any number.
Number of zero appended is equal to empty space in the variable.
in our case 9 zero where appended.
if it is char20 then 19 zeros will be appended.
Mark Helpfull answers
Message was edited by: Manoj Gupta