Hi RBEI SRM,
Thanks for your Answer. If I will start shopping Cart Application I got the following Error:
500 SAP Internal Server Error
ERROR: Zugriff über 'NULL' Objektreferenz nicht möglich. (termination: RABAX_STATE)
The ST22 Logs says this:
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
ABAP Program /SAPSRM/CL_CH_WD_NAVI_SERV====CP
Application Component SRM-EBP-CA-UI
Date and Time 19.12.2013 18:49:32
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "/SAPSRM/CL_CH_WD_NAVI_SERV====CP" 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
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
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.
How to correct 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:
"OBJECTS_OBJREF_NOT_ASSIGNED" " "
"/SAPSRM/CL_CH_WD_NAVI_SERV====CP" or "/SAPSRM/CL_CH_WD_NAVI_SERV====CM00Y"
"NAVIGATE_BY_PORTAL"
Server-Side Connection Information
Information on Caller of "HTTPS" Connection:
Plug-in Type.......... "HTTPS"
Caller IP............. "10.94.40.114"
Caller Port........... 1443
Universal Resource ID. "/sap/bc/webdynpro/sapsrm/wda_wscp"
Program............. "/SAPSRM/CL_CH_WD_NAVI_SERV====CP"
Screen.............. "SAPMHTTP 0010"
Screen Line......... 2
Information on Caller ofr "HTTPS" Connection:
Plug-in Type.......... "HTTPS"
Caller IP............. "10.94.40.114"
Caller Port........... 1443
Universal Resource Id. "/sap/bc/webdynpro/sapsrm/wda_wscp"
Information on where terminated
Termination occurred in the ABAP program "/SAPSRM/CL_CH_WD_NAVI_SERV====CP" -
in "NAVIGATE_BY_PORTAL".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 58
of the (Include) program "/SAPSRM/CL_CH_WD_NAVI_SERV====CM00Y".
Source Code Extract
Line SourceCde
28 ** 'toolbar=no,resizable=yes,width=90%,height=85%,top=0,left=0'.
29 ** 'toolbar=no,resizable=yes,width=''+screen.width*0.96+''px,height=''+screen.height*0.85
30 *
31 *
Date and Time 19.12.2013 18:49:32
32 ** IF lv_target_title IS INITIAL.
33 ** lv_target_title = text-001.
34 ** ENDIF.
35 *
36 * CALL METHOD mo_portal_manager->navigate_absolute
37 * EXPORTING
38 * navigation_target = lv_url
39 * navigation_mode = '3'
40 * window_features = lv_window_feat
41 * business_parameters = is_obn_components-business_parameters
42 ** window_name = 'Hallo Welt'
43 ** history_mode = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
44 ** target_title = lv_target_title
45 ** context_url =
46 ** post_parameters = abap_false
47 ** use_sap_launcher = abap_true
48 ** launcher_parameters = lt_launcher_param.
49 * .
50
51 DATA: lv_pcd_location TYPE /sapsrm/cll_wd_pcd_location,
52 lo_fpm TYPE REF TO if_fpm.
53
54 * Get the current FPM instance
55 lo_fpm = cl_fpm=>get_instance( ).
56
57 * Get the PCD location
>>>>> CALL METHOD lo_fpm->mo_app_parameter->get_value
59 EXPORTING
60 iv_key = mc_catalog_parameters-key_pcdlocation
61 IMPORTING
62 ev_value = lv_pcd_location.
63
64 IF lv_pcd_location CS mc_catalog_parameters-federated_gpn_param2.
65 * federal portal scenario
66 * the resolving_mode should be Default
67 mo_portal_manager->navigate_to_object(
68 system = lv_obn_system
69 object_type = is_obn_components-object_type
70 object_value_name = is_obn_components-object_value_name
71 object_value = is_obn_components-object_value
72 operation = is_obn_components-operation
73 business_parameters = is_obn_components-business_parameters
74 forward_obn_metadata = is_obn_components-forward_obn_metadata
75 use_forwardparameters_of_al = abap_true
76 resolving_mode = IF_WD_PORTAL_INTEGRATION=>CO_RESOLVING_MODE-USER_SET_OF_ROLES
77 ).
Maybe you have an Idea. I checked Oss and also various helps here at scn.
Thanks for your help:)
Regards
Birgit