Quantcast
Channel: SAP FREE Tutorials
Viewing all 211 articles
Browse latest View live

How to identify technical name for S/4 HANA Fiori App

$
0
0

Dear SAPLearners, in this S/4 HANA technical tutorial we will show you how to identify technical name for a S/4 HANA fiori app.

Fiori Apps Library

A single point to explore, implement SAP Fiori in S/4 HANA system

Fiori for S/4 HANA

First of all, if a technical support person need to find implementation and configuration documentation of a standard fiori app, he need to search by app name in fiori apps library.

The search results most likely will be more than 1 and he needs to spend some extra time to find the correct app name.To expedite and help technical person to troubleshoot fiori app from SAP S/4HANA 1709 there is a new feature and here comes the About icon.

“About” icon in SAP Fiori 2.0 Me Area

From S/4 HANA 1709, a new button added to the Me Area called About.A technical help dialog will open when you click on About icon.

Lets see how we can use this feature to identify a technical name of a fiori app or troubleshooting fiori apps.

Identify technical name of a Fiori App

1. In fiori launchpad, navigate to a specific app. for example below you can see Manage Customer Line Items. Press user icon to go to Me Area in SAP Fiori 2.0

2. Now press About icon in Me Area.3. A technical dialog appears like below which contains Technical Name, Version, SAPUI5 version, User Agent and App ID.4. Now use technical name or App ID to search in Fiori Apps Library.Hurray!! now you have what you are looking for. You can even use App ID as well. This feature is also applicable for other application types like WebDynpro, Transaction.

Congrats.! you have successfully learned how identify a technical name of a fiori app in S/4 HANA 1709 system. You can even use this feature for troubleshooting fiori apps.

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

The post How to identify technical name for S/4 HANA Fiori App appeared first on SAP Fiori,SAP HANA,SAPUI5,SAP OData Tutorials,ABAP Interview Questions|SAP Learners.


How to configure web dynpro applications in Fiori Launchpad

$
0
0

Dear SAPLearners, in this S4HANA technical tutorial, you will learn the steps to configure web dynpro applications in SAP Fiori Launchpad.

What is SAP Fiori Launchpad?

SAP Fiori launchpad is the entry point to SAP Fiori apps on mobile and desktop devices.

First of all, fiori apps you see in SAP Fiori Launchpad will be of different types like native fiori, transaction and webdynpro apps.

Also Read: How to configure a transaction code in sap fiori launchpad

To configure fiori launchpad, SAP Fiori Launchpad Designer tool is used. Use /UI2/FLPD_CUST (or) /UI2/FLPD_CONF transaction code to open fiori launchpad designer tool.

What is Fiori Launchpad Designer?

The launchpad designer is standard tool

  • Creating technical catalogs and groups.
  • Configure app launcher tiles.

Lets start with steps on how to configure webdynpro applications in fiori launchpad as a tile.To demonstrate the process, in this example i will be using a demo web dynpro application WDR_TEST_EVENTS.

Step-by-Step Procedure

1. Launch Fiori Launchpad Designer(FLPD). Copy the below direct URL in a browser, replace server and port.

http://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-client=100&sap-language=EN&scope=CUST

2. Create a catalog or you can use an existing catalog. In this tutorial i will skip the creation process, to know the process i have provided the link below.

Also Read: How to create a Catalog in SAP Fiori Launchpad Designer

3. Click on Create Target Mapping, a new screen will be open like below. Provide the Semantic Object, Action and provide the following parameters. Hit Save to save the target mapping.

Parameter Description
Title Title of the application
Application ID of the Web Dynpro application
Configuration ID of the Web Dynpro application configuration
System Alias Alias of the target system

4. After creating target mapping, create a new static tile with Semantic Object and Action provided in the above step. For example like below.

5. Create a group or you can use an existing group. In this tutorial i will skip the creation process. Once group is created, add a new tile from the catalog created/used in step-2.

6. After successful configuration of the tile, add the catalog, group to a PFCG role and assign to the user if you have not already done it.

7. Now launch the SAP Fiori Launchpad using the direct URL (or) transaction code /UI2/FLP.

8. The configured web dynpro tile will be available and click to launch the web dynrpo application. The web dynpro application will be opened in a new browser tab.

Congrats..! you have learned how to configure web dynpro applications in SAP Fiori launchpad.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

If you liked it, please share it! Thanks!

Also Read: How to configure a SAP transaction code as tile in Fiori Launchpad

S/4 HANA Fiori Technical Tutorials

How to identify technical name of fiori  app in S/4 HANA system

The post How to configure web dynpro applications in Fiori Launchpad appeared first on SAP Fiori,SAP HANA,SAPUI5,SAP OData Tutorials,ABAP Interview Questions|SAP Learners.

How to launch web dynpro applications in same browser tab

$
0
0

Dear SAPLearners, in this S4HANA technical tutorial, you will learn how to launch web dynpro applications in same browser tab.

In S4 HANA system, there are different types of apps available as tiles in SAP Fiori Launchpad. Web dynpro applications is one among them.

Also Read: How to configure Web Dynpro Applications in SAP Fiori Launchpad

When you configure a web dynpro application with default settings. Web dynpro applications will continue to open in a new browser tab and this is the default behavior with previous releases until S/4 HANA 1709 FPS01.

From S/4 HANA 1709 release, you can launch web dynpro applications in same browser tab.

To activate this feature we need to configure a parameter in Target Mappings of Fiori Launchpad. The fiori launchpad parameter is configured using Shell-plugin.

Lets see the steps to configure the parameter in launchpad.

Step-by-Step Procedure

1. Launch SAP Fiori Launchpad Designer(FLPD).

2. Choose a custom catalog from the list. If custom catalog is not available create one.

3. Click on Create Target Mapping to create a new target mapping. A target mapping configuration page is displayed.

4. Provide the below configuration as follows:

