Hi Jyothi,
You can refer the same in my old threads.
I have folllowed the below procedure to resolve the issue.
Answer:
i have solved this after entering the table and field name
im using one function module DDIF_FIELDINFO_GET for retrieve the data type length of that particular field and pass those to our BAPI ,from that i solved
Thanks
Surendra