Error is "CONVT_CODEPAGE" and exception is "CX_SY_CONVERSION_CODEPAGE"

Dear experts,
How are you?
The runtime error was occured as follows :
1) Error : CONVT_CODEPAGE
2) Exception : CX_SY_CONVERSION_CODEPAGE
3) System Environment : R/3 470*110, non-unicode system
4) Transaction : PA20
    Language Key : 3
    Program : CL_ABAP_CONV_IN_CE======CP
5) Source code extract :
000280         raise exception type cx_parameter_invalid_type
000290           exporting parameter = paramstr type = typestr.
000300       endif.
000310     when 'C'.
000320       len = strlen( uccp ).
000330       if len <> 4.
000340         paramstr = 'UCCP'.
000350         typestr = len.
000360         shift typestr right.
000370         concatenate 'C(' typestr ')' into typestr.
000380         raise exception type cx_parameter_invalid_type
000390           exporting parameter = paramstr type = typestr.
000400       endif.
000410     when 'g'.
000420       len = strlen( uccp ).
000430       if len <> 4.
000440         paramstr = 'UCCP'.
000450         typestr = len.
000460         shift typestr right.
000470         concatenate 'STRING(' typestr ')' into typestr.
000480         raise exception type cx_parameter_invalid_type
000490           exporting parameter = paramstr type = typestr.
000500       endif.
000510     when others.
000520       paramstr = 'UCCP'.
000530       typestr = t.
000540       raise exception type cx_parameter_invalid_type
000550         exporting parameter = paramstr type = typestr.
000560     endcase.
000570     x = uccp.
     >     SYSTEM-CALL CONVERT ID 41
000590                                          " EXPORTING
000600       BUFFER x
000610                                          " IMPORTING
000620       DATA char
000630                                          " CHANGING
000640       CINFO cl_abap_conv_in_ce=>uccp_cinfo.
000650   ENDMETHOD.
I referenced the notes 864789,865885, and 832232.
But I couldn't resolve it.
Would you please help me?
Thanks.
Regards,
Soyeon Rhee

