Skip to Content
0

SAP C4C How to extend object with a RegionCode Element

Apr 25, 2017 at 04:07 PM

134

avatar image

Hi,

We are trying to extend the CustomerQuote object (for SalesOrder) with a custom Country and Region (state) fields.

However, the element definition with data type RegionCode is not accepted.

Is there any way to extend an object and add a field of type Region/State but still get an input help (as opposed to using a string and getting a free text field)?

Thank you very much.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Danny Lipkovski May 09, 2017 at 03:06 PM
0

Hi Tiago,

we had just the same requirement in extending opportunity.
We raised an incident and got following answer from SAP:

Thank you for your information.

This is standard behaviour, you cannot use that type using listID data type. Only flat data types are supported.This is expected.

Thank you for your cooperation and consideration.

Seems that this wont work.
Our current approach is to create own business object. But then we have the problem that changes to Regions have to be maintained in finetuning and in our custom BO, too.

Regards


Danny

Share
10 |10000 characters needed characters left characters exceeded
Tiago Almeida May 15, 2017 at 05:23 PM
0

Hey Danny,

Thanks for the update. It is a limitation of C4C it seems.

We went with the same approach, a new object with a new Embedded component screen. On this object we were able to use the Region data type and get the corresponding input help on the screen. The user interacts with this field. Behind the scenes, on Save the value of it is copied to the original object (in this case the CustomerQuote(SalesOrder)). Not elegant but works.

Share
10 |10000 characters needed characters left characters exceeded