Parameter Value
Semantic Object Shell
This value needs to be written exactly like this.
Action bootConfig
This value needs to be written exactly like this.
Application Type SAPUI5 Fiori App
Title Enter a title.
URL Leave this field empty.
ID Enter an ID, for example Z_FLP_CONFIG.
Parameters In the Name column, enter the parameter “services/ClientSideTargetResolution/config/enableInPlaceForClassicUIs/WDA”
In the Default Value column, enter true

5. Click on Save to save the target mapping.

6. Add the custom catalog in PFCG role and assign the role to the users.

7. Finally configuration is completed. Now launch SAP Fiori Launchpad and test the tile, you should notice that web dynpro application will open in same browser tab.

Congrats..! you have successfully learned how to launch web dynpro applications in same browser tab.

Other S/4 HANA blogs

How to identify technical name for fiori app in S/4 HANA system

How to configure SAP transaction code as a tile in S/4 HANA system

Please feel free to comment and let us know your feedback. Subscribe for more updates.

If you liked it, please share it! Thanks!

The post How to launch web dynpro applications in same browser tab appeared first on SAP Fiori,SAP HANA,SAPUI5,SAP OData Tutorials,ABAP Interview Questions|SAP Learners.

4 Different ways to create OData Services

$
0
0

Dear SAPLearners, in this blog post i will discuss about different ways to create and model an OData service in SEGW(Gateway Builder) and Eclipse ABAP Development Tools.

SEGW(Gateway Builder) Tool

There are 3 different approaches to create and model an OData service in gateway builder(SEGW). They are

1. ABAP code-based implementation

This is most used approach in creating OData services. In this approach we define the model and write the business data retrieval logic in run-time generated artifact DPC_EXT class.

Also Read: How to create OData Service using code-based implementation.

Before discussing the other approaches i would like to introduce you to the SADL (Service Adaptation Description Language), as the other 2 approaches depend on this framework.

Service Adaptation Description Language(SADL)

SADL is an ABAP technology that enables the consumption of entity relationship-like ABAP data models in various scenarios with a common development experience based on a model-driven approach.  – SAP definition

SADL model is a data model like CDS views, DDIC tables (or) views and BOPF.

In short, SADL framework allows us to create OData service based on a model-driven approach using ABAP CDS Views.

Now, lets continue with other approaches

2. Mapping Editor

In SEGW gateway builder, you can map an ABAP CDS Views as a data source to the entity type properties.

Also Read: How to create OData Service in SEGW Using the Mapping Editor

With this approach, the business logic is available in ABAP CDS View. The SADL framework provides a standard, optimized implementation of the OData service to retrieve data.

You can map as many as ABAP CDS views in a single SEGW OData service.

3. Referenced Data Source

In SEGW gateway builder, you can reference an ABAP CDS Views as a data source. Each entity type in OData service model corresponds to 1 ABAP CDS view.

Also Read: How to create OData Service based on Referenced Data Sources

Along with these 3 approaches we have another approach, that is using annotation in ABAP CDS views.

ABAP Development Tools(Eclipse-based IDE)

4. Using Annotation

In this approach we can create OData service directly on ABAP CDS View in Eclipse ABAP Development Tools using annotation @OData.publish: true

Also Read: How to create OData service on ABAP CDS view using Annotation

Now we know 4 different ways to create OData service and different tools cover different use cases. Below is the table which compares different approaches.

Comparing Different Approaches

Congrats.! you have successfully learned 4 different ways to create OData Service using SEGW and ABAP Development Tool.

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

Also Read Other Tutorials

OData Tutorials

ABAP CDS View Tutorials

The post 4 Different ways to create OData Services appeared first on SAP Fiori,SAP HANA,SAPUI5,SAP OData Tutorials,ABAP Interview Questions|SAP Learners.

How to setup Notifications in SAP Fiori 2.0 [Part1]

$
0
0

Dear SAPLearners, in this blog post we will learn how to setup notifications in SAP Fiori 2.0 Launchpad.

Introduction

Notifications are effective way to make users aware of situations that require their timely action or attention. For example in workflow scenario, such as approval of purchase orders etc..

All notifications are displayed in Notification Center. It can be enabled per user in the SAP Fiori Launchpad. Each notification can offer quick actions and are able to start a suitable app showing the details for the notification topic.

To set-up notifications in Fiori 2.0, configuration steps need to be performed both in Front-end(Gateway) server and Back-end server(S/4 HANA)

Step-by-Step Configuration Steps

Below are the configuration steps on the front-end system(Gateway)

  • Activate ICF service for OData V4 ( /sap/opu/odata4 )
  • Publish Service Group ( /IWNGW/NOTIFICATION )
  • Activate ICF service for Push Channels( /sap/bc/apc/iwngw/notification_push_apc )
  • Maintain and Activate Push Channels ( SAP_WEBSOCKET )
  • Enable notifications via catalog ( /UI2/CONFIG_NOTIFICATION )

Lets get started.

Log-on to front-end system and proceed with below steps

1. Go to SICF transaction and provide the service path /sap/opu/odata4

2. Right-click on the ICF node to active the service.

3. Go to transaction /IWFND/V4_ADMIN.Add publish service group /IWNGW/NOTIFICATION with system alias LOCAL.

Note: Add “/n” in-front of the transaction while accessing the transaction code.

To add a publish service group, hit “Publish Service Groups” button in the application bar.

4. Notifications are built on ABAP Push Channel(APC) framework. To enable underlying APC websocket protocol, activate the ICF service /sap/bc/apc/iwngw/notification_push_apc using transaction SICF(similar to step-1)

5. Launch transaction SPRO and navigate to below path

6. Maintain and activate the push channel ID SAP_WEBSOCKET like below.

Finally its time to enable the notification center to the user.

SAP provided a predefined catalog: /UI2/CONFIG_NOTIFICATION which contains the target mapping to enable notifications in SAP Fiori Launchpad.

7. Add the catalog to a PFCG role and assign the role to the user.

After all these configurations steps, notification button will appear like below in SAP Fiori Launchpad.

Congrats!! you have successfully performed the configurations steps in front-end server.

