cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous ABAP Dump DBIF_REPO_SQL_ERROR

Former Member
0 Kudos

Hi Experts,

Suddenly we are getting lots of two ABAP dump.

DBIF_REPO_SQL_ERROR

and

DBIF_RSQL_SQL_ERROR.

which is affecting lots of programs and tables.

In dump DBIF_REPO_SQL_ERROR, the short text is like SQL error "-502" occurred when accessing program "CONTEXT_I_TR_SYS_PARAMS ". where the program name is different in different dumps.

How to resolve the issue. Please help me. If you need more information please tell me.

Thanks

Asad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear All,

Thanks for your reply. All the dumps was happening with only one Work process. So after restarting the Work Process(using SM50--> Process--> Cancel without core) there was no dump. We didn't have to have an IPL.

Thanks

Asad.

divyanshu_srivastava3
Active Contributor
0 Kudos

May be you 1st check your database logs and other information.

Also, share any full dump.

Former Member
0 Kudos
untime Errors     DBIF_REPO_SQL_ERROR
Date and Time      18.09.2014 12:40:09

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

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

|Short Text                                                                                    |
|SQL error "-502" occurred when accessing program "CONTEXT_I_SP_INFO " part "SRC           |

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

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

|What can you do?                                                                              |
|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.                              |
|                                                                                              |

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

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

|How to correct the error                                                                      |
|Database error text........: "Cursor STDCSRN00049 already open. MSGID=                    |
| Job=075277/PVT00/WP03"                                                                   |
|Triggering SQL statement...: "CONTEXT_I_SP_INFO "                                         |
|Internal call code.........: "[REPO/*/OPLR/SRC /CONTEXT_I_SP_INFO ]"                      |
|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_REPO_SQL_ERROR" " "                                                                 |
|"SAPLSFRM" or "LSFRMU25"                                                                  |
|"GENERATE_ONE"                                                                            |
|                                                                                              |
|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.                                                       |
|                                                                                              |

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

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

|System environment                                                                            |
|SAP-Release 700                                                                           |
|                                                                                              |
|Application server... "VTGPRDN"                                                           |
|Network address...... "10.234.20.101"                                                     |
|Operating system..... "OS400"                                                             |
|Release.............. "6.1"                                                               |
|Hardware type........ "0006000C3B0T"                                                      |
|Character length.... 8 Bits                                                               |
|Pointer length....... 64 Bits                                                             |
|Work process number.. 3                                                                   |
|Shortdump setting.... "full"                                                              |
|                                                                                              |
|Database server... "VTGPRDN"                                                              |
|Database type..... "DB400"                                                                |
|Database name..... "PVT"                                                                  |
|Database user ID.. "R3PVTDATA"                                                            |
|                                                                                              |
|Terminal................. "VTG-MR-D100"                                                   |
|                                                                                              |
|Char.set.... "en_US.ISO8859-1"                                                            |
|                                                                                              |
|SAP kernel....... 700                                                                     |
|created (date)... "Oct 3 2012 21:17:38"                                                   |
|create on........ "AIX 2 5 005DD9CD4C00 (IBM iSeries with OS400)"                         |
|Database version. "DB4_53"                                                                |
|                                                                                              |
|Patch level. 353                                                                          |
|Patch text.. " "                                                                          |
|                                                                                              |
|Database............. "V5R3, V5R4, V6R1, V7R1"                                            |
|SAP database version. 700                                                                 |
|Operating system..... "OS400 3 5, OS400 4 5, OS400 1 6, OS400 1 7"                        |
|                                                                                              |
|Memory consumption                                                                        |
|Roll.... 16128                                                                            |
|EM...... 8379840                                                                          |
|Heap.... 0                                                                                |
|Page.... 57344                                                                            |
|MM Used. 3273320                                                                          |
|MM Free. 914072                                                                           |

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

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

|User and Transaction                                                                          |
|                                                                                              |
|Client.............. 100                                                                  |
|User................ "VTLGSD03"                                                           |
|Language key........ "E"                                                                  |
|Transaction......... "ME21N "                                                             |
|Transactions ID..... "541AFD0F7BDA0C56E10080030AEA1465"                                   |
|                                                                                              |
|Program............. "SAPLSFRM"                                                           |
|Screen.............. "SAPMSSY0 1000"                                                      |
|Screen line......... 6                                                                    |

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

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

|Information on where terminated                                                               |
|Termination occurred in the ABAP program "SAPLSFRM" - in "GENERATE_ONE".                  |
|The main program was "RM_MEPO_GUI ".                                                      |
|                                                                                              |
|In the source code you have the termination point in line 54                              |
|of the (Include) program "LSFRMU25".                                                      |

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

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

|Source Code Extract                                                                           |

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

|Line |SourceCde                                                                               |

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

