cancel
Showing results for 
Search instead for 
Did you mean: 

Error In Inbound Proxy

former_member181928
Participant
0 Kudos

Hi

I have SRM Scenario were I am sending a Z_CREAMAS_SUSMM IDOC from ECC 6.0 to SRM 5.5 SUS via PI 7.0 . There are no errors on the XI side and the sxmb_moni of the SRM side .The message shows a successful flag on the XI as well as the SRM side . But however the functionality of the idoc does not work ie the vendor is not created in SRM SUS.

When we try to test the inbound proxy from sproxy by copying the payload from sxmb_moni of SRM and then testing it we get a short dump with the following contents .

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 "SET_METHOD" "(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.

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

Probably the only way to eliminate the error is to correct the program.

-

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_NO" "CX_SY_REF_IS_INITIAL"

"CL_PROXY_INBOUND_ADAPTER======CP" or "CL_PROXY_INBOUND_ADAPTER======CM00I"

"SET_METHOD"

Can any one please tell me what the error could be .

regards

Nilesh Taunk

Accepted Solutions (0)

Answers (4)

Answers (4)

sumesh_k2
Participant
0 Kudos

hi,

can you please check if the proxy is in active status.

Former Member
0 Kudos

Hi Nilesh,

Did you get the payload from R3 Side ? what is the status of the message in ECC side [sxmb_moni at R3]

Thanks

Sudharshan

former_member859847
Active Contributor
0 Kudos

Hi,

You program raise an exception as''CX_SY_REF_IS_INITIAL'.

this is due to null value passing to the object.

i hope, u r using intialization event in the custom ABAP code.

please try to change it.

warm regards

mahesh.

former_member181928
Participant
0 Kudos

Hi

In my case it is a SRM scenario and I am using the standard SAP content. So I suppose there should not be any problem with the abap code .

Can anyone please suggest what could be the cause .

thanks

Nilesh

former_member181962
Active Contributor
0 Kudos

Hi Nilesh,

As the dump analysis clearly says, it might be a case of wrong ABAP code.

Can you post the code for the inbound proxy program?

Regards,

Ravi