Invalid characters (URGENT please)

Hello,
I have two independent systems where in one of the systems users maintain characters like (Á É Í Ó Ú Á É Í Ó Ú Ä Ë Ï Ö Ü….etc). I am not sure how many different type of characters users maintain but I want to populate all of these in the master data.
Because I do not know all the Special characters, I cannot mention all of them in RSKC. Is there any functional module that converts special characters like mentioned above in to English? ALTERNATIVELY, is there any other work around to sort it out
I cannot use ALL_CAPITAL in RSKC as well.
Thanks and Regards,
Harish Mulaka

Apparao,
We created a Function Module with this code and just call it in the Tranfer Rules for the specific InfoObject with Invalid Characters issue. It replaces any invalid character by " " (space).
""Local Interface:
*"  IMPORTING
*"     REFERENCE(I_VALUE)
*"     REFERENCE(I_INFOOBJECT) TYPE  RSD_IOBJNM
*"  EXPORTING
*"     VALUE(O_VALUE)
DATA: length       TYPE I,
       index        TYPE I,
       current_char TYPE C,
       result(60)   TYPE C,
       infoobject   TYPE RSD_IOBJNM.
CLEAR: result,
        infoobject.
MOVE I_VALUE      TO result.
MOVE I_INFOOBJECT TO infoobject.
TRANSLATE result TO UPPER CASE.
length = strlen( result ).
index  = -1.
DO length TIMES.
  index        = index + 1.
  current_char = result+index(1).
  CALL FUNCTION 'RSKC_CHAVL_OF_IOBJ_CHECK'
   EXPORTING
    I_CHAVL            = current_char
    I_IOBJNM           = infoobject
  I_S_COB_PRO        =
  I_T_COB_PRO_CMP    =
   EXCEPTIONS
    CHAVL_NOT_ALLOWED  = 1.
  IF SY-SUBRC <> 0.
   MOVE ' ' TO result+index(1).
  ENDIF.
ENDDO.
MOVE result TO O_VALUE.
ENDFUNCTION.
A sample call:
CALL FUNCTION 'ZFM_ELIMINATE_INVALID_CHARS'
    EXPORTING
      I_VALUE      = TRAN_STRUCTURE-0MATERIAL
      I_INFOOBJECT = '0MATERIAL'
    IMPORTING
      O_VALUE      = RESULT.
Hope it helps.
Regards,
Luis