In our next blog we will continue the configuration steps in back-end server.

Here are the links for both configuration steps both in front-end and back-end systems.

http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part1/
http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part2/

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

How to setup notifications in SAP Fiori 2.0 [Part2]

$
0
0

Dear SAPLearners, in this blog post you will learn how to setup notifications in SAP Fiori 2.0

This is 2 part blog series, in the first part we have performed the necessary configuration steps in front-end system.

In this blog post we will perform the configuration steps in backend-system(S/4 HANA) or a Notification Provider system.

Please find the link to first part here.
http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part1/

Lets get started

Below is the list of steps required in backend system to configure notifications.

  • Provide Backend System Alias
  • Provide RFC destination to frontend system(gateway)
  • Create bgRFC destination IWNGW_BGRFC
  • Register bgRFC Inbound destination IWNGW_BEP_OUT_BGRFC
  • Register Notification Providers
  • Activate Notification Providers

Now lets deep dive into each of these configuration step

Provide Backend System Alias

1. Logon to your backend system. After login, run transaction code /IWNGW/BEP_SET_ALIAS

2. Enter the system alias which points to the backend system and click on execute. The system alias is created in Hub system. If you are in Embedded deployment scenario, enter “LOCAL”. After entering hit execute.

After executing, you should see the screen like below

Provide RFC destination to frontend system

3. Run transaction /IWNGW/BEP_SET_HUB_D.

4. Enter system alias that points to frontend system. If you are in Embedded deployment scenario , enter “NONE”. After entering, hit execute

5. After executing, you should see a screen like below

Create bgRFC destination IWNGW_BGRFC

6. Run transaction SM59. Create a RFC connection of type 3 and provide the details like below.

Please note that RFC destination name should be “IWNGW_BGRFC”

7. Hit Connect Test button to check the RFC connection. You should see a screen like below

Register bgRFC Inbound destination

8. Run transaction SBGRFCCONF. Choose tab Define Inbound Dest and Click Create button

9. Enter Inb. Dest. Name. Create a new prefix with value QN and click Save button

After successful definition, click Save to the save the details.

Register Notification Providers

10. Start transaction /IWNGW/BEP_NPREG and click Create button

11. Enter following details and click on save button

Manage Notification Provider

12. Launch transaction SPRO and navigate to the below path

13. Create a new entry like below by clicking on New Entries and save it

Congrats!! we have successfully configure the steps required in backend system.

Finally we have completed all the configuration steps required to configure the notification in SAP Fiori 2.0. In our next blog post we will start testing the configurations.

Here are the links for both configuration steps both in front-end and back-end systems.

http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part1/
http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part2/

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

How to setup Workflow Push Notifications in SAP Fiori 2.0

$
0
0

Dear SAPLearners, in this blog post we will learn how to setup workflow push notification in SAP Fiori 2.0

This is 3 parts blog series. In previous part1 and part2 blog post we have performed required configuration steps in frontend and backend systems.

Part1) Fiori Notification configuration steps in frontend system(Gateway Hub) http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part1/

Part2) Fiori Notification configuration steps in backend system(S/4 HANA) http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part2/

In this part3 blog post we will test the notification by using a demo notification provider.

Lets get started.

1. Logon to backend system(S/4 HANA)

2. Run the transaction code /N/IWNGW/BEP_DEMO and enter the following details.After entering the details, click “Execute” button

3. After executing, the screen will display as below. A demo notification is successfully created.

4. Logon to Fiori Launchpad for the user entered in step-1, you will see the badge count.

5. Click Notification icon to open the notifications list, you will see the notification you created.

Congrats!! you have successfully configured notifications in Fiori.

Now that we have all configurations in place and working. Lets look at how we can enable notifications for SAP Business Workflows.

SAP Business Workflow as Notification Provider

To enable push notifications for business workflows like approve purchase order, we have to perform below steps

  • Activate the SAP Business Workflow Notification Provider
  • Activate a Task or Workflow decision step

Activate Workflow Notification Provider

To activate the workflow notification provider,

Navigate to below SPRO path to activate the workflow notification provider

Activate Task or Workflow Step

1. Run transaction code SWF_PUSH_NOTIF1 and click on “Execute”

2. Click “Change” button and click “Create New Entry” button to create a new entry in the table.Create an entry for the task or workflow step for which you want to create push notifications for

For the demo purpose, I will use WS30000015(Process notification of absence).

Task NumberEnter a Task or Workflow
Workflow StepDepends on the Task Number column.
If task number is entered, then this field is disabled.
If workflow is entered, then define a step, outcome or operator
ActivateThis field specifies if Push Notifications for the corresponding step should be enabled
GroupableThis field defines whether notifications of a same tasks can be combined and groupable text
can be maintained.

Now that we have enabled push notifications for workflow. You can test by creating a Leave Absence in SWXF transaction.

Congrats!! we have finally performed all required configurations to configure push notifications in SAP Fiori 2.0

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

Access Control(DCL) in CDS view

$
0
0

Dear SAPLearners, in this blog post we will learn about access control(DCL) in CDS view and the steps to create DCL Source.

DCL stands for Data Control Language. A DCL source allows to restrict the results returned by CDS view according to access conditions.

DCL allows to perform authorization checks for CDS view.

Also Read: How authorization/privileges checks are performed in CDS View

Step-by-Step Procedure

1. Launch ADT in Eclipse.

2. In your ABAP project, select the relevant package node in the Project Explorer. Right click on the package node and then navigate to New >> Other Repository Object.

3. Choose Core Data Services and select DCL Source. Click “Next” button.

4. In New Access Control window, enter the Name and the Description of the DCL source. Click “Next” button.

5. In Templates window, you can choose from the predefined templates. Some of the templates are not yet supported.

6. Choose Finish to create DCL source.

There are three types of access rules that can be specified in DCL source.

  • Condition Access Rule
  • Full Access Rule
  • Inherited Access Rule which inherit the existing CDS role

[1] Condition Access Rules