Dear Prashant,
Thank you for your advice.
The source code is as follows:
Source code extract
000280         raise exception type cx_parameter_invalid_type
000290           exporting parameter = paramstr type = typestr.
000300       endif.
000310     when 'C'.
000320       len = strlen( uccp ).
000330       if len <> 4.
000340         paramstr = 'UCCP'.
000350         typestr = len.
000360         shift typestr right.
000370         concatenate 'C(' typestr ')' into typestr.
000380         raise exception type cx_parameter_invalid_type
000390           exporting parameter = paramstr type = typestr.
000400       endif.
000410     when 'g'.
000420       len = strlen( uccp ).
000430       if len <> 4.
000440         paramstr = 'UCCP'.
000450         typestr = len.
000460         shift typestr right.
000470         concatenate 'STRING(' typestr ')' into typestr.
000480         raise exception type cx_parameter_invalid_type
000490           exporting parameter = paramstr type = typestr.
000500       endif.
000510     when others.
000520       paramstr = 'UCCP'.
000530       typestr = t.
000540       raise exception type cx_parameter_invalid_type
000550         exporting parameter = paramstr type = typestr.
000560     endcase.
000570     x = uccp.
>     SYSTEM-CALL CONVERT ID 41
000590                                          " EXPORTING
000600       BUFFER x
000610                                          " IMPORTING
000620       DATA char
000630                                          " CHANGING
000640       CINFO cl_abap_conv_in_ce=>uccp_cinfo.
000650   ENDMETHOD.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0                             SY-INDEX 0
SY-TABIX 5                             SY-DBCNT 0
SY-FDPOS 5                             SY-LSIND 0
SY-PAGNO 0                             SY-LINNO 1
SY-COLNO 1                             SY-PFKEY
SY-UCOMM BACK                          SY-TITLE &#54532;&#47196;&#44536;&#47016; OM_START
SY-MSGTY                               SY-MSGID
SY-MSGNO 000                           SY-MSGV1
SY-MSGV2                               SY-MSGV3
SY-MSGV4
Active calls / events
No.... Type........ Name..........................
       Program
       Include                                  Line
       Class
    13 METHOD       UCCP
       CL_ABAP_CONV_IN_CE============CP
       CL_ABAP_CONV_IN_CE============CM003         58
       CL_ABAP_CONV_IN_CE
    12 METHOD       GET_UCCP_PREFIX_CONSTANTS
       CL_HROM_KEY_GENERATOR=========CP
       CL_HROM_KEY_GENERATOR=========CM00C         13
       CL_HROM_KEY_GENERATOR
    11 METHOD       CHECK_ARRAYTYPE_PREFIX
       CL_HROM_KEY_GENERATOR=========CP
       CL_HROM_KEY_GENERATOR=========CM007         17
       CL_HROM_KEY_GENERATOR
    10 METHOD       DELETE_DYN_ARRAYTYPE
       CL_HROM_KEY_GENERATOR=========CP
       CL_HROM_KEY_GENERATOR=========CM005         17
       CL_HROM_KEY_GENERATOR
     9 METHOD       DELETE_ONE_QUERY
       CL_HR_ST_COLUMNS_BASE=========CP
       CL_HR_ST_COLUMNS_BASE=========CM00L         17
       CL_HR_ST_COLUMNS_BASE
     8 METHOD       DELETE_ONE_SELECTION
       CL_HR_ST_ADHOC_SELECTION======CP
       CL_HR_ST_ADHOC_SELECTION======CM006         28
       CL_HR_ST_ADHOC_SELECTION
     7 METHOD       CLEAN_UP
       CL_HR_ST_ADHOC_SELECTION======CP
       CL_HR_ST_ADHOC_SELECTION======CM001         74
       CL_HR_ST_ADHOC_SELECTION
     6 METHOD       IF_HR_SEARCHTOOL_FAVORITES~END_OF_OBJECTMANAGER
       CL_HR_ST_ADHOC_SELECTION======CP
       CL_HR_ST_ADHOC_SELECTION======CM00D          6
       CL_HR_ST_ADHOC_SELECTION
     5 METHOD       DESTROY
       CL_HR_OBJECTMANAGER===========CP
       CL_HR_OBJECTMANAGER===========CM002         76
       CL_HR_OBJECTMANAGER
     4 FUNCTION     NF_GM_CALL_OBJMAN_FUNCTION
       SAPLOM_NAVFRAMEWORK_OO_OBJ
       LOM_NAVFRAMEWORK_OO_OBJU10                  72
     3 FORM         EM_EVENT_TO_CURRENT_OBJECTS
       SAPLOM_NAVFRAMEWORK_OO_OBJ
       LOM_NAVFRAMEWORK_OO_OBJF03                 171
     2 FUNCTION     NF_GM_CREATE
       SAPLOM_NAVFRAMEWORK_OO_OBJ
       LOM_NAVFRAMEWORK_OO_OBJU12                 292
     1 EVENT        START-OF-SELECTION
       OM_START_NF
       OM_START_NF                                 19
I appreciate your help.
Best regards,
Soyeon Rhee

