on 01-11-2016 11:51 AM
Hi all i want create a long text to write the description about design document , declared a sting variable and text should be long like how in standard va01 screen item text maintain. kindly give solution to create a long text field. is the same method i need to use input filed and make the size big or any standard method available for webdynpro abap.
Hi,
For the TextEdit UI Element :
In the Context tab at the context create a Node (TEXT_EDIT_NODE)cardinality 1:N and then create an Attribute(TEXT) type String.
In the Layout Tab at the TEXTEDIT uielement at the Attributes level (VALUE) bind that Attribute(TEXT) TYPE STRING that you create at the context node.
In order to display TEXT in your code you will need to SET_ATTRIBUTE (using the wizard, SET) and set it to the Context Attribute (TEXT)within your node(TEXT_EDIT_NODE).
For the Long Text: Create a Node (LONG_TEXT_NODE) cardinality 1:1 and then Create an Attribute(LONG_TEXT_ type String.
then follow the same proccess that you did for the TEXTEDIT above.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could use TextEdit UI element to achieve this. Or you can use FormattedTextEdit UI to enter formatted text.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.