首页 > SAP > HANA > Using Search Helps in SAP Netweaver Gateway
2019
08-27

Using Search Helps in SAP Netweaver Gateway

Hello everyone, In this Netweaver Gateway tutorial we will learn how to expose search helps as OData service in SAP Netweaver Gateway.Search helps are very well used in SAP ECC system to provide input help(F4 help) to screen fields. So lets get started.

1.Supported System Version

SAP NetWeaver Gateway Release-采购向厂商下P/O之后,必须透过一定权限经由主管对此张P/O做 release后才能收料 2.0 Support Package 09 and Netweaver Version 7.40

2.Business Example

You have a Search Help exists in your ABAP system and you want use this search helps as data source to create OData service in SAP Netweaver Gateway system.

In this section, we will see a step-by-step guided procedure to import Search Helps as a Data Source in SAP Netweaver Gateway system.

1. Go to SAP Netweaver Gateway Service Builder – SEGW transaction.

2. Create a project in the service builder by hitting Create button in the application toolbar, name it as ZDEMO_SEARCH_HELP.

3. Once project is created in the builder expand the project. Right Click on Data Model → Import → Search Help.

4.Enter the Entity Name, Data Dictionary Search Help you want to use as Data Source.Select Create Default Entity Set check box to create entity set.Select Query and Read to create a automatic mapping for both these operations. Hit Next to go to next step.

5. Select the Data Source parameter that need to be imported and hit Next button.

6. Choose the key the field from the list of properties of entity name and hit Finish button.

7. Search Help parameters are imported and mapped successfully.

[adsenseyu1]

8. Save and generate the service.After generating the service register the service in /IWFND/MAINT_SERVICE transaction to make the service ready for testing.

9. Test the service in SAP Netweaver Gateway Client /IWFND/GW_CLIENT by providing the below URI /sap/opu/odata/sap/ZDEMO_SEARCH_HELP_SRV/HEpmPrSet.

You have successfully used Data Dictionary Search Help as data source and built the OData service in SAP Netweaver Gateway. There are some constraints on using the search helps in SAP Netweaver Gateway.

4.Know Constraints

Collective search helps are not supported. Only Elementary search helps are supported.
If the search helps a Search Help Exit, then this will be not executed.
Search Help data source can retrieve maximum of 9999 entries only.

Stay tuned to us for more SAP Netweaver Gateway tutorials.Please feel free to comment and let us know your feedback.

Thank you.

最后编辑:
作者:yangsen
本站为个人博客网站,全由我个人维护,我从事SAP开发13年,其它ERP开发7年,基本都是零售行业。本站记录工作学习的过程, 有SAP相关询问专、兼职工作可随时联系我。 有网站相关的问题可直接在文章下方留言,或者联系我。 邮件:yan252@163.com给我。 QQ:415402519

留下一个回复

你的email不会被公开。