The MicroHack relies on Sales Data, so you'll need an SAP System containing Sales Orders. From technical point of view, we extract Sales Data via a CDS View and via a oData service.
We recommend to use a ´SAP S/4HANA Fully-Activated Appliance´ image from SAP CAL.
The code for the CDS View to extract the Sales Order Headers can be found at ZBD_ISALESDOC_E CDS View. The code for this view needs to be imported into your SAP system. The oData Service used to extract the Sales Order Items is ´/sap/opu/odata/sap/sd_f1814_so_fs_srv/´, which is available in the "SAP S/4HANA Fully-Activated Appliance" image.
- logon to the Windows Virtual Machine using Remote Desktop and use the
Administrator
user with the master password entered during SAP CAL deployment.
- The default workspace is fine, press
Launch
- Switch to the HANA Development perspective :
Window > Perspective > Open Perspective > SAP HANA Development
- In the
Project Explorer
tab, Select theS4H100_S4H_EXT_EN
folder and logon with the proposed userS4H_EXT
Note : The password for the
S4H_EXT
user can be found on the chrome 'Welcome' page which is displayed when logging on via remote desktop or in the 'Getting started' guide in SAP CAL.
-
Create an new
Data Definition
-
Select
File > New > Other
-
In the wizard, search for
ABAP
>Core Data Services
>Data Definition
.
- Enter the name of CDS View, eg.
ZBD_ISalesDocument_E
- Enter the following code, see ZBD_ISalesDocument_E
- Activate the view
-
-
You can test the view by rightClikcing on the view and selecting
Open with > Data Preview
-
You can also test the view using the SAP Data Dictionary
- Logon via SAP Logon (SAP Gui is installed in the remote desktop environment)
- The S4Hana system is already predefined in the SAP Logon Pad : select and double click to logon
- In the logon screen, enter the SAP Credentials: Client: 100, UserId: S4H_Ext
-
Go to transaction
SE11 - SAP Datadictionary
-
using Menu :
- swith to the SAP Standard Menu
- Double Click
Data Dictionary
in the Menu tree
-
or directly enter the transaction shortcut
se11
and pressEnter
-
-
In the SAP Data Dictionary : Enter the view Name
ZBD_ISALESDOC_E
Note : the SAP DDIC view name is defined by the
@AbapCatalog.sqlViewName
in the Core Data Service Defintion- Select
Contents
to swith to theData Browser
- Press
Execute
ofF8
to see the contents
The Setup in the SAP System is now finished. You can now continue with the setup needed for the Payments : Payment Setup