The condition access rule control the access using access conditions.The access conditions are of two type:

Literal Condition

Compare on field of the CDS view with a literal value.


@EndUserText.label: 'Demo: Authorization Check' 
@MappingRole: true 
define role Zflight_Role_A 
   { 
    grant 
        select 
            on Zflight_ACCESS_CONTROL_A
            where carrid<> 'AZ';            
}

PFCG Condition

User one or more fields of the CDS view to look up the user authorizations. PFCG condition is always based on one authorization object.


@EndUserText.label: 'Demo: Authorization Check' 
@MappingRole: true 
define role Zflight_Role_A 
   { 
    grant 
    select 
    on Zflight_ACCESS_CONTROL_A
    where (carrid)      = aspect pfcg_auth ( S_CARRID,
                                             CARRID,
                                             ACTVT = '03' );          
}

[2] Full Access Rule

The full access rule grants the unrestricted access. All users can access the CDS view data with out access condition


@EndUserText.label: 'Demo: Authorization Check' 
@MappingRole: true 
define role Zflight_Role_A 
   { 
    grant 
        select 
            on Zflight_ACCESS_CONTROL_A;      
}

[3] Inherited Access Rule

The inherited access rule which inherits the existing CDS role access conditions of CDS view that are used as data source in another CDS view.


@EndUserText.label: 'Demo: Authorization Check' 
@MappingRole: true 
define role Zflight_Role_A 
   { 
    grant 
        select 
            on Zflight_ACCESS_CONTROL_A
            inherit Zflight_Role_B;      
}

Congrats!! you have successfully learned the steps to create DCL source to restrict the data from CDS view.

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!


How to call a GUI transaction with parameters in SAP Fiori

$
0
0

Dear SAPLearners, in this blog post we will learn how to call a GUI transaction with parameters in Fiori.

We already know how to configure GUI transaction as tile in SAP Fiori Launchpad, if you have not read yet check out the blog post here.

Lets say we have a requirement to call VA03 transaction for a specific sales order number and skip the initial screen. The similar requirement would be ME23n transaction with particular purchase order number.

We can achieve this requirement by configuring parameters in SAP Fiori Launchpad Designer. Lets get started

Here are the high level steps involved

  1. Create a wrapper transaction for VA03 or ME23N with selection parameters that takes order number.
  2. Configure the transaction in Fiori Launchpad Designer with Semantic Object and Action along with parameters.
  3. Launch the GUI transaction from another fiori app via Cross-app navigation.

Step-by-Step Procedure

1. Run SE38 transaction and create an executable program with below code

REPORT zsdui_call_va03.

PARAMETERS:
      p_vbeln TYPE vbeln_va.

SET PARAMETER ID 'AUN' FIELD p_vbeln.
CALL TRANSACTION 'VA03' WITH AUTHORITY-CHECK AND SKIP FIRST SCREEN.

2. Create a new transaction code for the above program in SE93.

3. Launch SAP Fiori Launchpad Designer and create a new “Target Mapping” with below details.

So in the above screen shot, what needs to be noticed is the parameters table.

4. Finally, lets write some cross-app navigation code to launch the transaction from another fiori application.

var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
var hashUrl = (oCrossAppNavigator && oCrossAppNavigator.hrefForExternal({
		target: {
			  semanticObject: "ZSALES",
			  action: "display"
		        },
			params : { "OrderNo" : "166" }
		}));
oCrossAppNavigator.toExternal({target: {shellHash: hashUrl}});

Congrats!! you have successfully learned how to call a GUI transaction with parameters in Fiori.

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

Query Browser in S/4 HANA Analytics

$
0
0

Dear SAPLearners, in this blog post we will learn about Query Browser in S/4 HANA Embedded Analytics

What is Query Browser?

The Query Browser is an SAP fiori application which allows end-user to search for an analytical query and perform ad-hoc reporting on it.

The Query Browser is available as a tile in SAP Fiori Launchpad. It displays all the SAP standard analytical queries and custom analytical queries to which the user has access.

PFCG Role

Following user role SAP_BR_EMPLOYEE must be assigned to access the Query Browser app.

5 Key Features of Query Browser

Following the key features of the Query Browser

#1. Search for Analytical Query

You can search for analytical query using view names, view descriptions, view column names, annotations, tables and user added tags.

Query Browser in S4HANA Analytics

#2. Sort & Filter Analytical Queries

You can sort the list of analytical queries by View Name and Application Component. Along with sort, you can also filter the analytical queries by Tags and Application Component.

Query Browser in S4HANA Analytics

#3. Tag Analytical Queries

You can tag analytical queries using custom words to make them easier to find.

Query Browser in S4HANA Analytics

To tag a analytical query, choose one from the list and click on Add Tags button in the footer. Enter the tag name in the Tag View pop-up window. Multiple tags can be added by separating them using comma.

#4. Mark as Favorite

Business users can be mark analytical queries as favorite, so a personalized list of frequently used analytical queries can be created.

Query Browser in S4HANA Analytics

#5. Open in Design Studio

Business user can perform further analysis on analytical queries using Open in Design Studio option.

Query Browser in S4HANA Analytics

Click on Open for Analysis button to launch design studio template to perform further analysis on the analytical query. It is also a default design studio template available in standard SAP S/4 HANA installation.

7 Analytical Tools in S/4 HANA

$
0
0

Dear SAPLearners, in this blog post we will learn about 7 analytical tools available in S/4 HANA system to

1. Overview Pages

Overview pages is a type of analytical application that provides an entry level view of all the key-information for a domain such as sales, finance or procurement.

Overview pages use Cards to provide the key information as charts, lists or tables.The cards can be personalized by the business user. To drill-down to detail from a card business users can click the card header or on a detail section inside the card.

Apart from standard overview pages provided by SAP, if you want to develop a custom overview pages: they are developed by application developers who have the SAP Fiori development skills.

2. Analytical List Page

Analytical List Page in short “ALP” is a type of fiori elements application for detailed analytics. It brings together all the information required by the business user to investigate a critical issue and act accordingly to insights.

