Quantcast
Channel: SCN : Discussion List - Supplier Relationship Management (SAP SRM)
Viewing all articles
Browse latest Browse all 3184

Exception: CX_SY_REF_IS_INITIAL

$
0
0

Hi all,

 

I'm trying to resolve a problem with a dump, I see that I need to find a sap-note to resolve that but I dont find it in SAP Support Portal.

 

In st22 I have this:

 

OBJECTS_OBJREF_NOT_ASSIGNED

CX_SY_REF_IS_INITIAL

 

Access via 'NULL' object reference not possible.

 

Error in the ABAP Application Program

 

The current ABAP program "/SAPSRM/CL_PDO_BO_SC==========CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

 

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 "/SAPSRM/IF_PDO_DO_PARTNER~GET_PARTNER_FCT_TYPES" "(METHOD)", 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: "ME->MO_PDO_PARTNER").

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.

 

Notes to resolve:

 

"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"

"/SAPSRM/CL_PDO_BO_SC==========CP" or "/SAPSRM/CL_PDO_BO_SC==========CM03C"

"/SAPSRM/IF_PDO_DO_PARTNER~GET_PARTNER_FCT_TYPES"

 

The procedure is in program "/SAPSRM/CL_PDO_BO_SC==========CP "; its source

  code begins in line

1 of the (Include program "/SAPSRM/CL_PDO_BO_SC==========CM03C ".

 

Code:

 

>>>>>CALL METHOD mo_pdo_partner->/sapsrm/if_pdo_do_partner~get_partner_fct_types

     EXPORTING

       iv_process_type = lv_process_type

       iv_itemlevel    = iv_itemlevel

     IMPORTING

       et_partner_func = et_partner_func.


Thx and regards.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>