on 02-28-2014 9:23 AM
Dear Gurus.
Can any one let me know how to underline particular part of string?. My requirement is i have description text box in my wdp screen. when user enter's description, based on some
condition, i need to append his sap login id and username to description and submit the request.
So how to underline SAP login id and username concatinated to description?.
PS . the below snapshot for reference.
Thanks
Santhosh
Hi,
You could use Formatted Text View UI for the same ( not sure if underlined is supported, you can make it as bold/italic) FormattedTextView - Web Dynpro for ABAP - SAP Library
Or, Create a Link to URL/Link to Action UI and set the Log on ID/ user name to that and next to that create a text view to show description
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
You can achieve your requirement as below
- Add the ui element FORMATTED_TEXT_EDIT into view and use this for populating description along with the user id and other details
- Bind the text to the context attribute "MY_TEXT"
Example,
Now,
lv_text : "hello - "
lv_user : Rama
Concatenate '<p>' lv_text '<strong>' lv_user '</strong></p>' into lv_my_text.
Now, set the text to context attribute
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.