ALP provides both analytical and transaction information on one screen using charts and tables. This makes easy for business users to focus and act on the critical issues.

The ALP is highly customizable to ensure a very focused view of the business issues. Business users can personalize the screen to their need by applying the filter and changing the layouts. These personalized preferences can also be shared with other users.

SAP provides many standard ALP’s across different Line of Business, but they can also be developed from scratch if needed.

3. The Query Browser

The Query Browser is an SAP Fiori application which allows business users to search for an analytical query and perform ad-hoc reporting on it.

It displays all the standard analytical queries and custom analytical queries to which the user is privileged.

We have discussed The Query Browser in separate blog post, please click here to know more about it.

4. Multi-dimensional Reports

Multi-dimensional reports provide unrestricted drill-down capabilities of any level of aggregation over any measures/key-figures. Business users can analyze the data in a flexible way by adding/removing dimensions and measures to the rows or columns.

The results are displayed in a Data Grid. It is possible to display results in hierarchies or nested hierarchies.

There are 2 types of data grid: “Design Studio Data Grid” (S/4 HANA < 1709) which is SAPUI5 based reporting application and “Web Dynpro Data Grid” (S/4 HANA < 1610)

5. SAP Smart Business KPIs

SAP Smart Business KPIs provide real-time information of the business by collecting and displaying key performance indicators on a fiori tile. SAP provides a large number of out-of-the-box KPI tiles and are grouped under different business roles.

SAP provided a powerful tool (group of fiori apps) to create your own KPIs.

6. SAP Fiori Analytical Applications

SAP Fiori Analytical Applications provide business users a visual overview for a particular business scenario for monitoring or tracking purpose.

It is one among the three types of Fiori applications shipped by SAP others are Transactional Applications and Fact Sheet Applications.

7. Analysis Path Framework

Analysis Path Framework (APF) is a framework for creating interactive, chart-oriented analytical drill-down. It provides step-by-step analysis of data by creating analytical steps to analyze and investigate root cause.

APF-based apps enable business users to view and analyze the date of several key performance indicators from different data sources.

Fiori Launchpad Content

$
0
0

Dear SAPLearners, in this blog post we will learn about SAP Fiori Launchpad Content.

Fiori Launchpad Content

The fiori launchpad home page content consists of tiles, groups and catalogs. The content we see in the launchpad home page is called Fiori Launchpad Content.

To make a fiori app available to user in launchpad, several steps have to be configured.

Below is the overview of main components involved in fiori app configuration steps

  • User
  • Role
  • Group
  • Catalog
  • Tile
  • Target Mapping
  • Fiori/UI5 Application

User

Fiori Launchpad users usually business end users, functional consultants or fiori consultants.

Role

Role is assign to User. Role is created using transaction PFCG and the fiori administrator assigns catalogs and groups to a role. It is used to control the fiori launchpad content.

Group

Group consists of tiles and links.Fiori administrators assign tiles to a group and the group is assigned to role. Users can personalize the launchpad home page by adding or removing groups.

Catalog

Catalog is collection of app launcher tiles are target mappings. Catalog is assigned to a Role. Users have access to all the apps that are contained in the catalog via specific role assigned to them.

Tile

Tile is a visual representation of an app on the launchpad home page. When user clicks on a tile, an intent(Semantic Object + Action) is triggered, configured app is opened.

Target Mapping

Target Mapping is a mapping between intent(Semantic Object + Action) and application itself.Target Mappings are created in Catalog. It is very important for the navigation of an app in fiori home page.

Below diagram shows the relationship among the different components explained above.

Now that you we know about fiori launchpad content. Now lets look at different tools used for setting up launchpad content.

Tools for Setting Up Launchpad Content

There two main tools which are used to configure and setup fiori launchpad content.

1. Fiori Launchpad Designer

SAP Fiori Launchpad Designer is used to manage catalogs, groups and tiles. The launchpad designer can be launched with the following URLs, replace server and port

https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html ?sap-client=&scope = <CONF/CUST>

You can launch Fiori Launchpad Designer in two scopes CONF and CUST

  1. Client In-dependent: use the configuration scope (CONF) with client 000
    • https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html ?sap-client=000&scope=CONF
  2. Client Dependent: use the customizing scope (CUST) with the client in which the content should be available.
    • https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html ?sap-client=<client>&scope=CONF
Fiori Launchpad Designer
Fiori Launchpad Designer

2. Fiori Launchpad Content Manager (New)

Fiori Launchpad Content Manager is a new tool to adjust the launchpad content and business roles.

This tool is available for below S/4 HANA versions

  • S/4HANA 1809 (with SAP_UI 7.53 SP04 and SAPUI5 1.60) and
  • S/4HANA 1709 (with SAP_UI 7.52 SP07 and SAPUI5 1.52)

The Launchpad Content Manager(LCM) improves the creation and maintenance of catalogs. Using this new tool you can explore existing content and create custom catalogs by copying the existing one.

The tool allows to make the changes in different scopes similar to Fiori Launchpad Designer.

  • To make system-wide changes in the configuration scope, use the transaction /UI2/FLPCM_CONF
  • To make client-specific changes in the customization scope use the transaction /UI2/FLPCM_CUST

Congrats!! you have successfully learned about SAP Fiori Launchpad Content and the tools to setup the launchpad content.

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

How to create HANA Databases in SAP Cloud Platform

$
0
0

Dear SAPLearners, in this cloud platform blog post we will learn on how to create HANA Databases and Schemas in SAP Cloud Platform.

Prerequisites

Before you start, make sure you have

  • Created a trial account on SAP Cloud Platform

Step-by-Step Procedure

1. Login into SAP Cloud Platform cockpit.

2. Choose Databases & Schemas which is under SAP HANA/SAP ASE section.

Click on New button to create a new Database and provide the all mandatory fields.

3. Once you hit Create button, the page navigates to Events section of the database you created. The Events section will show the progress of database creation.

