Removing Special characters in OBIEE report output
Hi All,
I have a scenario where one of the my column outputs are
EROOR MSG DESC
detail_mismatch
detail_mis
Detail Mismatch .
Above three values have the same meaning.Is there any way i can name all three values with the unique name in OBIEE .(I know we can do that in Database level but is there any way in obiee ??)
Either use a case statement or use a combination of replace and upper case to translate all three to the same thing.
regards,
Robert.
Similar Messages
-
How to display special characteds in OBIEE reports?
How to display special characters/multi lingual characters in OBIEE reports? Could you please let me know were all I need to make the changes in OBI so as to see the similar set of characters that being saved in database.
Thanks in advance
Regards,
Jeetender
Edited by: user9353498 on Mar 17, 2010 3:55 AMHi,
I believe it depends on your database type. If your database query supports it, OBIEE should not have any problem.
I think there are only 2 constraints which might stop OBIEE from displaying special characters.
1) OBIEE internal javascript which does not allow special characters
2) Database type which does not allow special characters in query.
If you can take care of these 2 reasons, then it should be possible.
However, experts can shed some more light on it.
-Vinay -
Displaying special characters in ALV report.
Hi Experts,
Can we display special characters in ALV reports? Special characters such as tick mark.(Like in character map(Font Bookshelf Symbol 7) of windows ).
I tried with icons in ALV report, I was able to display tick icon in the ALV report, but when we export the report in to a excel, the icons comes in as Hexadecimal code.
Can any we display special characters like tick in ALV report or display the icons in excel aswell?
I will be gratefull for the <urgency reduced by moderator> response.
Regards,
Sharath.
Edited by: Thomas Zloch on May 10, 2011 10:26 AMSharath,
I think it is possible to do so.
Please check this link.
http://www.sapfans.com/forums/viewtopic.php?f=13&t=322569
Thanks,
Guru. -
Need to remove special characters
Hello All
Some input is comming from source field, if any special characters comming from source field, I need remove special characters and send data source to target field. please suggest me how will i do .
Thanks&Regards,
VenkatHi Venkat,
check this thread.
Handling Special Characters
check the document :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
Depends upon encoding methods handling will differ,
you can use ISO-8859-1 or ISO-8859-2 instead of UTF-8 for some special characters.
check this blog:
/people/ulrich.brink/blog/2005/08/18/unicode-file-handling-in-abap
cheers
Sunil -
Sql: remove special characters
Hello!
maybe someone has a hint for me how to remove special characters such as tab/new line characters from columns?
Thanks in advance!
TiberiusHmm... actually it's straight forward:
drop table mytexts
create table mytexts (comment varchar(50))
insert into mytexts values ('This is a standard text!')
insert into mytexts values ('There comes a TAB <--')
insert into mytexts values ('This is called a newline
<--<')
select * from mytexts
| COMMENT |
| -------------------------------------------------- |
| This is a standard text! |
| There comes a TAB <-- |
| This is called a newline
<--< |
3 rows selected (1375 usec)
sqlcli db770=> select replace (replace(comment, ' '), '
> ') as cleaned_comment from mytexts
> ;
| CLEANED_COMMENT |
| -------------------------------------------------- |
| Thisisastandardtext! |
| TherecomesaTAB<-- |
| Thisiscalledanewline<--< |
3 rows selected (1662 usec)
Seems to work...
regards,
Lars -
Hi,
I have to remove special characters from string and replace it with space.
Kindly help its urgent.
ThanksHi,
You Can use Overlay command for this.
Syntax
OVERLAY text1 WITH text2 [ONLY pattern].
Effect
Characters in the text1 variable are replaced by characters in the text2 data object which are there in the same location. If the ONLY addition is not specified, all blank characters in text1 are replaced. If the ONLY addition is specified, all characters are replaced that occur in the pattern data object, and upper and lowercase is taken into consideration. If the lengths of text1 and text2 are different, text1 is processed using the shorter length only.
CONSTANTS initial_time TYPE t VALUE IS INITIAL.
DATA: time TYPE t,
text(4) TYPE c.
text = '12'.
time = text.
write : time.
Thanks,
Reward If Helpful. -
How to remove special characters while typing data in edit cell in datagrid in flex4
Hi Friends,
I am facing this problem "how to remove special characters while typing data in edit cell in datagrid in flex4".If know anyone please help in this
Thanks,
Anderson.Removes any characters from
@myString that do not meet the
provided criteria.
CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
RETURNS varchar(500) AS
BEGIN
While @myString like '%[^' + @validChars + ']%'
Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
Return @myString
END
Go
Declare @testStr varchar(1000),
@i int
Set @i = 1
while @i < 255
Select
@TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
@i = @i + 1
Select @TestStr
Select dbo.GetCharacters(@TestStr,'a-z')
Select dbo.GetCharacters(@TestStr,'0-9')
Select dbo.GetCharacters(@TestStr,'0-9a-z')
Select dbo.GetCharacters(@TestStr,'02468bferlki')
perfect soluction -
Displaying special characters in a report
Hi All,
I need to display a special character (ℓ) in my report.
I checked the type-pool : sym,
but it doesn't have this symbol.
Any help in this regard will be highly appreciated.
Thanks in Advance.
Thanks and Regards,
Arun NishoreHi,
Insert a special Tab Delimited Character
REPORT Z_DELIMIT_DOWNLOAD.
Inserting a Tab Delimited between the Fields in the Internal Table
This program allows you to insert any Tab Delimited characters easily.
You have to create the customized Function in SE37 First.
The customized functions will replace all the fields in your internal table
with your desired Tab Delimited characters.
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
*Replace DELIMIT with "," in the function
DATA: BEGIN OF ITAB OCCURS 100,
TXT01(10),
TXT02(10),
END OF ITAB.
SELECTION-SCREEN BEGIN OF BLOCK FILE_OP WITH FRAME TITLE TEXT-030.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: DLOAD AS CHECKBOX DEFAULT ' '.
SELECTION-SCREEN COMMENT 4(30) TEXT-027.
PARAMETERS: FILE LIKE RLGRAP-FILENAME
DEFAULT 'C:\TEMP\ZTEST.TXT'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK FILE_OP.
ITAB-TXT01 = 'TEXT01'.
ITAB-TXT02 = 'TEXT01'.
APPEND ITAB.
ITAB-TXT01 = 'TEXT02'.
ITAB-TXT02 = 'TEXT02'.
APPEND ITAB.
PERFORM DOWNLOAD.
FORM DOWNLOAD *
FORM DOWNLOAD.
DATA: BEGIN OF DUMP OCCURS 0,
C(2048) TYPE C,
END OF DUMP.
REFRESH DUMP.
CALL FUNCTION 'Z_DELIMIT_DOWNLOAD'
EXPORTING
DELIMIT = ','
TABLES
INTAB = ITAB
OUTTAB = DUMP
EXCEPTIONS
CONVERSION_FAILED = 01.
LOOP AT DUMP.
WRITE:/ DUMP.
ENDLOOP.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = FILE
FILETYPE = 'DAT'
MODE = ' '
TABLES
DATA_TAB = DUMP
EXCEPTIONS
FILE_OPEN_ERROR = 01
FILE_WRITE_ERROR = 02
INVALID_FILESIZE = 03
INVALID_TABLE_WIDTH = 04
INVALID_TYPE = 05
NO_BATCH = 06
UNKNOWN_ERROR = 07.
ENDFORM.
This Function modules need to be created first.
FUNCTION Z_DELIMIT_DOWNLOAD .
""Local interface:
*" IMPORTING
*" REFERENCE(DELIMIT)
*" TABLES
*" INTAB
*" OUTTAB
FIELD-SYMBOLS: <F>.
DATA: LEN TYPE I,
NUM TYPE I,
DELIMIT_LEN TYPE I.
DELIMIT_LEN = STRLEN( DELIMIT ).
LOOP AT INTAB.
CLEAR OUTTAB.
NUM = 0.
DO.
Get name of next structure field into <f>
ASSIGN COMPONENT SY-INDEX OF STRUCTURE INTAB TO <F>.
IF SY-SUBRC <> 0. EXIT. ENDIF. " No more fields in structure
LEN = STRLEN( <F> ).
WRITE: <F> TO OUTTAB+NUM(LEN). " Write field to output table
NUM = NUM + LEN.
WRITE: DELIMIT TO OUTTAB+NUM(DELIMIT_LEN).
NUM = NUM + DELIMIT_LEN.
ENDDO.
APPEND OUTTAB.
ENDLOOP.
ENDFUNCTION.
Thanks,
Sankar M -
How can I remove special characters from spreadsheet filename?
Hi
Having a spreadsheet filename coded (on the Report Attributes page) as &VARIABLE..csv works fine unless the VARIABLE contains special characters such as space, lt, gt and so on.
In the case of space, it is replaced by %20 in the generated filename. Is it possible convert the %20s to underscores (or remove them)?
thanks
TrevorTrevor,
I would use a computation on that page to alter the value of variable, perhaps a SQL Expression such as:
replace (:VARIABLE, ' ', '_')Alternatively, look at the process that puts the value into VARIABLE in the first place and ensure no spaces >, etc are assigned.
Sergio -
How to remove special characters in xml
Dear friends,
How to remove the special character from the xml. I am placing the xml file and fetching through file adapter.
The problem is when there is any special character in xml. i am not able to pass to target system smoothly.
Customer asking schedule the file adapter in order to do that the source xml should not have any special charatcters
How to acheive this friends,
Thanx in advance.
Take careHi Karthik,
Go throgh the following links how to handle special character
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
Restricting special characters in XML within XI..
Regards
Goli Sridhar -
How to remove special characters in a particular column
Hello,
i have a csv feed and i load it into a sql table (the sql table has all varchar data type fields)
feed data looks like (just sampled 2 rows but my file has thousands of like this)
"K" "AIF" "AMERICAN IND FORCE" "FRI" "EXAMP" "133" "DISPLAY" "505250" "MEDIA INC." 03/01/10" "INV31202" ".00" ".00" "0.00" "ALLO" ;
"K" "AIF" "AMERICAN IND FORCE" "THU" "TRTH" "123" "MUN MARCH 2010" "505099" "SOCIALTYZE" "03/01/10" "1308" "40,282.32" "40,282.32" "45564.64" "DIS" ;
some times i got some special characters in my table column (example: in my invoice no column some time i do have # or ! kind of invalid characters ) so how can i remove some kind of special characters in my column
once it is eliminated then i can write it to new table (with correct data format such as integer)
could some one please tell me how can i remove special character in a column of particular table
thanks in advance
asitaRemoves any characters from
@myString that do not meet the
provided criteria.
CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
RETURNS varchar(500) AS
BEGIN
While @myString like '%[^' + @validChars + ']%'
Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
Return @myString
END
Go
Declare @testStr varchar(1000),
@i int
Set @i = 1
while @i < 255
Select
@TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
@i = @i + 1
Select @TestStr
Select dbo.GetCharacters(@TestStr,'a-z')
Select dbo.GetCharacters(@TestStr,'0-9')
Select dbo.GetCharacters(@TestStr,'0-9a-z')
Select dbo.GetCharacters(@TestStr,'02468bferlki')
perfect soluction -
Problems with using special characters in Interactive Report Search
Hi!
I am currently developing an Application on Application Express 3.1.2.00.02 including a page with an Interactive Report, facing the problem that I cannot use special german characters in the Searchbar.
So if i try to find a name like 'Schröder' the created Filter looks like this 'Schröder' and i won't get any valid search results. By the way the rest of the application supports these special characters like using them in Buttons or any other Page elements.
Does anyone have a clue how to fix this problem, because it's driving me nuts ;)
Thanks in advance
Philipp
Edited by: philipp_m on 10.06.2009 11:15Does noybody have a clue how to solve this problem. I tried to find out where the Problem occures. The Ajax Request looks like this
f01 contains
f01 Schröder
f01 15
p_flow_id 100
p_flow_step_id 50
p_instance 3176950818119673
p_request APXWGT
p_widget_action QUICK_FILTER
p_widget_action_mod ADD
p_widget_mod ACTION
p_widget_name worksheet
p_widget_num_return 15
x01 14175446766823030
x02 14176526259823035
So I guess it has to be inside the Javascript file (apex_ns_3_1.js). I hope someone can help me.
Bye
Philipp -
Sql to remove special characters from my search
Hi everyone. I'm very new to sql and have hit another road block. I am doing a query on my database in oracle sql developer. I want to search manufacturer numbers but sometimes they were entered with dashes ( 999-99-9999) and other times not (999999999) is it possible to apply a function to overlook the dash in both my query numbers and in the database mfr_nbr column?
any help would be appreciated.
Kellyok, I have built a nesting string of replaces to remove all of my special characters and it worked perfectly but now I am not sure where to place the nest later in the string to remove it from my search of mfr numbers. The reason I need to do it again is because I want to remove the characters so I am searching in terms of " apples to apples" so to speak. here is my string so far. I still need to add the part where I put in my search for the manuf_item_nbr. my question is where do I need to place the nested replace's to remove it from my numbers I'm going to search?
SELECT MAX(item_nbr) ,REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( manuf_item_nbr, ' '), ','), '<'), '.'), '>'), '?'), ''), '"'), ';'), ':'), '\'), '|'), ']'), '}'), '['), '{'), '='), '+'), '_'), '-'), ')'), '('), '*'), '&'), '^'), '^'), '%'), '$'), '#'), '@'), '!'), '~'), '`'),
manuf_item_nbr ,MAX(description), MAX(description2), MAX(GHX_FULL_ITEM_DESCR), MAX(Cntrct_nbr_txt), MAX(uom_cd) ,
MAX(item_qty), MAX(tier_descr), MAX(tier_prc_amt),MAX(list_prc_amt), MAX(vndr_nm), MAX(vndr_id), MAX(unspsc_nbr),MAX(iss_account) FROM
( SELECT '' AS item_nbr, manuf_item_nbr,'' AS description, '' AS description2,'' AS GHX_FULL_ITEM_DESCR, Cntrct_nbr_txt, uom_cd, CAST(item_qty AS VARCHAR (255)) AS item_qty,tier_descr, CAST ( tier_prc_amt AS VARCHAR (255)) AS tier_prc_amt, CAST (list_prc_amt AS VARCHAR (255)) AS list_prc_amt,
vndr_nm, '' AS vndr_id, '' AS unspsc_nbr,'' AS iss_account FROM ROI.CNTRCT_PRC_LIST
WHERE ACTN_CD <> 'D'
AND ROW_UPDT_TSP IS NULL
UNION ALL
SELECT item_nbr, manuf_item_nbr,'', '', GHX_FULL_ITEM_DESCR,'', purch_uom_txt AS uom_cd,
purch_qoe_txt AS item_qty, '', '' AS tier_prc_amt,'' AS list_prc_amt,
vndr_nm, vndr_id, unspsc_nbr,
gl_cd AS iss_account
FROM ROI.ROI_ITEM_ENRCHD_NUVIA
UNION ALL
SELECT trim(item) AS item_nbr,
trim(manuf_nbr) AS manuf_item_nbr,
trim(description),
trim(description2), '' AS GHX_FULL_ITEM_DESCR, '',
trim(stock_uom ) AS uom_cd,
'' AS item_qty,'', '','' AS tier_prc_amt, '' AS list_prc_amt,'' AS vndr_id, '' AS unspsc_nbr,
CAST( trim(iss_account) AS VARCHAR(255))
FROM ITEMMAST_LAW
)GROUP BY manuf_item_nbr
ORDER BY manuf_item_nbr -
Remove special characters from incoming data
Hi Varun, You could use either of below.. REG_REPLACE(YOUR_INPUT_STR,^[A-Za-z0-9 ],NULL) -- Replaces all non-alphanumeric with null
REG_EXTRACT(YOUR_INPUT_STR,[A-Za-z0-9 ]) -- Extracts only alphanumeric data -Rajanii have special character coming in the source data and i want to remove it before loading into target, currently i am getting one special character , it may come as some other type of special character other than alpha numeric. so how to remove those special characters from data and load the alphanumeric data into target.
-
Alternative to remove special characters
Hi All,
There are some special characters in the varchar2 field which stores date values.
Any Alternative for this code :
WHERE TO_CHAR (LENGTH (TRANSLATE (TRIM (num_column),
'*0123456789',
) IS NULL;
While selecting the data using analytical function getting error message - invalid number.
I have not created this table.
Thanksis the '*' character always in the first position?
If so, then one could do
select num_column
from
select num_column, substr(num_column,1,1) first_char
from t
where rtrim (first_char, '0123456789') is not null
Maybe you are looking for
-
Multiple OID schema's in a single database SID?
I have OID/OVD 11g installed in a development environment and during the install I used the create schema option to automatically create the required database schema. I now need to install a second seperate instance of OID/OVD, but the database schem
-
Is there a way to install boot camp on a 2006 Mac Pro running Lion?
Lion comes with Boot Camp 4, which supports Windows 7+. The 2006 Mac Pro however only supports Windows Vista, which requires Boot Camp 3. I can't find a download link for Boot Camp 3, only 4 and 5. Does anyone have an idea?
-
Consuming ABAP Web Service in Non SAP system
Hi I have created an ABAP web service form the RFC and configured it in the SOAMANAGER. I have tested it in Web Service Navigator using the URL and it is working fine. Now I am trying to access it from the Non SAP system using Java Code. I am able to
-
How to use forecast functions correctly?... Program doesn't work.
Have anybody tried to make some forecast using the example programs Autofcst, QueryAll, etc. (Oracle Services Language Help)? I took these programs as a templates and tried to make my own over our database. First the simple ones. But It didn't work.
-
Update the database table inside an user exit.
Hi Experts, I have a issue where i have to update a custom table in an User exit. I am using Lock object for ENQUE/DEQUE. I have tried to use statements like UPDATE/MODIFY inside the user exit. But the problem is that it's not updating the database t