2024 Sep 27 5:31 PM - edited 2024 Sep 27 6:18 PM
Hi Community Members,
I am working on a requirement to extend API_PRODUCT_SRV (on-Prem) with few missing standard MARA & MARC fields (Not the Z-FIelds) listed below.
Field Name | Reference Table |
RMATP_PB | MARA |
PROD_SHAPE | MARA |
MO_PROFILE_ID | MARA |
OVERHANG_TRESH | MARA |
SCM_HEUR_ID | MARC |
SCM_MATURITY_DUR | MARA |
SCM_SHLF_LFE_REQ_MAX | MARA |
USEQU | MARC |
SHFLG | MARC |
I extended associated CDS entities like A_PRODUCT, A_ProductPlant etc with the respective fields from MARA & MARC and able to get the fields in Payload.
GET call works fine for these newly added fields however, CREATE & UPDATE operation is not working and these fields are not updated in the table. Also, I could not find any BADI to map these fields during create/Update.
Really appreciate any suggestions on this issue. Thanks in advance.
Pradeep
ABAP Extensibility API OData SAP Gateway
__PRESENT
Request clarification before answering.
For CREATE and UPDATE operations, ensure that your extended fields are correctly mapped to the underlying data model using the appropriate BAPIs or enhancement spots for the product entity. If no BADI is found, consider using an enhancement implementation in the relevant service definition to handle the mapping of the new fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
34 | |
21 | |
14 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.