Dbif Rsql SQL Error

Embed Size (px)

Citation preview

Runtime Errors DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB Date and Time 23.12.2011 13:16:39 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Short text | | SQL error in the database when accessing a table. | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|What happened? | | When writing a data record to the database (i.e. when | | updating the database), only part of the data field was | | written (updated). The rest was truncated. | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|What can you do? | | If the error occurred in Open SQL, there is probably an inconsistency | | between the NAMETAB and the ABAP Data Dictionary. | | Compare the length specifications of the fields in the NAMETAB with | | those in the ABAP Dictionary and contact someone who is able to | | perform a consistency check and eliminate the problem. | | In most cases, this person will be your SAP consultant. | | | | Note which actions and input led to the error. | | | | For further help in handling the problem, contact your SAP administrator | | . | | | | You can use the ABAP dump analysis transaction ST22 to view and manage | | termination messages, in particular for long term reference. |

| | | | | | | | | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Error analysis | | An exception occurred that is explained in detail below. | | The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caug ht | | in | | procedure "UPD_ADD_GLPCT" "(FORM)", nor was it propagated by a RAISING clau se. | | 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: | | The problem has arisen because, within the database interface, | | one of the data buffers made available for the INSERT (UPDATE) | | is longer than the maximum defined in the database. | | On the other hand, it may be that the length in the NAMETAB | | does not match the maximum length defined in the database. | | (In this case, the length in the NAMETAB is longer.) | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|How to correct the error | | Database error text........: "ORA-01438: value larger than specified precis ion | | You can use the ABAP dump analysis transaction ST22 to view and manage | termination messages, in particular for long term reference. | | For further help in handling the problem, contact your SAP administrator | . | | Note which actions and input led to the error. |

| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

allowed for this column" | Internal call code.........: "[RSQL/UPDT/GLPCT ]" | Please check the entries in the system log (Transaction SM21). | | If the error occures in a non-modified SAP program, you may be able to | find an interim solution in an SAP Note. | If you have access to SAP Notes, carry out a search with the following | keywords: | | "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB" | "SAPLGLIU" or "LGLIUF0A" | "UPD_ADD_GLPCT" | | If you cannot solve the problem yourself and want to send an error | notification to SAP, include the following information: | | 1. The description of the current problem (short dump) | | To save the description, choose "System->List->Save->Local File | (Unconverted)". | | 2. Corresponding system log | | Display the system log by calling transaction SM21. | Restrict the time interval to 10 minutes before and five minutes | after the short dump. Then choose "System->List->Save->Local File | (Unconverted)". | | 3. If the problem occurs in a problem of your own or a modified SAP | program: The source code of the program |

| | | | | |

In the editor, choose "Utilities->More | Utilities->Upload/Download->Download". | | 4. Details about the conditions under which the error occurred or which | actions and input led to the error. |

| The exception must either be prevented, caught within proedure | | "UPD_ADD_GLPCT" "(FORM)", or its possible occurrence must be declared in th e | | RAISING clause of the procedure. | | To prevent the exception, note the following: | --------------------------------------------------------------------------------------------------| --------------------------------------------------------------------------------------------------|System environment | | SAP-Release 701 | | | | Application server... "esesbsapp29" | | Network address...... "153.88.147.111" | | Operating system..... "Linux" | | Release.............. "2.6.32.24-0.2-defaul" | | Hardware type........ "x86_64" | | Character length.... 8 Bits | | Pointer length....... 64 Bits | | Work process number.. 40 | | Shortdump setting.... "full" | | | | Database server... "er3as161" | | Database type..... "ORACLE" | | Database name..... "P12" | | Database user ID.. "SAPP12" | |

| | | | | | | | | | | |

| Terminal.......... "EV68B599F46288" | | Char.set.... "en_US.ISO-8859-1" | | SAP kernel....... | created (date)... | create on........ | Database version. | | Patch level. 137 | Patch text.. " " | 701 "Apr 1 2011 23:52:52" "Linux GNU SLES-9 x86_64 cc4.1.2" "OCI_102 (10.2.0.4.0) "

| | Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*. *.*" | | SAP database version. 701 | | Operating system..... "Linux 2.6" | | | | Memory consumption | | Roll.... 1747648 | | EM...... 0 | | Heap.... 0 | | Page.... 0 | | MM Used. 1663080 | | MM Free. 62632 | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|User and Transaction | | | | Client.............. 400 | | User................ "ETXLDE" |

| | | |

Language key........ "E" | Transaction......... "FBB1 " | Transactions ID..... "4EF42D5364533598E10000009958936E" |

