hello and welcome to the SAP HANA academy my name is Tom in the series of
videos we were covering SAP S/4HANA in this series we are showing you how to
extend SAP S/4HANA with external data in this specific video we will show you how to
create a S4 user an ABAP project and sample data An important note about
this series is that this video set shows certain features in the SAP HANA
database which may require specific licenses even if we are using SAP S/4
HANA if you do not have some of these features such as SAP HANA Smart Data
Access Smart Data Integration creating a virtual table in SAP HANA or
creating a calculation viewing in SAP HANA then please contact your account
executive or partner manager to get those licenses in the last video we
created a SAP HANA calculation view that will later be consumed in an ABAP
external view in the next videos we will be switching towards developing a
virtual data model in the ABAP perspective in eclipse and so we'd like
to create a user that will be used in development process later on we'll also
be using the SAP S/4HANA launchpad which you see here so we'll need to
assign that new user the rights to create an access groups and catalogs in
the launchpad designer and KPI models in the launchpad we're going to use the GUI
embedded in Eclipse and not the SAP desktop application to do the
following tasks one create our new user two create an ABAP development project
for the new user and three create sample data for the sflight database that
will be used later in ABAP CDS in order to do these tasks we need to be on
the ABAP perspective in Eclipse if you're not on this perspective by
default then please go to window then perspective then open perspective choose
other and then ABAP will show how to make a new project later on after we
create a new user the BPinst user is the main user for the trial system and you
can find out more about it by going to the getting started guide
you’ve hopefully downloaded when you created your image we don't want to use
that particular BPinst user as it has too many rights and privileges assigned so
we want to create a user that is less robust there is another reason for doing
this as well the BPinst user has all of the S/4HANA business roles associated
with it that means when the BPinst user logon to the SAP S/4HANA launchpad
which contains all of the business applications every single business suite
tile is going to load which in turn can call an OData web service to retrieve
data for many of those tiles this can be a big performance drain that we'd like
to avoid to start click on the BPinst project so that you are prompted to log
on if you haven't done this yet on your trial system the default password for
that user is Welcome1 with a capital W now go to the navigate menu and choose
open SAP GUI a dialog will ask you which open project this should be
associated with and that should be the BPinst user project at this point if you
do not see this screen and instead you have one or more errors in Eclipse then
you will want to update the SAP tools in Eclipse if you need to update the
tools then first go to the window menu then preferences then update install and
ensure that only SAP update site is selected then go to the help menu and
choose check for updates and install any SAP toolset updates that are found
back in the embedded SAP GUI for the transaction enter SU01 for user
maintenance and press enter enter a desired username and then press the
create icon or the f8 key a last name must be entered in the address tab a
password must be entered in the log on data tab note that when the new user
logs in for the first time they need to change the password again so use
something simple like Password1 this time in the profiles tab we want to
assign several administrative profiles so type in sap_all and
sap_new and a new line and then press Enter these two profiles will
obviously give our new user more rights than required but this is for a demo
system using a demo scenario where we are not going to assign very granular
rights please do consult the online help for SAP S/4HANA should you want to find
more information about profiles in a SAP S/4HANA system now go to the roles tab
where we're going to add a couple of technical rules as well as some example
business rules click on a line under role and then press the icon to add a
new role we'll add some roles starting with sap_br so type in
sap_br* and then press enter the first role add in alphabetical
order is sap_br_ analytics_specialist which
will give us some rights to create KPIs the second role is a business role and
that is sap_br_buyer by adding this role we’ll see a
bunch of tiles for the strategic buyer show up in our SAP S/4HANA launchpad
we won't be using this particular role for anything so it's just to
illustrate how adding one of these underscore BR roles will add objects to
the launchpad the last role we need to select from this list is sap_
br_employee which will add the query browser tool to our
launchpad as well as a couple of other things press the check box icon to add
these to our list of roles if you want to see which each of these roles do you
can double click on one of them like the analytics role and then press the menu
tab to see what is included in the role double clicking on any of these nodes
will of course show you more details going back to adding more roles we have
a few more to add click on the first blank line and then once again to add a new
role then go to the composite role tab and this time do a search on sap_
ui2* we're going to select the sap_ui2_
admin which is a composite role that will allow us to create things like
catalogs and groups in the SAP S/4HANA launchpad later which will look at
later on in the series note that after we add that composite role we have a
bunch of UI admin roles added we need to add one more custom rule and please
note that this particular role and other roles for that matter may have a
different name from version to version of the SAP S/4HANA trial again we're
using a 1610 version for this particular video we want to add a role that adds
the local development objects on the 16 10 system to our launch pad and that
role will start with z_r* in the case of our version we want
to add the Z_RDS_ ROLE and afterwards you can see
that this role gives us access to a local development catalog and group our
new user can now be saved now that we've created a new SAP S/4HANA user for
this workshop our next step is to create a new ABAP development project for
our new user one easy way to create a new project is to right-click on the
existing BPinst users project and choose duplicate then choose next and fill in
the details for our new user however we're going to do this manually just to
see the manual steps involved should you wish to apply this process on an
additional machine where you don't have the option to duplicate an existing
project right-click in the white space in the Project Explorer and choose new
ABAP project and then click on new system connection to define the
connection manually if you're using the SAP S/4HANA trial the system name is
available back in the cloud appliance library by opening up your CAL instance
and clicking on connect the SAP S/4HANA ABAP system instance number is also
there the S4 application server name we can get from our window host file which
is located in c/windows/system32/ driver/etc folder and is the entry
with the name containing s4h we're not going to
activate secured network communication for our trial system and when we press
finish or next will be prompted to enter our new password and after that we now
have a new ABAP project created for our new development user the final task in
this video is to create the sample SAP S/4HANA data that we’ll use for this
project this will be on the sflight database which will be familiar for many
who have used earlier versions of SAP the sflight data will be the
internal SAP S/4HANA data that will later combined with our external data in
order to create the sample data on the image we need to go back to our embedded
SAP GUI in the Eclipse and then run transaction SC38 to open the ABAP
editor in SC38 will want to run the SAPBC_DATA_
GENERATOR program which will first delete any data in the sflight database
if applicable and then generate new data we'll just use the default standard data
record option and this application will complete in a couple of minutes we've
now completed our project user tasks which included creating a new
development user for our SAP S/4HANA system assigning the rights necessary for our
extending with external data project and then generating sample data in our
SAP S/4HANA system