on 02-01-2016 12:36 AM
Hi Experts,
I changed the length of one field from 48 to unlimited in my Data Type, and my Service Interface using the Data Type. Also a ABAP proxy is generated based on the Service Interface. Does changing the filed length affect the Proxy? should I regenerate the Proxy?
Thank you in advance!
Blue
Hi Blue
.
Yes,Again you need to regenerate ABAP proxy to reflect the changes in proxy code by Right click on Service Interface.
Regards
Umesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Blue,
When the field length was 44 in the data type, the generated proxy object in ABAP side also contains the maximum length with 44 characters. Example like below.
When you change the length to unlimited, if you generate the proxy then the generated proxy object does not contain any max length it will be same unlimited like PI data type.
So you must regenerate the proxy after the changing the length in PI.
If you don't regenerate the proxy and if you try to send the data with more than 48 characters from ECC then you will get transformation error like below.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Blue,
Interface using the Data Type. Also a ABAP proxy is generated based on the Service Interface. Does changing the filed length affect the Proxy? should I regenerate the Proxy?
Yes, it will affect the proxy. The proxy can be regenerated in sproxy, just right-click the service interface and then select regenerate proxy.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.