Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Multiple Specification of the Name 'XXX' as a Component Name (Component Y)

$
0
0

I have the following ST22 short-dump:

 

"UNCAUGHT_EXCEPTION" "CX_SY_STRUCT_COMP_NAME"

"CL_ABAP_STRUCTDESCR===========CP" or "CL_ABAP_STRUCTDESCR===========CM00E"

"CHECK_COMPONENT_TABLE"

 

Multiple Specification of the Name 'ACTION' as a Component Name (Component 3)

 

 

Background:

I have a Gateway service, built in SEGW, with a number of entities.

None of the syntax rules are broken in my service.

I am able to do READ, QUERY on ALL entities.

I am able to perform $expand on a number of entities, with no errors.

 

Issue:

On two of my $expand URL I get back an error: "RFC Error: An exception occurred that was not caught."

In the backend I see the issue details, one example is shown below:

1.PNG

 

The ABAP filed name EMPLOYEE_D is being highlighted as the issue... EMPLOYEE_D only occurs once in the model of my service:

 

2.PNG

I have not implemented any manual change in the MPC_EXT for this gateway service.

 

 

I have tried setting a breakpoint in class CL_ABAP_STRUCTDESCR method CHECK_COMPONENT_TABLE but it is never hit, even though this is where the short-dump is being triggered from...

3.PNG

 

 

 

I have attempted renaming the ABAP field name in the backend dictionary structure.. but this has no effect (or appears to have none).

 

I found a few posts about this before, but cannot see any answers:

Multiple Specification of the Name 'ATR_0003' as a Component Name (Component 2)

Multiple Specification of the Name 'ADDRNO' as a Component Name (Component 2)

 

I need to be able to perform this $expand on these entities, but cannot see a way around it....

 

Any advice will be rewarded Please help!

 

 

FYI this is my system component info, the bits which I think are relevant... like IW_BEP...

4.PNG


Viewing all articles
Browse latest Browse all 1657

Trending Articles



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