Similar Messages

  • I am getting read WSDL errors for WSDLS and Exception building schema in the assign activity schema

    Hi All,
    1 st error: Even though I had added the URLs related to Webservice WSDLs that composite and BPEL have to load,I am getting 'read WSDL' errors when I open the composite.Sometimes it is loading properly and sometimes it is not loading properly.I restarted the system and I had aslo put webbrowser and proxy unchecked still I am facing that issue
    2 nd error: As I any schema node in assign activity I am getting 'Exception building schema' errors.
    What I feel I had set some memory settings so that wsdls and schemas will load properly.
    Please do the needful to resolve these issues as I have to work on some production issues urgently.

    Maybe you can use the MDS to decouple your development environment with your runtime environment.
    Put you're WSDLs/XSDs in a local MDS that you then sync with your runtime environment.
    Instead of referencing to the life WSDL you reference to a oramds:// url.
    Check out my two-part blogpost about it:
    (1/2) Using the MetaData Services (MDS) in a SOA environment
    (2/2) Using the MetaData Services (MDS) in a SOA environment

  • Web service hangs without any errors and exceptions

    hi all,
    We have a ejb application web service that is binded with shedular bc to trigger for every 2 hours
    and it runs for one and half hours making continous transactions with database..
    In the web service a outer for loop will be iterated by fetching list of data from database. And this list will be iterated in the inner for loop.
    This logic works fine for sometime, but suddenly after some random period of time without any errors and exceptions the outer for loop gets no list from database
    and the inner for loop is never executed and the web service completes processing.
    This i can able to see form my log files.
    i dont understand why the list is not fetched from the database, is the problem with hibernate or it lost the connection with database,
    either case it has to throw exception but the service is not.
    otherwise does this is garbage collector issue.
    Thanks in advance,
    Bye

    Without any code to see what's going on we'd be flying blind trying to answer this one.

  • Runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception  CX_SY_REF_IS_INITI

    Hi All
    when I schedule any BDC pgm in Background by giving job name in SM36 .
    It is giving an runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception  CX_SY_REF_IS_INITIAL .
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "C14T_LISTTOOL_CALL_ALV_GRID" "(FUNCTION)", nor was it propagated by
         a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: "GRID1").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    But it is working fine when i running with options 'N' & 'A' in call transaction. when i execute  I'm searching for sap note but not able to find it,
    If any one can solve this issue please ... its very urgent requirement
    Thanks in Advance

    I believe the better forum to post yorr query to, will be [ABAP, General|ABAP Development;.
    From the header of that forum:
    General questions about the ABAP language and language implementations.
    This is not a forum for application specific questions. Web Dynpro , BSP , CRM
    development, ... have their own forums.
    - Ludek

  • Runtime Error and Exceptions

    Hi,
    Could you please tell me "What is difference between  Runtime Error and Exceptions"
    Thanks & Regards,
    Krushna Biswal

    If you would like to handle and navigate based on the exception type, this code would help you. btw I'm not familiar with portlet though.
    http://sourceforge.net/projects/optionzero
    http://sourceforge.net/forum/forum.php?forum_id=666191
    You can declare exception type and navigation in faces-config.xml in declarative manner like Struts global exception notion.
    Please let me know it's useful or not.
    thanks,

  • Difference Between Errors and Exception?

    I want to know what is the difference between Error and Exception?

    Everything is sadly enough catchable as Throwable but
    you should never catch Errors. They are an indication
    that something has gone wrong in the JVM and they are
    not recoverable.Although it is clear that Sun recommends against catching Errors (".. indicates
    serious problems that a reasonable application should not try to catch.. etc.."), sometimes, it makes sense to catch some type of Errors.
    There was that Java editor (I forgot the name) which would catch OutOfMemoryErrors when the user would try to open a file that was too large.
    So instead of crashing, the application would recover from the Error, and I personnally thought that was an interesting feature. At least, a better alternative than the whole application failing.

  • Difference between Error and Exception

    Can anyone tell me the difference between error and exception
    Thanz

    Errors and Exceptions, in a Nutshell
    Errors and exceptions both inherit from Throwable, but they differ in these ways:
    Exceptions
    Can be checked or unchecked
    Indicate an error caused by the programmer
    Should be handled at the application level
    Errors
    Are always unchecked
    Usually indicate a system error or a problem with a low-level resource
    Should be handled at the system level, if possible
    pretty much exceptions cause abnormal flow of the program, errors stop it, least thats my idea, it can get pretty complicated, below is a really good link for htat, also, Google it.
    http://www.fawcette.com/javapro/2002_09/online/errors_jstreet_09_13_02/
    really good site
    -brian

  • What is exact diffrence between Error and Exception

    what is exact diffrence between Error and Exception....and also give me
    definitions.....i would very thank full to given answer to me.

    Error may or may not be handled by the compiler or JVM there are many errors like Assertion error,stack over flow error out of memory error etc..
    Exception is the abnormal condition and these may be handled by the compiler.There r many exceptions like clone not supported, interrupted exception,i/o exceptions...Exception can be handled by using try catch blocks.

  • Difren between Error and Exception

    Hi
    What is the defrence between Error and Exception in the Java and Why I till now just faced with Execptions not with any Error or Error Subclasses
    and thanks

    Hi,
    From an article:
    Errors and exceptions both inherit from Throwable, but they differ in these ways:
    Exceptions:-
    Can be checked or unchecked
    Indicate an error caused by the programmer
    Should be handled at the application level
    Errors:-
    Are always unchecked
    Usually indicate a system error or a problem with a low-level resource
    Should be handled at the system level, if possible
    -Amol

  • How to see the portal runtime errors and exception

    Hi friends,
    I am new to the EP. Can you plz let me know how to see the logs of the error occurs during the runtime.
    I have got the following error "Error occurs during the rendering of jsp component"
    But I am not able to see the logs.
    can you plz tell me the exact path to see the error logs
    Thanks and regards,
    Kuldeep Verma

    HI Kuldeep
    Yoiu can check the portal Logs and traces in link as the bellow.
    http://your_url:portno/nwa
    The JSP logs you can trace there.
    Just follow the following path after loged in to NWA.
    Monitoring -> Logs and Traces ->
    Then in the dropdown menu select the Default Trace
    Cheers
    Chinmaya
    Reward for helpful answers

  • Errors and exceptions in writing large binary data on sockets!!! urgent

    hi
    I am trying to write large binary data in the form of byte arrays on sockets.
    Data is as large as 512KB(== 524288bytes) So i store the data (actually read from a file through FileInputStream ) and then write on the socket with lines like this
    DataOutputStream dos =
    new DataOutputStream(new BufferedOutputStream(sock.getOutputStream()));
    dos.write(b);
    /* suppose b is the arrayreference in which data is stored. sometimes i write with that offset + len function*/
    dos.flush();
    dos.close();
    sock.close();
    but the program is not stable: sometimes the whole 512KB is read on other side and sometimes less usually 64KB.
    The program is unthreaded.
    There is another problem : one side(reading or writing) sometimes gives error :
    java.net.SocketException: Software caused connection abort: socket write error
    please reply and reply soon and give ur suggestions
    thanks

    hi
    I am trying to write large binary data in theform
    of byte arrays on sockets.
    Data is as large as 512KB(== 524288bytes) So istore
    the data (actually read from a file through
    FileInputStream ) and then write on the socketwith
    lines like this
    DataOutputStream dos =
    new DataOutputStream(new
    BufferedOutputStream(sock.getOutputStream()));
    dos.write(b);
    /* suppose b is the arrayreference in which datais
    stored. sometimes i write with that offset + len
    function*/
    dos.flush();
    dos.close();
    sock.close();
    but the program is not stable: sometimes the whole
    512KB is read on other side and sometimes less
    usually 64KB.
    The program is unthreaded.
    There is another problem : one side(reading or
    writing) sometimes gives error :
    java.net.SocketException: Software caused
    connection abort: socket write error
    please reply and reply soon and give ursuggestions
    thanksUmm how are you reading the data on the other side?
    some of your code snippet might help. Your writing
    code seems ok. I've written a file transfer program
    in a similar fashion and have successfully testing on
    different platforms (AIX, AS400, Solaris, Windows,
    etc) without any problems and without needing to set
    the buffer sizes with files as large as 600MB and you
    said you're testing this on the loopback?
    Point here is you should never need to reset any of the default TCP options to get program correctness. The options are more for optimizations and fine tuning. If indeed you need to change the options to get your program to work, then you program wont be able to scale under different load.

  • Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.NullReferenceException: Object reference not set to an instance of an object

    Hi,
    (1) I am trying to get the data from a database table and import into a text file.
    (2) If the record set have the data then it runs ok
    (3) when the record set not having any data it is giving the below error
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
    Could you please let me know why this is happening?
    Any help would be appriciated
    Thanks,
    SIV

    You might ask them over here.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Ccsharpgeneral%2Cvcgeneral&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Error rendering element. Exception: ORA-00942: table or view does not exist

    Guru,
    We are maintaining 10 internal Database through OEM 10g and using seesded reports.
    When we try to create simple custom reports against one of the Target database , its failing with following error message ,
    Query : select * from v$database
    Error rendering element.
    Exception: ORA-00942: table or view does not exist
    select * from dual & v$session working ( But query execution happeniing from Reposistory Database not from Target instance  )
    Note:
    I have reviewed thred "getting ORA-00942 while running report in GC"
    Please give some light .
    Regards,
    Raju

    This is an EM related question so I would suggest you post in the appropriate space "Enterprise Manager" -- https://forums.oracle.com/community/developer/english/enterprise_management/enterprise_manager/enterprise_manager_6
    You may also review (In Grid Control 10.2, Creating a Report to Query 'V$SESSION 'Fails: 'Error Rendering Element. Exception: ORA-00942 Table Or View Does Not Exist' (Doc ID 356755.1)) and implement the solution for v$database
    Thanks,
    Hussein

  • Gets error "-17502; System Level Exception" while running the custom Step in NI TestStnad 2010

    I have a custom teststand step which works like For loop in TestStand. Previously I was using LV 2009 and NI TestStand 4.2.1 and this step was working fine. Recently I upgraded my system to LV 2010 and TestStand 2010, since that it is not working.
    When I run the step it gives error "-17502; System Level Exception". I have attached error screenshot.
    I am using NIFlowControl.dll in this step.
    Please do the needful.
    Attachments:
    System Levle Exception error.JPG ‏25 KB

    The source code for NIFlowControl.dll ships with TestStand. Did you perhaps
    1) modify the code and rebuild this dll in teststand 4.2.1, but did not move your changes into the 2010 version and recompile the 2010 version?
    Or
    2) Move your 4.2.1 version of this dll to 2010 in which case it might be missing important code that exists only in the 2010 version. It's best to redo your code changes to the 2010 version and recompile that if needed.
    Also ideally your modified version of NIFlowControl.dll should be located in the teststand public directory rather than the program files directory.
    -Doug

  • How to handle the plsql error occuring in the exception block

    We know how to handle exceptins which occur in BEGIN block.
    But am unable to catch the exception in the exception block. Am writing an erroeneous code so that the control will go to exception block and there is also one plsql error, but am unable to handle that error, it's returning the error to the calling environment.
    DECLARE
    cnt NUMBER(5):=0;
    BEGIN
    select 'debalina' INTO cnt from dual;
    DBMS_OUTPUT.PUT_LINE(to_char(cnt));
    EXCEPTION
    WHEN invalid_number THEN
    DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
    cnt:='deba';
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
    END;
    please suggest me how to catch this exception?

    Hi,
    DECLARE
    cnt NUMBER(5):=0;
    BEGIN
    select 'debalina' INTO cnt from dual;
    DBMS_OUTPUT.PUT_LINE(to_char(cnt));
    EXCEPTION
    WHEN invalid_number THEN
    DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
    cnt:='deba';
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('error has occured inside begin block');
    END;
    First of all your namee exception which you have posted i.e invalid_number itself is wrong.
    You need to use named exception VALUE_ERROR for catching the exception in the main block.
    SQL> DECLARE
      2  cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Invalid_number THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
    10  /
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 4
    SQL>  DECLARE
      2   cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN VALUE_ERROR THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
    10  /
    error has occured inside main block
    PL/SQL procedure successfully completed.Your doubt regarding catching the exception in exception block, you can execute as below, by nesting a Begin block inside the exception block itself.
    SQL> DECLARE
      2  cnt NUMBER(35):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Value_error THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  Begin
    10  cnt:='deba';
    11  Exception
    12  WHEN OTHERS THEN
    13  DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
    14  End;
    15  END;
    16  /
    error has occured inside main block
    error has occured inside exception block
    PL/SQL procedure successfully completed.Hope your doubt is clear.
    Twinkle

Maybe you are looking for