‎2008 Apr 19 1:56 PM
What is the maximum length that can be assigned to a character variable.
like..
wf_char(1000) type c.
wat is the maximum possible value that can be passed in the bracket.
‎2008 Apr 19 2:38 PM
Hi,
Initial field length is '1'
Initial value is space
Valid field length for Data type 'C' is 1--65535
reward if helpful
raam
‎2008 Apr 19 2:36 PM
Hi Rudra,
It depends on which version u r using. In 4.7 version max length for char variable is 65535. Check in ur system by giving more than this.
I suggest u to declare the variable as string if u don't know the length of data that will come to the variable.
Thanks,
Vinod.
‎2008 Apr 19 2:38 PM
Hi,
Initial field length is '1'
Initial value is space
Valid field length for Data type 'C' is 1--65535
reward if helpful
raam
‎2008 Apr 19 5:23 PM
Hi,
You have plenty of room here, 1000 character no problem. Not sure that there is a limit, as I am working with really long strings right now in my assigment. I think the only limit would come from the memory cap of your session.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10931544&messageID=5048019
Regards
Kiran Sure
‎2008 Oct 31 12:45 PM