Dump in CX_WD_CONTEXT
Hi,
In one of the standard webdynpro there is an enhancement where a popup window is displayed on clicking the Z button.
The functionality is working fine in all system. In the upgraded system there is a dump coming when the Z button is clicked, there is no dump in the Z code but in the following:
IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE
1 method if_wd_context_node_info~get_attribute .
2 data:
3 rtti type ref to cl_abap_typedescr.
4 field-symbols: <attr_info> type wdr_context_attribute_info.
5
6 if me->attributes is initial.
7 me->map_node_info( ).
8 endif.
9
10 read table me->attributes->* into attribute_info with table key name = name.
11 if sy-subrc <> 0.
12 if me->_all_attributes_read = abap_false.
13 getall_attributes( ).
14 read table me->attributes->* into attribute_info with table key name = name.
15 if sy-subrc <> 0.
>>>> raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_f
17 endif.
18 else.
19 raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_fou
In the dump there is also this information.
Chain of Exception Objects
Attrib. Name Value
Level 1 Class CX_WD_CONTEXT
Program CL_WDR_CONTEXT_NODE_INFO======CP Include CL_WDR_CONTEXT_NODE_INFO======CM002 Row 16
Short Te Could not find attribute DATA_FOR_RI_ENABLED
Long Tex
Where do I check for this issue? Thanks
ATTRIBUTE_NAME DATA_FOR_RI_ENABLED
Up on button click right you are getting this dump..Have you debugged..
Some times may be after upgrade, the system may not because stable..what ever enhancement is done..that is what I'm asking you to check..may be as part of enhacement dod they make any changes to code or anything written related to attrobutes..I cannot point out the exact reason..but need to check in debugging which attribuite information is missong..
Class /SAPSRM/CL_CH_WD_DOTM_SC_I_BD, Method: /SAPSRM/IF_CLL_MAPPER~REFRESH
IF /sapsrm/cl_sw_self_service_1=>simplified_sc_is_active( ) EQ abap_true AND
ls_pdo_header-subtype EQ /sapsrm/cl_ch_wd_dodm_sc_h_bd=>mc_recommended_item .
loe_local_ui_control->set_attribute( EXPORTING name = 'DATA_FOR_RI_ENABLED'
value = '01' ).
ELSE.
>>>>> loe_local_ui_control->set_attribute( EXPORTING name = 'DATA_FOR_RI_ENABLED'
value = '02' ).
ENDIF.
Here it says that Can you check for this node in your component 'loe_local_ui_control', and for attribute..It may be the case that this is code is referring some other comp also. Can you check in debuger in more details /sapsrm/cl_sw_self_service_1=>simplified_sc_is_active( ) and also the calss SAPSRM/CL_CH_WD_DOTM_SC_I_BD, whether inside this class there is some attribute missing ..or any other comp is being referred here..
Also check the type of this 'DATA_FOR_RI_ENABLED' and it's values..waht does '02' refer to.. int he context node may be the there is some thing mssing here ,, it also says that some SELF SERVICE is not active /sapsrm/cl_sw_self_service_1=>simplified_sc_is_active, check for this service wether it is enabled in SICF or not if this service is a other component it is referrring to..
Edited by: Lekha on Sep 30, 2011 3:18 PM
Similar Messages
-
DUMP in CX_WD_CONTEXT - Could find attribute exception
Hello Experts,
We got dump while processing Recording Working Times in ESS at Portal level
This dump occurred only for one user and working fine for other users.
Please let me know what will be the solution for this dump.
(*****Class CL_WDR_CONTEXT_NODE_INFO****)
IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE
1 method if_wd_context_node_info~get_attribute .
2 data:
3 rtti type ref to cl_abap_typedescr.
4 field-symbols: <attr_info> type wdr_context_attribute_info.
5
6 if me->attributes is initial.
7 me->map_node_info( ).
8 endif.
9
10 read table me->attributes->* into attribute_info with table key name = name.
11 if sy-subrc <> 0.
12 if me->_all_attributes_read = abap_false.
13 _get_all_attributes( ).
14 read table me->attributes->* into attribute_info with table key name = name.
15 if sy-subrc <> 0.
16 raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_f
17 endif.
18 else.
>>>>> raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_fou
20 endif.
21 endif.
22
23 if attribute_info-rtti is initial.
24 data: attr_ref type ref to wdr_context_attribute_info.
25 attr_ref = me->_get_attribute_rtti(
26 attr_name = name
27 ).
28 if attr_ref is not bound.
29 raise exception type cx_wd_context exporting textid = cx_wd_context=>no_valid_attribut
Thanks in Advance,
Swetha.CHi Swetha,
As you have mentioned that this dump occurs only for a user. I think for that user the attributes list is prepared dynamically and added to context node. So, one of the attribute is not found in the given context.
I suggest you to set an EXTERNAL breakpoint at LINE 19 and run your application.
When the control reaches this line, please use the STANDARD tab of your debugging window, to find the call stack.
Now, click on a method of your component and find out what is missing
Hope this helps you.
Regards,
Rama -
Dump due to exception - CX_WD_CONTEXT
Hi SDN team,
it seam's I will never display my first WDA, after solving CX_FQDN probleme.
now I facing another one.
The following error text was processed in the system DM0 :
Lower-Level Node with Name MAINVIEW.sflight_node Does Not Exist Eꯂ
The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_CHILD_NODE_INTERNAL of program CL_WDR_CONTEXT_ELEMENT========CP
Method: IF_WD_CONTEXT_ELEMENT~GET_CHILD_NODE of program CL_WDR_CONTEXT_ELEMENT========CP
Method: IF_WD_CONTEXT_NODE~GET_CHILD_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: WDDOINIT of program /1BCWDY/2WK3XWKOCLBKF7E5TWGR==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/2WK3XWKOCLBKF7E5TWGR==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CONTEXT_ELEMENT========CP' has to be
terminated.
I will revue the cardinality, ST22, code I inject in the method, may be structure...
I will see if any one have any idea it's pleasur to share it.
Thanks
Adil>
adil chikhaoui wrote:
> Hi SDN team,
>
> it seam's I will never display my first WDA, after solving CX_FQDN probleme.
> now I facing another one.
>
> The following error text was processed in the system DM0 :
> Lower-Level Node with Name MAINVIEW.sflight_node Does Not Exist Eꯂ
> The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
> The termination type was: RABAX_STATE
> The ABAP call stack was:
> Method: GET_CHILD_NODE_INTERNAL of program CL_WDR_CONTEXT_ELEMENT========CP
> Method: IF_WD_CONTEXT_ELEMENT~GET_CHILD_NODE of program CL_WDR_CONTEXT_ELEMENT========CP
> Method: IF_WD_CONTEXT_NODE~GET_CHILD_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
> Method: WDDOINIT of program /1BCWDY/2WK3XWKOCLBKF7E5TWGR==CP
> Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/2WK3XWKOCLBKF7E5TWGR==CP
> Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
> Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
> Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
> Method: INIT of program CL_WDR_CONTROLLER=============CP
> Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
>
> The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
> the call hierarchy.
>
> Since exceptions represent error situations and this error was not
> adequately responded to, the running ABAP program
> 'CL_WDR_CONTEXT_ELEMENT========CP' has to be
> terminated.
>
> I will revue the cardinality, ST22, code I inject in the method, may be structure...
>
> I will see if any one have any idea it's pleasur to share it.
>
> Thanks
> Adil
Hallo Adil,
Can you do the following and confirming me the steps
1. You have a mainview .
2. Does it have sflight_node ?
3. DoInit method is trying to access that. -
Issue Management scenario Troubleshooting dump CX_WDR_ADAPTER_EXCEPTION
Hi,
I'm customizing img transaction to configure service desk scenario in a
Solution Manager SPS15 7.0(SID=SMG), on windows 2003 server/SQl Server
2005.
The problem is customizing Issue Management scenario at step "Troubleshooting".
When I execute this action, I go to smsy transaction->Settings -> Self-Diagnosis
and an error with this tittle appears:
Error when processing your request
What has happened?
The URL http://solution.grupotec.local:8002/sap/bc/webdynpro/sap/dswp_sd_settings/ was not called due to an error.
Note
The following error text was processed in the system SMG : Adapter error in &VIEW_ELEMENT_TYPE& "_08" of view "DSWP_SD_SETTINGS.START": Context binding of property ? cannot be resolved: The Mapping to Node COMPONENTCONTROLLER.1.LAYOUT Has Not Been Completed.
The error occurred on the application server solution_SMG_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
Method: GET_ATTRIBUTE_INTERNAL of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMG in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server solution_SMG_02 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server solution_SMG_02 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 010 -u: SOLMANADM -l: E -s: SMG -i: solution_SMG_02 -w: 0 -d: 20080618 -t: 115252 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
This error creates a dump:
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_WDR_ADAPTER_EXCEPTION
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_WDR_ADAPTER_EXCEPTION' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CX_WDR_ADAPTER_EXCEPTION======CP' has to be
terminated.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WDR_ADAPTER_EXCEPTION', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
Adapter error in &VIEW_ELEMENT_TYPE& "_08" of view "DSWP_SD_SETTINGS.START":
Context binding of property ? cannot be resolved: The Mapping to Node
COMPONENTCONTROLLER.1.LAYOUT Has Not Been Completed.
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_WD_CONTEXT", which was raised in the program
"CL_WDR_CONTEXT_NODE_MAP=======CP",
specifically in line 25 of the (include) program
"CL_WDR_CONTEXT_NODE_MAP=======CM001".
The cause of the exception was:
The Mapping to Node COMPONENTCONTROLLER.1.LAYOUT Has Not Been Completed.
Information on where terminated
Termination occurred in the ABAP program "CX_WDR_ADAPTER_EXCEPTION======CP" -
in "RAISE_FOR".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 45
of the (Include) program "CX_WDR_ADAPTER_EXCEPTION======CM004".
I've tested in sicf transaction that /sap/bc/webdynpro/sap/dswp_sd_settings/ service (right click->test service), appears a log-on popup I type usr j2ee_admin and pwd, and the same error appears.
I'm logged with user to configure Solution Manager
which was SAP_ALL, SAP_NEW profile and a Z_RFC rol with( S_RFC,
S_RFCACL authorizations object).
Please could you help me??
Thanks and Regards
RaulI've resolved this problem with SAP Note:
1157740 - Self Diagnosis dumps when Settings is accessed from Menu
Thanks and Regards
Raul -
Error with Dump while adding Currency field in UI
Hello,
I have a requirement to add a custom entity in MDGM with an currency attribute, and encountring dump while adding the field to Web Dynpro component in UI.
Could some one point me a direction and see below :
Custom Entity with attributes
ZTSTOCK data element is type curr (Lenght 13, Dec 2)
Data Model is activated without errors and created custom Web Dynpro Form component. while designing it in UIBB by adding Element TSTOCK_VL encountring a error and dump.
Error: Could not find attribute WAERS and also dump showing below:
Category ABAP Programming Error
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_WD_CONTEXT
ABAP Program CL_WDR_CONTEXT_NODE_INFO======CP
Application Component BC-WD-ABA-RUN
Date and Time 21.05.2014 00:13:32
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CONTEXT_NODE_INFO======CP' has to be
terminated.
Any help please.
BR, SrihariYes, since the release of the current segment is 45 and you are now in a ECC6 system you cannot cancel the release (because there is no ECC6 version). Just use the add version button to create a new version for ECC6. Once you have that you can add fields and set the release to ECC6.
If you later on need to add more segements you can then cancel the release for your ECC6 segment and add the fields and set the release to ECC6 again (because you already have an ECC6 segment)
Hope that explains it,
Michael -
Getting UNCAUGHT_EXCEPTION CX_WD_CONTEXT at using alv sort function
Dear colleagues,
I developed a simple application which displays records in an ALV and at lead-selection shows detailed data in a form. Everthing is working fine except one is clicking on the sort functionality at the top of the ALV short dump is thrown.
In trx ST22 I find :
The lead selection has not been set. V_DEFAULT
"UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
"CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00R"
"_RAISE_ELEMENT_NOT_FOUND"
Lead selection is checked and also debugging the code did not bring me any further.
Any help is greatly appreciated.
Thanks in advance
MichaelHi Regina,
first of all thanks for your quick answer and explanation. I'm not sure what you mean with 'register to the standard functions of the ALV' because this is a functionality which works in other ALVs without register any event method to them or do you mean that in my case I have to react to the sorting in a new method in the view controller? Concerning 'refill the subnode via supply function' I'm doing this already.
Disabling the sorting is no option anymore because the users already know and love this feature
Regards
Michael -
Hi,
I have the following scenario, In my WDA i have 2 views 1 is for input values and another one is display contents in ALV.
I have the following code in for a button in the input view, after entering input values and press the button system will display records in the alv.
here is the code in the event ONACTIONACTION_FIND
method onactionaction_find .
data: node_node_yy72n type ref to if_wd_context_node,
elem_node_yy72n type ref to if_wd_context_element,
stru_node_yy72n type if_yy72n_view=>element_yy72n.
data : r_dcode type range of yy72n-dcode.
data : r_tbrand type range of yy72n-tbrand.
data : r_tline type range of yy72n-tline.
data : r_dcode_wa like line of r_dcode.
data : r_tbrand_wa like line of r_tbrand.
data : r_tline_wa like line of r_tline.
node_node_yy72n = wd_context->get_child_node( name = if_yy72n_view=>wdctx_yy72n ).
elem_node_yy72n = node_node_yy72n->get_element( ).
elem_node_yy72n->get_static_attributes(
importing
static_attributes = stru_node_yy72n ).
data: ls_where(72) type c,
lt_where like table of ls_where,
lt_yy72n type standard table of yy72n.
r_dcode_wa-sign = 'I'.
r_dcode_wa-option = 'EQ'.
r_dcode_wa-low = stru_node_yy72n-dcode.
r_tbrand_wa-sign = 'I'.
r_tbrand_wa-option = 'EQ'.
r_tbrand_wa-low = stru_node_yy72n-tbrand.
r_tline_wa-sign = 'I'.
r_tline_wa-option = 'EQ'.
r_tline_wa-low = stru_node_yy72n-tline.
append r_dcode_wa to r_dcode.
append r_tbrand_wa to r_tbrand.
append r_tline_wa to r_tline.
select * from yy72n into table lt_yy72n
where designcode in r_dcode
and truebrand in r_tbrand
and tirelinext in r_tline.
data:
node_node_alv type ref to if_wd_context_node,
stru_node_alv type if_yy72n_view=>elements_yy72n .
node_node_alv = wd_context->get_child_node( name = if_yy72n_view=>wdctx_yy72n ).
node_node_alv->bind_table( lt_yy72n )." Dump is coming in this line <<<<<<<
endmethod.
After pressing the button system giving a dump
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
therefore caused a runtime error.
The reason for the exception is:
Number of Elements of the Collection of Node COMPONENTCONTROLLER.1.YY72N
Violates the Cardinality.
a®Try this code as per your req;
DATA lo_nd_node_yy72n TYPE REF TO if_wd_context_node.
DATA lo_el_node_yy72n TYPE REF TO if_wd_context_element.
DATA ls_node_yy72n TYPE wd_this->element_node_yy72n.
* navigate from <CONTEXT> to <NODE_YY72N> via lead selection
lo_nd_node_yy72n = wd_context->get_child_node( name = wd_this->wdctx_node_yy72n ).
data lt_yy72n TYPE wd_this->elements_node_yy72n.
* @TODO handle not set lead selection
IF lo_nd_node_yy72n IS INITIAL.
ENDIF.
* get element via lead selection
lo_el_node_yy72n = lo_nd_node_yy72n->get_element( ).
* get all declared attributes
lo_el_node_yy72n->get_static_attributes(
IMPORTING
static_attributes = ls_node_yy72n ).
data: ls_where(72) type c,
lt_where like table of ls_where,
lt_yy72n type standard table of yy72n.
r_dcode_wa-sign = 'I'.
r_dcode_wa-option = 'EQ'.
r_dcode_wa-low = ls_node_yy72n-dcode.
r_tbrand_wa-sign = 'I'.
r_tbrand_wa-option = 'EQ'.
r_tbrand_wa-low = ls_node_yy72n-tbrand.
r_tline_wa-sign = 'I'.
r_tline_wa-option = 'EQ'.
r_tline_wa-low = ls_node_yy72n-tline.
append r_dcode_wa to r_dcode.
append r_tbrand_wa to r_tbrand.
append r_tline_wa to r_tline.
select * from yy72n into table lt_yy72n
where designcode in r_dcode
and truebrand in r_tbrand
and tirelinext in r_tline.
lo_nd_node_yy72n->bind_table( lt_yy72n ).
Now just check one thing, the data node of alv component should be bound to 'node_yy72n'
Hope this time it works. -
Exception Uncaught - 'CX_WD_CONTEXT' - WEBDYNPRO
Hello,
I have changed the main view of a webdynpro to introduce a tabstrip with two tabs. But when I have tried to execute the webdynpro, I got a DUMP:
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
therefore caused a runtime error.
The reason for the exception is:
Could not find attribute TABLA_EMPLEADOS
The attribute TABLA_EMPLEADOS is a structure, and it's defined at main's view's context, as at component controller's context. The first one is mapped to the second.
More details of the DUMP:
- The code's point which generate the exception:
1 method if_wd_context_node_info~get_attribute .
2 data:
3 rtti type ref to cl_abap_typedescr.
4 field-symbols: <attr_info> type wdr_context_attribute_info.
5
6 if me->attributes is initial.
7 me->map_node_info( ).
8 endif.
9
10 read table me->attributes->* into attribute_info with table key name = name.
11 if sy-subrc <> 0.
12 if me->_all_attributes_read = abap_false.
13 getall_attributes( ).
14 read table me->attributes->* into attribute_info with table key name = name.
15 if sy-subrc <> 0.
>>>>> raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_f
17 endif.
18 else.
19 raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_fou
20 endif.
21 endif.
- And the hierarchy of processes/methods:
Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE of program CL_WDR_CONTEXT_ELEMENT========CP
Method: GET_ATTRIBUTE_INTERNAL of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L3STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Well, I passed about 5 hours investigating, testing, and so on, but I always get the same exception uncaught. I think I have missed some step at the inclusion of the tabstrip, but I don't know how to manage it.
Thank you for your time and help!!In your view Some where you have binded this TABLA_EMPLEADOS to proporties of the UI element, is this an attribute inside à node ? , you may have to check THE cardinality of THE node, it is 0..1 or 0..n then it is possible that You get dump like this. You can try change that to 1..1 or 1..n.
-
Hi Experts,
I am having issue with PO Workflow approval using n-step badi. The system is using srm 7.0 with application controlled workflow.
During the PO approval for few approves when the user clicks on approve he gets a dump with error
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_WD_CONTEXT
The dump occurs in class CL_WDR_CONTEXT_NODE_VAL, Method: IF_WD_CONTEXT_NODE~SET_LEAD_SELECTION.
Any links as where I should check?
ThanksHi Rajesh,
Thanks for posting this issue. I don't have any solution in hand, But I can suggest you to try the below in finding the root cause.
1.) Please take the business approval and change the cost center - XXXX manager to BBBB instead of AAAA and check whether the work flow is getting duplicated.
2.) I request you to check this scenario where the shopping carts are getting created for the cost center other than XXXX and if the manager is AAAA, the work flow is not getting duplicated.
3.) And I also request you to check this scenario where the shopping carts are getting created for the cost center other than XXXX and if the manager is other than AAAA, the work flow is not getting duplicated.
Kindly advise.
Best Regards,
Bharathi -
OVS dump (Subnode/attribute INPUT already exists)
Hi gurus,
I have created WD application with multiple views where user can navigate between views.
Every view has its own funcionality and user after working in one view can go to main menu, and choose another view...
Each view has it's own OVS.
The problem i faced is a dump in OVS when testing my application..
When I execute OVS search help in one view and then navigates to a different view and presses OVS search help there,
I get a dump (Subnode/attribute INPUT already exists).
Indeed, some of the input fields (in my views) for which I use OVS are the same fields, but I implemented separate OVS in each view since they have diferent logic behind them.
Does anyone know how to proceed with this problem?
thnx in advance,
TomHello,
thanks for your inputs Krishna & Sumit.
Krishna, you are correct I did mapp the nodes from component controller to views through context mapping.
I deleted the mappings, removed OVS from component controller context nodes, and left only view context nodes
with OVS. It seemed a logical thin to do but still, this did not solve the problem.
On some views i have multiple fields connected with OVS... So (when i start the program) when I use OVS in first view it works fine, but upon navigation to another view and selectig OVS search help for a field it crashes.
Nodes in my views are independant and are only a part of a single view and a component controller, but wihout the mapping with views.
Some attributes (from my view context nodes) for which I use OVS have the same name in other views.
Could this the problem? But each of my views has its own OVS event hander so I gues same name of an attribute in
different view wouldn't be a problem, or?
@ Konstantin
I get a short-dump right after clicking a serach help on a field connected with OVS.
When I start my program i can branch to 6 views, each view has it's own OVS.
Regardless of the view, OVS works fine with the firs view. Only when navigating away from a view in which i used OVS and by trying to use OVS in onother view, I get RABAX_STATE error:
" The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along the call hierarchy."
"UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
"CL_WDR_CONTEXT_NODE_INFO======CP" or "CL_WDR_CONTEXT_NODE_INFO======CM006"
"IF_WD_CONTEXT_NODE_INFO~ADD_CHILD_NODE"
Hope this helps...
Kind regards,
Tom
Edited by: Tom Baksa on Aug 24, 2010 2:04 PM
Edited by: Tom Baksa on Aug 24, 2010 2:05 PM -
Lock ups and dumping psyical memory!!!
Hi i have just installed a new pc most of the stuff im useing is from my old computer so i know they work fine im running a:
P4 3GHZ Prescot 800MHz, HT-Enabled
865PE Neo2-P
512 DDR-400 Twin moss
ATI Radeon 9000 pro
PSU-400
XP Pro
My computer locks up alot when running intense games (games have worked before no problem) i also get a error saying dumping pysical memory, i have looked about and tried to solve this myself, i found that someone was haveing the exact same problem as me and he fixed it by turning the FSB down as his memory wasnt compatable with his motherboard if doing that works how do i do it ?
Many thanks JonathanFlappa, Your memory " clock" is fine and there is no need to "underclock it" as long as you did not mess with the Bios.
I had the same problems. I could not even get thru a Clean install of windows as it would Blue Screen
1- are you running in " Dual Channel Mode"?
2- If so is your memory a " match Set"?
some times memory even thought it has the same markings is not matched . Dual channel sets are matched and made to run together in "Dual Channel Mode"{
( Even though I had the same manufacturer memory my set would not run in Dual Channel without " Blue Screening" I bought a Matched Set of Kingston Valueram and have not had a problem since
3- If it is not a matched set, pull one stick out and run it for a while , if it still bluescreens try the other stick
4- raise your memory voltage to 2.7 or 2.8 ( which ever is the lowest that it runs stable)
5- If all this does not work , run MEMTEST to see if there is a problem with both sticks
6- you are running a Bios Version that supports the " Prescott Microcode" right?
Let us know what your findings are
Good Luck
Dave -
Report J_1IEWT_CERT getting cancelled, generating ABAP dump!
A long running report J_1IEWT_CERT in background mode is getting cancelled after running for a while and generating the following dump :
Error analysis
When changing or deleting one or more lines of the internal table
"\PROGRAM=J_1IEWT_CERT\DATA=PRINTTAB[]" or when inserting in the table
"\PROGRAM=J_1IEWT_CERT\DATA=PRINTTAB[]", 0 was used as
the line index. An index less than or equal to zero is not
allowed.
The error can occur when using the following options:
1. "INDEX idx" for specifying the line number in the table
"\PROGRAM=J_1IEWT_CERT\DATA=PRINTTAB[]"
where you want to change, insert or delete.
2. "FROM idx" for specifying the start index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=J_1IEWT_CERT\DATA=PRINTTAB[]".
3. "TO idx" for specifying the end index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=J_1IEWT_CERT\DATA=PRINTTAB[]".
At the time of the termination, the table contained 17008 lines.
How to correct the error
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
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:
"TABLE_INVALID_INDEX" " "
"J_1IEWT_CERT" or "J_1IEWT_CERT_F01"
"FILTER_DATA"
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".
Tried searching for some SAP Notes to fix the issue, no success as of now, Please help me out...Have you checked these notes ?
363107 Short dump occurs during TDS certificate printing.
803806 Error while genrating TDS certificate 03.01.2005
1066049 J1INCERT - Error while generating TDS certificate
Regards,
Subhash -
Short dump 'Table does not exist in database'
Hello All,
When a report is executing it is going to short dump by saying 'Table does not exist in database'. As per the short dump analysis this issue is happening because of the following Native SQL statement statement :
Program : %_T050N0 (This is a dynamic program generating by SAP )
Form Name : DYN_LIC_SEL_TOT
exec sql performing LOOP_MOVE_WRITE_ISAP.
select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty into :dcat-lplate, :dcat-matnr,
:dcat-werks, :dcat-charg, :dcat-holdflag,
:dcat-qty from ZLICENSE_R2 where itm_num = :p_matnr and
model_lot = :p_charg
endexec.
As per the customer this issue occurring since they migrated the SAP back-end data base from Oralce to DB6. Here I felt that ZLICENSE_R2 is not migrated from the Oracle to DB6. But as per the BASIS Team, even this table was not maintained in Oracle also. If the table was not maintained in the Oracle, this issue should have been there even before migration also.
Following is the short dump details:
Short text
Table does not exist in database.
What happened?
The table or view name used does not
exist in the database.
The error occurred in the current database connection "DEFAULT".
What can you do?
Check the spelling of the table names in your report.
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_NATIVE_SQL_ERROR', was not
caught in
procedure "DYN_LIC_SEL_TOT" "(FORM)", 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:
Triggering SQL statement: "select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty from ZLICENSE_R2 where itm_num = ? and model_lot = ? "
Database error code: "-204"
Could you please let me know what might be the reason for this issue.
Many Thanks in Advance.Transaction SE11, input ZLICENSE_R2 for table name, and display the table. Did the table display? If not, that is the main problem.
If the table displays, go to menu item Utilities -> Database Object -> Database Utility
In the resulting screen, under the "Status" fields, you should see text "Exists in the database." If you don't, then the table exists in the dictionary, but doesn't exist in the database system. Click the "Create database table" button and then you should be able to run the program.
You may need basis team's help to carryout some of these actions. -
Short Dump while scrolling in a maintenance view
A maintenance view has one field, defined as "Radiobutton".
1) Select the radiobutton for one entry.
2) Scroll down so that in the new page (i.e. the entries displayed in the new page) the entry selected in the first step is not visible.
3) Select any radiobutton again corresponding to any of the entries displayed in the new page.
4) On scrolling up again the short dump occurs.
The short dump text says "More than one radio button is active".
Any inputs in this regards are appreciated.
Thanks.
Gajendra.Hi,
that means you are trying to make two radio buttons active.
parameters: ra radiobutton group g1 default = 'X',
rb radiobutton group g1.
ra = 'X'.
and rb = 'X'.
in your case so obviously it will dump.
check your coding..
and show your code...
Regards
vijay -
Is it possible to create manually a dump?
Dear all,
I have a question about Dumps created in SAP while programs run with unpredicted errors.
I have a specific table defined in the dictionary which has two coloumns progId and path.
The first one is a unique identifier given to a program and the second column is an absolute path on the
unix server where SAP is installed.
For example
MyProg | /usr/tmpbatch/data/E200
Means that the ABAP program named 'MyProg' will run and its output file (the output of the program) and the
log file are created in /usr/tmpbatch/data/E200.
In each of my programs, first of all I check the content of this table in order to ensure that the path is defined for the
given program (and therefore I may be able to create avec success both output and log files). If there is no entry
in the table for the given program, I leave the program by calling the STOP instruction.
My programs run at night, so the next day the corresponding users read the content of the generated output/log files.
As a result, if the path is not defined properly for a given program in the table, the program is not run and therefore
there will be no output/logfile the next day.
My question is How can I inform the user who arrives the next day observing that one program has not been run? How
can I tell him by some kind of system message that the program exited because the path for the files had not been defined in
my table?
Each morning, we can analyse the dumps which were produced during the precedent day. So that we may know
(approximately) what went wrong. But as far as I know, dumps are generated automatically by the system. Is it possible
to generate a dump (by calling some fucntion) with an appropriate error message for my problem?
Thanks in advance,
DariyooshHello again,
First of all I would like to thank everybody for their attention to my problem and
for spending time for answering my question. Thank you all very much.
Currently, Thomas' solution about MESSAGE_TYPE_X seems to work pretty well
for my problem. As all of you mentioned that, there should be softer methods to inform
users. One main problem is that the program which lanuches my programs during night
is not a sap user, it is a Unix scheduler (please forgive me I don't know these administration
details and how they work) so according to what the administrator told me it is not possible
to send email. As a result, I think I may go with MESSAGE_TYPE_X until I found another proper way.
Once again, thank you all for your help.
Kind Regards,
Dariyoosh
Maybe you are looking for
-
Can you use regular PCI cards in Mac Pro?
My G5 is getting a bit long in the tooth and I want to buy a Mac Pro. It says that it supports PCI Express cards, but I have several PCI cards in my PowerMac. Since I don't want to buy them all over again, I was wondering if they will work in the Mac
-
Documents downloaded via Firefox won't print or appear in preview
Documents opened with Firefox won't print or even appear in preview. The document can be viewed but won't print. When trying to print (or see in preview) only a blank page appears. This happens even when the document is saved or made a PDF file. This
-
How do I get Firefox Operating system onto my device?
You do not say how to get the Firefox Operating System onto my device. That should be in "getting started". I have a HP Touchpad. Any chance I can replace its operating system with Firefox?
-
URGENT! syncing question.
Alright basically I just bought a new computer about a month ago and set it up in the new room I just moved in. Before that I always synced my iPhone with the other computer, that I still have. Well tonight I decided I would sync my iPhone with this
-
Disk utility no longer working, any alternative HDD maintenance prog?
Hi all, I have an early 2003 Powerbook G4 12" aluminium. 80Gb HDD with about 4.5Gb free. It's running very slowly but I hardly tax the machine so I'm not too bothered, but I tried to run Disk Utility to make sure everything was ok and it couldnt even