cancel
Showing results for 
Search instead for 
Did you mean: 

Modify a generated proxy data type

Hi!

we are consuming a web proxy from ECC ABAP stack (without PI) via a generated proxy. The problem is that one of the data types, which is used in an operation I would like to use is declared as abstract and ABAP as far as I understand doesn't support abstract types, resulting in an empty structure having been generated for this type.

My idea was to change this structure manually, but whenever I try to do so, I'm getting the message that this is a generated type. The long text refers me to the transaction SPROXY. I was able to find the object type in then tree structure, but I'm unsure what to do next. I have different views: "Properties", "External View", "Internal View" and "Objects", but I wasn't able so far to modify the definition. Can someone please advise me or refer me to something like a manual?

Thanks a lot!

Alexander.

matt
Active Contributor
0 Kudos

I do not understand what you mean by "one of the data types, which is used in an operation I would like to use is declared as abstract" nor "ABAP as far as I understand doesn't support abstract type"

Maybe some screen shots, or a description of what you actually see?

0 Kudos

Hi Matthew,

of course I can include some screenshots.

The data type CF_BaseValue is declared as abstract in WSDL:

The corresponding structure in the ABAP dictionary is empty except for the control flag:

I cannot modify the structure in SE11, because it was generated. I found the structure in SPROXY:

Unfortunately, I don't know how to change it anyway. If switch to the change mode, the only thing I apparently can modify is the description.

Can you advise me on how to proceed?

Thanks,

Alexander.

matt
Active Contributor

I can't see you screenshots... 😞

But I understand what you mean. In your WSDL you've got something like:

<xs:complexType name="CF_BaseValue" abstract="true">...

Now you want to edit the proxy. Hmm. I need to check something, but I won't have access until tomorrow.

0 Kudos

This is exactly my problem. Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

matt
Active Contributor
0 Kudos

If you display the structure in SE11, is there a Proxy Editor button? Does that help?

0 Kudos

Yes, there is a proxy button, but if I click on it, I'm being redirected to a view identical to what I have in SPROXY, where I can only modify the description and that's it. So it doesn't help, unfortunately.

I now think of two possibilities:

1. Copy a WSDL definition to a file, modify it manually and create a new proxy from it instead of the URL as I have done before.

2. I can apparently create a datatype enhancement from SE80/SPROXY. I'm not quite sure what it is, but it sounds right. However, I'm unsure about how to proceed. In the next step I have to select the source and have a choice between "Backend" and "ESR". If I choose "ESR", I don't see my namespace in the list, so I have to go for "Backend", but I cannot find my object in the next step either.

What do you think? Is (1) the only possibility?

matt
Active Contributor
0 Kudos

I vaguely remember editing a type once. But I can't find any evidence of it!

Option 1 seems to be only option, I think.