I am working on a simple report but facing an problem in it.
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECT-OPTIONS : M_NO for MSEG-MATNR,
M_YEAR FOR MSEG-MJAHR.
SELECTION-SCREEN END OF BLOCK B1.
DATA : LEN TYPE I.
LEN = STRLEN( M_NO ).
when I select record for eg. if i select value 18 in m_no then LEN should display value 2.bute its showing 21.I have debuge the program M_NO taking the value 'AEQ000000000000000018'.can anyone please help me with this problem.
Thanks in advance.