Quantcast
Channel: SCN: Message List - SAP Application Interface Framework
Viewing all articles
Browse latest Browse all 187

Re: Dump with transaction /AIF/ERR

$
0
0

More informations from my debugging.

 

I set a Break-point on the error line :

2015-05-11 09_15_00-AIFERR2.PNG

LS_KEY_TBL-IDX_TABLE is empty :

2015-05-11 09_15_00-AIFERR3.PNG

Dump :

 

Category               ABAP Programming Error

Runtime Errors         CREATE_DATA_UNKNOWN_TYPE

Except.                CX_SY_CREATE_DATA_ERROR

ABAP Program           /AIF/CL_AIF_VIEW_DATA_FACADE_1CP

Application Component  CA-GTF-AIF

Date and Time          11.05.2016 09:17:23

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Short Text                                                                                        |

|    CREATE DATA: The specified type (" ") is not a valid data type.                               |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|What happened?                                                                                    |

|    Error in the ABAP Application Program                                                         |

|                                                                                                  |

|    The current ABAP program "/AIF/CL_AIF_VIEW_DATA_FACADE_1CP" had to be                         |

|     terminated because it has                                                                    |

|    come across a statement that unfortunately cannot be executed.                                |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|What can you do?                                                                                  |

|    Note down which actions and inputs caused the error.                                          |

|                                                                                                  |

|                                                                                                  |

|    To process the problem further, contact you SAP system                                        |

|    administrator.                                                                                |

|                                                                                                  |

|    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |

|    at and manage termination messages, and you can also                                          |

|    keep them for a long time.                                                                    |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                    |

|    An exception has occurred which is explained in more detail below. The                        |

|    exception is assigned to class 'CX_SY_CREATE_DATA_ERROR' and was not caught in                |

|     procedure                                                                                    |

|    "/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA" "(METHOD)", nor was it                  |

|     propagated by a RAISING clause.                                                              |

|    Since the caller of the procedure could not have anticipated this                             |

|    exception, the current program was terminated.                                                |

|    The reason for the exception is:                                                              |

|    The type specified dynamically in CREATE DATA (" ") is not a valid data                       |

|    type.                                                                                         |

|                                                                                                  |

|    The type is either unknown or is an object type.                                              |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                          |

|    The exception must either be prevented, caught in procedure                                   |

|     "/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA" "(METHOD)", or                         |

|    the possibility of it occurring must be declared in the RAISING clause                        |

|    in the procedure.                                                                             |

|    To prevent the exception, note the following:                                                 |

|                                                                                                  |

|    If " " is an object type, new objects of this type (instances) are not                        |

|    created with CREATE DATA. They are created with CREATE OBJECT instead.                        |

|    If the type is unknown, it must be created in the program or in the                           |

|    ABAP Dictionary.                                                                              |

|    Probably the only way to eliminate the error is to correct the program.                       |

|    -                                                                                             |

|    If the error occurs in a non-modfied SAP program, you might be able to                        |

|    find a solution in the SAP Notes system. If you have access to the SAP                        |

|    Notes system, check there first using the following keywords:                                 |

|                                                                                                  |

|    "CREATE_DATA_UNKNOWN_TYPE" CX_SY_CREATE_DATA_ERROR                                            |

|    "/AIF/CL_AIF_VIEW_DATA_FACADE_1CP" bzw. /AIF/CL_AIF_VIEW_DATA_FACADE_1CM005                   |

|    "/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA"                                         |

|    If you cannot solve the problem yourself, please send the following                           |

|    information to SAP:                                                                           |

|                                                                                                  |

|    1. This description of the problem (short dump)                                               |

|    To do this, choose  System -> List -> Save -> Local File (unconverted)                        |

|    on the screen you are in now.                                                                 |

|                                                                                                  |

|    2. A suitable system log                                                                      |

|    To do this, call the system log in transaction SM21. Restrict the time                        |

|    interval to ten minutes before the short dump and five minutes after                          |

|    it. In the display, choose System -> List -> Save -> Local File                               |

|    (unconverted).                                                                                |

|                                                                                                  |

|    3. If these are programs of your own, or modified SAP programs: Source                        |

|    code of these programs                                                                        |

|    To do this, choose  More Utilities -> Upload/Download -> Download in                          |

|    the Editor.                                                                                   |

|                                                                                                  |

|    4. Details regarding the conditions under which the error occurred or                         |

|    which actions and input caused the error.                                                     |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|System environment                                                                                |

|    SAP Release..... 740                                                                          |

|    SAP Basis level 0004                                                                          |

|                                                                                                  |

|    Application server... XXX                                                               |

|    Network address...... XXX                                                          |

|    Operating system... Linux                                                                     |

|    Release.............. 3.0.26-0.7-default                                                      |

|    Hardware type....... x86_64                                                                   |

|    Character length..... 16 Bits                                                                 |

|    Pointer length........ 64 Bits                                                                |

|    Work process number... 5                                                                      |

|    Shortdump setting. full                                                                       |

|                                                                                                  |

|    Database server... XXX                                                               |