4. Once database is created successfully, choose Overview and see the overview of the database like below.

5. Now HANA Database is successfully created in SAP Cloud Platform.

6. For every database in SAP Cloud Platform, there 2 main tools available

  • SAP HANA Cockpit which is administration tool and
  • SAP HANA Web-based Development Workbench which is development tool

Lets access these tools

SAP HANA Cockpit

Click on SAP HANA Cockpit link in database overview section. Provide the login credentials.

Username: SYSTEM and
Password: password provided during database creation

Click on OK to assign the necessary HANA roles to the user “SYSTEM”

HANA roles have successfully assigned. Click on Continue

You have successfully logged into SAP HANA Database Administration home page.

SAP HANA Web-based Development Workbench

Click on SAP HANA Web-based Development Workbench link, this will open web-based development workbench like below.

Congrats!! you have successfully created HANA Databases in SAP Cloud Platform.

SAP HANA Web-based Development Workbench in SAP Cloud Platform

$
0
0

Dear SAPLearners, in the blog post we will learn about SAP HANA Web-based Development Workbench in SAP Cloud Platform.

Prerequisites

Before you start, make sure you have

SAP HANA Web-based Development Workbench

SAP HANA Web-based Development Workbench allows developers to develop HANA native applications entirely in browser without having to install HANA studio.

To access SAP HANA Web-based Development Workbench, click on hyperlink available in HANA database Overview section in SAP Cloud Platform.

There are 4 tools in SAP HANA Web-based Development Workbench

SAP HANA Web-based Development Workbench
  • Editor: Create, edit execute, debug and manage HANA Repository objects.
  • Catalog: Create, edit, execute and manage HANA DB SQL catalog objects.
  • Security: Create users, create roles, assign objects and manage security.
  • Traces: View, download traces of HANA applications, set trace levels.

Before start using the SAP HANA Web-based Development Workbench we have to assign the developer roles required for specific tools.

Required Roles

ToolRequired Role
Editor sap.hana.ide.roles::EditorDeveloper
Catalog sap.hana.ide.roles::CatalogDeveloper
Security sap.hana.ide.roles::SecurityAdmin
Traces sap.hana.ide.roles::TraceViewer

Note:
The parent role “sap.hana.ide.roles::Developer” can be used to access all tools in SAP HANA Web-based Development Workbench.

Security and Traces tools are accessible by default during initial access.

Lets see the steps to add these developer roles. You can use existing user or create a new user to add these roles.

Assigning roles

1. Launch Security tool from SAP HANA Web-based Development Workbench.

2. Choose the user in Users folder and click on + icon to assign a role.

3. In Find Role window, search and select a role and click on OK.

4. Now hit Save icon to save the changes.

Congrats!! you have successfully learned about SAP HANA Web-based Development Workbench in SAP Cloud Platform

How to install Node JS and NPM

$
0
0

Dear SAPLearners, in this blog post you will learn on how to install Node JS and NPM.

What is Node JS?

