SAP C4C - Create Custom Field

This article shows how to create a custom field which contains Customer ID from a Pricefx partition. This field can then be used for customer lookups in SAP C4C.

Example of a custom field with a value:

image-20210422-092409.png

Steps:

  1. Log into SAP Cloud Application Studio.

  2. Select solution where you want to add a new field (in our case Account).

    image-20210422-092615.png


  3. Right click the top node and select Add > New Item.

    image-20210422-092910.png


  4. Select Business Object Extension.

    image-20210422-093240.png


  5. Select a space in which you want to have your field.

    image-20210422-093432.png


  6. Define your field (PFXCustomerId in our case).

    image-20210422-093734.png


  7. When done, right click the object and select Activate.

    image-20210422-093850.png


  8. Go to C4C and navigate to the intended location, enter Adaptation mode (our case, Accounts section).

    image-20210422-094459.png


  9. Select form where the field needs to be added (Account details in our case).

    image-20210422-094825.png


  10. Drill down your field.

    image-20210422-111740.png


  11. Make the field visible.

    image-20210422-111954.png


  12. The field is added to the page.

    image-20210422-112239.png


info For details how to make this field accessible via OData see SAP C4C - Make Custom Field Accessible via OData.