‎2012 Dec 31 8:33 AM
HI All,
i have three fields which is declared as a string in proxy.
I am using these three fields in my ABAP program.
But the length of these fields should not be more than 34.
Please how to do this in program with out changing the datatype in proxy.
Thnks..in advance...
Regards,
Santosh
Moderator message: please do more research before posting.
Message was edited by: Thomas Zloch
‎2012 Dec 31 8:37 AM
you can use strlen function to get string length in abap, use like :
Data : Length type i.
length = strlen( <variable> ).
here is length variable you will get exact length for string.
‎2012 Dec 31 8:40 AM
combine those 3 fiels by
concatenate f1 f2 f3 into f4.
len = strlen( f4).
you can find the string length by len.
hope this helps,
Vinoth