The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS'

Bom dia pessoal.
Gostaria de saber se alguem já passou pelo o problema abaixo.?
No ambiente de produção ao se criar um nota fiscal pela a J1B1N e ao começar a digitar alguns itens o sistema gerar o seguinte DUMP.
Versão: SAP ECC 6.0
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was no
caught in procedure "CHECK_NFENUM_NUMERIC" "(FORM)", 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:
In the executed program "SAPLJ1BB2", the system attempted to access the field "J_1BDYDOC-NFENUM" using the length 0.
However, a partial field access with the length specification 0 is not allowed.
Já analisei o forum abaixo e verifiquei na tabela J_1BAMV e não esta para o Field Group 77 como Display.
A minha duvida é a seguinte realmente deve estar como Display ou existe uma nota da SAP a ser aplicada para resolver tal DUMP.?
Att;
Ângelo Junior
Edited by: Angelo Marinho Teixeira Junior on May 6, 2011 6:04 PM

Bom dia Angelo,
O detalhe não é só direção (entrada/saída), mas emissão (sua ou de terceiro).
Podemos emitir uma nota de entrada em nome de terceiro, neste caso é o ERP que deve numerar e enviar ao GRC/Sefaz... Sendo emissão de terceiro (saída ou entrada) é apenas para registro, basicamente esta a diferença.
Atenciosamente, Fernando Da Ró