|   24|  i = sy-fdpos + 10.                                                                |
|   25|  e_context_id = i_prog+i(*).                                                       |
|   26|endif.                                                                              |
|   27|  else. " /namensraum/CONTEXT_X_cntxid                                                  |
|   28|if i_prog cp '*/CONTEXT_X_*'.                                                       |
|   29|  i = sy-fdpos + 11.                                                                |
|   30|  e_context_id = i_prog+i(*).                                                       |
|   31|endif.                                                                              |
|   32|  endif.                                                                                |
|   33|endform.                                                                                |
|   34|                                                                                        |
|   35|form generate_one using i_context_id type ctxid.                                        |
|   36|  types:                                                                                |
|   37|"first raw of CONTEXT_I_hugo: *VERSION*20081215*                                    |
|   38|begin of ty_version,                                                                |
|   39|  eye_catcher(9), " *VERSION*                                                       |
|   40|  date type d,                                      " 20081215                  |
|   41|  star(1),    " *                                                               |
|   42|end   of ty_version.                                                                |
|   43|                                                                                        |
|   44|  data:                                                                                 |
|   45|piname like sy-repid,                                                               |
|   46|source type table of edpline,                                                       |
|   47|wa_source like line of source,                                                      |
|   48|wa_version type ty_version,                                                         |
|   49|generation_date   type d.                                                           |
|   50|                                                                                        |
|   51|  include context_processor_version.                                                    |
|   52|                                                                                        |
|   53|  context_i_name i_context_id piname.                                                   |
|>>>>>|  read report piname into source.                                                       |
|   55|  if sy-subrc = 0.                                                                      |
|   56|read table source index 1 into wa_source.                                           |
|   57|if sy-subrc = 0.                                                                    |
|   58|  wa_version = wa_source.                                                           |
|   59|  if wa_version-eye_catcher = '*VERSION*'.                                          |
|   60|    generation_date = wa_version-date.                                              |
|   61|    if generation_date < context_processor_version.                                 |
|   62|      call function 'CONTEXT_GENERATE'                                              |
|   63|        exporting                                                                   |
|   64|          context_id = i_context_id.                                                |
|   65|      message s018(33).                                                             |
|   66|    endif.                                                                          |
|   67|  endif.                                                                            |
|   68|endif.                                                                              |
|   69|  endif.                                                                                |
|   70|endform.                                                                                |

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

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

|Contents of system fields                                                                     |

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

|Name|Val.                                                                                 |

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

|SY-SUBRC|0                                                                                    |
|SY-INDEX|0                                                                                    |
|SY-TABIX|1                                                                                    |
|SY-DBCNT|1                                                                                    |
|SY-FDPOS|0                                                                                    |
|SY-LSIND|0                                                                                    |
|SY-PAGNO|0                                                                                    |
|SY-LINNO|1                                                                                    |
|SY-COLNO|1                                                                                    |
|SY-PFKEY|                                                                                     |
|SY-UCOMM|                                                                                     |
|SY-TITLE|Start MEPO                                                                           |
|SY-MSGTY|                                                                                     |
|SY-MSGID|                                                                                     |
|SY-MSGNO|000                                                                                  |
|SY-MSGV1|                                                                                     |
|SY-MSGV2|                                                                                     |
|SY-MSGV3|                                                                                     |
|SY-MSGV4|                                                                                     |
|SY-MODNO|0                                                                                    |
|SY-DATUM|20140918                                                                             |
|SY-UZEIT|124009                                                                               |
|SY-XPROG|RSDBRUNT                                                                             |
|SY-XFORM|%_INIT_PBO_FIRST                                                                     |

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

former_member188883
Active Contributor
0 Kudos

Hi Asad,

Please check the following

1) Journal receivers has enough space

2) Share if any recent activity performed on the server or application

Regards,

Deepak Kori

Former Member
0 Kudos

Hi

please check following

1. SM21 any logs are there

2. connection between ABAP and DB works well ( there is enough oracle sessions and Process avialable) - R3trans -d

3. check the space in Database tablespaces

4. check the Mount points /usr/sap/SID . /oracle/SID.

also check following

DB2 SQL ERROR -502, SQLSTATE 24502

http://www.consolut.com/en/s/sap-ides-access/d/s/doc/O-03813

Regards

Dishant pathak

Former Member
0 Kudos

Hi Deepak Kori,

Journal Receivers ha enough space that is no problem. Day before yesterday we increased Number range object: PLAF / 01 was increased from 1 - 199999999 (original) to 1 - 29999999. As it was at warning level and MRP run was failing.


Thanks

Asad

Former Member
0 Kudos

Hi Dishant:

there are SM21 logs for every dumps.

Like:

Database error -502 at SEL access to table USRBF2

> Cursor STDCSRN00049 already open. MSGID= Job=075277/PVT00/WP

while table name is different different.

And our platform is OS400/DB2

Asad

former_member188883
Active Contributor
0 Kudos

Hi Asad,

As there does not seem to be any change in the technical area, may be request you to check below note

178019 - MASS mass maintenance of info records


Hope this helps.


Regards,

Deepak Kori

Sriram2009
Active Contributor
0 Kudos

Hi

You can check the table names in IBM system i Navigator with full name of SAP & short name of IBM i DB2 database (On Os/400 OS)

In you case if possible you can do the full system restart (IPL). before start the SAP system you have to clear SQL packages

Regards

Sriram