Similar Messages

  • Value '! u2018Hex. '0021characteristic ZORG_INPT contains invalid characters

    Dear ALL Expert,
    In BI 7 Environment while loading data from psa to Cube I getting error in DTP( Value '! u2018(Hex. '0021 ') of characteristic ZORG_INPT contains invalid characters ). Please guide me regarding is error
    regards,
    ravi

    Hello Ravichendra,
    I had a same problem and i have resolved by writing a abap routine in update rules below.
    $$ begin of routine - insert your code only below this line        -
    CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
      EXPORTING
        INTEXT                  = COMM_STRUCTURE-EQUIPMENT
      INTEXT_LG               = 0
      INTER_CP                = '0000'
      INTER_BASE_CP           = '0000'
      IN_CP                   = '0000'
       REPLACEMENT             = 32
    IMPORTING
       OUTTEXT                 = RESULT
      OUTUSED                 =
      OUTOVERFLOW             =
    EXCEPTIONS
       INVALID_CODEPAGE        = 1
       CODEPAGE_MISMATCH       = 2
       INTERNAL_ERROR          = 3
       CANNOT_CONVERT          = 4
       FIELDS_NOT_TYPE_C       = 5
       OTHERS                  = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *fill the internal table "MONITOR", to make monitor entries
    result value of the routine
    RESULT = v_eqp.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Regards
    Sankar

  • Errors of invalid characters in activating the ODS..Urgent

    Hi All,
    I have an urgent requirement.
    When I try to Activate the ODS its Complaining of invalid characters that too if the BEx reporting flag is selected.
    <b><b><b>Ex: 1. 'INT-Interruption'
          2. 'CSEPResDate'
          3. 'Repair Service Escape'</b></b></b>
    I have checked in RSKC and added ALL_Capital and also - but no use.
    Could anybody help me in supplying any code as I am very poor in ABAP to overcome the above .
    Thanks

    Hi Suryam,
    Please check this thread as well for routine,
    how to write a routine in bw for converting lower case to upper case?
    Hope this helps,
    Thanks,
    Sudhakar

  • Invalid Number Error Please help Urgent

    Hi,
    I am trying to create a report in discoverer where in I get an invalid number error for the statement
    ,DECODE(final.TYP,'Sales',to_char(final.future_supplpy),'B/O','B/O') sale_type.
    We have the requirement that when TYP is Sales i need to display future supply and when the TYP is B/O i need to display B/O.
    The query runs perfectly fine in TOAD but in Discoverer Desktop when i run the report i get an error message
    invalid number.
    Please help its urgent
    Thanks
    Ashwini

    Hi Ashwani
    First of all, your statement appears to not be handling anything other than Sales or B/O. Is that deliberate? If not, you need a default, catch all value at the end like this:
    DECODE(final.TYP,'Sales',NVL(final.future_supply,to_char(final.future_supply),'B/O','B/O', default_value) sale_type
    You also might want to make sure there aren't any NULL values in future_supply or in TYP and if there are you might want to consider using an NVL for these, like this:
    DECODE(final.TYP,'Sales',NVL(to_char(final.future_supply,NULL),'B/O','B/O', default_value) sale_type
    Also, when using DECODE you don't always need to use TO_CHAR as the DECODE conversion to a string typically takes place automatically. CASE is different as it insists that all results are of the same data type.
    Hope this helps
    Best wishes
    Michael

  • The account is invalid to access, please help me to connect to a new right email address. This is urgent for the pre-order, please respond as soon as possible.

    My email account is invalid to access, please help me to connect to a new right email address. This is urgent for the pre-order process, please respond as soon as possible.
    <Email Edited by Host>

    This is a user-to-user technical support forum. No one here can help you.
    Try
    https://expresslane.apple.com

  • Discoverer Report showing invalid characters in the report data

    Hi,
    Can you please help me. I have designed a discoverer report in discoverer desktop 4i, when it is running the data showing some invalid characters in the data like below.
    kara¿ah     L¿MAK HOLD¿NG A.¿
    I have executed the same query in sql plus at that time the data shows correctly. Please let me know, is there any settings required.
    Best Regards,
    Umamaheshwar.

    Hi Umamaheshwar
    This could be a registry setting. Let me give you some background. In the Windows registy, every Oracle Home has a setting called NLS_LANG. This is the variable that controls, among other things, the numeric characters and the language used. The variable is made up of 3 parts. These are:
    language_territory.characterset
    Notice how there is an underscore character between the first two variables and a period between the last two. This is very important and must not be changed.
    So, for example, most American settings look like this: AMERICAN_AMERICA.WE8MSWIN1252
    The second variable, the territory, controls the default date, monetary, and numeric formats and must correspond to the name of a country. So if I wanted to use the Greek settings for numeric formatting, editing the NLS_LANG for Discoverer Desktop to this setting will do the trick:
    AMERICAN_GREECE.WE8MSWIN1252
    Can you please check your settings? Here's a workflow:
    a) Open up your registry by running Regedit
    b) Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
    c) Look for the Oracle Home corresponding to where Discoverer Desktop is installed. It's probably called KEY_ORANT
    d) Clicking on the Oracle Home will display all of the variables
    e) Take a look at the variable called NLS_LANG - if it is correct Exit the registry
    f) If its not correct please right-click on it and from the pop-up select Modify
    f) Change the variable to the right setting
    g) Click the OK button to save your change
    h) Exit the registry
    Best wishes
    Michael

  • Invalid characters error while ODS activation

    I have 2 queries regarding Invalid characters
    1) I got following error while activating ODS.
    Value 'HYDERABAD - IV  COMMISSIONERATE ' (hex. '48594445524142414420<b>2D</b>204956A020434F4D4D495353494F') of characteristic ZEXCRG contains     invalid characters
       I added space (ALT+255) in RSKC as suggested in other threads and activated the ODS.('-' is already there in RSKC).
    Above record did not give any error but got the same error for another record.
    Value 'SURAT – II ' (hex. '535552415420<b>96</b>204949 ') of characteristic ZEXCRG contains invalid characters     
       Can anybody tell me why there is difference between in representation(HEX) of same char and which char should I add to RSKC to solve the error?
    2) RSKC_ALLOWED_CHAR_GET lists the space as default allowed char, so why do I need to add the same again?

    Hi Vikram:
    go to RSKC: do a ALL_CAPITAL. then do the permitted charcters in BW(do a F1 and copy all and paste). also, please be advised that add <b>~</b> (tilda) and take a closer look at the error you got and insert that there.
    hope it should fix the issue.
    assign points if helpful
    kalyan

  • Date   /  / contains invalid characters IN MODULE POOL

    Hi,
    I have a display field in infotype creation which will take always take current date.I have tried using the screen field as sy-datum and also tried using z-field with data type char or dats.but when ia am inserting values in  a  editable field on the screen and pressing enter ,it is giving the error: "Date   /  / contains invalid characters" .And afetr pressing cancel ,it goes back to the PBO and then pressing f8,it shows the infotype screen designed* but the other functionalities which have been coded in PAI of  screen like activating checkboxes,radiobuttons etc. are not there .Even i have tried passing sy-datum to the date field in PBO of the screen.Pls help.

    Hello Sir,
    Were you able to sort out this issue.
    Would appreciate if you can share the solution. One of our users have this issue in the ADOBE form.
    Let me know please.
    Thanks,
    Akshay...

  • The File name property is not valid. The file name is a device or contains invalid characters

    I have an SSIS task that has run successfully for years. They just moved the dtsx to a new server and now it is failing. 
    Issue:
    The task has a data flow that writes a raw file destination. It then has a subsequent data flow that reads the raw file destination. 
    The path and name of the raw file is passed to each of the data flows via the same variable. 
    The raw file resides in a folder on the server in the same path that the dtsx resides in. 
    The task fails with the "The File name property is not valid. The file name is a device or contains invalid characters" error when trying to access the raw file.
    What we have done to troubleshoot:
    1. I ran the task successfully on my local machine so it is definitely a server issue.
    2. The first thing we were seeing was that it failed trying to write to the raw file. The task is set to "Create Always". 
    3. We saw that the dba's copied over the entire directory structure from the old server which included a previously created raw file, so we deleted the raw file.
    4. We reran the task and it successfully wrote a new raw file but then failed on reading the raw file with the same error as above.
    5. We reran the task AGAIN and this time it failed trying to write the raw file throwing the same error as above.
    6. The dba looked at the directory and the account that performs the task has full control.
    7. The dba looked at the raw file that was created and verified that the account that performs the task has full control of the file and that it is the owner of the file.
    Summary:
    The task fails when trying to access the file EXCEPT when the file does not exist. In that situation it can write the file but subsequently fails in accessing it again.

    Hi Whalensdad,
    Based on my research, the issue can be caused by the following reasons:
    There are some invalid characters in the File name at package runtime. In this scenario, just as Russ said, could you please post the value that is in the File name variable? Also use a Script Task with Messagebox.show to show the variable values at runtime.
    May be it changes to others at run time.
    The account runs the package not having access to all the folders in the path. Since you are moving the dtsx file from one server to the current server, do you also move the raw file to the same folder in the current server? Does the user runs the package
    have access to all the folders in the path? To solve this, please ensure that the user has access to all folders and the raw file in the path on the current server.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support
    Please see the response above. I can't use a message box on a server so I logged the values to the database. The resource account has full control to the folder. I haven't been able to get the DBA to check the SQL Agents permissions, but I was always under
    the impression that if you use "Run As" on the task, it will not use the SQL Agent but the account you identify it to "Run As". The "Run As" account has full control on the folder and file.

  • Invalid Characters shown in UTF-8 character set

    There is an XMLP report whose template output character set is ISO-8859-1. The character set ISO-8859-1 is required for this report as per Spanish Authorities. When the report is run, output gets generated in the output directory file of application server. This output file doesn't contain any invalid characters.
    But when the output is opened from SRS window, which opens it in a browser, the invalid characters are shown for characters like Ñ , É etc.
    Investigation done:
    Found that the output generated on the server is having ISO encoding and hence doesn't contain any invalid characters. Whereas the output generated from SRS window, it is in UTF encoding, so it seems the invalid characters are displayed when conversion takes place from ISO to UTF-8 format.
    Created the eText output using the data xml and template using BI publisher tool, the output is in ISO encoding. So if i go and change the encoding to UTF-8 by opening it in explorer or Notepad++, invalid charcters are shown for Ñ, É etc.
    Is there any limitation, that output from SRS window will show only in UTF-8 encoding? If not then please suggest.
    Thanks,
    Saket
    Edited by: 868054 on Aug 2, 2012 3:05 AM
    Edited by: 868054 on Aug 2, 2012 3:05 AM

    Hi Srini,
    When customer is viewing output from the SRS window, then it contains invalid characters because it is in UTF-8 character set. Customer is on Oracle OnDemand so they cannot take the output generated on the server.Every time they have to raise a request to Oracle for the output file. So the concern here is, why don't the output from SRS window show output with valid characters ?
    The reason could be conversion of ISO format to UTF-8. How could this be resolved ? Does SRS window output cannot generate in ISO format ?
    A quick reply will be appreciated as customer is chasing for an update.
    Thanks,
    Saket
    Edited by: 868054 on Aug 7, 2012 11:08 PM

  • The file name is not valid. The file name is a device or contains invalid characters.

    Hi ,
    I am getting below error in SSIS 2008 package when it is run through control-m
    The file name is not valid. The file name is a device or contains invalid characters.
    component "FF_SRC_InboundFidelityInputFile" (1) failed the pre-execute phase and returned error code 0xC020207E.
    although this package is working fine in dev environment from visual studio.
    control-m agent has proper permissions to the folder still it is failing. Please if anyone knows solution for this issue. I am working on this issue since more than a week but reached nowhere. Please help.
    Thanks 
    Paras Gupta

    Hi Paras,
    Based on your description, it is not the VS IDE issue, if it is related to the SSIS, I suggest you post the issue in this forum here:http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices
    , and there you would get better response.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Encrypting and Decrypting Data(Its Very Urgent, Please Help.)

    Hi,
    Can anyone tell me some idea in the below mentioned details.
    Iam creating a Function for Encrypting and Decrypting Data Values using
    DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
    Key Value as normal.
    But the problem, is it possible to have the key value more than 8.
    Its showing me error when i give the key value less than 8 or more than 8.
    Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
    Its Very Urgent, Please Help.
    Thanks,
    Murali.V

    Is this what you're looking for?
    Usage Notes
    If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
    If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
    If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
    C.

  • How to delete trailing spaces or invalid characters

    Hi experts,
    I am loading data into a DSO. But in the activation it is showin error. Data is coming upto New data table. After that it is showing error as:
    =============================================
    Value 'Eversafe ' (hex. '204576657273616665 ') of characteristic 0CUSTOMER contains invalid characte .
    Diagnosis
        Only the following standard characters are valid in characteristic
        values by default:
        !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.
        Furthermore, characteristic values that only consist of the character #
        or that begin with ! are not valid.
        You are trying to load the invalid characteristic value Eversafe &
        (hexidecimal representation 204576657273616665 ).
    System Response
    Procedure
    Procedure for System Administration
        Try to change the invalid characters to valid characters.
        If you want values that contain invalid characters to be admitted into
        the system, make the appropriate setting in BW Customizing . Refer to
        the documentation describing the requirements for special characters and
        the possible consequences.
    ===========================================
    After i edit this in psa it is showing another record as error.
    I think we have to delete the trailing spaces. If this is the case anyone please provide me how to write routine in the transfer rules to delete the trailing space.
    Full points will be assigned.
    Thanks & Regards,
    V N.

    Hi Venkat,
    Thanks for your reply.
    How can i know what are the extra invalid characters to be permitted.
    And also i am getting a message while activating the DSO as follows:
    ============================================
    Activation of M records from DataStore object ZDSO_OO3 terminated
    Process 000033 returned with errors
    =============================================
    Please help me to solve this issue.
    Thanks & Regards,
    V N.

  • REG: Correcting error records which have invalid characters

    Hi All,
    I had couple of questions regarding DTP.
    DTP loads are failing because of the invalid characters, we are correcting the error records from the error stack and then running the Error DTP to process further. now my question is the original DTP is still red, with correct records in the RSMO showing red. Please let me know how to make the red request in to green and maintain the data integrity.
    Thanks in advance.

    I have corrected the Error stack and updated the corrected records through the Error DTP.
    I checked the Number of records which have come to the Table, it is showing correct number of records( i.e error stack data + correct records which loaded in the first shot) but the technical status is still red, so i am curious if i am change the overall status to green manually will that affect the data in any manner?

  • FRM-10044 URGENT PLEASE PLEASE!!

    FRM-10044 Can not create a file URGENT PLEASE!! Apr 16, 2003 12:19 PM
    Reply
    I installed Oracle 8i and Forms 6i in a pentium 4 changing the symcjit.dll -> symcjit.old.
    Now I want to use the same scripts and Forms that I have saved using my old machine but I can't save new forms or update the old ones.
    FRM 10044 Can not create the file
    I can run the scripts in SQL.
    Please Help me it is urgent.
    I have installed and uninstalled the Data Base many times and I have read previous posts.
    Thank you a lot.

    Hi,
    "Cannot Create File" means forms failed to create/save the file. Check the following
    * Do you have full access to the drive?
    * Did you mark either the form or its directory as read only?
    Regards,
    Momen.
    Hi Helena,
    How are you? We are into Arabic development environment. I am trying to migrate from 6i (CS) to 9i (web). Everything went fine but when I run the report, the browser is displaying junk characters.
    Did you experience this problem?
    If you have any suggestions you can mail me on [email protected]
    Regards,
    Momen.

Maybe you are looking for

  • Family sharing: members can't see others' purchases

    As the head family member, I can see my family members' purchases. But they can't see any shared content. I double-checked the Family Sharing settings and we are all listed under each device. Each person is signed in with the correct id. Sharing is s

  • Bridge CS6 cache problem causes freeze

    MacPro early 2008, 10 mb RAM, Apple OSX 10.7.3, CS5 already installed. CS6 Beta was working fine until today. Now when I open Bridge CS6 I get "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cach

  • BW ABAP Query

    Hi All, After many search hits finally i posting this thead . I am very much new to ABAP in BW. so i would like solve me below problem. Need some basics about ABAP. first very basic question is 1: how to populate SOURCE_PACKAGE.,/ Internal table i kn

  • Specifying multiple books in WS2 web services query

    Hi, I am wondering if anybody has managed to use web services to query data and restrain by more than 1 book of business. According Oracle Support this can be done though the use of searchspec to determine the Book. I have tried this with no success

  • Audio Commentary  aka  alternate audio file for movie.. How?

    Hi folks, I love this discussion group btw... awesome... So, I've got my feature film done, we did a 1 week run at the theatre now, we are almost ready for our DVD release but want to do one of those really cool Director Actor commentary / alternate