|    Database type..... ORACLE                                                                     |

|    Database name..... RD1                                                                        |

|    Database user ID SAPSR3                                                                       |

|                                                                                                  |

|    Terminal.......... XXX                                                           |

|                                                                                                  |

|    Character set C                                                                               |

|                                                                                                  |

|    SAP kernel....... 742                                                                         |

|    Created on....... Oct 30 2015 17:34:47                                                        |

|    Created at....... Linux GNU SLES-11 x86_64 cc4.3.4 use-pr150925                               |

|    Database version OCI_112, 11.2.0.2.0, V2, default                                             |

|    Patch level....... 300                                                                        |

|    Patch text.......                                                                             |

|                                                                                                  |

|    Database............. ORACLE 11.2.*.*.*, ORACLE 12.*.*.*.*                                    |

|    SAP database version. 742                                                                     |

|    Operating system... Linux 2.6, Linux 3, Linux                                                 |

|                                                                                                  |

|    Memory consumption                                                                            |

|    Roll.... 0                                                                                    |

|    EM...... 7090696                                                                              |

|    Heap.... 0                                                                                    |

|    Page.... 40960                                                                                |

|    MM used. 2502328                                                                              |

|    MM free. 466128                                                                               |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|User and Transaction                                                                              |

|    Client................. 200                                                                   |

|    User.................. XXX                                                               |

|    Language key.......... E                                                                      |

|    Transaction......... /AIF/ERR                                                                 |

|    Transaction ID...... 572A8661FDA132A6E1000000AC12206A                                         |

|                                                                                                  |

|    EPP whole context ID...... 005056965FF11ED685E8E13AF6A2B90F                                   |

|    EPP connection ID........ 00000000000000000000000000000000                                    |

|    EPP call counter......... 0                                                                   |

|                                                                                                  |

|    Program.............. /AIF/CL_AIF_VIEW_DATA_FACADE_1CP                                        |

|    Screen.............. SAPMSSY0                                1000                             |

|    Screen line.......... 6                                                                       |

|    Active debugger..... "(TPDA)"                                                                 |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Information on where terminated                                                                   |

|    The termination occurred in ABAP program "/AIF/CL_AIF_VIEW_DATA_FACADE_1CP",                  |

|     in "/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA". The main program                   |

|    was "/AIF/ERROR_HANDLING_TRANS".                                                              |

|                                                                                                  |

|    In the source code, the termination point is in line 259 of (Include)                         |

|    program "/AIF/CL_AIF_VIEW_DATA_FACADE_1CM005".                                                |

|    The termination is due to exception "CX_SY_CREATE_DATA_ERROR" occurring in                    |

|     procedure "/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA" "(METHOD)".                  |

|    This exception was not handled locally or declared in the RAISING                             |

|    clause in the procedure's signature however.                                                  |

|    The procedure is in program "/AIF/CL_AIF_VIEW_DATA_FACADE_1CP        ". The                   |

|     source code begins in line 1 of                                                              |

|    (include) program "/AIF/CL_AIF_VIEW_DATA_FACADE_1CM005     ".                                 |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Source Code Extract                                                                               |

----------------------------------------------------------------------------------------------------

|Line |SourceCde                                                                                   |

----------------------------------------------------------------------------------------------------

|  229|      i_msgid              = '/AIF/ERROR_HANDLING'                                          |

|  230|      i_msgno              = '134'                                                          |

|  231|      i_msgv1              = lv_all_line_count                                              |

|  232|      i_output_immediately = 'X'.                                                           |

|  233|                                                                                            |

|  234|* according to the purpose of composing a tree hirarchy                                     |

|  235|* it is necessary to sort all the remaining entries by 3 keys                               |

|  236|  SORT lt_for_sort STABLE BY ns ifname ifver AS TEXT.                                       |

|  237|* process the data entries by per Interface                                                 |

|  238|  DATA: lv_if_count TYPE i,                                                                 |

|  239|        lv_current_if TYPE i.                                                               |

|  240|  DESCRIBE TABLE git_keys_tbl_mapping LINES lv_if_count.                                    |

|  241|  CLEAR: lv_current_if.                                                                     |

|  242|  LOOP AT git_keys_tbl_mapping INTO ls_key_tbl.                                             |

|  243|    lv_current_if = lv_current_if + 1.                                                      |

|  244|    IF 1 = 2. MESSAGE i135(/AIF/ERROR_HANDLING). ENDIF. "#EC * " dummy statement for SE91 us|

|  245|    CALL FUNCTION 'PROGRESS_INDICATOR'                                                      |

|  246|      EXPORTING                                                                             |

|  247|        i_msgid              = '/AIF/ERROR_HANDLING'                                        |

|  248|        i_msgno              = '135'                                                        |

|  249|        i_msgv1              = ls_key_tbl-ns                                                |

|  250|        i_msgv2              = ls_key_tbl-ifname                                            |

|  251|        i_msgv3              = ls_key_tbl-ifver                                             |

|  252|        i_processed          = lv_current_if                                                |

|  253|        i_total              = lv_if_count                                                  |

