on 2022 Nov 25 4:35 PM
Hi guys,
during enhancement of the ewm fiori app "change inbound delivery" i recognized that the OData services for EWM apps are not programmed as explained in many tutorials . Either there is a kind of own framework for EWM OData services. For example SEGW project "/SCWM/SIMPLE_INB_DLV".
The difference
The data provider class for the inbound service is /SCWM/CL_SIM_IDLV_DPC_EXT. The generated methods for the CRUD operations of the entity were generated but not redefined.
Instead of using these methods as explained in tutorials, the general CRUD Methods where redefined.
Inside the methods sap is using a factory pattern based on system table: /scwm/i_sim_ac.
In addition there several classes/interfaces for handling the ewm specific request. It seems to be SAP created framework for EWM OData Services.
Question:
Does anyone know a kind of how to guide or best practise example from SAP how to enhance these odata services in combination with the framework ? I really would like to add entries to these table, but it's a systemtable so im not sure if its the correct way.
In my example I redefined the service/segw project and redefined the generic create_entity method to add custom code for specific entity.
To keep sure that the request for other entitys are still working the method of the super class is called.
But due to the new service name (ZEWM...) no entry in the /SCWM/I_SIM_AC class is found.
To solve this problem we redefined the init method of the DPC_EXT class, and fake the service name an namespace .
I can not believe that's the way sap suggest to extend EWM fiori apps.
Anyone can help or handle with the same problems ?
Thanks.
Request clarification before answering.
I'm not sure if it's the same app but I went to SAP Fiori Apps library, searched there by name for "change inbound delivery" and found what looks like an EWM app: https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1706')/S24OP
There is an Extensibility section and it has a link to "extensibility documentation", which opens a page in SAP Help that plain says "You cannot extend the Change Inbound Deliveries - Deliveries app". So I'm guessing the answer is: ¯\_(ツ)_/¯
Sorry!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.