cancel
Showing results for 
Search instead for 
Did you mean: 

Modify field Valid Period-End Date of Business Employee

jarenass01
Explorer
0 Kudos
425

hi expert,

I need modify the field Valid Period-End Date when the business user is created.


in this moment i have a problem because the field not is allow for modification.

thanks in advance.

View Entire Topic
former_member226
Employee
Employee
0 Kudos

Hi,

If a field is marked as ReadOnly in Repository Explorer then it cannot be updated via SDK.

However, I see that field can still be updated via OData using the following endpoint and payload with HTTP PATCH method:

https://my30XXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/EmployeeCollection('00163E1851711ED6AB912872BEC66BE2')

{
    "EmployeeValidityEndDate":"2021-12-31T00:00:00"
}

Hence my recommendation is to call C4C odata from SDK using external web service integration and update the business user or employee details.

BR

0 Kudos

Hi Expert Saurabh Kabra,

I used this solution. Now I need to know if I can transport to production tenan the configuration system and communication arrangements done in the cloud.

I also need to know if a hide field with KUT is posible transport.

thanks in advance

former_member226
Employee
Employee
0 Kudos

Hello,

Field property-based changes can be transported using the transport management feature of SAP Cloud for Customer. To see how it works please check https://help.sap.com/viewer/5d3ae4aa1f174b2cb6ec625c93ef8884/CLOUD/en-US/901fd140-fdae-4f19-9b1b-000... .

However, changes related to communication system and arrangement needs to be reconfigured in PROD becasue endpoints for production and test system will be different.