Extending the Code

Prerequisites

In order to extend the code in this sample, you will need to install the Eclipse IDE with ABAP Development Tools.

Procedure

  1. In the Eclipse IDE, select File > New > ABAP Cloud Project.

  2. Enter the URL of your S/4HANA Public Cloud Development instance and click Next. You will be asked to log on to your S/4HANA instance.

  3. Enter a Project Name and click Finish.

  4. Expand the ZPARTNER package. The sample code is in the ZSEAGULL_LABEL_PRINT package.

  5. See the ZCL_BARTENDER_API_CALL class for sample code to submit a Print request to the BarTender Cloud REST API.

  6. The sample code retrieves connection information from the ZR_SEAGULL_CRED view. The information in this view can be managed from within the SAP UI.