I'm trying to create ac# that application does a simple insert into a newly created sap table.
After a little bit of research I found out that I have two options:
@OData.publish: true
and CRUD operationsSAP .NET Connector 3.0
.Personally I think that the CDS view is much cleaner but I'm not getting the "create" operation to work. I found out that the cud operations are disabled on ABAP 7.50.
What do you think?
Thanks, Thomas
There are more options. Use transaction SICF
to create a REST endpoint. POST it data in JSON format. Use the ID
XML transformation to map the data to an internal table with the same format as the database table in question. Use MODIFY
or INSERT
followed by COMMIT WORK
to save the data.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.