Step 3 - Enable the oData services
To enable the oData service, complete the sub-steps described below.
1. Generate Runtime objects in transaction SEGW
1.1. Start SAP Gui transaction SEGW
1.2. Using the menu Project > Open - Open the project named ZNYPEFACEN.
1.3. Go to Change mode and choose function Generate (the system will prompt you for the transport, and you need to register your user as a developer)
1.4 In the same SAP Gui transaction SEGW
1.5 Using the menu Project > Open - Open the project named ZNYPEFAMAN.
1.6 Go to Change mode and choose function Generate
2. Add the Services to Service Catalog
2.1 Start SAP Gui transaction /n/IWFND/MAINT_SERVICE
2.2 Find entry with Service name: ZNYPEFACEN_SRV
If the entry is present, then move to 2.6, if not, please execute the following steps:
2.3 Click on the Add service button.
2.4 Provide System Alias: LOCAL and External Service Name as the ZNYPEFACEN_SRV.
2.5 Select the record with ZNYPEFACEN_SRV and click on the Add selected services button.
2.6 In the same SAP Gui transaction /n/IWFND/MAINT_SERVICE
2.7 Find the entry with Service name: ZNYPEFAMAN_SRV
If the entry is present, then move to sub Step 3 ("Add system alias to ICF node"), if not, please execute the following steps:
2.8 Click on the Add service button.
2.9 Provide System Alias: LOCAL and External Service Name as the ZNYPEFAMAN_SRV.
2.10 Select the record with ZNYPEFAMAN_SRV and click on the Add selected services button.
3. Add system alias to ICF node
3.1 In SAP Gui transaction /n/IWFND/MAINT_SERVICE, chose ZNYPEFACEN_SRV
3.2 If the ICF node is green and the alias is present, then steps for ZNYPEFACEN_SVR are completed, and you can move to point 3.5, if not, please execute the following steps:
3.3 Choose Add system alias, New entry and type "ZNYPEFACEN_SRV_0001" in Service Doc. Identifier and "LOCAL" in SAP System Alias mark Default System check-mark.
3.4 Click on ICF node button and from dropdown chose Activate
3.5 In the same SAP Gui transaction /n/IWFND/MAINT_SERVICE, chose ZNYPEFAMAN_SRV
3.6 If the ICF node is green and the alias is present, then the procedure is completed, if not, please execute the following steps:
3.7 Choose Add system alias, New entry and type "ZNYPEFAMAN_SRV_0001" in Service Doc. Identifier and "LOCAL" in SAP System Alias mark Default System check-mark.
3.8 Click on ICF node button and from dropdown chose Activate
3.9 Click on Load Metadata button