‎2007 May 05 7:31 AM
Hi Friends,
How to find the length of the contents in a field. Is there any FM to find the same.
Kindly guide me.
TIA.
Regards,
Mark K
‎2007 May 05 7:32 AM
‎2007 May 05 7:45 AM
Hi,
I want to know the length of the contents and not the field length.
Regards,
‎2007 May 05 7:57 AM
hi,
looks like there's some misunderstanding here.
can u please explain ur doubt once again with an example.
for one field, there can be one content only, and it was explained how to retrieve the length of this data.
Thanks,
Viji
‎2007 May 05 7:33 AM
Hi,
y r u going for FM.U can find it using strlen( ).
Regards,
Padmam.
‎2007 May 05 7:33 AM
‎2007 May 05 7:36 AM
Hi Mark,
Try This Function Module,
STRING_LENGTH.
Thanks.
Reward If Helpful.
‎2007 May 05 7:41 AM
hi Mark,
You can use STRLEN statement or use 'STRING_LENGTH FM
CALL FUNCTION 'STRING_LENGTH'
EXPORTING
string = lv_string
IMPORTING
LENGTH = lv_newRegards,
Santosh