Functions for mapping Latin-1 character codes to and from WinLatin-1  character codes

HI ALL
I will like to know how could i write own functions for mapping Latin-1 character codes to and from WinLatin-1
character codes.
Can show me some source code or how to mapping it. Because i just begineer.
Hope you able to help me..

I see your issue. I tried to reproduce this issue using sqlplus.
Setup NLS_LANG as you mentioned using WE8ISO8859P1 and connect to a UTF8 db.
[oracle@server ~]$ locale -a | grep en_US
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
[oracle@server ~]$ export LC_ALL=en_US.iso88591
[oracle@server ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.iso88591"
LC_NUMERIC="en_US.iso88591"
LC_TIME="en_US.iso88591"
LC_MEASUREMENT="en_US.iso88591"
LC_IDENTIFICATION="en_US.iso88591"
LC_ALL=en_US.iso88591
[oracle@server ~]$ echo $NLS_LANG
AMERICAN_AMERICA.WE8ISO8859P1
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
AL32UTF8
SQL> select nchr(223) from dual;
NCHR
ß
SQL> select chr(223) from dual;
ERROR:
ORA-29275: partial multibyte character
SQL> SELECT CHR (223 USING NCHAR_CS) from dual;
C
ß
SQL>  select  CONVERT('ß', 'WE8ISO8859P1','UTF8') FROM DUAL;
CO
SQL> select  CONVERT(CHR(223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL;
select  CONVERT(CHR (223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL
ERROR at line 1:
ORA-12703: this character set conversion is not supportedI found that beta is in WE8ISO8859P1 character set
here[url http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch2charset.htm#NLSPG164]What Characters Does a Character Set Support?
But I don't really understand whats the problem in the conversion.

Similar Messages

  • I filled out the form for Mountain Lion upgrade in the morning and expected to get the codes... It is 10 pm and no codes. Is it normal?

    I filled out the form for Mountain Lion upgrade in the morning and expected to get the codes... It is 10 pm and no codes. Is it normal?

    If it was the contact form for the forum mod team then it is normally about 3 working days as all mails are dealt with strictly in turn also if it was that form you would have had a confirmation immediately you sent the contact form as it opens a new web page with a reference number on it and also you will be personally contacted by phone or email
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Making a User Defined Function for Mapping in XI

    Hi folks..
    I knw how to make User defined Function in XI,
    i was wondering about can we have any room for making a function for Initializing Purpose, which intializes few fields in source Message to some Global variables, and later we can use these Global Variables to set the the Target field
    My Doubt is this...
    i have Source & target Structure like this Structure like this....
    SOURCE  TEST DATA IS... 
    Parentsrc                   
        child1src a              
        child2src b              
        child3src c                     
        child4src hi
        child4src hello
        child4src hey            
    (On the basis of instances of child4src the istance of the Parentdst will be generated)                                        
    TARGET DATA SHUD BE LIKE THIS....
    Parentdst                    
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hi
    Parentdst                     
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hello
    Parentdst                     
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hey

    Hi
    You have to modify  your target structure:
    <b>Source</b>
    Parentsrc
    child1src a
    child2src b
    child3src c
    child4src hi
    child4src hello
    child4src hey
    <b>Target</b>
    <b>root</b>
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hi
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hello
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hey
    <b></root></b>
    Now map like this:
    child4src -
    Parentdst
    child1src--|
    child4src--| UseOneAsMany -- Splitbyvalue --- child1dst
    child4src--|
    child2src--|
    child4src--|UseOneAsMany --Splitbyvalue --- child2dst
    child4src--|
    child3src--|
    child4src--| UseOneAsMany -- Splitbyvalue --- child3dst
    child4src--|
    child4src -- SplitbyValue -- child4src.
    Regards
    Suraj

  • Query for MAP Calculation - Price Control ind V and S

    SAP Guru's
    Query regarding MAP Calculation Logic
    Scenario:
    *I have one material xyz
    1. It is split valuated material,
    2. Two valuation types with diff price control indicators
    3. Batch Management is also activated on this material.*
    Follwoing is the Material Master Accounting1 View :
    Vauation Type     Price Control     Total Value     Qty     MAP                  Batch     
         ZA1          V                     610835.00             37     16509.05(V)          01
         ZB1          S                     0                  1     20000.00(S)          02
    but when we are running MM03 w/o Valuation Type Accounting 1 View
    is showing MAP as 16074.60 i.e. 610835.00/38
    Diff. Reports Output------>
    MB5L - List of Stock Values: Balances --> Output
    ValArea          Total Stock          Total Value
    A101               1                          0
    A101               37                          610835.00
    Net-->               38                  610835.00
    MB52 - Display Warehouse Stocks
    Check Box - Display Batch Stocks
    Condition1: When Display Batch Stocks is selected on main screen of MB52
    Mat.     Palnt      Sloc      Unrestricted     Stck in Transit          Total Value
    xyz     A101     0010      0                    30                       482238.00
    XYZ     A101     0010      7                    0                       115563.00
    xyz     A101     0010      1                    0                        0
    This is not correct result as Total Values is 597801.00 only      
    Condition2: When Display Batch Stocks is not selected on main screen of MB52
    Mat.     Palnt     Sloc     Unrestricted     Stck in Transit          Total Value
    xyz     A101     0010         0                  30                       482238.00
    XYZ     A101     0010         8                   0                       128597.00
    This is correct result as Total Values is 610835 .00 only
    So my query on above issue is :
    1. How System is including 1 Qty of Std Price Control for MAP calculation?
    As per my understanding MAP is only for Price Control V indicator Materials Stock
    2. Whats the difference between these two report output from MM03 Accounting
       view?
    Thanks

    hi Animesh,
    For Split Valuated Material at header level Price control is always "V" i.e. Moving average price reagrdless of the Price control you have given for different valuation types.
    Due to this you are getting these kind of results. Please visit the following link for more information
    http:///saphelp/EN/8f/d1de34e4cb2300e10000009b38f83b/frameset.htm
    Check it and revert back.
    Regards,
    Jay
    Edited by: SAP_MM on Dec 4, 2008 10:19 AM

  • Java user-defined function for mapping a complex structure

    All,
    Hope one of you can help me with this. I have a structure with over 15 fields and would like to concatenate all the fields into one target field and while I do this, I need to ensure that each field is padded with blanks as defined the data type. Can one of tell me if this is possible with a java user-defined function and if so, what type of logic is needed.
    Input_MT
    Field_1  string len=10 "need"
    Field_2  string len=6 "java"
    Field_3  string len=7 "help"
    Field_4  string len=8  "asap"
    etc,
    Output_MT 
    DataOut string  "need      java  help   asap    "
    (for some reason the exact spaces in between the words disappear in my Preview message)
    I have several fields in the input mt and therefore I find graphical mapping using concatenate and my own user defined function padWithSpace too messy.
    Thank you for you help.

    Hi,
    If your final req is to write all these fields next each other in a file, you can configure this in receiver file adapter by specifying the fixed length for each field.
    If you want the padded string as your MM o/p, you can create a simple user defined funtion with 15 fields as input and 15 constants for their lengths, and find out the length of the each string and pad it with required no of spaces.
    int max_len = 10;
    int actual_len;
    actual_len = a.lengh();
    for(int i=0; i < (max_len-actual_len; i++)
    a = a.append(" ");
    return a;
    praveen

  • I used focus function for Radtextbox.it behaving correct in IE and Chrome but not in mozila.

    ''duplicate of https://support.mozilla.com/en-US/questions/904640''
    Focus function not populating mouse cursor on radtextbox on page_load in mozila but workinfg fine in IE and Chrome.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Everytime I open Firefox it functions for a matter of seconds before freezing and becoming completely unresponsive, what can be done about this?

    After freezing up today(which it has done from time to time before), Firefox has now become completely unresponsive. I have repeatedly attempted to restart it but the program will freeze up almost immeadiately every time, each time requiring a close via the task manager.
    Nothing has changed since last night except for this unresponsivness. I just tried uninstalling my older version and downloading the current version but the problem has persisted. What else can I try?

    I have the same problem on two Windows 7 x64 installations.
    Firefox 4.0.1
    Addons in common: Firebug
    Firefox does not crash, it just becomes unresponsive, but the moment it becomes responsive again (couple seconds to 15 seconds or more,) it will just become unresponsive again. There is next to no CPU usage and there is nothing running in the background that could possible slow it down. I also notice that FF momentarily will stop responding for around 1/2 to 1 second. Then continue to be fine. I'm finding that Chrome is acting up as well but IE is working fine. I also found that Google.com seems to exacerbate the problem.

  • Standard function for SELECT???

    I need to do a dynamic select, because i only know table name dynamically.
    I found DB_UPDATE_TABLE for update operations, but i need a similar function for select??
    Any ideas???

    Hi,
    check this code...
    For dynamic table name....
    REPORT demo_select_dynamic_database .
    DATA wa TYPE scarr.
    DATA name(10) TYPE c VALUE 'SCARR'.
    SELECT *
    INTO wa
    FROM (name) CLIENT SPECIFIED
    WHERE mandt = '000'.
    WRITE: / wa-carrid, wa-carrname.
    ENDSELECT.
    <b>For dynamic field list</b>
    REPORT demo_select_dynamic_columns .
    DATA: itab TYPE STANDARD TABLE OF spfli,
                wa LIKE LINE OF itab.
    DATA: line(72) TYPE c,
    list LIKE TABLE OF line(72).
    line = ' CITYFROM CITYTO '.
    APPEND line TO list.
    SELECT DISTINCT (list)
    INTO CORRESPONDING FIELDS OF TABLE itab
    FROM spfli.
    IF sy-subrc EQ 0.
    LOOP AT itab INTO wa.
    WRITE: / wa-cityfrom, wa-cityto.
    ENDLOOP.
    ENDIF.
    Regards
    Sudheer

  • How to store character in file and display result on front panel

    hi
    currently i m working on FPGA project.i want to aquired data from FPGA board.i want to know about how to store character to file and contineous display each character on front panel in string format.
    i have complete up to character display on front panel but only single character display when i want all character in string format.
    Solved!
    Go to Solution.

    I don't see how this question is at all related to Digital I/O but it sounds like you just need a shift register with the concantanate string function.

  • SQL Select and From Functions

    Can sql aggregate functions be added to an interface select clause and from clause.
    I want to have a datasource where one of the columns is an aggregate such as a count, which would need the ability to indicate a from clause function group by, or having by. In the Designer Diagram tab for the interface, it seems you can only apply sql functions to where clause joins or filters.
    I want to have a query such as follows as my datasource
    select columnA, count(*) as thecount
    from table x
    group by columnA
    order by thecount asc
    and ultimately
    select columnA, thecount
    from (select columnA, count(*) as thecount
    from table x
    group by columnA
    order by thecount asc)
    where rownum <1001
    Can this be done in the ODI Designer, without creating a physical custom view on the database?

    Hi lpantuso,
    Aggregate functions are added by ODI automatically. In this case you would want mappings like this:
    TARGET_COL_1: columnA
    TARGET_COL_2: count(*)
    ODI will generate something like this:
    select     
       columnA,
       count(*)
    from     MY_TABLE MY_TABLE
    where     
         (1=1)
    Group By MY_TABLE.columnA
    The subselect, however, isn't handled out of the box. In general ODI isn't quite as friendly with ordering clauses since order by is not relational. (Sets aren't ordered.) To get only the first 1000 columnA values, you'll probably need to create a view or break it into 2 separate interfaces.
    Regards,
    Matt

  • FAX Error Codes 349 and 351

    I try to fax my daughter in Florida which is area code 941 and I live in area code 580 (Okla) and I constantly get
    Error Codes 349 and 351.  I called her numerous times and she is receiving faxes frin all over the country with no problem.  Why can't HP find this problem and help me resolve it.    I was on the phone over 4 ours with a tech rep and she was unable to resolve it and said she would refer it to her case manager who would not be able to fix it, but would call me sometime on Monday.  This is a ridiculous situation.  I can send faxes locally with no problem.  I have a fiber optics telephone connection.  Does anyone have a possible solution.  I am really fed up with HP and having to try to explain situations to someone in a foreign country where everything I say has to be repeated back to me takiing up more time.

    Hi nmcclell,
    I am sorry to hear you are experiencing this issue. I am sure after spending 4 hours on the phone with HP tech support the last thing you want to do it more troubleshooting but I have some information specific to those error codes if your interested. In the unlikely event that maybe something was missed here is the definition and solution for error code 349 and 351.
    Error Code: 344, 345, 346, 347, 348, 349 ECM, 350 ECM, 351 ECM, 352 ECM, 353 ECM, 354, 355
    Definitions
    The remote machine failed to respond to a fax command from the local machine because the connection was interrupted. These errors can occur if the phone lines in the area to be faxed are old or there is noise (static on the phone line). Other reasons can include power outages and other power-related problems.
    The call-waiting service can cause this error. The click, heard for an incoming call, is actually a momentary disconnect of the line.
    The remote user pressed the Stop key while the reception was in progress.
    Under rare conditions, incompatibility between the two machines might cause the remote machine to abandon the call.
    Solutions
    Retryt the fax reception at a different time when telephone line conditions have improved. Call the telephone provider if line conditions fail to improve.
    Disable ECM. Errors might still occur, and might result in a degraded image quality on the received page. However, the ability to send the entire document will be improved.
    Try sending at a lower transmission speed
    Here is a helpful link for Troubleshooting Fax Transmission and Reception Issues.
    I hope this helps. I understand if you are not interested in more troubleshooting but thank you for taking the time to reach out to the HP Forums. We are here to help.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Projects T-code CJ01 and CJ02

    Hi Experts,
    Can we restict t-code CJ01 and CJ02 based on company code. I couldn't find any authorization for CJ01 and CJ02 to restrict based on Company code.
    Thanks

    >
    naveen wrote:
    > Ajay,
    >
    > If you mark that object as Check/Maintain it will only be useful when you create a new role with this particular transaction. For now please add that object manually into the role and you will be able to restrict the object to a company code.
    >
    > Naveen
    If the object in SU24 is NC and then moved to CM for a transaction then it will usually activate an auth check which has already been coded into the program.  This will activate that check for that transaction regardless of whether the object is added into the manually or otherwise.  If there is no check on that object in the code then you can do what you like with SU24 & roles but it won't perform the check.  On my system CJ01/2 A_IMPR_BUK is set to Check, so if it is in the code, then it would be invoked if configured or used in the appropriate manner. 
    Typically PS is resticted by PS and CO specific auth model which does not include company code, in that instance then the next easiest thing is to peg it to an alternative org level/s e.g. profit centre which represent similar part of the organisation as company code - though this depends on your setup & often there is no direct link.
    An alternative would be to use a user exit or enhancement point to add in custom validation, but you would need to find the link between project & comp code to perform the check against.

  • Mapping issues while using MapwithDefault Node function for Idoc

    Hi Experts,
    We are facing issues while trying to generate nodes at reciver side even though it does not exist at sender side.
    we are using the matmas05 and we want the nodes E1marcm and e1mardm to generated at target structure.
    the structure is like this
    Matmas05
    idoc
    E1maram
    segment
          E1marcm
            segment
              msgfn
              .....other fields
              E1mardm (can be many segments)
                segment 
                  lgort
                  ..other fields
              E1mpgdm
                 segment
                 ...e1mpgdm fields
    the mapping has been done like:
    e1marcm -mapwithdefault-e1marcm
    constant -segment
    werks-mapwithdefault-werks
    other fields(one to one mapping)
    e1mardm-mapwith default-e1mardm
    lgort-mapwithdefault(value 1000)-lgort
    other fields -one to one mapping
    now the problem we are facing is when e1mardm is not existing in source structure the values from the other node of e1mardm(which exists) are getting overwritten into it.
    we want only the lgort to be 1000 and the segment should populate at target side.
    like
    e1mardm
    segment
    lgort value 1000
    Could you please assist in solving this issue and give your valuable suggestions as how could we handle it.
    Thanks and regards,
    jyoti

    U will achieve this using UDF function. Map the below Like.
    e1mardm-mapwith default(Value Constant)-e1mardm
                                                            lgort (A) ---
    e1mardm-mapwith default(Value Exit)u2014(EqualsS) (B)- (UDF1)- lgort
                                Constant(Value Exit)---   
                                              Constant(Value 1000)(C)---   
    Other one to one mapping fields also you should use one more UDF.
                        Other one to one fields (A) ---
    e1mardm-mapwith default(Value Exit)u2014(EqualsS)    (B) - (UDF2)- Target
                                 Constant(Value Exit)---   
    UDF1:
    Argument A,B,C and select queue.
       //write your code here
    int j = 0;
    for(int i=0;i<a.length;i++)
    if (b[j].equals("true"))
    result.addValue(c[0]);
    i--;
    result.addValue(ResultList.CC);
    else
    result.addValue(a<i>);
    j++;
    UDF2:
       Argument A,B and select queue.
        //write your code here
    int j = 0;
    for(int i=0;i<a.length;i++)
    if (b[j].equals("true"))
    i--;
    result.addValue(ResultList.CC);
    else
    result.addValue(a<i>);
    j++;

  • Same message code & function for both Sales & Purchase order idoc.

    The same message code and function be used to send both sales order and purchase order idoc?

    Hello,
    You can use the same message code and function to send for both sales orders and purchase orders provided if you use different message types i.e., output types in the outbound partner profile configuration for processing these transactional data.

  • Functional Specs for Mapping Idocs to EDI

    Hello Friends ..
    Am new to world of EDI...
    can any one explain ..wat do u mean by devolping functional specs for mapping IDocs to EDI..
    If you can provide me with examples or if you guys can suggest any site where i can browse some material about EDI..i wud really appreciate...
    Best Regards

    Hi Rohan,
    >>>do u mean by devolping functional specs for mapping IDocs to EDI..
    you have to know which idoc fields you have to map to EDI message fields
    take a look at those links:
    they will show how do you map different IDOC message types to EDI messages
    <b>IDOC - EDI mappings:</b>
    http://www.sapgenie.com/sapedi/mapping.htm
    <b>Analysis of the compatibility of EDIFACT messages in the form of SIMPL-EDI with the IDoc Interface:</b>
    http://www.sapgenie.com/sapgenie/docs/SIMPL-EDI-E_ORDERS.doc
    Regards,
    michal

Maybe you are looking for

  • SDCCN after system copy

    We had a ERP 6.0 satellite server in a solution working before a system copy from PRD. After the system copy, I corrected the name of the server in sdccn on the satelite system by going to GO TO->settings->task processor and changed the name of the s

  • Set JComponent from other class

    Hi, I have problem from set any JComponent (JButton,JTable, etc.) in class from other class. I have class A. In class I have JButton and JTable. In this class I have function, in that are I create new instance class B. Class B have function, that are

  • Broken keys on keyboard

    I have a customer that just called to ask if I can replace 3 keys on his MacBook Pro 17". Don't ask me how, but a rock fell on his computer and broke the CapsLock, Shift and Fn keys. Can you tell me if it is possible to replace those keys or do I nee

  • Chnaging Patient to Subject In  Oracle Clinical Database designing

    Dear Friends, Iam using Oracle clinical RDC and My question is 1.I dont want to display Patient/s details in RDC page(entering into casebooks) while entering the data. Is there any possibility to hide this patient details? please let me know.comments

  • Detaching the clips while magnetic connected

    Hi guys As the example lets see this picture: we can see that the audio track is "connected" to the video in around first second of the whole project. I want to ask how to change the place where it is connected? I want to change the place of this gre