Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

want to length of the string


I have one parameter on the selection screen, when i enter some string on that, it should give me the length of the string. can you pls send me the code.

Ex: if i enter : enter amount : then it should give the o/p is: 12


Former Member
Former Member replied

parameters : p_str type string.

data : len type i.

len = strlen( p_str ).

write : / len.


shiba dutta

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question