|  254|        i_output_immediately = 'X'.                                                         |

|  255|    IF lv_old_ns <> ls_key_tbl-ns AND lv_old_ns = space                                     |

|  256|    OR lv_old_ns = ls_key_tbl-ns.                                                           |

|  257|      lv_nodekey_ns_tmp = ls_key_tbl-node_key.                                              |

|  258|    ENDIF.                                                                                  |

|>>>>>|    CREATE DATA lref_idx_data_tbl TYPE STANDARD TABLE OF (ls_key_tbl-idx_table).            |

|  260|    ASSIGN lref_idx_data_tbl->* TO <lt_idx_data>.                                           |

|  261|    IF lv_old_ns <> ls_key_tbl-ns.                                                          |

|  262|*        ELSE.                                                                              |

|  263|      lv_count_nss = lv_count_nss + 1.                                                      |

|  264|    ENDIF.                                                                                  |

|  265|* count number of interfaces loaded                                                         |

|  266|    IF lv_old_inf <> ls_key_tbl-ifname                                                      |

|  267|    OR lv_old_ver <> ls_key_tbl-ifver.                                                      |

|  268|      lv_old_inf = ls_key_tbl-ifname.                                                       |

|  269|      lv_old_ver = ls_key_tbl-ifver.                                                        |

|  270|      lv_count_infs = lv_count_infs + 1.                                                    |

|  271|    ENDIF.                                                                                  |

|  272|    LOOP AT lt_for_sort ASSIGNING <ls_for_sort>          "#EC CI_NESTED                     |

|  273|      WHERE ns     = ls_key_tbl-ns                                                          |

|  274|        AND ifname = ls_key_tbl-ifname                                                      |

|  275|        AND ifver  = ls_key_tbl-ifver .                                                     |

|  276|      ASSIGN <ls_for_sort>-row_data->* TO <ls_idx_data>.                                    |

|  277|      APPEND <ls_idx_data> TO <lt_idx_data>.                                                |

|  278|      UNASSIGN <ls_idx_data>.                                                               |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Contents of system fields                                                                         |

----------------------------------------------------------------------------------------------------

|Name    |Val.                                                                                     |

----------------------------------------------------------------------------------------------------

|SY-SUBRC|0                                                                                        |

|SY-INDEX|0                                                                                        |

|SY-TABIX|0                                                                                        |

|SY-DBCNT|32                                                                                       |

|SY-FDPOS|30                                                                                       |

|SY-LSIND|0                                                                                        |

|SY-PAGNO|0                                                                                        |

|SY-LINNO|1                                                                                        |

|SY-COLNO|1                                                                                        |

|SY-PFKEY|                                                                                         |

|SY-UCOMM|                                                                                         |

|SY-TITLE|Monitoring and Error Handling                                                            |

|SY-MSGTY|                                                                                         |

|SY-MSGID|                                                                                         |

|SY-MSGNO|000                                                                                      |

|SY-MSGV1|                                                                                         |

|SY-MSGV2|                                                                                         |

|SY-MSGV3|                                                                                         |

|SY-MSGV4|                                                                                         |

|SY-MODNO|1                                                                                        |

|SY-DATUM|20160511                                                                                 |

|SY-UZEIT|091242                                                                                   |

|SY-XPROG|RSDBRUNT                                                                                 |

|SY-XFORM|INIT_%_INIT                                                                              |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Active Calls/Events                                                                               |

----------------------------------------------------------------------------------------------------

|No.   Ty.          Program                             Include                             Line   |

|      Name                                                                                        |

----------------------------------------------------------------------------------------------------

|    5 METHOD       /AIF/CL_AIF_VIEW_DATA_FACADE_1CP    /AIF/CL_AIF_VIEW_DATA_FACADE_1CM005   259  |

|      /AIF/CL_AIF_VIEW_DATA_FACADE_1=>/AIF/IF_VIEW_DATA_FACADE_1~RETRIEVE_ALL_SOURCE_DATA         |

|    4 METHOD       /AIF/CL_ROOT_ENTRY_DATA_FACADECP    /AIF/CL_ROOT_ENTRY_DATA_FACADECM00Q     7  |

|      /AIF/CL_ROOT_ENTRY_DATA_FACADE=>/AIF/IF_ENTRY_DATA_FACADE~RETRIEVE_BLK_DATA_1               |

|    3 METHOD       /AIF/ERROR_HANDLING_TRANS           /AIF/ERROR_HANDLING_TRAN_C00         1025  |

|      LCL_GLOBAL_CONTROLLER=>RETRIEVE_DATA1                                                       |

|    2 METHOD       /AIF/ERROR_HANDLING_TRANS           /AIF/ERROR_HANDLING_TRAN_C00          492  |

|      LCL_GLOBAL_CONTROLLER=>CONSTRUCTOR                                                          |

|    1 EVENT        /AIF/ERROR_HANDLING_TRANS           /AIF/ERROR_HANDLING_TRANS             202  |

|      START-OF-SELECTION                                                                          |

----------------------------------------------------------------------------------------------------


Viewing all articles
Browse latest Browse all 187

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>