Hello Suman,
Did u debug and check ? What is the length of the data which u r getting from ur back-end logic ?
What is that data u r dealing with ? Share a sample data which u r getting from the Back-end.
Set it as a String and remove the MAX Length and check :
If u have written any code as shown in the highlighted section, then comment that.
lo_property->set_type_edm_string( ). - - > Make it as string
lo_property->set_maxlength( iv_max_length = 5 ). - - >Remove This line of code in ur MPC Class
Regards,
Ashwin