Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Fischer
Product and Topic Expert
Product and Topic Expert

A new feature in SP6 that most of you are probably not aware of is a set of test cases that are shipped with SAP NetWeaver Gateway.

More information can be found in the SAP Online Help.

Please be sure that

  1. you have generated the flight sample data using the report SAPBC_DATA_GENERATOR as described in  Setting Up the Flight Data Application (SAP Library - Flight Data Application – Demo Example for ...
  2. you have activated the services RMTSAMPLEFLIGHT and TEA_TEST_APPLICATION using transaction /IWFND/MAINT_SERVICE

These test cases can be created in the the test group CORE_SAMPLES from within the Gateway client.

The currently 75 test cases span from showing how to use $batch, $filter and other query parameters such as $skip, $top and so on.

Of special interest might be that several request are contained that show how to call services using $batch which requires the consumer to carefully build an http request that fits to the OData standard.

You can generate the test cases as follows:

  1. Start the Gateway client using transaction /IWFND/GW_CLIENT
  2. Choose Select as if you were to select an existing test case from the database, choose Select
  3. From the menu choose Gateway Client (1) and then Create Core Samples (2)
  4. This will create a list of currently 75 test cases:
  5. By selecting one of the entries you open the Gateway Client like shown in the following with a $batch request.

5 Comments