cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Solution to automatically update CDC schema field

manishekhar
Explorer
0 Kudos
150

Hello,

Is there a possibility to automatically sync 2 fields in CDC schema , between a standard field and a custom data field.

Thanks, Mani

 

Accepted Solutions (0)

Answers (1)

Answers (1)

KunalBansal
SAP Champion
SAP Champion
0 Kudos

Hello @manishekhar,
There are 2 scenarios and solutions for your query:-

1. When using the CDC Screensets (client call)
Solution: 2 ways you can try

  • Add a JavaScript code in the screenset to update the custom field value from the original value during submit, or
  • Schedule a dataflow on a frequency and copy the original-field value to custom-field.

2. When using the CDC APIs (server-side call)
Solution: In this case, you can pass the same value in the paylod to custome-field as of original-field.

Feel free to reply back for further queries. If it helped, mark thread as accepted solution.

Thanks & Regards,
Kunal Bansal, SAP CX SME
https://www.linkedin.com/in/thekunalbansal