Similar Messages

  • Error -  The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION'

    Hi All,
    I get the following error when getting parameters from HTML Form to ABAP Webdynpro Application.
    Short text                                                                               
    An exception occurred that was not caught.  
    What happened?                                                                               
    The exception 'CX_WDR_RT_EXCEPTION' was raised, but it was not caught anywhere               
        along the call hierarchy.                                                         
       Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program 'CL_WDR_CLIENT_APPLICATION=====CP' has to be terminated. 
    Source Code Extract                                                                               |
    Line
    SourceCde
    36
    if <url_param>-name np 'sap-*' and
    37
    <url_param>-name np 'sap.*' and
    38
           <url_param>-name ns '~' and
    39
    <url_param>-name np 'wd*'.
    40
    wa_url_param-name = <url_param>-name.
    41
    translate wa_url_param-name to upper case.        "#EC SYNTCHAR
    42
    wa_url_param-value = <url_param>-value.
    43
    insert wa_url_param into table <all_url_params>.
    44
    endif.
    45
    endloop.
    46
    endif.
    47
    wa-name = if_wd_application=>all_url_parameters.
    48
    wa-value = l_all_url_params.
    49
    insert wa into table parameters.
    50
    51
    l_parameters = view_info->get_parameters_for_inplug( inbound_plug ).
    52
    transfer all provided parameters for component if they have been defined in RR
    53
    loop at l_parameters assigning <parameter>.
    54
    wa-name = <parameter>-parameter_name.
    55
    l_parameter = wa-name.
    56
    clear wa-value.
    57
    *-------read url parameters
    58
    read table <all_url_params> assigning <tihttpnvp> with key name = l_parameter.
    59
    if sy-subrc = 0.
    60
    try.
    61
    create data wa-value type (<parameter>-abap_type).
    62
    assign wa-value->* to <f>.
    63
    cl_wdr_conversion_utils=>from_string( exporting in   = <tihttpnvp>-value
    64
    changing  data = <f> ).
    65
    catch cx_wdr_conversion_exception.
    >>>>>
    raise exception type cx_wdr_rt_exception.
    67
    endtry.
    68
    insert wa into table parameters[].
    69
    else.
    70
    *-------parameter not specified in url => read application properties
    71
    l_app_properties = me->application_info->get_properties( ).
    72
    read table l_app_properties into wa_property
    73
    with key name = wa-name.
    74
    if sy-subrc = 0.
    75
    try.
    76
    create data wa-value type (<parameter>-abap_type).
    77
    assign wa-value->* to <f>.
    78
    cl_wdr_conversion_utils=>from_string( exporting in   = wa_property-value
    79
    changing  data = <f> ).
    80
    catch cx_wdr_conversion_exception.
    81
    raise exception type cx_wdr_rt_exception.
    82
    endtry.
    83
    insert wa into table parameters[].
    84
    endif.
    85
    endif.
    Any help will be greatly appreciated.
    Thanks
    RM

    It appears that you are using some URL parameters.  You must have supplied a field to hold one of these URL parameters, but the data type is not compatible with the incomming data.  I would suggest setting an external breakpoint in this block of code to determine which URL parameter is causing your problem.

  • How to find out the values which are assigned in authority group

    Hi to all
    Please tell me where can I find out the values which are assigned in authority object according to roles.
    for ex :
             Changed    Customer: Account Authorization                              F_KNA1_BED
              Changed    Customer: Account Authorization                              T-DR50175601
                Activity                       01, 02, 03, 08                                                              ACTVT
                Authorization Group            5100                                                                        BRGRU
    F_KNA1_BED is the authority object , assigned to one user.
    He can access the authorization group 5100. I want to check that value in my program.
    How ?
    Where it is stored.
    Please help me....
    Regards
    Anubhav Gupta

    Hi Anubhav,
    Please use this FM "SUSR_USER_AUTH_FOR_OBJ_GET" and pass the object name in it . You would get the values for that particular object.
    Thanks
    Nitin Sachdeva

  • Problems during filling of the material which is assigned to REAL_SUBs

    Hello everybody,
    During the filling(DGE5) with the materal which is assigned to several real substances(each real substance has a reference to a substance of dangerous goods classification), there is a problem coming out.
    When I checked the filling logs, it shows:
    " Material 200-270 is assigned to several real substances
    Message no. DGA412
    Diagnosis
    You attempted to fill data records in the dangerous goods master with data from data records in specification management.
    However, the material 200-270 is assigned to several real substances.
    System Response
    The material 200-270 is not filled.
    Procedure
    Ensure that the material-real substance assignment is unique and start filling again."
    I did the assignments according to the information here: http://help.sap.com/saphelp_45b/helpdata/en/3e/60957d0d1311d286e7080009b98822/frameset.htm
    " Filling the Dangerous Goods Master "
    and " DG Classification (Classification Key) "
    Here says, the material-real substances assignment can be m:n relationship. (If I understood correctly)
    I'm quite confused now. Who can help me?
    Regards,
    Li
    Edited by: Li Cheng on Mar 30, 2010 12:00 AM

    Hello Jayakumar,
    I know what you said " For DGfilling to work -- One material should be linked to one REAL Substance " is in accordance with the truth which I've met.
    But I still don't understand what " SAP Online Help " describes:
    http://help.sap.com/saphelp_45b/helpdata/en/3e/60957d0d1311d286e7080009b98822/frameset.htm
    " DG Classification (Classification Key) "
    " The realationship between material and REAL substance is m:n "
    Is this realationship carried out using material-substance assigenment?
    Just like what another " SAP Online Help " page describes:
    http://help.sap.com/saphelp_45b/helpdata/en/3e/60957d0d1311d286e7080009b98822/frameset.htm
    " Filling the Dangerous Goods Master "
    "Assignments between materials and substances of substance category Real substance or Dangerous goods classification are carried out using material-substance assignment.  "
    Is that means, one material can be assigned to several REAL substances with have their own reference of Dangerous Goods Classificaiton (the realationship between REAL substance and Dangerous Goods Classification is 1:1 ) ??
    Thanks a lot!
    Li

  • Catching the exception thrown in a java class on a JSP front end

    I have a web service created in JAVA.. The modules throw certain exceptions and i am having auto generated JSP created from the WSDL's , which i can obviously edit. i want to catch these exceptions in this JSP page.. Any clue how to do this?
    Thanks.

    Nee333 wrote:
    I have a web service created in JAVA.. The modules throw certain exceptions and i am having auto generated JSP created from the WSDL's , which i can obviously edit. i want to catch these exceptions in this JSP page.. Any clue how to do this? It is not possible to catch the Exception in a JSP. You can however put any logging or even an if statement into your JSP to display the error or control the flow based on the error.

  • How can I catch the exception which is from the server validation of item.

    I create a messageTextInput and then set the maximumLength is 10.
    At the same time, I create a submitButton and set the attribute serverUnvalidated is FALSE and unvalidated is TRUE.
    Running the page, after I input the 10 Japanese word(20 bytes), the page will show a error message.
    it's meaning that the input value is too long.
    My request is I don't need to show the error in the page. How can I deal with it.
    Thanks.

    Check by increasing maximum length (more than 20) if possible to you.

  • Unable to resolve the exception  READ_REPORT_LINE_TOO_LONG in Abap program.

    Hi,
      I am getting the exception READ_REPORT_LINE_TOO_LONG in my abap program.Given below is the full analysis of the exception and then the program code :-
    Error Analysis :-
      An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was
      not caught in
    procedure "K_KKB_FIELDCAT_MERGE" "(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:
    There was an attempt to read program "ZANI_TEST_INTERACTIVE_ALV" from the
      database.
    The READ REPORT statement allows you to copy a program text into an
    internal table. The occupied line length in the program text must not
    exceed the width of the internal table.
    The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72
      characters wide. The program line is
    91 characters wide.
    Program Code :-
    *& Report  ZANI_TEST_INTERACTIVE_ALV
    REPORT  ZANI_TEST_INTERACTIVE_ALV.
    TABLES: LFA1.
    TYPE-POOLS: slis.
    DATA: it_lfa1 TYPE TABLE OF lfa1,
          wa_lfa1 TYPE lfa1,
          it_fieldcat TYPE slis_t_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE input.
      SELECT-OPTIONS: acc_no FOR LFA1-LIFNR.
    SELECTION-SCREEN END OF BLOCK input.
    START-OF-SELECTION.
      IF NOT acc_no IS INITIAL.
        SELECT * FROM LFA1
          INTO CORRESPONDING FIELDS OF TABLE it_lfa1
          WHERE LIFNR IN acc_no.
      ELSE.
        SELECT * FROM LFA1
          INTO CORRESPONDING FIELDS OF TABLE it_lfa1.
      ENDIF.
      PERFORM form_build_fieldcatalog USING 'IT_LFA1' CHANGING it_fieldcat.
      PERFORM form_display_alv USING it_lfa1 it_fieldcat.
    *&      Form  form_build_fieldcatalog
          text
         -->P_0058   text
         <--P_IT_FIELDCAT  text
    form form_build_fieldcatalog  using    p_it_tabname TYPE slis_tabname
                                  changing p_it_fieldcat TYPE slis_t_fieldcat_alv.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME               = sy-repid
          I_INTERNAL_TABNAME           = p_it_tabname
        I_STRUCTURE_NAME             =
        I_CLIENT_NEVER_DISPLAY       = 'X'
          I_INCLNAME                   = sy-repid
        I_BYPASSING_BUFFER           =
        I_BUFFER_ACTIVE              =
        CHANGING
          ct_fieldcat                  = p_it_fieldcat
        EXCEPTIONS
          INCONSISTENT_INTERFACE       = 1
          PROGRAM_ERROR                = 2
          OTHERS                       = 3
      IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    " form_build_fieldcatalog
    *&      Form  form_display_alv
          text
         -->P_IT_LFA1  text
    form form_display_alv using p_it_lfa1 LIKE it_lfa1  p_it_fieldcat TYPE slis_t_fieldcat_alv.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
        I_INTERFACE_CHECK                 = ' '
        I_BYPASSING_BUFFER                = ' '
        I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = sy-repid
        I_CALLBACK_PF_STATUS_SET          = ' '
        I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
        I_CALLBACK_TOP_OF_PAGE            = ' '
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      =
        I_GRID_SETTINGS                   =
        IS_LAYOUT                         =
          IT_FIELDCAT                       = P_it_fieldcat
        IT_EXCLUDING                      =
        IT_SPECIAL_GROUPS                 =
        IT_SORT                           =
        IT_FILTER                         =
        IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
        I_SAVE                            = ' '
        IS_VARIANT                        =
        IT_EVENTS                         =
        IT_EVENT_EXIT                     =
        IS_PRINT                          =
        IS_REPREP_ID                      =
        I_SCREEN_START_COLUMN             = 0
        I_SCREEN_START_LINE               = 0
        I_SCREEN_END_COLUMN               = 0
        I_SCREEN_END_LINE                 = 0
        I_HTML_HEIGHT_TOP                 = 0
        I_HTML_HEIGHT_END                 = 0
        IT_ALV_GRAPHICS                   =
        IT_HYPERLINK                      =
        IT_ADD_FIELDCAT                   =
        IT_EXCEPT_QINFO                   =
        IR_SALV_FULLSCREEN_ADAPTER        =
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           =
        ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = p_it_lfa1
        EXCEPTIONS
          PROGRAM_ERROR                     = 1
          OTHERS                            = 2
      IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    " form_display_alv
    Please suggest a solution for this problem.. Thanks in advance.

    hi,
    it is getting because of fieldcat hear ur internal table is having all fields in lfa1, lfa1 is having more fileds alv cont display that much fields at a time . for that u are getting that messgae .  u can solve this problem by  filling fieldcat table manuvally insted of by FM 'fieldcat_merge'.  fill filedcat table some fields which are need to display by manuvally.
    thanq,
    rajesh.k

  • Exception occurred which is assigned to the class 'CX_SY_OPEN_SQL_DB',

    hi experts
    can u help me for this regording shortdump issue
    ". The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', wa
    neither caught nor passed along using a RAISING clause, in the procedure
    "UPLOAD_TABLES " "(Form)"
    .Since the caller of the procedure could not have expected this exceptio
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.""

    Hi
    Refer this link
    http://www.sapnet.ru/abap_docu/ABENSTRINGS_IN_OPEN_SQL.htm
    Regards
    Shiva

  • Is there any transaction display the which reports assigned the roles

    hi gurus,
    i would like to find the table & transaction etc to find the reports which is assigned the roles..thanks
    ismaily

    Hi Ismail,
    Tables AGR_HIER and AGR_HEIRT, these two tables have the text of the RRMX queries.
    Table AGR_BUFFI.. this helps you map role to technical name of query.... although its a bit mixed up in the field, its actually in URL field.
    Also, You can check out the metadata repository in order to find out information such as query has been assigned to which particular role etc.
    Regards,
    Nilima

  • How to find which VO assigned to which AM

    Hi,
    At one page, i can't find the VO which is assigned to which AM thru "About the Page" Link.
    Because i want to extend that CO file which has that AM related to VO.
    Then only i can do calculate the Total of one attribute when the RN loads.
    How to find?

    If i try to get the values from the CO of pageLayoutRN means, NullPointerException only coming.
    If the view object you are using in pagelayout controller is initialized(executed) in region level controller and you are trying to get/set rows or attributes from that VO it will throw null pointer exception.
    Please find out which controller is calling the method to initialize and execute the VO and write code(extend if is seeded) in that controller.
    If you want to write this logic in PageLayoutRN Controller and the VO initialization or execution logic is not there in this controller then you have first execute the VO in page layout controller PR method. (Make sure the VO is attached to the AM associated with pageLayoutRN.)
    Regards,
    Ram

  • How to handle the exception in GP(Exception : Activity could not be read)

    Hi all
    we are getting the GP exceptions  as  1) "Activity could not be read"  2) "Action has been stopped"
    3) error while processing the item can not be displayed
    Please let me know how to handle these exceptions in GP .
    currently i got some documents in SDN on GP exceptions but those are related to manual exceptions for example if you enterd wrong data in the inputfield then we can handle those exceptions then it will allow to enter the new value but the exceptions which i mentioned above are new it seems
    can you please let me know how to handle or solve those 3 exceptions
    Thanks
    bindu

    Hi Shikhil
    Thanks for your reply
    Please have a look below for exceptions which i am getting in GP and let me know how to handle these exceptions.
    1) "Activity could not be read"
    2) "Action has been stopped"
    3) error while processing the item can not be displayed
    if you give any idea/clue how to handle these exceptions then it would be great help to me
    Thanks
    Sunil

  • Special G/L transaction which only appears on the exceptions list in F110

    Hi All,
            While run payment program by F110 for some of the documents are getting not posted due to the error log 017-Special G/L transaction which only appears on the exceptions list. Can anyone tell me to remove the error log and post the same.
    Thanks...

    Dear
    As Xing said,kindly reomve the Sp G/L indicator assigned in Vendor tab (Sp. G/L transactions for exceptions list) in FBZP > All Company Code and select your company code  and assign them in "Sp. G/L transactions to be paid" in  vendor tab and try to run F110.
    Try it,it will work.
    Do revert for any further help.
    Regards,

  • Capture the exceptions from BW Bex Report in a class/interface

    Hi....
    I am trying to capture the exceptions defined in the BW BEx Reports in a class (superclass - CL_RSR_WWW_MODIFY_TABLE) in a variable or something.
    This is actually to change the properties of a table in Web Applcn. acc to the exceptions by altering the cell content in the class(Transaction - SE80).
    Is it possible to store the exceptions in a variable in the class???

    Hi Smriti,
    Exception and Exception Handling can be based on classes in ABAP Objects. In an exception situation, an exception is represented by an exception object –
    i.e. an instance of an exception class. Its attributes contain information about the
    error situation. Exception classes can be defined both locally and globally. When a class based exception is raised, the system interrupts normal   program flow and tries to navigate to the suitable handler.
    An exception can only be handled if the causing statement(s) is enclosed in a TRY-ENDTRY block. If a exception occurs in a TRY block, the system first searches for a CATCH statement (which will handle the exception) in the same block and then step by step upwards in all enclosing TRY-ENDTRY blocks. If it finds one, it navigates to this handler, else if TRY-ENDTRY block is in a procedure, it then tries to propagate the exception to the calling program. After exception occurs, system searches through the listed exception handlers in specified order and executes first handler whose CATCH statement contains the relevant exception class or one of its superclasses.
    PARAMETERS: p_num1 TYPE i,
                p_num2 TYPE i.
    DATA: gv_result TYPE i,
          gv_text   TYPE string,
    Defining reference variables  with reference to the common superclass *
    CX_ROOT of all exception classes.                                     *
          z_ref_exc TYPE REF TO cx_root.
    TRY.
        gv_result = p_num1 / p_num2.
        WRITE / gv_result.
    For division by zero, the runtime system raises the exception         *
    cx_sy_zerodivide. This is handled in the CATCH block. The reference   *
    to the appropriate instance is stored in the data object z_ref_exc.   *  
      CATCH cx_sy_zerodivide INTO z_ref_exc.
    Handler can access the instance's exception text using the functional *
    method GET_TEXT.                                                      *   
        gv_text = z_ref_exc->get_text( ).
        MESSAGE gv_text TYPE 'I'.
    ENDTRY.
    Award points if found useful.
    Regards
    Indrajit

  • Confusion with the Exception class

    Hello friends
    Can anybody please help me.
    I am not able to understand why I get complie time error in the first case and I do not get a compile time error in the second case.
    The error is IOException which is a checked exception is never thrown in the try block.
    but Exception which is the super class of all exception is also checked exception so why dont I get the same error in the second case.
    import java.io.*;
    class Exception2
    public static void main(String args[])
    try
    return;
    }catch(IOException e)
    finally
         System.out.println("finally");
    import java.io.*;
    class Exception2
    public static void main(String args[])
    try
    return;
    }catch(Exception e)
    finally
         System.out.println("finally");
    }

    import java.util.*;
    public class Exception2 {
    public Exception2() {
    public static void main(String args[]){
    try{
    return;
    }catch (RuntimeException ee) {
    }catch(Exception e) {
    }finally{
    System.out.println("finally");
    up code is very clearly to result.
    because RuntimeException is in Exception ,and return can cause RuntimeException,So........................
    :)

  • How to assign a class to the material through ABAP code

    Hi,
    I am working on a transaction in ABAP which takes material name, material description and a class from the user. Now, after this much input I create the material, its configuration profile through the ABAP code. For this I know I have to make relevant entries in tables MARA, MAKT, CUCO.. and also check for the existence of the class in the table KLAH.
    Now the point where I am stuck is that I am not able to get how to assign the class to the material through the code. I am able to get the internal class id from the table KLAH but I am not able to figure how the internal material number is being generated in the table INOB and i need this number as well as the internal class id number to insert a record in the table KSSK to show proper assignment.
    Can anyone please suggest me some solutions?
    Thanks....

    Hi,
    I tried using BAPI_OBJCL_CREATE. In order to understand it functioning better I created a material and class (of type 300) through transactions MM01 and cl01 respectively. Then i  created a report and called the FM BAPI_OBJCL_CREATE, gave the material name as the material above, table as MARA, class as the one i created above and class type 300. I even analysed the message of the table return (return-message) after executing the report. The messahe said assignment done. But when I checked mnaually in cl20n there was no assignment done to the required material. There was also no entry for the required material in the table INOB which I need.
    Can anyoene tell me that where am i going wrong? Please do help.

Maybe you are looking for