"/SAPAPO/OM_PLAN_VERSION_GET" "(FUNCTION)".
Experts,
Can any one help me with this error...There is an error in this procedure
"/SAPAPO/OM_PLAN_VERSION_GET" "(FUNCTION)".
SQL error " -4016"
I am working on:
Database connection - LCA
Livecache server - sapscm40.
Thanks
Arathi
Dear Arathi,
the SQL error -4016 means unknown procedure so the reason for the error is that the LCA routine APS_PLAN_VERSION_GET is not found in liveCache. You should check whether the liveCache has been started properly with transaction LC10 and whether the LCA routines have been successfully registered. Details about the registration of the LCA routines can be found in the liveCache log files lcinit or lcinit.his.
Hope this helps.
Regards
Olaf
Similar Messages
-
Dump while creating Planning Version
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
sreeniDear Sreenivasu ,
you should upgrade to the lastest available LCA build in your current Release.
If you have scm 5.0 then this is the LCA build 17. The corresponding installation note is 1275061.
If you have other release you can find the necessary LCA build as per instructions in note 753528.
This should solve the error!
Regards,
Tibor -
Dump in TCOD /SAPAPO/SDP94 ... any Idea ?
Hi forum,
have you got any idea about this dump ?
Regards.
Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 13.03.2008 11:30:34
Short text
An SQL error occurred when executing Native SQL.
What happened?
The error 600 occurred in the current database connection "LCA".
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.
How to correct the error
Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
SAPTS_SET_DAT"
Database error code........: 600
Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_SET_DATA_RIW"
Internal call code.........: "[DBDS/NEW DSQL]"
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_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
"/SAPAPO/SAPLOM_TIMESERIES" or "/SAPAPO/LOM_TIMESERIESU86"
"/SAPAPO/OM_TS_DATA_SET_RIW"
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
"/SAPAPO/OM_TS_DATA_SET_RIW" "(FUNCTION)", or its possible occurrence must be
declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "server"
Network address...... "10.1.1.111"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "2x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "server"
Database type..... "ORACLE"
Database name..... "NSD"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Jan 29 2007 00:36:16"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "OCI_10201_SHARE (10.2.0.1.0) "
Patch level. 95
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 37708560
Heap.... 0
Page.... 114688
MM Used. 26913728
MM Free. 6600800
User and Transaction
Client.............. 100
User................ "MYUSER"
Language key........ "I"
Transaction......... "/SAPAPO/SDP "
Transactions ID..... " "
Program............. "/SAPAPO/SAPLOM_TIMESERIES"
Screen.............. "/SAPAPO/SAPMMSDP 0100"
Screen line......... 42
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOM_TIMESERIES" - in
"/SAPAPO/OM_TS_DATA_SET_RIW".
The main program was "/SAPAPO/SAPMMSDP ".
In the source code you have the termination point in line 51
of the (Include) program "/SAPAPO/LOM_TIMESERIESU86".
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "/SAPAPO/OM_TS_DATA_SET_RIW" "(FUNCTION)", but it was neither handled
locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/SAPAPO/SAPLOM_TIMESERIES "; its source code
begins in line
1 of the (Include program "/SAPAPO/LOM_TIMESERIESU86 ".Hi Ganimede Dignan
Regarding on your short dump, it occur during DB access (live Cache access).
<If you look at FM /SAPAPO/OM_TS_DATA_SET_RIW,
you can see COM routin SAPTS_SET_DATA_RIW . This indicate liveCache access>.
Normally kind of your dump occur due to memory shortage of you liveCache heap area.
So I recommend you to contact your liveCache administrater and check parameter setting of OMS_HEAP_LIMIT and historical heap consumption.
(If your liveCache administrater check livecache kernel log like knldiagerr, he or she will see error message of heap shortage).
I hope this information help you.
Best Regards
Keiji -
Create Alert with Function Modul
Hello
I want to creat a Alert in Z-program.
Which Function Modul could I use to create an alert?
I don't find the right Modul.
Thanks SvenHi Sven,
Please try these function modules
/SAPAPO/AMOS_CREATE_AMO_ALERT
/SAPAPO/MSNP_TLB_CREATE_ALERTS
/SAPAPO/VMI_PON_ALERT_CREATE
/SAPAPO/ASTAND (Function group)
Check the include /SAPAPO/LASTANDUXX in the function
module
Regards
R. Senthil Mareeswaran. -
Termination occured in ABAP Program in "/SAPAPO/SAPLOM_DELTA_BASIS"
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOM_DELTA_BASIS" - in
"/SAPAPO/OMB_DELT_REMOVE_TRGUID".
The main program was "/SAPAPO/ATP_DELTALIST_DISPLAY ".
In the source code you have the termination point in line 42
of the (Include) program "/SAPAPO/LOM_DELTA_BASISU05".
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "/SAPAPO/OMB_DELT_REMOVE_TRGUID" "(FUNCTION)", but it was neither
handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/SAPAPO/SAPLOM_DELTA_BASIS "; its source code
begins in line
1 of the (Include program "/SAPAPO/LOM_DELTA_BASISU05 ".
Edited by: Wilian Segatto on Jan 19, 2010 2:07 PMHi,
I think the only solution for this problem is to upgrade the LCA build to the latest version. The LC upgrade should solve the dump on the program
"/SAPAPO/SAPLOM_DELTA_BASIS".
Please have a look at note 1032677 for more information about the upgrade.
Regards,
Tibor -
Integration between SAPAPO and Oracle
Hi Experts,
Here, we have a customer who wanna make planning using SAP APO, and the execution system is Oracle ERP system, they want to make seamless integration between SAP APO system and Oracle ERP system, are there any ones who know how to make it? Could you please give me some ideas or show me some document links? if you can show me one example, that will be good.
Thanks a lot.
SuHi Su,
I donot have any best practices, still let me try to put my views on this.
The things required for planning in APO.
1) Master data -
Can be created alone in APO -- yo uma yneed to use BAPIs to create mass numbers.
2) Transaction data -
We were doing this incase of stocks. we are using BAPIs to create stocks of type (stock,Punchase orders,Purchase requisitions). Legacy system calls this BAPI and they load data with spread sheets to create in APO.Please check if is it is possible incase of Sales orders & other transaction data.
3) Sending planning results to Legacy : Here you will have to write cutom programs to send results back to Legacy (For example IDocs).
4) Apart from above you may need to develope few custom reports to ensure consistency b/w legacy & APO (to compliment /SAPAPO/CCR functionality).
Hope this gives atleast an idea on what has to be done.
Best Regards,
Deepthi -
/SAPAPO/TS_LCM_CONS_CHECK_ALL
Hi alll
SAP has released notes on this /SAPAPO/TS_LCM_CONS_CHECK_ALL function. Can any body let me know what are they.
Actually we getting job failure with this program. this is very urgent please
Thanks
Anitha.Hi Anitha
The report /SAPAPO/TS_LCM_CONS_CHECK_ALL checks all the existing time series networks of Demand Planning. Inconsistencies are displayed for each planning area and version but they cannot be repaired.
There is another Report /SAPAPO/TS_LCM_CONS_CHECK which makes the same checks as report /SAPAPO/TS_LCM_CONS_CHECK_ALL but only for a selected planning area and, if*
*required, for each planning version. You can activate the 'Repair' option here.
/SAPAPO/TS_LCM_CONS_CHECK_ALL cannot be used for SNP planning areas.
Hope this will offer some help.
Thanks
Satish Waghmare -
While running the livecache server test a native sql error occures
We are using scm4.1 livecache 7.5.0 And every time we are running the livecache test program he is dumping
whith the following dump
patch level scm & scm_basis is 8
Runtime Errors DBIF_DSQL2_SQL_ERROR
Except. CX_SY_NATIVE_SQL_ERROR
Date and Time 31.10.2005 16:50:55
ShrtText
An SQL error occurred when executing Native SQL.
What happened?
Error 600 occurred in the current database connection "LCA".
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
How to correct the error
Database error text........: "Work rolled back: DbpError -28814 in
APS_ORDER_CH"
Database error code .......: 600
Triggering SQL statement...: " ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? or'"
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"DBIF_DSQL2_SQL_ERROR" CX_SY_NATIVE_SQL_ERRORC
"/SAPAPO/SAPLOM_PLANNING" or "/SAPAPO/LOM_PLANNINGU08"
"/SAPAPO/OM_ORDER_CHANGE"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
The exception must either be prevented, caught within the procedure
"/SAPAPO/OM_ORDER_CHANGE"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
System environment
SAP Release.............. "640"
Application server....... "bebruap2"
Network address.......... "195.213.49.227"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 1
Short dump setting....... "full"
Database server.......... "BEBRUAP2"
Database type............ "MSSQL"
Database name............ "APD"
Database owner........... "apd"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Aug 23 2005 00:00:49"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "87"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8176
EM....................... 24040336
Heap..................... 0
Page..................... 1687552
MM Used.................. 1516920
MM Free.................. 572032
SAP Release.............. "640"
User and Transaction
Client.............. 000
User................ "CGRAULS"
Language key........ "E"
Transaction......... "/SAPAPO/OM03 "
Program............. "/SAPAPO/SAPLOM_PLANNING"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "/SAPAPO/SAPLOM_PLANNING" in
"/SAPAPO/OM_ORDER_CHANGE".
The main program was "/SAPAPO/OM_TB_FLOW_QUANTITY ".
The termination occurred in line 91 of the source code of the (Include)
program "/SAPAPO/LOM_PLANNINGU08"
of the source code of program "/SAPAPO/LOM_PLANNINGU08" (when calling the
editor 910).
Processing was terminated because the exception "CX_SY_NATIVE_SQL_ERROR"
occurred in the
procedure "/SAPAPO/OM_ORDER_CHANGE" "(FUNCTION)" but was not handled locally,
not declared in the
RAISING clause of the procedure.
The procedure is in the program "/SAPAPO/SAPLOM_PLANNING ". Its source code
starts in line 5
of the (Include) program "/SAPAPO/LOM_PLANNING$08 ".
Source Code Extract
Line
SourceCde
61
is_gen_params-simversion
62
is_gen_params-dont_set_netchg_flag
63
space.
64
65
Kontrollstruktur IS_GET_CHANGED_OPTIONS anpassen.
66
IF NOT et_changed_orders IS REQUESTED.
67
is_get_changed_options-send_chg_top_order = gc_false.
68
ENDIF.
69
IF NOT et_changed_cap_reqs IS REQUESTED.
70
is_get_changed_options-send_chg_cap_req = gc_false.
71
ENDIF.
72
IF NOT et_changed_io_nodes IS REQUESTED.
73
is_get_changed_options-send_chg_ionode = gc_false.
74
ENDIF.
75
IF NOT et_changed_io_pp_nodes IS REQUESTED.
76
is_get_changed_options-send_chg_io_pp = gc_false.
77
ENDIF.
78
IF NOT et_changed_pegids IS REQUESTED.
79
is_get_changed_options-send_chg_pegid = gc_false.
80
ENDIF.
81
IF NOT et_deleted_fix_pegging IS REQUESTED.
82
is_get_changed_options-send_del_fix_peg = gc_false.
83
ENDIF.
84
start_function 'OM_ORDER_CHANGE'. "#EC *
85
Verbindung zum liveCache aufbauen
86
check_server.
87
connect_to_livecache.
88
COM-Routine zum Anlegen bzw. Überschreiben eines Zeitstrahls
89
90
EXEC sql.
>>>>>
execute procedure "APS_ORDER_CHANGE" (
92
in :ls_gen_com_params,
93
out :lv_rc,
94
in :et_rc,
95
in :it_order_method,
96
in :it_ordkeys,
97
in :it_ordmaps,
98
in :it_orders,
99
in :it_activities,
100
in :it_mode,
101
in :it_cap_reqs,
102
in :it_positions,
103
in :it_inputs,
104
in :it_outputs,
105
in :it_prodflow,
106
in :it_intern_constraints,
107
in :it_extern_constraints,
108
in :it_charact_val_acts,
109
in :it_charact_req_inpnode,
110
in :it_charact_val_outnode,
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
Flow Quantity Test
SY-MSGTY
S
SY-MSGID
/SAPAPO/OM_TEST
SY-MSGNO
001
SY-MSGV1
Create transSim
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
3 FUNCTION /SAPAPO/SAPLOM_PLANNING /SAPAPO/LOM_PLANNINGU08 91
/SAPAPO/OM_ORDER_CHANGE
2 FORM /SAPAPO/OM_TB_FLOW_QUANTITY /SAPAPO/OM_TB_FLOW_QUANTITY 802
CHANGE_DATA
1 EVENT /SAPAPO/OM_TB_FLOW_QUANTITY /SAPAPO/OM_TB_FLOW_QUANTITY 11
START-OF-SELECTION
Chosen variables
Name
Val.
No. 3 Ty. FUNCTION
Name /SAPAPO/OM_ORDER_CHANGE
IS_ATP_INFO
01ATP0000001~CGRAULSXX##
334553333333744545455500
011400000001E37215C38800
000000000000000000000000
000000000000000000000000
IS_CONTROLPARAMETERS
霁က#ం̂⍱㔒鲔#####
2222222222222222222222001007190000022
0000000000000000000000100221240000100
0000000000000000000000910002390000000
0000000000000000000000700C335C000C000
IS_GEN_PARAMS
01PLV0000001~CGRAULS
3354533333337445454522222
010C60000001E37215C300000
0000000000000000000000000
0000000000000000000000000
IS_GET_CHANGED_OPTIONS
2222222
0000000
0000000
0000000
IT_ACTIVITIES
Table IT_274[1x256]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ACTIVITIES
Table reference: 41
TABH+ 0(20) = 5087FFDF00000000000000002900000012010000
TABH+ 20(20) = 0100000000010000FFFFFFFF0487000000290000
TABH+ 40( 8) = 10000000C1308000
store = 0x5087FFDF
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 41 (0x29000000)
label = 274 (0x12010000)
fill = 1 (0x01000000)
leng = 256 (0x00010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000205
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x180112E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 126 (0x7E000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CAP_REQS
Table IT_276[1x112]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_CAP_REQS
Table reference: 39
TABH+ 0(20) = 48BB06E000000000000000002700000014010000
TABH+ 20(20) = 0100000070000000FFFFFFFF04870000C0290000
TABH+ 40( 8) = 10000000C1308000
store = 0x48BB06E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 39 (0x27000000)
label = 276 (0x14010000)
fill = 1 (0x01000000)
leng = 112 (0x70000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000209
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x188D04E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 124 (0x7C000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_REQ_INPNODE
Table IT_418[0x140]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_REQ_INPNODE
Table reference: 32
TABH+ 0(20) = 00000000000000000000000020000000A2010000
TABH+ 20(20) = 000000008C000000FFFFFFFF04870000301D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 32 (0x20000000)
label = 418 (0xA2010000)
fill = 0 (0x00000000)
leng = 140 (0x8C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000142
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_VAL_ACTS
Table IT_417[0x156]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_VAL_ACTS
Table reference: 50
TABH+ 0(20) = 00000000000000000000000032000000A1010000
TABH+ 20(20) = 000000009C000000FFFFFFFF04870000901D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 50 (0x32000000)
label = 417 (0xA1010000)
fill = 0 (0x00000000)
leng = 156 (0x9C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000144
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_VAL_OUTNODE
Table IT_419[0x156]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_VAL_OUTNODE
Table reference: 60
TABH+ 0(20) = 0000000000000000000000003C000000A3010000
TABH+ 20(20) = 000000009C000000FFFFFFFF04870000901D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 60 (0x3C000000)
label = 419 (0xA3010000)
fill = 0 (0x00000000)
leng = 156 (0x9C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000144
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_EXTERN_CONSTRAINTS
Table IT_416[0x124]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_EXTERN_CONSTRAINTS
Table reference: 71
TABH+ 0(20) = 00000000000000000000000047000000A0010000
TABH+ 20(20) = 000000007C000000FFFFFFFF04870000E02A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 71 (0x47000000)
label = 416 (0xA0010000)
fill = 0 (0x00000000)
leng = 124 (0x7C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000215
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_INPUTS
Table IT_278[1x420]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_INPUTS
Table reference: 63
TABH+ 0(20) = 087400E0C0E303E0000000003F00000016010000
TABH+ 20(20) = 01000000A4010000FFFFFFFF04870000202A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x087400E0
ext1 = 0xC0E303E0
shmId = 0 (0x00000000)
id = 63 (0x3F000000)
label = 278 (0x16010000)
fill = 1 (0x01000000)
leng = 420 (0xA4010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000211
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x78DC11E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 123 (0x7B000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x2029FFDF
hsdir = 0x00000000
ext2 = 0x00000000
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_INTERN_CONSTRAINTS
Table IT_415[0x124]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_INTERN_CONSTRAINTS
Table reference: 49
TABH+ 0(20) = 000000000000000000000000310000009F010000
TABH+ 20(20) = 000000007C000000FFFFFFFF04870000E02A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 49 (0x31000000)
label = 415 (0x9F010000)
fill = 0 (0x00000000)
leng = 124 (0x7C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000215
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_MODE
Table IT_275[1x164]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_MODES
Table reference: 52
TABH+ 0(20) = A03C00E000000000000000003400000013010000
TABH+ 20(20) = 01000000A4000000FFFFFFFF0487000060290000
TABH+ 40( 8) = 10000000C1308000
store = 0xA03C00E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 52 (0x34000000)
label = 275 (0x13010000)
fill = 1 (0x01000000)
leng = 164 (0xA4000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000207
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0xC8F611E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 125 (0x7D000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDERS
Table IT_293[1x320]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDERS1
Table reference: 47
TABH+ 0(20) = 20B403E000000000000000002F00000025010000
TABH+ 20(20) = 0100000040010000FFFFFFFF0400000030380000
TABH+ 40( 8) = 01000000C1308000
store = 0x20B403E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 47 (0x2F000000)
label = 293 (0x25010000)
fill = 1 (0x01000000)
leng = 320 (0x40010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000286
occu = 1 (0x01000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x9080FFDF
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 1 (0x01000000)
lineAlloc = 1 (0x01000000)
store_id = 130 (0x82000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDER_METHOD
Table IT_268[2x62]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDER_METHOD
Table reference: 51
TABH+ 0(20) = 8882FFDF0000000000000000330000000C010000
TABH+ 20(20) = 020000003E000000FFFFFFFF04000000B0360000
TABH+ 40( 8) = 10000000C1248000
store = 0x8882FFDF
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 51 (0x33000000)
label = 268 (0x0C010000)
fill = 2 (0x02000000)
leng = 62 (0x3E000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000278
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x0868FFDF
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 122 (0x7A000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDKEYS
Table IT_271[1x332]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDKEYS
Table reference: 29
TABH+ 0(20) = 80E303E000000000000000001D0000000F010000
TABH+ 20(20) = 010000004C010000FFFFFFFF04870000E0270000
TABH+ 40( 8) = 10000000C1308000
store = 0x80E303E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 29 (0x1D000000)
label = 271 (0x0F010000)
fill = 1 (0x01000000)
leng = 332 (0x4C010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000199
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0Hi,
the error DbpError -28814 denotes that an object cannot be found.
Can you maybe tell me your exact liveCache version (incl. Build level) and LCA Build?
Additionally, please copy the relevant error information from the file (/sapdb/data/wrk/<SID>/)knldiag.err into this thread.
Which exact 'liveCache test program' are your referring to (which of the /SAPAPO/... transactions)?
Kind regards,
Roland -
BAPI to read and change schedule lines in APO
Hello experts,
We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
Thanks and regards,
ErgulHi,
You can use the below code to read the schedule lines.
Checking a session exists
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
If not create a new session and read it
IF gv_sims IS INITIAL.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
IMPORTING
ev_simsession = gv_sims.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
g_cre_chk = 'X'.
ENDIF.
CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
EXPORTING
iv_ebeln = p_l_t_acknh_ebeln
iv_ebelp = p_l_t_acknh_ebelp
TABLES
et_tpsrc_all = lt_tpsrc
EXCEPTIONS
matid_not_found = 1
locfrom_not_found = 2
locto_not_found = 3
scheduling_agreement_not_found = 4
error_selecting_schedagreement = 5
OTHERS = 6.
IF sy-subrc = 0.
reading the scheduling agreement records
READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
EXPORTING
iv_simid = '000'
iv_bzqid = ls_tpsrc-bzqid
IMPORTING
ev_ordid = lv_iordid
EXCEPTIONS
lc_connect_failed = 1
no_elements = 2
unit_conversion_failed = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
EXPORTING
iv_ordid = lv_iordid
iv_order_type = '16'
iv_simid = '000'
IMPORTING
ev_ordid = lv_eordid
EXCEPTIONS
order_not_found = 1
lc_connect_failed = 2
no_elements = 3
OTHERS = 4.
IF sy-subrc = 0.
APPEND lv_eordid TO lt_ordid.
CALL FUNCTION '/SAPAPO/DM_PO_READ'
EXPORTING
iv_simsession = gv_sims
is_gen_params = gv_params
it_ordid = lt_ordid
IMPORTING
et_schedule = p_lt_sched
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
OTHERS = 4.
ENDIF.
ENDIF.
ENDIF.
Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
Let me know if u have any issues.
Regards,
Siva. -
Hi,
I am getting following shortdump in my SCM 5.0 system with LiveCache 7.6.03 on AIX 5.3.
Please help me.
Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 01.07.2008 09:20:09
Short text
An SQL error occurred when executing Native SQL.
What happened?
The error "-4016" occurred in the current database connection "LCA".
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.
How to correct the error
Database error text........: "POS(1) Unknown procedure
name:SIM_SIMSESSION_GET_ACTIVE"
Database error code........: "-4016"
Triggering SQL statement...: "EXECUTE PROCEDURE "SIM_SIMSESSION_GET_ACTIVE""
Internal call code.........: "[DBDS/NEW DSQL]"
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_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
"/SAPAPO/SAPLOM_CORE" or "/SAPAPO/LOM_COREU23"
"/SAPAPO/OM_SIMSESSION_GET_ALL"
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
"/SAPAPO/OM_SIMSESSION_GET_ALL" "(FUNCTION)", or its possible occurrence must
be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "dewall43"
Network address...... "10.40.16.43"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "00C912FC4C00"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 14
Shortdump setting.... "full"
Database server... "dewall43"
Database type..... "ORACLE"
Database name..... "APO"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Jan 23 2008 21:25:00"
create on........ "AIX 2 5 005DD9CD4C00"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 144
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"
Memory consumption
Roll.... 1117168
EM...... 0
Heap.... 0
Page.... 24576
MM Used. 720672
MM Free. 376056
User and Transaction
Client.............. 100
User................ "DDIC"
Language key........ "E"
Transaction......... " "
Transactions ID..... "48692ABF23D6012AE10080000A28102B"
Program............. "/SAPAPO/SAPLOM_CORE"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOM_CORE" - in
"/SAPAPO/OM_SIMSESSION_GET_ALL".
The main program was "/SAPAPO/OM_DELETE_OLD_SIMS ".
In the source code you have the termination point in line 39
of the (Include) program "/SAPAPO/LOM_COREU23".
The program "/SAPAPO/SAPLOM_CORE" was started as a background job.
Job Name....... "/SAPAPO/OM_DELETE_OLD_SIMSESS"
Job Initiator.. "DDIC"
Job Number..... 08200801
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "/SAPAPO/OM_SIMSESSION_GET_ALL" "(FUNCTION)", but it was neither
handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/SAPAPO/SAPLOM_CORE "; its source code begins in
line
1 of the (Include program "/SAPAPO/LOM_COREU23 ".
Source Code Extract
Line
SourceCde
9
*" REFERENCE(ET_ACTIVE_SIMSESSION) TYPE /SAPAPO/OM_SIMSESSION_TAB
10
*" REFERENCE(ET_RC) TYPE /SAPAPO/OM_LC_RC_TAB
11
*" EXCEPTIONS
12
*" LC_CONNECT_FAILED
13
*" LC_COM_ERROR
14
*" LC_APPL_ERROR
15
16
17
data_def.
18
create_gen_com_params_default.
19
CLEAR ls_gen_com_params-client.
20
21
Verbindung zum liveCache aufbauen
22
start_function 'OM_SIMSESSION_GET_ALL'. "#EC *
23
check_server.
24
connect_to_livecache.
25
IF et_simsession IS REQUESTED.
26
COM-Routine zum Auslesen aller trans. Sim.
27
EXEC SQL.
28
EXECUTE PROCEDURE "SIM_SIMSESSION_GET_ALL" (
29
IN :LS_GEN_COM_PARAMS,
30
OUT :LV_RC,
31
OUT :ET_SIMSESSION)
32
ENDEXEC.
33
Returncodes pruefen und evtl. Exception raisen
34
lv_subrc_sav = sy-subrc.
35
ENDIF.
36
IF et_active_simsession IS REQUESTED.
37
COM-Routine zum Auslesen aller aktiven trans. Sim.
38
EXEC SQL.
>>>>>
EXECUTE PROCEDURE "SIM_SIMSESSION_GET_ACTIVE" (
40
IN :LS_GEN_COM_PARAMS,
41
OUT :LV_RC,
42
OUT :ET_ACTIVE_SIMSESSION)
43
ENDEXEC.
44
Returncodes pruefen und evtl. Exception raisen
45
lv_subrc_sav = sy-subrc.
46
ENDIF.
47
48
end_performance_measure.
49
end_function_no_main om_simsession_get_all.
50
check_returncodes.
51
if iv_get_testguids = gc_false.
52
delete ET_ACTIVE_SIMSESSION where table_line cs '~'.
53
delete ET_SIMSESSION where table_line cs '~'.
54
endif.
55
ENDFUNCTION.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
0
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
Periodic Deletion of Hanging Simulation Versions
SY-MSGTY
SY-MSGID
SY-MSGNO
000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20080701
SY-UZEIT
092008
SY-XPROG
RSDBRUNT
SY-XFORM
%_INIT_PBO_FIRST
Active Calls/Events
No. Ty. Program Include Line
Name
3 FUNCTION /SAPAPO/SAPLOM_CORE /SAPAPO/LOM_COREU23 39
/SAPAPO/OM_SIMSESSION_GET_ALL
2 FUNCTION /SAPAPO/SAPLOM_CORE /SAPAPO/LOM_COREU12 52
/SAPAPO/OM_SIMSESSION_SELECT
1 EVENT /SAPAPO/OM_DELETE_OLD_SIMS /SAPAPO/OM_DELETE_OLD_SIMS 67
START-OF-SELECTION
Chosen variables
Name
Val.
No. 3 Ty. FUNCTION
Name /SAPAPO/OM_SIMSESSION_GET_ALL
IV_GET_TESTGUIDS
X
0
0
5
8
ET_ACTIVE_SIMSESSION
Table IT_9[0x44]
\FUNCTION=/SAPAPO/OM_SIMSESSION_SELECT\DATA=LT_SIMSESSION
Table reference: 2
TABH+ 0(20) = 0000000000000000000000000000000000000000
TABH+ 20(20) = 0000000200000009000000000000002CFFFFFFFF
TABH+ 40(16) = 04000021000026C00010249401800000
store = 0x0000000000000000
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 2 (0x00000002)
label = 9 (0x00000009)
fill = 0 (0x00000000)
leng = 44 (0x0000002C)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000192
occu = 16 (0x00000010)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
shmTabhSet = Not allocated
id = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
shmVersId = Not allocated
shmRefCount = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
collHook = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
ET_RC
Table[initial]
ET_SIMSESSION
Table[initial]
OM_LC_NAME
LCA
000000000000000000000000000000
000000000000000000000000000000
444222222222222222222222222222
C31000000000000000000000000000
GC_OM_SYSUBRC
-16842752
F
E
SY-SUBRC
0
0000
0000
%_SPACE
0
0
2
0
%_VIASELSCR
0
4
OM_LC_APPL_NAME
000000000000000000000000000000
000000000000000000000000000000
222222222222222222222222222222
000000000000000000000000000000
SPACE
0
0
2
0
LS_GEN_COM_PARAMS
DDIC # /SAPAPO/OM_DELETE_OLD_SIMS
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222444422222222222222222222222222222222202254545424454444545444554452222222
0000000000000000000000449300000000000000000000000000000000000F31010FFFDF45C545FFC4F39D30000000
LV_RC
00
00
00
00
GC_OM_SPP_FORECAST_EXT
K
4
B
GC_IMMEDIATE_TRANSFER
65537
0
0
GC_RESOURCE_MULTI
16909060
0
1
GV_SIMSESSION_TYPE
0
0
2
0
OM_MEASURE_PERFORMANCE
0
0
2
0
GC_OM_OBJECT_OUTPUT_NODE
454827294
1
B
OM_AS_KEY
000000000000000000000000000000
000000000000000000000000000000
222222222222222222222222222222
000000000000000000000000000000
%_DUMMY$$
0000
0000
2222
0000
No. 2 Ty. FUNCTION
Name /SAPAPO/OM_SIMSESSION_SELECT
IV_MIN_AGE_IN_HOURS
1
0000
0001
IV_SAVED_INCLUSIVE
0
0
2
0
ET_OMS_VERSION
Table[initial]
ET_SIMSESSION_DELTA
Table[initial]
SCREEN
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GC_OM_RPM_PORD_DEL
2004
000D
0074
GC_OM_OBJECT_UNKNOWN
66051
0
0
GC_OM_OBJECT_ORDER
16909060
0
1
GS_OMS_VERSION
00000000 ########
000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000C
222222222222222222222233333333222222222222222222222200000000
000000000000000000000000000000000000000000000000000000000000
GC_MINTIME
09011000
1700002C
GT_OMS_VERSION
Table[initial]
GC_APPLICATION_BLRG
235868177
0
E
GC_OM_OBJECT_MODE
50595078
0
3
GC_TRUE
X
0
0
5
8
RSJOBINFO
00000000000000 ##
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222233333333333333222222222222222222222222222222222200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
GC_OM_OBJECT_RESOURCE
67438087
0
4
LT_SIMSESSION
Table IT_9[0x44]
GC_APPLICATION_CTPE
168496141
0
A
SY-REPID
/SAPAPO/SAPLOM_CORE
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254544454454222222222222222222222
F31010FF310CFDF3F25000000000000000000000
GC_APPLICATION_MATP
185339150
0
B
SYST-REPID
/SAPAPO/SAPLOM_CORE
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254544454454222222222222222222222
F31010FF310CFDF3F25000000000000000000000
GC_ATP_UPD_RPM
R
0
0
5
2
No. 1 Ty. EVENT
Name START-OF-SELECTION
VARI
###00000000000000 ############
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222200033333333333333222222000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SYST-REPID
/SAPAPO/OM_DELETE_OLD_SIMS
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454244544445454445544522222222222222
F31010FFFDF45C545FFC4F39D300000000000000
GC_OM_OBJECT_RPM_GENERIC
791687475
2
F
SY-SUBRC
0
0000
0000
%_VIASELSCR
0
4
SY-REPID
/SAPAPO/OM_DELETE_OLD_SIMS
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454244544445454445544522222222222222
F31010FFFDF45C545FFC4F39D300000000000000
SY-MSGID
00000000000000000000
00000000000000000000
22222222222222222222
00000000000000000000
GC_TRANSPORT
y
0
0
7
9
SPACE
0
0
2
0
SY-MSGNO
000
000
000
333
000
SY-MSGV1
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV2
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV3
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV4
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
GC_ITRUE
16777623
0
1
GC_FALSE
0
0
2
0
SYST
###############################################################################T########X ####
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000100000000000000000000000000000000000000000000000E000200
0000000000000000000000000000000000000006000000000000000000000000000000000000010500000001520000
000001010000010000000000010001000000000A00000000000000000000000000000000000006040000000080000C
GC_IFALSE
104192
0
0
GT_OMS_VERSION
Table[initial]
GC_MINTIME
09011000
1700002C
GT_SIMS_DELTA
Table[initial]
SY-XFORM
%_INIT_PBO_FIRST
000000000000000000000000000000
000000000000000000000000000000
254445554454455522222222222222
5F9E94F02FF6923400000000000000
%_DUMMY$$
0000
0000
2222
0000
SCREEN
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Internal notes
The termination was triggered in function "DsqlErrorHandler"
of the SAP kernel, in line 2062 of the module
"//bas/700_REL/src/krn/runt/abexsql.c#2".
The internal operation just processed is "DSQL".
Internal mode was started at 20080701092008.
Internal call code.........: "[DBDS/NEW DSQL]"
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = 4294965248
=> File size limit = unlimited
=> Heap address = 0x0x1152ede20
=> Stack address = 0xfffffffffff84a0
=> Stack low = 0xfffffffffff84a0
=> Stack high = 0xffffffffffff7a0
=> Stack Trace:
AixStack() at 0x1000c7d94
CTrcStack2() at 0x1000c7e8c
rabax_CStackSave__Fv() at 0x1000b2d70
ab_rabax() at 0x1000af728
ab_dbdserr__FiPCUsT1T2P9DS_HEADERT2T1Pv() at 0x10057efbc
DsqlErrorHandler__Fi() at 0x10135b8e8
ExecuteCall__Fv() at 0x10135b454
ab_jdsql__Fv() at 0x101356b40
ab_extri__Fv() at 0x10040d93c
ab_xevent__FPCUs() at 0x100a9d170
ab_trigg__Fv() at 0x100a9ce5c
ab_run() at 0x1014bee48
N_ab_run() at 0x100d5bca8
dynpmcal() at 0x100d5aa74
dynppai0() at 0x100d58a08
dynprctl() at 0x100d6047c
dynpen00() at 0x100d52364
Thdynpen00() at 0x1000e2410
TskhLoop() at 0x1000e4254
ThStart() at 0x1000fe324
DpMain() at 0x10156c770
nlsui_main() at 0x101a99998
List of ABAP programs affected
Index
Typ
Program
Group
Date
Time
Size
Lang.
0
Prg
/SAPAPO/OM_DELETE_OLD_SIMS
0
28.09.2006
17:13:54
115712
E
1
Prg
SAPMSSY0
1
07.01.2008
17:16:23
92160
E
2
Prg
SAPMSSYD
1
27.09.2006
18:38:20
21504
E
3
Prg
SAPFSYSCALLS
1
03.12.2004
17:45:45
8192
E
4
Prg
RSDBRUNT
0
07.01.2008
17:27:13
254976
E
5
Typ
RSSCR
0
12.10.1999
15:50:05
5120
6
Prg
RSDBSPBL
0
22.02.2005
08:58:45
72704
E
7
Prg
SAPDB__S
0
03.12.2004
17:45:45
19456
E
8
Prg
RSDBSPMC
0
27.09.2006
18:23:16
79872
E
9
Typ
DDSHDESCR
0
28.11.1997
16:26:30
4096
10
Typ
SPPARAMS
0
07.03.1997
14:48:48
2048
11
Prg
SAPLSABE
11
03.12.2004
17:45:46
13312
E
12
Prg
SAPLSECU
12
07.01.2008
17:09:46
87040
E
13
Typ
RSSUBINFO
0
25.02.2000
15:47:23
3072
14
Prg
SAPLSTUP
14
07.01.2008
17:08:20
74752
E
15
Prg
SAPLCNDP
15
13.12.2007
16:41:21
195584
E
16
Prg
SAPLSCNT
16
22.02.2005
08:58:56
30720
E
17
Prg
SAPSHDTV
16
31.01.2005
15:41:11
33792
E
18
Prg
SAPFGUICNTL
1
22.02.2005
08:58:14
24576
E
19
Prg
SAPLOLEA
19
12.12.2007
14:16:36
96256
E
20
Prg
SAPLSGUI
20
07.01.2008
17:16:23
84992
E
21
Prg
SAPLSTTM
21
28.07.2005
11:12:25
69632
E
22
Prg
SAPLSBDC
22
07.01.2008
17:09:02
44032
E
23
Prg
SAPLSFES
23
07.01.2008
17:27:14
260096
E
24
Prg
SAPLTHFB
24
07.01.2008
17:16:23
394240
E
25
Typ
WPINFO
0
08.02.1999
14:18:32
6144
26
Prg
SAPLURFC
26
07.01.2008
17:13:39
22528
E
27
Prg
SAPLSPLUGIN
27
03.12.2004
17:45:46
8192
E
28
Typ
SWCBCONT
0
07.10.1997
12:13:50
3072
29
Typ
OLE_VERBS
0
09.02.1995
13:23:37
2048
30
Typ
OLE_PA
0
13.01.1995
11:06:59
2048
31
Prg
/1BCDWBEN/SAPL/SAPAPO/EN0001
31
08.06.2001
20:33:24
233472
E
32
Prg
SAPLSENA
32
12.12.2007
14:18:37
33792
E
33
Prg
/SAPAPO/SAPLOM_CORE
33
28.07.2005
16:02:32
502784
E
34
Prg
SAPLSAL2
34
07.01.2008
17:15:35
81920
E
35
Typ
/SAPAPO/OM_OMS_VERSIONS_STR
0
16.02.2006
18:01:55
3072
36
Prg
CL_ABAP_CHAR_UTILITIES========CP
36
28.07.2005
11:12:24
13312
E
37
Prg
CX_SY_NATIVE_SQL_ERROR========CP
37
12.12.2007
12:39:14
13312
E
38
Typ
SCX_SRCPOS
0
08.07.2004
09:59:00
2048
39
Prg
CX_SY_SQL_ERROR===============CP
39
28.07.2005
11:12:24
10240
E
40
Prg
CX_DYNAMIC_CHECK==============CP
40
28.07.2005
11:12:24
10240
E
41
Prg
CX_ROOT=======================CP
41
12.12.2007
17:18:15
11264
E
42
Prg
CX_NO_CHECK===================CP
42
28.07.2005
11:12:24
10240
E
43
Prg
CX_SY_NO_HANDLER==============CP
43
28.07.2005
11:12:24
10240
E
44
Prg
%_CSYDES
0
22.02.2005
08:58:46
8192
E
45
Prg
%_CSYDB0
0
22.02.2005
08:58:45
36864
E
46
Typ
RSVAMEMKEY
0
16.12.1996
19:31:50
2048
47
Prg
%_CRSDS
0
22.02.2005
08:58:21
10240
E
48
Prg
%_CSLIS
12
17.02.2006
08:58:39
89088
E
49
Typ
DTC_S_LAYO
0
08.06.2001
15:59:56
6144
50
Typ
CAT_SVARS
0
19.05.2004
16:00:08
3072
51
Typ
SYST
0
03.12.2004
17:45:35
31744
52
Typ
RSJOBINFO
0
09.02.1995
13:25:17
3072
53
Typ
VARI
0
16.12.1996
19:38:11
6144
Directory of Application Tables
Name Date Time Lngth
Val.
Program /SAPAPO/OM_DELETE_OLD_SIMS
SYST 03.12.2004 17:45:35 00004612
\0\0\0\0\0\x0001\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
VARI . . : : 00003052
Program /SAPAPO/SAPLOM_CORE
RSJOBINFO . . : : 00000164As per note 1619720, drop following two tables and then validate by running t-code lca03.
drop table APPSYSNAME
drop table APPSYSPARAM
dbmcli -d LCSID -n hostname -u superdba,sdbapassword -uSQL SAPSID,password
dbmcli on hostname : SID>sql_execute drop table APPSYSPARAM
OK -
SAPSQL_ARRAY_INSERT_DUPREC Runtime error
I am getting following error what could be the error please suggest me.
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Date and Time 18.08.2010 20:39:30
Short text
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in the ABAP Application Program
The current ABAP program "/SAPAPO/SAPLDM_MATERIAL" 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 occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "/SAPAPO/DM_PRODUCTS_POST" "(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:
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.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
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:
"SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
"/SAPAPO/SAPLDM_MATERIAL" or "/SAPAPO/LDM_MATERIALU46"
"/SAPAPO/DM_PRODUCTS_POST"
|Dear
this dump can have several reasons.
If you are on SCM7.0 and you have implemented the BADI solution of note 918542 , this can be the rootcause of the problem. The solution is covered in the standard on SCM7.0 and not neccessary anymore for this SCM release.
Due to the BADI, the system tries to create the products twice (in BADI and in standard) which leads to the SQL error. If this is you case could you please deimplement the BADI solution? You can process the queue afterwards which should go through without any error.
The problem can also happen due to a user exit e.g. EXIT_SAPLCMAT_001.
Regards,
Tibor -
The error 600 occurred in the current database connection "LCA".
Hi All,
User is executing job /SAPAPO/TS_REALIGN_COPY in background, as soon as the job is released its failing with runtime error:
I check the Note 1126394 but not relevant.
Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 18.08.2011 00:03:39
Short text
An SQL error occurred when executing Native SQL.
What happened?
The error 600 occurred in the current database connection "LCA".
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.
How to correct the error
Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
SAPTS_COPY_DA"
Database error code........: 600
Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
Internal call code.........: "[DBDS/NEW DSQL]"
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_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"
"/SAPAPO/SAPLOM_TIMESERIES" or "/SAPAPO/LOM_TIMESERIESU20"
"/SAPAPO/OM_TS_DATA_COPY"
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)".
Information on where terminated
Termination occurred in the ABAP program "/SAPAPO/SAPLOM_TIMESERIES" - in
"/SAPAPO/OM_TS_DATA_COPY".
The main program was "/SAPAPO/TS_RLG_COPY_SINGLE ".
In the source code you have the termination point in line 57
of the (Include) program "/SAPAPO/LOM_TIMESERIESU20".
The program "/SAPAPO/SAPLOM_TIMESERIES" was started as a background job.
Job Name....... "/SAPAPO/TS_REALIGN_COPY"
Job Initiator.. "CIBERNLAPO2"
Job Number..... 00015100
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "/SAPAPO/OM_TS_DATA_COPY" "(FUNCTION)", but it was neither handled
locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/SAPAPO/SAPLOM_TIMESERIES "; its source code
begins in line
1 of the (Include program "/SAPAPO/LOM_TIMESERIESU20 ".
Kindly suggest any notes or is any setting needs to be modified.
Regards,
KaasiHello Ada,
the job was aborted due:
Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in
SAPTS_COPY_DA"
Database error code........: 600
Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_COPY_DATA"
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
From the posted dump.
Was it lack of OMS heap memory, memory leaking, program error or huge data selection for application run it's not clear. It will be best for SAP customer to create the SAP message and get SAP support when application canceled due Database error BAD_ALLOCATION in LCA routine.
Regards, Natalia Khlopina -
DP - Seasonality groups posting period conversion error
Hi,
I have recently configured Seasonality Groups which was released in APO SCM7 EHP2 with the Demand Planning Worklist. We are using posting periods (fiscal periods) in all planning books and background jobs,
The following notes have been implemented in our system: 1871842-1879577-1900933-1855921, and our latest APO support pack is SAPKY70204.
The following steps were successfully processed:
- Specify planning level
- Maintain settings for seasonality
- Create seasonality groups
However, the assignment of planning objects to seasonality groups generate an error when using period indicator P. It was successful with period indicator M. Here is a sample message from the short dump generated.
The following error occurred in system XXX : Period for date 0000.00.00 cannot be determined
The error occurred on application server XXXX and in work process. 8
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Function: /SAPAPO/MC_PERIODE_ZUM_DATUM of program /SAPAPO/SAPLMCP2
Function: /SAPAPO/MC_PERDY_GET of program /SAPAPO/SAPLMCP2
Function: /SAPAPO/DM_GET_COLS of program /SAPAPO/SAPLDM_DEMAND_PLANNING
Form: CREATE_COLS_FOR_PERKZ of program /SAPAPO/SAPLOO_TS_DM
Form: GET_COLS_FOR_PERKZ of program /SAPAPO/SAPLOO_TS_DM
Form: CREATE_COLS of program /SAPAPO/SAPLOO_TS_DM
Function: /SAPAPO/TS_DM_GET of program /SAPAPO/SAPLOO_TS_DM
Method: GET_HISTORY_COMBI of program /SAPAPO/CL_DP_SEASON_CONF=====CP
Method: GET_SEASONALITY_COMBI of program
/SAPAPO/CL_DP_SEASON_CONF=====CP
Method: GET_HISTORY of program /SAPAPO/CL_MDL_SEAS_PLM=======CP
I believe it is a program error, but I am wondering if anyone has any suggestions?
Thanks,
MZAs per SAP, periodicity P is not supported.
-
BAPI for assigning models to the Product
Hi
We are trying to create some product locations which are not there in SAP R/3.
Is there any BAPI which can be used to assign models to the created products ?
Thanks and Best Regards
MiteshHi Mitesh,
You can use '/SAPAPO/DM_MODEL_ADD_PROD' for assigning the models.
( /SAPAPO/MOD_VERS_BEGIN_ACCESS and /SAPAPO/MOD_VERS_END_ACCESS function modules can be used for locking and unlocking the models).
Regards,
Siva. -
When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.
When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.
Can anybody help me with this?This is the content of the dump.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Date and Time 05/17/2007 11:21:29
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "/SAPAPO/SAPLADVF" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "/SAPAPO/ADVF_CELL_INPUT" "(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:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "C_S_ACTVIEW-AGC_CHILD1-APOGRID").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Missing RAISING Clause in Interface
Program /SAPAPO/SAPLADVF
Include /SAPAPO/LADVFU06
Row 1
Module type (FUNCTION)
Module Name /SAPAPO/ADVF_CELL_INPUT
Trigger Location of Exception
Program /SAPAPO/SAPLADVF
Include /SAPAPO/LADVFU06
Row 81
Module type (FUNCTION)
Module Name /SAPAPO/ADVF_CELL_INPUT
Source Code Extract
Line SourceCde
51 *#TR# (1) Check arguments: Read only mode must be 0, 1 or 2 and row and column must be provi
52 if f_argument2 is initial or f_argument3 is initial.
53 break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. exit.
54 endif.
55
56
57 *#TR# (1a) Calculate line number of the cell (line + line offset)
58 l_line = f_argument2 + i_line_offset.
59
60 *#TR# (1b) Set L_CELL_READONLY depending on the read only mode F_ARGUMENT
61 case f_argument.
62 when 0. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_only.
63 when 1. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
64 when 2. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless.
65 when others.
66 break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. return.
67 endcase.
68
69 *#TR# (1c) The input status of cells set to read only by the data view definition (history)
70 if f_argument3 < g_s_cols_properties-first_input_column.
71 return.
72 endif.
73
74 *#TR# (1d) Note 1005813: The old APOGRID does not support the read only mode
75 *#TR# /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-READ_WRITE. For compatibility reasons, w
76 *#TR# read only mode /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-STATELESS
77
78 *#TR# Determine version of APOGRID to check, if new or old APOGRID is used. The version is b
79 *#TR# reasons
80 if g_agc_grid_version is initial.
>>>> c_s_actview-agc_child1-apogrid->get_control_version(
82 IMPORTING
83 apogrid = l_apogrid
84 EXCEPTIONS
85 cntl_system_error = 1
86 cntl_error = 2
87 others = 3
88 ).
89 if sy-subrc <> 0.
90 break-point id /sapapo/adv__execution. clear f_argument. f_calc_error = true. exit.
91 endif.
92
93 g_agc_grid_version = l_apogrid.
94 endif.
95
96 *#TR# If the old grid is used change read only mode if necessary
97 if g_agc_grid_version < 200
98 and l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
99
100 l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless.
Maybe you are looking for
-
Display Resolution on Solaris10
I have downloaded and installed the free version of Solaris 10 I apologise if I appear dumb but how do I change the dislay resolution? Thanks in advance Meldrew
-
Tabs within a website not working
Hi, I am new to mac computing and am having trouble using a website that worked fine on my old pc. It´s a site advertising property. The site uses tabs to navigate between photos, maps and other information. However the photos don´t load unless you g
-
URL: http://www.davecureton.com/index_newTest.com I've inserted an audio file into my client's site. It's a small file. Ive inserted it in two different formats: as an .swf and as a .mpg3. Using either file, when you enter the page, the sound begins
-
Gap separation between grey plastic and white plastic
Hey Im a new user to apple, i just received my white macbook about a week ago from the online store. Around about the third day i realized there were some little gaps between the grey and white plastic. They seemed to be pretty harmless. however, sin
-
I use MB pro running Lion OSX 10.7.5 and Now I have bought MB Air with Mountain Lion,Can I transfer my MB Pro stuff running Lion to MB air running Mountain Lion or do I need to buy Mountain Lion for my Pro and create a backup and then transfer ,Altho