on 04-05-2007 8:05 AM
HI,
How can i get the output of the smartform in all caps,i had some data which is saved in small letters in the BP transaction and i want that also to be in caps.
Thanks in advance.
Hi,
If the data is coming in an internal table then before passing it to the 'TABLE' node insert one 'PROGRAM LINE' and in it loop the internal table & translate each of the non-numeric field in to upper case as shown in below code.If it is in work area then in
'PROGRAM LINE' u can directly translate it in upper case.
Loop at gt_adrc into wa_adrc.
TRANSLATE wa_adrc-NATION TO UPPER CASE.
TRANSLATE wa_adrc-TITLE TO UPPER CASE.
TRANSLATE wa_adrc-NAME1 TO UPPER CASE.
....
....
....
endloop.
I hope this will help u.Please reward points if u find it useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
they mean -- create prgram lines and transalte the value into uppercase before printing..
store the translated value in another variable and then print it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh
try using "TRANSLATE TO UPPER CASE" addition in the form program lines to capitalize your text.
Reward if helpful... and close thread if your problem's solved.
Regards,
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just before the text node in smartform for that element add a program node and use TRANSLATE commnad for that value.
Regards,
Amit
Reward all helpful replies.
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.