Skip to Content
0
Former Member
Jun 12, 2009 at 07:34 AM

Dump while creating Planning Version

254 Views

Hi,

While I am Creating Panning Version Through /SAPAPO/MVM

its giving Dump

What happened?

Error "-4016" occurred in the current database connection "LCA".

Exception

Exception Class CX_SY_NATIVE_SQL_ERROR

Error analysis

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_NATIVE_SQL_ERROR', was

neither

caught nor passed along using a RAISING clause, in the procedure

"/SAPAPO/OM_PLAN_VERSION_GET" "(FUNCTION)"

.

Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

Missing RAISING Clause in Interface of:

Program Name /SAPAPO/SAPLOM_CORE

Include /SAPAPO/LOM_CORE$11

Row 5

Module type (FUNCTION)

Module Name /SAPAPO/OM_PLAN_VERSION_GET

Trigger Location of Exception:

Program Name /SAPAPO/SAPLOM_CORE

Include /SAPAPO/LOM_COREU11

Row 31

Module type (FUNCTION)

Module Name /SAPAPO/OM_PLAN_VERSION_GET

*"----

-


""Lokale Schnittstelle:

*" IMPORTING

*" REFERENCE(IT_PLAN_VERSION_ID) TYPE

*" /SAPAPO/OM_PLAN_VERSION_ID_TAB

*" EXPORTING

*" REFERENCE(ET_PLAN_VERSION) TYPE /SAPAPO/OM_PLAN_VERSION_TAB

*" REFERENCE(ET_RC) TYPE /SAPAPO/OM_LC_RC_TAB

*" EXCEPTIONS

*" LC_CONNECT_FAILED

*" LC_COM_ERROR

*" LC_APPL_ERROR

*"----

-


  • Variablen:

DATA: lv_rc TYPE /sapapo/om_lc_rc_str,

lv_subrc_sav LIKE sy-subrc,

ls_gen_com_params TYPE /sapapo/om_gen_com_params.

  • Allg. Parameterstruktur füllen (Planversionsdaten werden im liveCache

  • mandantenübergreifend abgespeichert):

create_gen_com_params_1 gc_om_simsession_def.

CLEAR ls_gen_com_params-client.

start_function 'OM_PLAN_VERSION_GET'. "#EC *

  • Verbindung zum liveCache aufbauen

check_server.

connect_to_livecache.

  • COM-Routine zum Auslesen von Propagationsbereichen

EXEC SQL.

EXECUTE PROCEDURE "APS_PLAN_VERSION_GET" (

-

-


EXECUTE PROCEDURE "APS_PLAN_VERSION_GET" (

000320 IN :LS_GEN_COM_PARAMS,

000330 OUT :LV_RC,

000340 IN :ET_RC,

000350 IN :IT_PLAN_VERSION_ID,

000360 IN :ET_PLAN_VERSION)

000370 ENDEXEC.

000380 lv_subrc_sav = sy-subrc.

000390 end_function om_plan_version_get it_plan_version_id.

000400 * Returncodes pruefen und evtl. Exception raisen

000410 check_returncodes.

000420 ENDFUNCTION.

Thanks

sreeni