Node JS(https://nodejs.org/en/) says, It is an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Many connections can be handled concurrently. Upon each connection, the callback is fired, but if there is no work to be done, Node.js will sleep.

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

What is NPM?

NPM(https://www.npmjs.com/) says, NPM is a package manager for the JavaScript programming language. It is the default package manager for the JavaScript runtime environment Node.js.

Node JS Installation Steps

1. Download the installer from https://nodejs.org/en/download/.

2. Run the installer file and follow the wizard steps like below.

3. On welcome screen click on Next.

4. On End User License Agreement window, accept the license and click on Next.

5. On Destination Folder window, click on Next.

6. On Custom Setup window, click on Next.

7. On Ready to install Node.js window, click on Install.

8. Installation will begin and will end in couple of minutes.

We have successfully installed the Node Js. To confirm the installation run following command in terminal:

NPM Installation Steps

npm is distributed with Node.js, which means that when you download Node.js, you automatically get npm installed on your computer.

As we have already installed and verify Node.js installation. To confirm that you have npm installed you can run this command in your terminal:

Congrats!! you have successfully learned on how to install Node Js and NPM.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

if you liked it, please share it! Thanks!


How to deploy Vue.js applications in SAP Cloud Platform

$
0
0

Dear SAPLearners, in this blog post you will learn how to deploy Vue.js applications in SAP Cloud Platform.

Prerequisites

Before you start, make sure you have

  1. Node.js installed locally on your machine.
  2. Basic understanding of Vue.js

For the demo purpose, i have created a sample Vue.js application using Vue CLI 3. Please find the steps below.

Install Vue CLI 3

1 Open the terminal and run the below command to install Vue CLI

npm install i -g @vue/cli

2. It will take some time to install the Vue CLI. After successfully complete you will see below screen with all packages installed.

3. To confirm the installation, run following command in the terminal:

vue -V

4. It should display the Vue.js version installed.

5. You can also confirm the installation, by typing “vue” in the terminal, it will display all options like below

Creating a Vue.js project

6. To create a new project, run the following command in the terminal.

vue create hello-world

hello-world” is the name of the application

7. Choose default preset and hit enter key.

8. It may take some time to create the project. After successfully creation you will see below screen.

9. Run following commands in the terminal, to start the server

cd hello-world
npm run serve

10. Now the Vue.js application is running at http://localhost:8080/.

11. Navigate back to the terminal and stop the server by hitting “Cntrl+C“.

12. To build the deployment ready files, run the following command in the project folder.

npm run build

13. After build complete, all necessary files for deployment on SAP Cloud Platform are available under dist directory.

14. Now zip the dist directory.

Deploying to SAP Cloud Platform

15. Open SAP Web IDE Full Stack and create a new project by choosing SAPUI5 Application as a template.

16. Now remove all the files under your project, as these will not be needed for Vue.js application.

17. Right click on the project and choose Import.

18. Choose the zip file created above in Step-14 which is deployment ready Vue.js application.

19. After import, your project structure will look like below.

20. Right click on the project and deploy the project to SAP Cloud Platform.

21. Choose Deploy.

22. The Vue.js application is successfully deployed to SAP Cloud Platform.

23. Click on the project name, and get the Application URL.

24. Run the application URL in the browser. Hurrah!! we have Vue.js application running in SAP Cloud Platform.

Congrats!! you have successfully learned to deploy Vue.js applications on SAP Cloud Platform.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

if you liked it, please share it! Thanks!

20 OData Interview Questions and Answers

$
0
0

Dear SAPLearners, below are the top 20 OData interview questions and answers

Q1. What is the name of the protocol that is supported by SAP Gateway?

A1. TCP/IP
A2. OData
A3. SOAP
A4. RFC

Q2. The service metadata document contains following information

A1. Structure of an OData Service
A2. The Service Operation exposed
A3. The known links between resources
A4. All the above

Also Read: Structure of OData service

Q3. Which of following HTTP commands and their operations are correct?

A1. PUT – Allows to update the whole entity
A2. POST – Allows to create an entity
A3. PATCH – Allows to partially update the entity
A4. All the above

Q4. You can group multiple operations into a single HTTP request by using?

A1. OData Grouping
A2. OData Batching
A3. OData Collection
A4. OData Clustering

Q5. Which of following query options can be used to limit the size of the result set?

A1. $filter
A2. $orderby
A3. $select
A4. $expand

Q6. Which of following query option can be used to limit the size of the result set by limiting the number of columns?

A1. $expand
A2. $filter
A3. $select
A4. $top

Also Read: Query Options in OData Service

Q7. Arrange the following phases in the development of OData services in the correct order?

(A) Data Model Definition
(B) Project Creation
(C) Service Maintenance
(D) Service Implementation

A1. A, B, C and D
A2. B, A, D and C
A3. D, B, A and C
A4. D, B, C and A

Q8. What is the name of the tool that is used to implement OData services for SAP Gateway?

A1. Eclipse ABAP Development Tool
A2. SAP Gateway Service Builder
A3. SAP Gateway Client
A4. SAP Gateway Editor

Q9. Which of the below transaction is used to check the error logs in SAP Gateway hub system?

A1. /IWFND/ERROR_CHECK
A2. /IWFND/ERROR_LOG
A3. /IWBEP/ERROR_CHECK
A4. /IWBEP/ERROR_LOG

Q10. Which of the following tasks can be performed using transaction /IWFND/MAINT_SERVICE?

A1. Assign/remove additional system alias
A2. Define the data model of an OData service
A3. Add/remove services from the hub
A4. Implement the data provider extension class

Q11. Which of the following query options will retrieve the number of entries that the list contains?

A1. $count
A2. $top
A3. $inlinecount=allpages
A4. $select

Q12. The wizard for creating an entity type based on a search help performs two steps. What are these steps?

A1. Data model definition
A2. Service maintenance
A3. Service implementation
A4. Service activation

Also Read: Using Search Helps in OData service

Q13. When generating a service by using redefinition, which of the following options are available?

A1. Redefine a BW query service
A2. Redefine an RFC function module
A3. Redefine an existing SAP Gateway service
A4. Redefine a search help

Q14. What are different ways to create a Gateway service based on a CDS view?

A1. Code mapping
A2. Project redefinition
A3. Data reference
A4. @OData.publish

Also Read: Different ways to create a OData service

Q15. Which development tool is needed when using the odata.publish:true annotation for CDS view?

A1. Eclipse
A2. SE80
A3. SEGW
A4. /IWFND/MAINT_SERVICE

Also Read: How create OData service based on CDS view using annotation

Q15. ABAP CDS views are supported from which of the following releases?

A1. SAP Netweaver 7.51
A2. SAP Netweaver 7.40
A3. SAP Netweaver 7.0 with SAP Gateway 2.0 SP08
A4. SAP Netweaver 7.50

Q15. SAP Gateway hub supports multiple back-end systems through routing and multiple origin composition?

A1. True
A2. False

Q16. In routing scenario, the SAP system alias that points to specific back-end system is selected by using following as a filter?

A1. User role
A2. User profile parameter
A3. Modify the SAP standard implementation
A4. Implementing a BAdI

Q17. $expand is used to retrieve multiple entities that are connected through?

A1. Identical property names
A2. Function Imports
A3. Navigation properties
A4. Connectors

Also Read: How to implement $expand in OData service

Q18. SAP Gateway support online scenarios and does not support offline scenarios?

A1. True
A2. False

Q19. The Function Import functionality is implemented via mapping by using the RFC/BOR generator?

A1. True
A2. False

Also Read: How to implement Function Import

Q20. OData does not support the handling of binary data?

A1. True
A2. False

Also Read: How to handle binary data in OData service via media links

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

ABAP Environment in SAP Cloud Platform

$
0
0

Dear SAPLearners, in this blog post you will learn how to get access to ABAP Environment in SAP Cloud Platform.

Yes, you heard it right take your ABAP skills to cloud. ABAP IN NOT DEAD!!!!

Lets get started.

1. Logon to SAP Cloud Platform Trial Cockpit https://cockpit.hanatrial.ondemand.com/ and hit Enter Your Trail Account.

2. Cloud foundry trail instance got created successful.

Configure SAP Cloud Platform Entitlements(optional)

3. Choose Entitlements -> Subaccount Assignments

4. Choose trial as subaccounts and hit Go.

5. Select Configure Entitlements

6. Click Add Service Plans.

7. Select ABAP Trial, tick shared and click Add 1 Service Plan. (I have already added)

8. Click Save.

9. Go back to account home page and click on trial subaccount.

10. Now you will be navigated to subaccount trial overview page.

11. Choose Spaces and select dev space.

12. Choose Services -> Service Marketplace and select ABAP Trial tile.

Create ABAP Trial Instance

13. Select Instances and click on New Instance button.

14. On Create Instance pop-up window, choose Plan as shared and click on Next.

15. Provide email address and click on Next. Your e-mail address should match with your Cloud Foundry Trial e-mail address.

16. Click on Next.

17. Enter Instance Name and click on Finish.

18. Congrats!! you have successfully created ABAP Trial instance in SAP Cloud Platform.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

if you liked it, please share it! Thanks!

How to create ABAP Cloud Project using ABAP Development Tools

$
0
0

Dear SAPLearners, in this blog post we will learn on How to create ABAP Cloud Project using ABAP Development Tools which eclipse based.

Prerequisites

Before you start, make sure you have

Step-by-Step Procedure

1. Open ABAP Development Tools (ADT).

2. In Eclipse IDE, navigate to Help -> New Software

ABAP in Cloud project Step1

3. On Available Software window, enter URL https://tools.hana.ondemand.com/2019-09 in Work with field and hit Enter. Choose all development tools available like below and hit Next.

ABAP in Cloud project Step2

4. On Install Details window, hit Next

ABAP in Cloud project Step3

5. On Review Licenses window, accept the license agreements and hit Finish to start the installation.

ABAP in Cloud project Step4

6. After successfully installation, restart the Eclipse IDE.

7. Choose New -> ABAP Cloud Project

ABAP in Cloud project Step5

8. On System Connection window, choose SAP Cloud Platform Cloud Foundry Environment as service instance connection option and hit Next.

ABAP in Cloud project Step6

9. On Connection Settings window, provide all necessary information like below and hit Next

RegionEurope(Frankfurt)
API Endpointautomatically populates based on region
Emailemail id of SAP Cloud Platform
Passwordpassword of SAP Cloud Platform
ABAP in Cloud project Step7

10. On Service Instance Details window, provide the details by using the drop-down list boxes.

ABAP in Cloud project Step8

11. On Service Instance Logon window, provide SAP Cloud Platform credentials and hit Logon.

ABAP in Cloud project Step9

12. You will successfully authenticated and automatically redirected to the next page.

ABAP in Cloud project Step10

13. ABAP Connection System details are displayed like below.

ABAP in Cloud project Step11

14. Finally, a new ABAP Cloud Project is created.

ABAP in Cloud project Step12

Congrats!! you have successfully created ABAP Cloud Project using ABAP Development Tools on SAP Cloud Platform Cloud Foundry.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

if you liked it, please share it! Thanks!

Other References

How to create trial ABAP system on SAP Cloud Platform Cloud Foundry environment

How to create ABAP console application in SAP Cloud Platform ABAP Environment

$
0
0

Dear SAPLearners, in this blog post we will learn to create an ABAP class in SAP Cloud Platform Cloud Foundry environment.

Prerequisites

Before you start, make sure you have

I know you are very much exited to write your first ABAP program/class in SAP Cloud Platform and also got few questions in your mind. Lets get answers to those first

What will be the IDE which i am going to use with ABAP in Cloud system?

The answer is Eclipse ABAP Development Tools

Can i create all ABAP repository objects like in on-premise in ABAP cloud system?

No, you cannot.

Below is the list of ABAP Repository Objects you can create in ABAP system in cloud.

1. Dictionary

  • Data Element
  • Database Table
  • Domain
  • Dynamic Cache
  • Lock Object
  • Structure
  • Table Type

2. Message Classes

3. ABAP Package

4. Source Code Library

  • ABAP Class
  • ABAP Function Group
  • ABAP Function Module
  • ABAP Interface

5. Transformations

6. Core Data Services (CDS)

  • Data Definition
  • Access Control
  • Metadata Extension
  • Behavior Definition

7. Connectivity

  • HTTP Service

8. Cloud Communication Management

  • Communication Scenario

9. Cloud Identity and Access Management

  • Business Catalog
  • Identity & Access Management(IAM) App
  • Restriction Field
  • Restriction Type

10. Business Services

  • Service Definition
  • Service Consumption Model
  • Service Binding

11. Authorizations

  • Authorization Field
  • Authorization Object
  • Default Authorization Values

The above list may change and new repository objects get added in new releases.

Now that you have understanding of what you can do in cloud ABAP system. Lets create demo ABAP application.

Step-by-Step Procedure

#Create ABAP Package

1. Right-click on ZLOCAL package and choose New -> ABAP Package from the context menu

Create ABAP Package in SAP Cloud Platform

2. Provide Name and Description of the ABAP package and click Next

Create ABAP Package in SAP Cloud Platform

3. Hit Next

Create ABAP Package in SAP Cloud Platform

4. Choose the Transport Request and hit Finish.

Create ABAP Package in SAP Cloud Platform

5. A new ABAP Package is created. Navigate to the package, right-click and choose New -> ABAP Class.

Create ABAP Class in SAP Cloud Platform

6. Provide Name and Description of the ABAP class and click Next

Create ABAP Class in SAP Cloud Platform

7. Select the transport request and hit Finish

Create ABAP Class in SAP Cloud Platform

8. A new ABAP class is created, copy and paste the below code

CLASS zcloud_demo DEFINITION
  PUBLIC
  FINAL
  CREATE PUBLIC .

  PUBLIC SECTION.
    INTERFACES if_oo_adt_classrun.
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.


CLASS zcloud_demo IMPLEMENTATION.
  METHOD if_oo_adt_classrun~main.
    out->write('Hello ABAP in Cloud!').
  ENDMETHOD.
ENDCLASS.

In above code interface IF_OO_ADT_CLASSRUN provides a light-weight solution for executing an ABAP program without launching the integrated SAP GUI.

9. Save and activate code changes.

10. Finally run the ABAP class to see the output in ABAP Console.

Create ABAP Class in SAP Cloud Platform

Output:

Create ABAP Class in SAP Cloud Platform

Congrats!!! you have successfully created and ABAP Class in SAP Cloud Platform ABAP Environment.

Please feel free to comment and let us know your feedback. Subscribe for more updates.

if you liked it, please share it! Thanks!

Other References

How to create trial ABAP system on SAP Cloud Platform Cloud Foundry environment

How to create ABAP Cloud Project in SAP Cloud Platform

Viewing all 211 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>