cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert a record in custom business object from custom logic

SAPSupport
Employee
Employee

Hello Team,

I have a query on how to insert a record into one custom business object from custom logic of another custom business object.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.
View Entire Topic
SAPSupport
Employee
Employee
0 Kudos

Hello Anuradha Rao,

I think this tutorial will help you in calling and updating CBO from your custom logic:

https://developers.sap.com/tutorials/abap-extensibility-cbo-execute-outbound-service.html

Also there is a code sample of writing from one CBO to another (which may be what you're trying to do):

https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/5769d4c3e91546199c3980a5...

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos