Skip to Content

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

problem to read long text from context attribute using get_attribute method

hello guru's

i am very new webdynpro abap.i strucked at one point.

i have created one webdynpro component with TextEdit UI element.i binded value property of this ui element with one context attribute of 1000 char leangth.and i have two buttons one is 'SAVE' and second One Is 'DISPLAY'.now i execute component it is allowing me to enter the text with 1000 chars.my requirement is when i eneter text in textedit field and click on save button it should create one text using CREATE_TEXT function module.after that if i select disply button it should display the textwhat i have saved using READ_TEXT.for this display action action have used READ_TEXT fm. but my problem is at the time of save action system should read all 1000 char text what ever i have entered using get_attribute.but it is not able to read all text from context attribute through get_attribute method .it is only picking 255 char length.but it should read 1000 char text.

could you please suggest me on this .please send me the sample code if possible.

best regards,

babu.

Former Member
Not what you were looking for? View more on this topic or Ask a question