Skip to Content

SAP C4C How to extend object with a RegionCode Element

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 09, 2017 at 03:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 15, 2017 at 05:23 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded