Decision Tree training runtime error. Perform Pruning.
Hello I get the error below when trying to train a decisio n tree model in RSANWB. The same model trained correctly before I selected Perform Pruning + Extended Pruning in the Parameters tab.
Note 738285 seems to address a similar problem, but is not applicable (or already corrected) in the system I am running (SAPKW35012, SAPKIBIFP5).
Can anyone help me on that?
Claudio Ciardelli
Here is the error log.
Runtime Errors TABLE_FREE_IN_LOOP
Date and Time 28.07.2005 15:40:59
|ShrtText |
| When you LOOP through an internal table, you must not change it. |
|What happened? |
| Error in ABAP application program. |
| |
| The current ABAP program "SAPLRS_DME_DECISION_TREE_PRUNE" had to be terminated |
| because one of the |
| statements could not be executed. |
| |
| This is probably due to an error in the ABAP program. |
|Error analysis |
| When you LOOP through an internal table, the table as a whole may |
| not be changed, |
| SORT, MOVE, REFRESH, and CLEAR are, for example, not allowed. |
|Trigger Location of Runtime Error |
| Program SAPLRS_DME_DECISION_TREE_PRUNE |
| Include LRS_DME_DECISION_TREE_PRUNEF01 |
| Row 163 |
| Module type (FORM) |
| Module Name UPDATE_BRANCH_NEW |
|Source Code Extract |
|Line |SourceCde |
| 133| IF sy-subrc EQ space. |
| 134| l_parent_index = sy-tabix. |
| 135| LOOP AT gt_tree_sorted |
| 136| ASSIGNING <fs_tree> |
| 137| FROM l_parent_index. |
| 138| IF <fs_tree>-parent NE p_node. |
| 139| EXIT. |
| 140| ENDIF. |
| 141| CHECK <fs_tree>-node NE p_branch. |
| 142| l_node_index = sy-tabix. |
| 143| PERFORM delete_children_new USING <fs_tree>-node. |
| 144| DELETE gt_tree_sorted INDEX l_node_index. |
| 145| ENDLOOP. |
| 146| ENDIF. |
| 147|* Update Parent = P_NODE for all Childnodes of P_BRANCH |
| 148| READ TABLE gt_tree_sorted TRANSPORTING NO FIELDS |
| 149| WITH KEY parent = p_branch BINARY SEARCH. |
| 150| IF sy-subrc EQ space. |
| 151| l_parent_index = sy-tabix. |
| 152| LOOP AT gt_tree_sorted |
| 153| ASSIGNING <fs_tree> |
| 154| FROM l_parent_index. |
| 155| IF <fs_tree>-parent NE p_branch. |
| 156| EXIT. |
| 157| ENDIF. |
| 158| l_node_index = sy-tabix. |
| 159| <fs_tree>-parent = p_node. |
| 160| ENDLOOP. |
| 161| ENDIF. |
| 162|* Sort again..since parent info is changed.. |
|>>>>>| SORT gt_tree_sorted BY parent node. |
| 164|* Update Parent = P_NODE for all Childnodes of P_BRANCH |
| 165| READ TABLE gt_tree_sorted TRANSPORTING NO FIELDS |
| 166| WITH KEY parent = p_branch_parent |
| 167| node = p_branch BINARY SEARCH. |
| 168| IF sy-subrc EQ space. |
| 169| DELETE gt_tree_sorted INDEX sy-tabix. |
| 170| ENDIF. |
| 171| |
| 172| |
| 173|ENDFORM. "update_branch_new |
| 174| |
| 175|*&---------------------------------------------------------------------* |
| 176|*& Form update_tree |
| 177|*&---------------------------------------------------------------------* |
| 178|* text |
| 179|*----------------------------------------------------------------------* |
| 180|* -->P_I_T_CLASSDIST text |
| 181|* -->P_I_NODE text |
| 182|*----------------------------------------------------------------------* |
Message was edited by: Claudio Ciardelli
otherwise I would contact SAP because you can't update the temp internal table (See ABAP Coding),
best regards,
Klaus
Similar Messages
-
Regenerate decision tree for transfering to unicode system.
Hello,
We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
generated forums in the decision tree.
The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
does anybody have any ideas?
thanks.Hello,
We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
generated forums in the decision tree.
The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
does anybody have any ideas?
thanks. -
Training Decision Tree: Get RSDME362
Hi,
I want to train my decision tree modell and get an error: RSDME362, Vorhers. Modellf. hat nur einen Wert.Daten können nicht trainiert werden.
If I look at the statistics of the attribute which will be predicted it has two distinct values: 1.000 and 0.000.
Does anybody knows what could be wrong??
Thanks,
regardsHi,
I found the problem: the algorithm couldn't process values with 0. So we changed it to 1 (=yes) and 2 (=no) instead of 0 (no).
Regards -
Runtime Error in ALV Tree Output
Dear All, I am trying to create a ALV Tree using Class cl_gui_alv_tree. The Report Shows the Output with the first Node but when i try to expand it is dumping with a runtime error GETWA_NOT_ASSIGNED in class CL_ALV_TREE_BASE and method SET_ITEMS_FOR_COLUMN. The Reason being the data which was copied in the initial node display to mt_outtab is getting refreshed.
Can any one of you help me the reason for the table getting refreshed. Do i need to pass any data.
I am doing the following steps.
1. Create Container,
2. Create Tree Class object
3. Generate the Field Catalog.
4. Set table for first display " With empty internal table
5. Generate the Hierarchy
6. Call the Method Frontend Update.
Let me know if i had missed any steps in the process.
Thank you,
Regards,
Swaroop PatriOne reason for getting this error is using local defined tables for it_outtab parameter in the below code:
To get rid of the dump, define two distinct output tables globally: one is an empty table which you will pass to the below method, other one is your real output table whose size increases dependently.
CALL METHOD go_tree->set_table_for_first_display
EXPORTING
is_hierarchy_header = ls_hier_header
CHANGING
it_outtab = gt_data_e "Empty table
it_fieldcatalog = gt_fcat_tree. -
I attempted to perform the itunes update on two different PCs. Itunes will no longer open and prompted me to reinstall itunes. The reinstall did not work after several attempts and I received an error: "Runtime error R6034. An application has made an attempt to load the C Runtime library incorrectly. Please contact the application's support team for more information." Has anyone else had this issue? How can I resolve it?
I've been having the same exact problem this morning, and from the looks of it a lot of other people are posting about this issue, so I don't know if it's maybe something wrong with the download but I'm just relieved that it seems to be that instead of a corruption issue with my windows installation. I'm just wondering how long this will take to be resolved.
-
Portal Runtime Error in Performance Overview
Hi Experts ,
I am getting portal runtime error while accessing performance overview and this error is occurring in test system not in prod. I have only passed our custom parameter in "ViewGroup" and "ViewID" , which comes under property Editor of Performance Overview Iview.
Please find the server log :-
#0002A58CD85E00460000018900000C240004A6BED67C6350#1309238479307#com.sap.portal.prt.request#sap.com/irj#com.sap.portal.prt.request#sudad59#121793##n/a##6903e340a14611e09ecb0002a58cd85e#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception in PortalRequestManager.dispatchRequest without timeout
[EXCEPTION]
#1#java.lang.NoSuchMethodError: com.sap.pct.hcm.objectanddataprovider.CFTableViewModel.getClickableObjects()Lcom/sap/pct/hcm/objectanddataprovider/proxyclasses/Hrwpc_S_KeyobjecTypeList;
at com.sap.pct.hcm.teamviewer.TeamViewerPage.getJSArrayOfObjects(TeamViewerPage.java:1005)
at com.sap.pct.hcm.teamviewer.TeamViewerPage.getJSCodeOnLoad(TeamViewerPage.java:1031)
at com.sap.pct.hcm.teamviewer.TeamViewerPage.getJavaScriptCode(TeamViewerPage.java:839)
at com.sap.pct.hcm.teamviewer.TeamViewerPage.doProcessBeforeOutput(TeamViewerPage.java:512)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:123)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:273)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
at java.lang.Thread.run(Thread.java:
Let me know if you need any further information.
Any help will be really appreciated with points.
-Regards
AK
Edited by: Khamari_alok on Jun 30, 2011 10:32 AM
Edited by: Khamari_alok on Jun 30, 2011 12:42 PMthere is an issue with the object and data provider evaluation path ie OADP
Please check using standard
Other mySAP.com components>Business Packages / Functional
Packages>Manager Self-Service>Object and Data Provider>Restrict Nuber
of Navigation Objects.
https://wiki.sdn.sap.com/wiki/display/ERPHCM
/DifferentfeaturesofOADPbasedonECC+6.0
You can debug in backend using FM HRWPC_GET_OBJECTS_FROM_ROOTS -
Performance Tuning 'Runtime Error' on Select statement
Hi Experts,
Good Day!
I would like to ask some help regarding a custom program that will encounter 'Runtime Error' on the below codes on how to perform performance tunning especially number 1.
1.
SELECT A~VBELN A~ERDAT A~AUART A~VKORG A~VTWEG A~SPART A~VDATU
A~KUNNR B~POSNR B~MATNR B~ARKTX B~ABGRU B~KWMENG B~VRKME
B~WERKS B~VSTEL B~ROUTE
FROM VBAK AS A INNER JOIN VBAP AS B ON A~VBELN EQ B~VBELN
INNER JOIN VBEP AS C ON A~VBELN EQ C~VBELN
AND B~POSNR EQ C~POSNR
INTO CORRESPONDING FIELDS OF TABLE I_DATA_TAB
WHERE A~VBELN IN S_VBELN
AND A~VKORG IN S_VKORG
AND A~AUART IN S_AUART
AND A~VTWEG IN S_VTWEG
AND A~SPART IN S_SPART
AND A~VDATU IN S_VDATU
AND A~KUNNR IN S_KUNNRD
AND B~MATNR IN S_MATNR
AND B~KWMENG IN S_KWMENG
AND B~VRKME IN S_VRKME
AND B~WERKS IN S_WERKS
AND C~EDATU IN S_VDATU.
2.
SELECT VBELN FROM LIKP INTO LIKP-VBELN
WHERE LFDAT IN S_VDATU
AND VKORG IN S_VKORG
AND LFART EQ 'YSTD'
AND KUNNR IN S_KUNNRP
AND KUNAG IN S_KUNNRD
SELECT VBELN POSNR LFIMG MATNR WERKS
FROM LIPS INTO (LIPS-VBELN, LIPS-POSNR, DISPLAY_TAB-DEL_QTY,
LIPS-MATNR, LIPS-WERKS)
WHERE VBELN EQ LIKP-VBELN
AND MATNR IN S_MATNR
AND VTWEG IN S_VTWEG
AND SPART IN S_SPART
AND WERKS IN S_WERKS.
ENDSELECT.
ENDSELECT.
4.
SELECT DELIVERY POSNR MATNR PODLFIMG FROM T9YPODI INTO
(T9YPODI-DELIVERY, T9YPODI-POSNR, T9YPODI-MATNR, T9YPODI-PODLFIMG)
WHERE MATNR IN S_MATNR
AND PODDATE IN S_VDATU.
Answer's will be a great help.
~Thank You,
Lourd
Edited by: Lourd06 on Oct 23, 2009 10:32 AM
Moderator message - Welcome to SCN.
Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting. You're in the driver's seat here. It's up to you to do some analysis before expecting that people can halp you. - post locked
And please use code tags.
Edited by: Rob Burbank on Oct 23, 2009 9:13 AMHi All,
We've checked the transaction ST22 it is TIME OUT. I really need your help on this the program will dump in number 1 Select statement. Can you help me perform a performance tunning.
In transaction ST22
Runtime Errors TIME_OUT
Date and Time 21.10.2009 08:51:33
Short text
Time limit exceeded.
What happened?
The program "ZV0PSR10" has exceeded the maximum permitted runtime without
interruption and has therefore been terminated.
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
After a specific time, the program is terminated to make the work area
available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 1200 seconds. If this
time limit is
exceeded, the system attempts to cancel any running SQL statement or
signals the ABAP processor to stop the running program. Then the system
waits another 60 seconds maximum. If the program is then still active,
the work process is restarted.
~Thank you
Lourd
Edited by: Lourd06 on Oct 23, 2009 11:22 AM
Edited by: Lourd06 on Oct 23, 2009 11:33 AM -
Runtime Error! and cannot perform chkdsk
It started when I found out that one of my picture files was corrupt. I cannot delete the folder and I get a message telling me to perform a chkdsk. When I try to do the chkdsk I get an error message that it cannot be completed.
Now, when my scheduled backup started I got the following error message:
"Runtime Error!
Program:...m Files\Lenovo\Rescue and Recovery\Migration\bin\r2r.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
I'm hoping that someone will be able to help me.same problem here
anyone? -
Failed to open model viewer error, for Decision Tree Model
Oracle 11.0.2
SQL Developer 3.0.04
I am trying to follow ODM tutorial here :
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/datamining/ODM11gR2.htm
After completing initial analysis, I want to investigate the Decision Tree model more closely. As I choose View Models > CLAS_DT_1_1, I get an error message:
Failed to open model viewer
Details are:
java.lang.RuntimeException: not instanceof RoundedTreeNode
at oracle.dmt.dataminer.mviewer.dtree.model.TreeNode.assignPropertyChangeListener(Unknown Source)
at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditor.setPropertyChangeListener(Unknown Source)
at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditor.open(Unknown Source)
at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:283)
at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:184)
at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:102)
at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1403)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
at oracle.dmt.dataminer.workflow.WorkflowContextMenu$2.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6504)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6269)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4860)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2713)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:680)
at java.awt.EventQueue$4.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I get this error for Decision Tree Model only. For other models, there is no problem. How can I fix it?
Thank you.After setting system language to English, be sure to restart SQL Dev to retry the test.
Make sure you have the latest patches installed.
Go to menu: Help-> About. In the About dialog, select the Extensions tab and check if you have Data Miner version 11.2.0.2.04.40. If not, go to menu Help->Check for Updates, and install the SQL Developer and Data Miner patches.
SQL Dev 3.0 is not certified with Java 7.
Thanks,
Marat
Edited by: mspivak on Jan 10, 2012 12:33 PM
Edited by: mspivak on Jan 10, 2012 12:33 PM
Edited by: mspivak on Jan 10, 2012 12:34 PM -
Portal Runtime Error while performing User Mapping to SAP SRM
Please find below the error I received while User Mapping from Enterprise Portal to SAP SRM :
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_mapping/com.sap.portal.userMappingAdmin/com.sap.portal.userMappingAdmin
Component Name : com.sap.portal.usermanagement.admin.UserMappingAdmin
User Mapping not fully available..
Exception id: 04:21_23/06/05_0073_8097650
See the details for the exception ID in the log fileHi,
yes, Karsten is correct. Just some background:
"User Mapping not fully available.." finally means that user mapping is configured to use strong encryption, but the main crypto key for user mapping is missing. Usually, that's because "SAP Java Cryptographic Toolkit" and/or "JCE policy files for unlimited strength encryption" are not installed (or the server hasn't be restarted afterwards). The note will most likely help
Best regards
Heiko -
Every time I perform an update I get a Runtime Error message.
Every time I update an add-on or the Firefox browser I get this message:
Microsoft Visual C++ Runtime Library
0 Runtime Error
Program: C :\Program Files\Mozilla Firefox\firefox.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application’s support team for more information.Find out what that third party software the kext file belongs to and update or use the developers method to uninstall the third party software responsible for it.
I suspect it's a iTunes extension perhaps?
You also can use the manual method of Finder > Go > Computer and opening your drive, then your System/Library/Extensions folder and looking for the file and moving it out onto the desktop, you will need to be in Admin user and use your password, then reboot to clear the random access memory. However this method doesn't remove the parent program you still need to do that.
How to uninstall/install software on your Mac
The kext file wasn't loaded, so it's not running, but removing it from the Extensions folder or uninstalling what put it there will solve your notification problem as that's all it appears to be. -
Plotting a Trained Decision Tree Model
Is it possible to plot an Azure based decision tree similar to what is done in R? That is, a mapping of the splits at each node level with summaries in each of the leaf nodes. It is helpful info to understand how the tree is splitting but even
more helpful in providing the client with a decision path that they can follow.Hello,
Unfortunately not - this is feedback we've received and are working to implement on many of our learning algorithms: improved visualization/transparency into their details.
We'll report back as we make progress on this!
Regards,
AK -
Runtime Error - DBIF_RSQL_INVALID_RSQL - Too many OPEN CURSOR
When I try to train a Decision Tree Model via an APD process in RSANWB, I get a runtime error when my model is configured with too many parameter fields or too many leaves (with 2 leaves it works, with more it fails).
By searching SAP Notes I see that there are many references to this kind of runtime errors. But no note on occurences of it in RSANWB / RSDMWB .
Any information on this anyone?
Claudio Ciardelli
Runtime Errors DBIF_RSQL_INVALID_RSQL
Date and Time 29.07.2005 16:19:21
|ShrtText |
| Error in RSQL module of database interface. |
|What happened? |
| Error in ABAP application program. |
| |
| The current ABAP program "SAPLRS_DME_DECISION_TREE_PRED" had to be terminated |
| because one of the |
| statements could not be executed. |
| |
| This is probably due to an error in the ABAP program. |
| |
|Error analysis |
| The system attempted to open a cursor for a SELECT or OPEN CURSOR |
| statement but all 16 cursors were already in use. |
| The statement that failed accesses table "/BIC/0CDT000030 ". |
| The erroneous statement accesses table "/BIC/0CDT000030 ". |
|Trigger Location of Runtime Error |
| Program SAPLRS_DME_DECISION_TREE_PRED |
| Include LRS_DME_DECISION_TREE_PREDU06 |
| Row 103 |
| Module type (FUNCTION) |
| Module Name RS_DME_DTP_EVALUATE |
|Source Code Extract |
|Line |SourceCde |
| 73|* Prepare for Data evaluation |
| 74| CATCH SYSTEM-EXCEPTIONS OTHERS = 15. |
| 75| CREATE DATA ref TYPE (i_enum_dbtab). |
| 76| ASSIGN ref->* TO <fs_wkarea>. |
| 77| ASSIGN COMPONENT gv_class_dbposit OF STRUCTURE |
| 78| <fs_wkarea> TO <fs_class>. |
| 79| CREATE DATA ref TYPE TABLE OF (i_enum_dbtab). |
| 80| ASSIGN ref->* TO <ft_data>. |
| 81| |
| 82| ENDCATCH. |
| 83| IF sy-subrc = 15. |
| 84|* Error on Assignment. |
| 85| CALL FUNCTION 'RS_DME_COM_ADDMSG_NOLOG' |
| 86| EXPORTING |
| 87| i_type = 'E' |
| 88| i_msgno = 301 |
| 89| i_msgv1 = 'EVALUATION_PHASE' |
| 90| IMPORTING |
| 91| es_return = ls_return. |
| 92| APPEND ls_return TO e_t_return. |
| 93| EXIT. |
| 94| ENDIF. |
| 95| |
| 96|* For the un-trained Rec-Ids, evaluate..... |
| 97| REFRESH lt_recinp. |
| 98| APPEND LINES OF i_t_records TO lt_recinp. |
| 99| SORT lt_recinp . |
| 100|* Open Cursor.. |
| 101| DATA: l_curs TYPE cursor. |
| 102| DATA: l_psize TYPE i VALUE 10000. |
|>>>>>| OPEN CURSOR WITH HOLD l_curs FOR |
| 104| SELECT * FROM (i_enum_dbtab) |
| 105| WHERE rsdmdt_recid NOT IN |
| 106| ( SELECT rsdmdt_recid FROM |
| 107| (i_learn_tab) ). |
| 108| |
| 109|* Start Fetch... |
| 110| DO. |
| 111| FETCH NEXT CURSOR l_curs |
| 112| INTO CORRESPONDING FIELDS OF TABLE <ft_data> |
| 113| PACKAGE SIZE l_psize. |
| 114| IF sy-subrc NE space. |
| 115| EXIT. |
| 116| ENDIF. |
| 117| |
| 118|* Process records... |
| 119| LOOP AT <ft_data> ASSIGNING <fs_wkarea>. |
| 120| |
| 121|* Call Prediction Function. |
| 122| CALL FUNCTION 'RS_DME_DTP_PREDICT_STRUCTURE' |Hi Claudio,
well the message is very clear and I think in your case you need to split your model into a few somehow equal models, each not having more than 2 leaves.
Another option might be to do more things serially instead of parallel.
Hope it helps
regards
Siggi -
Db50 transaction then it says "Runtime error '6': Overflow"
hi all,
while start to perform full backup from dbmgui if launch from db50 transaction Tools tree then it says "Runtime error '6': Overflow " kind of pop-up message comes.
I want to attach screenshot here.
How can I do that? Is it possible?
Thanks in advance for any pointers.Hi Vikash,
there's no option to upload any attachments here in the forum.
Since you're using DB50 you must be a SAP customer. So get something for your maintenance fee and open a support message for this issue.
regards,
Lars -
I have a request to create a Function Module that will be assigned to an Action Box, which when executed will copy long text for Quality Notification tasks. I have the module created and working, but after my code is executed a runtime error happens due to a null value being passed to a method in the SAP program QM07_UPDATE_ACTIONBOX. It looks to me like it is trying to perform some kind of cleanup tasks, and is trying to delete a node tree that does not exist. My code did nothing with any kind of node tree, so I am not sure how to avoid this runtime error. My code works as desired, except for this error that occurs after my code is processed. Any assistance would be greatly appreciated! Below are more details from the error received...
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 "QM07_UPDATE_ACTIONBOX" "(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: "TREE_ACTIONBOX"). 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.
Information on where terminated
Termination occurred in the ABAP program "SAPLQM07" - in "QM07_UPDATE_ACTIONBOX". The main program was "SAPLIQS0 ".
In the source code you have the termination point in line 39 of the (Include) program "LQM07U12". The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", but it was neither handled locally nor declared in the RAISING clause of its signature.
The procedure is in program "SAPLQM07 "; its source code begins in line 1 of the (Include program "LQM07U12 ".
28 * bei Tree werden Knoten und Items gelöscht bei Table Control wird
29 * nur g_control_tab neu aufgebaut
30 if g_tree = c_x.
31 *---- Löschen der bestehenden Knoten und Items
32
33 * Tabelle der Knotenschlüssel erzeugen
34 loop at g_node_tab into l_node.
35 append l_node-node_key to l_dnodes_tab.
36 endloop.
37
38 * Items
>>>>> call method tree_actionbox->delete_all_items_of_nodes
40 EXPORTING
41 node_key_table = l_dnodes_tab
42 EXCEPTIONS
43 failed = 1
44 cntl_system_error = 2
45 error_in_node_key_table = 3
46 dp_error = 4.Yes, I have searched the notes. I used the keywords suggested in the dump...
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:
"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
"SAPLQM07" or "LQM07U12"
"QM07_UPDATE_ACTIONBOX"
Maybe you are looking for
-
Mail authentication problem - PLEASE HELP
I was trying to set up my email account on my new Droid phone. Apparently, it requires that the incoming mail server use authentication. I went into my Mac Mail account settings and changed the Advanced setting to Password. Now I can't receive any ma
-
Restrict extension of sales area to customer.
How to restrict a customer master only for one sales area. Is this possible? i.e. the customer master is than not extended to another sales area. Thanks,
-
Error in database connectivity
sir i want to connect jsp with MS-Access the code is-------- <!-- jai shri ram --> <html> <head><title>JAI SHRI RAM</title></head> <body> <%@ page import="java.sql.*" %> <% String user1 = null; String pass1 = null; ResultSet rs =
-
ACMT Apple certification training in UK
Hi, I'm based in London, UK and am seriously thinking of taking the ACMT apple certification qualification in order to become a Mac Technician. As I am reluctant to pay £2500 for the 8 day course I am thinking of buying the £209 technician self learn
-
Adobe Camera Raw (ACR) Stops Responding
I am currently using Photoshop CS5 with Camera Raw 6, installed on a Window 7 x64 machine with 8 GB of RAM. I have no problem opening my raw files, but ACR repeatedly stops responding after a few minutes as I am selecting and making adjustments to ra