| Program............. "SAPLGLIU" | | Screen.............. "RSM13000 3000" | | Screen line......... 2 | --------------------------------------------------------------------------------------------------| --------------------------------------------------------------------------------------------------|Information on where terminated | | Termination occurred in the ABAP program "SAPLGLIU" - in "UPD_ADD_GLPCT". | | The main program was "RSM13000 ". | | | | In the source code you have the termination point in line 2617 | | of the (Include) program "LGLIUF0A". | | The program "SAPLGLIU" was started in the update system. | | The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in | | procedure "UPD_ADD_GLPCT" "(FORM)", but it was neither handled locally nor | | declared | | in the RAISING clause of its signature. | | | | The procedure is in program "SAPLGLIU "; its source code begins in line | | 2504 of the (Include program "LGLIUF0A ". | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Source Code Extract | --------------------------------------------------------------------------------------------------|Line |SourceCde | ---------------------------------------------------------------------------------------------------

| 2587| | 2588| | 2589| | 2590| | 2591| | 2592| | 2593| | 2594| | 2595| | 2596| | 2597| | 2598| | 2599| | 2600| | 2601| | 2602| | 2603| | 2604| | 2605| | 2606| | 2607| | 2608| | 2609| | 2610| | 2611| | 2612| | 2613| | 2614| | 2615| | 2616|

RUNIT = GLPCT-RUNIT AND | DRCRK = GLPCT-DRCRK AND | RPMAX = GLPCT-RPMAX . | ELSE. | CASE P_OFFSET. | WHEN '00'. | MAC_UPD_ADD_GLPCT VT. | WHEN '01'. | MAC_UPD_ADD_GLPCT 01. | WHEN '02'. | MAC_UPD_ADD_GLPCT 02. | WHEN '03'. | MAC_UPD_ADD_GLPCT 03. | WHEN '04'. | MAC_UPD_ADD_GLPCT 04. | WHEN '05'. | MAC_UPD_ADD_GLPCT 05. | WHEN '06'. | MAC_UPD_ADD_GLPCT 06. | WHEN '07'. | MAC_UPD_ADD_GLPCT 07. | WHEN '08'. | MAC_UPD_ADD_GLPCT 08. | WHEN '09'. | MAC_UPD_ADD_GLPCT 09. | WHEN '10'. | MAC_UPD_ADD_GLPCT 10. | WHEN '11'. | MAC_UPD_ADD_GLPCT 11. | WHEN '12'. |

|>>>>>|

MAC_UPD_ADD_GLPCT 12. | | 2618| WHEN '13'. | | 2619| MAC_UPD_ADD_GLPCT 13. | | 2620| WHEN '14'. | | 2621| MAC_UPD_ADD_GLPCT 14. | | 2622| WHEN '15'. | | 2623| MAC_UPD_ADD_GLPCT 15. | | 2624| WHEN '16'. | | 2625| MAC_UPD_ADD_GLPCT 16. | | 2626| ENDCASE. | | 2627| ENDIF. | | 2628|ENDFORM. | | 2629| | | 2630|FORM UPD_EQU_GLPCT USING P_OFFSET TYPE CHAR2. | | 2631| IF P_OFFSET IS INITIAL. | | 2632| UPDATE GLPCT | | 2633| SET | | 2634| TSLVT = GLPCT-TSLVT | | 2635| HSLVT = GLPCT-HSLVT | | 2636| KSLVT = GLPCT-KSLVT | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Contents of system fields | --------------------------------------------------------------------------------------------------|Name |Val. | --------------------------------------------------------------------------------------------------|SY-SUBRC|8 | |SY-INDEX|0 | |SY-TABIX|1 | |SY-DBCNT|1

| |SY-FDPOS|3 | |SY-LSIND|0 | |SY-PAGNO|0 | |SY-LINNO|1 | |SY-COLNO|1 | |SY-PFKEY| | |SY-UCOMM| | |SY-TITLE|Update control | |SY-MSGTY|E | |SY-MSGID|KM | |SY-MSGNO|163 | |SY-MSGV1| | |SY-MSGV2| | |SY-MSGV3| | |SY-MSGV4| | |SY-MODNO|0 | |SY-DATUM|20111223 | |SY-UZEIT|131639 | |SY-XPROG|SAPLGIVA | |SY-XFORM| | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Active Calls/Events | --------------------------------------------------------------------------------------------------|No. Ty. Program Include Line | | Name | --------------------------------------------------------------------------------------------------| 9 FORM SAPLGLIU LGLIUF0A 2617 | | UPD_ADD_GLPCT |

|

SAPLGLIU LGLIUF0A 2437 | | UPD_GLPCT | | 7 FUNCTION SAPLGLIU LGLIUU01 41 | | G_UPDATE_TOTALS | | 6 FORM SAPLGIVA LGIVAF50 101 | | NEW_UPDATE_GLPCT | | 5 FORM SAPMSSY0 SAPMSSY0 504 | | %_PROCESS_P_O_C | | 4 FORM SAPMSSY0 SAPMSSY0 249 | | %_COMMIT | | 3 FORM RSM13000 RSM13000 5280 | | VB_V1_EXEC | | 2 FORM RSM13000 RSM13000 3952 | | VB_V1_NORMAL | | 1 MODULE (PBO) RSM13000 RSM13000 3801 | | VBEXEC | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Chosen variables | --------------------------------------------------------------------------------------------------|Name | | Val. | --------------------------------------------------------------------------------------------------|No. 9 Ty. FORM | |Name UPD_ADD_GLPCT | --------------------------------------------------------------------------------------------------|GLPCT-RRCTY | | 0 | | 3 | | 0

8 FORM

| |SYST-REPID | | | SAPLGLIU | 5454444522222222222222222222222222222222 | | 310C7C9500000000000000000000000000000000 | |TRACTSLT-CSPRED | | | | 2222 | | 0000 | |GLPCT-RVERS | | 000 | | 333 | | 000 | |%_SPACE | | | | 2 | | 0 | |TRACTSLT-QSPRED | | | | 2222 | | 0000 | |GLPCT-RYEAR | | 2011 | | 3333 | | 2011 | |TRACTSLT-RLDNR | | | | 22 | | 00 | |GLPCT-ROBJNR | | 000000000000578712

| 333333333333333333 | | 000000000000578712 | |TRACTSLT-RRCTY | | | | 2 | | 0 | |GLPCT-COBJNR | | 000000000001078156 | | 333333333333333333 | | 000000000001078156 | |TRACTSLT-RVERS | | | | 222 | | 000 | |GLPCT-SOBJNR | | 000000000000000000 | | 333333333333333333 | | 000000000000000000 | |SPACE | | | | 2 | | 0 | |TRACTSLT-RYEAR | | 0000 | | 3333 | | 0000 | |GLPCT-RTCUR | | | | 22222 | | 00000 |

| |SYST | | ########################################################################### ###################| | 000000000000000000000000000000000000000000000000000000000000900000000000000 0100000000000000000| | 000000001000200000000000A00000000000000010003000100000001000A00000000000000 003000000C000000080| |TRACTSLT-ROBJNR | | | | 222222222222222222 | | 000000000000000000 | |GLPCT-RUNIT | | | | 222 | | 000 | |SY | | ########################################################################### ###################| | 000000000000000000000000000000000000000000000000000000000000900000000000000 0100000000000000000| | 000000001000200000000000A00000000000000010003000100000001000A00000000000000 003000000C000000080| |TRACTSLT-COBJNR | | | | 222222222222222222 | | 000000000000000000 | |GLPCT-DRCRK | | H | | 4 | | 8 | |RSJOBINFO | | 00000000000000 #### | | 222222222222222222222222222222223333333333333322222222222222222222222222222 222220000 | | 000000000000000000000000000000000000000000000000000000000000000000000000000 000000000 | |T800A-TAB | | GLPCA

| 445442222222222222222222222222 | | 7C0310000000000000000000000000 | |GLPCT-RPMAX | | 016 | | 333 | | 016 | |JVTO1-TSL02 | | ######### | | 000000000 | | 00000000C | |SY-REPID | | SAPLGLIU | | 5454444522222222222222222222222222222222 | | 310C7C9500000000000000000000000000000000 | |P_OFFSET | | 12 | | 33 | | 12 | |JVTO2-KSL13 | | ######### | | 000000000 | | 00000000C | | | | ??? | | ?????? | | ?????? | --------------------------------------------------------------------------------------------------|No. 8 Ty. FORM | |Name UPD_GLPCT | -------------------------------------------------------------------------------|

-------------------|SCREEN | | | | 222222222222222222222222222222222222222222222222222222222222222222222222222 2222222222222222222| | 000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000| |T_GLPCT[] | | Table IT_102[2x784] | | \FUNCTION-POOL=GLIU\FORM=UPD_GLPCT\DATA=T_GLPCT[] | | Table reference: 1 | | TABH+ 0(20) = 404AABFF7C7F0000984EABFF7C7F000000000000 | | TABH+ 20(20) = 0100000066000000020000001003000098000000 | | TABH+ 40(16) = 04760000101200000100C93080010000 | | store = 0x404AABFF7C7F0000 | | ext1 = 0x984EABFF7C7F0000 | | shmId = 0 (0x00000000) | | id = 1 (0x01000000) | | label = 102 (0x66000000) | | fill = 2 (0x02000000) | | leng = 784 (0x10030000) | | loop = 152 (0x98000000) | | xtyp = TYPE#000072 | | occu = 1 (0x01000000) | | access = 1 (ItAccessStandard) | | idxKind = 1 (ItIndexLinear) | | uniKind = 2 (ItUniqueNon) | | keyKind = 1 (default) | | cmpMode = 8 (cmpManyEq) | | occu0 = 1 | | groupCntl = 0 | | rfc = 0 | | unShareable = 0

| mightBeShared = 0 | | sharedWithShmTab = 0 | | isShmLockId = 0 | | gcKind = 0 | | isUsed = 1 | | isCtfyAble = 1 | | >>>>> Shareable Table Header Data > 1st level extension part > 2nd level extension part > Shareable Table Header Data > 1st level extension part > 2nd level extension part > Shareable Table Header Data > 1st level extension part > 2nd level extension part