02-19-2024 8:40 AM - edited 02-20-2024 6:35 AM
Hello SAP Gurus,
My query is exactly same as the below one,
But since there is no answer for this, am creating a post again.
We have added Standard PO Item field BEDNR to the CDS EntitySet responsible for Item details in /sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder
We are successfully able to use this newly added field for Data Fetch that is GET calls but during POST its not getting updated at the Table level.
@AbapCatalog.internal.setChange: 'FLDADD_NO_ASS_INFLUENCE'
@AbapCatalog.sqlViewAppendName: 'ZS_PO_API_EXT'
@EndUserText.label: 'Purchase Order API Extension'
extend view A_PurchaseOrderItem with Z_PO_API_EXT
{
R_PurchaseOrderItem.RequirementTracking
}
Helpful pointers much appreciated on understanding where we could be missing on this.
Thanks,
Sijin
I suppose you have to redefine PATCH method of class CL_API_PURCHASEORDER_P_DPC_EXT implementing the modify code for new field.
More details Extending an OData Service Using Service Builder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.