Fiori: Fiori Launch Pad For MVD 120
Fiori: Fiori Launch Pad For MVD 120
Need to add Batch, ECM, Master Data (Material, BOM, Info records,
QA32
Notifications
Prerequisite: you have done basic customizing of SAP Fiori Launchpad and
WebGUI and both are already working.
1. Create a new Launchpad Role through transaction LPD_CUST. If you are
customizing a local solution you don't have to input the namespace, if you are
going to transport it then use a single letter Z as a namespace.
There are some additional challenges when calling enjoySAP transactions from the SAP
Fiori apps via app to app navigation. These challenges can be overcome as we explain in
this blog. You will need to settle in for this one – I promise you will learn some tips about
List of Links dialogs and how Target Mappings work as well that will help you with other
Fiori for S/4HANA scenarios!
Back in the day, one of the very early attempts to improve the UX of SAP GUI, long before
SAP Fiori was even thought of, was called enjoySAP. EnjoySAP brought a more
consolidated UI where 3 levels of detail – header, items, and subitems – could be viewed
and edited at the same time. The enjoySAP approach was primarily used to improve certain
Procurement transactions such as ME21, ME22, ME23, ME29 and others. Like many such
attempts these transactions still exist in SAPGUI, are still used by many users and still
provide value to many users. You can typically identify enjoySAP transactions by the suffix
N on the transaction code, e.g. Transaction ME21N was the enjoySAP equivalent of ME21,
ME29N was the enjoySAP equivalent of ME29, etc. You can see an example of ME29N in
the screenshot below.
A recent customer experience showed that trying to launch SAP GUI transaction ME29N
directly from the Semantic Object based List of Links in SAP Fiori app Monitor Purchase
Order Items (App id F2358) didn’t meet expectations, even though:
Transaction ME29N is listed in the Fiori Apps reference library as supported for
launching from the SAP Fiori launchpad
A tile and target mapping for transaction ME29N is included in SAP delivered tile
catalog SAP_TC_PRC_BE_APPS
A Fiori Visual Theme app descriptor exists for transaction ME29N
Essentially when you try to launch the transaction ME29N from a tile or via a link from
another app such as Monitor Purchase Order Items, you will find that the Purchase Order
number is not passed to the enjoySAP transaction in the same way as it is to other SAP
GUI transactions. Parameter passing just doesn’t work in quite the same way for enjoySAP
transactions as it does for most other SAP GUI transactions.
You will see how to overcome this using SAP Fiori app Monitor Purchase Order Items (App
id F2358) as an example. You can follow the steps below:
1. Finding the list of links dialog you want to extend with your new link
2. Add your app as a new link in the List of Links dialog
3. Test your new link appears in the List of Links dialog
4. Adjust the parameters used by your link
5. Retest your link and parameters in the List of Links dialog
Adjusting the parameters will involve using a wrapper transaction. You will see what a
wrapper transaction is and does in step 4 – Adjust the parameters. You will find a list of
provided wrapper Transactions for enjoySAP Transactions at the end of this blog.
Find the List of Links dialog
Start by identifying the app that contains the List of Links dialog and making sure it is
working. In this blog we assume you have already activated the app.
SAP Fiori app Monitor Purchase Order Items (App id F2358) is part of;
Business Roles: Purchaser, Transportation Manager, Settlement Clerk (Freight
Management)
Business Catalog: Purchasing – Purchase Order Processing
SAP_PRC_BC_PURCHASER_PO
When you are in the SAP Fiori app Monitor Purchase Order Items (App id F2358), you can
see a list of Purchase Orders you are monitoring. Every purchase order in the Purchase
Order column is displayed as a hyperlink. When you select the hyperlink on a Purchase
Order you are shown a List of Links dialog. From the list of links dialog you can then use
any link to navigate to other apps related to Purchase Orders.
Click on More Links and you can see all the apps available.
You can navigate to any of the apps by clicking on the hyperlink. You can even adjust which
links are shown by default.
Just deselect the ones you don’t want and press Ok.
Then only the links you want are shown by default. The system will remember what you
have selected for next time.
Technically these links are derived as follows:
In the Monitor Purchase Order Items app, the Purchase Order column is marked with
the special annotation SemanticObject which is assigned to the semantic object id
PurchaseOrder.
At runtime the Fiori launchpad identifies all the Target Mappings in tile catalogs
assigned to you that contain the Semantic Object PurchaseOrder.
The end result is you see all the apps related to Purchase Orders assigned to you,
i.e. that you are authorized to use
IMPORTANT: This derivation works regardless of the technology type of the app, so the
List of Links might contain a mix of links to SAP Fiori apps, Web Dynpro ABAP apps, and
SAP GUI transactions.
Normally when you click on a link the purchase order number is passed correctly. E.g. if we
navigate to SAP Fiori app Manage Purchase Orders (F0842A) you should see the SAP Fiori
app Manage Purchase Orders has already filtered on and drilled down to the detail of the
purchase order you selected.
This works even if we are linking to a classic app such as Purchasing Documents per
Supplier (SAP GUI transaction ME2L), Purchasing Documents per Account Assignment
(SAP GUI transaction ME2K ) or Print Purchase Orders (SAP GUI transaction ME9F).
TIP: Remember that the standard SAP GUI approach to navigation is to pass the
parameters and skip the first screen. This means:
Even if you pass a parameter to the transaction, after it has skipped the first screen it
may subsequently clear the selection parameters.
That’s why if there are no documents to print for the Purchase Order and you launch
transaction ME9F, you will only see the message “No suitable purchasing
documents found”.
A good tip here is to compare how the transaction behaves when running the
transaction directly in SAP GUI for Windows or SAP GUI for Java, i.e. without using
the Fiori launchpad and without the Fiori Visual Theme.
Now watch what happens when you add enjoySAP transaction ME29N to the list of
links. Keep reading!
Before you start you find the tile catalog you need in the SAP Fiori apps reference library.
Just use the filter All apps for SAP S/4HANA, search for your GUI transaction by name or
transaction code. Once you have found it, the tile catalog will be listed in the Implementation
Information tab, in the Configuration section.
Notice particularly the Semantic Object and Action – those 2 fields map the Tile to the
Target Mapping and can be used to help you find the matching details in the Launchpad
Designer.
Now you can start.
IMPORTANT: Notice the Configure option in the footer – you can use that to check and/or
adjust the details of the target mapping.
What you expect is that when you click on the link transaction ME29N is launched and the
Purchase Order number should be passed. When you test you will find transaction ME29N
is launched. However the Purchase Order is NOT passed!
What went wrong? Keep reading!
Ok so instead of calling ME29N directly you want a target mapping that calls
MMPURUICALLME29N instead.
So that there is no confusion between the original referenced version and your own, make
sure you:
Use a different Action for the same Semantic Object – in the example you can see
the action is called releaseSingleAdvanced
o Note: Actions are freely definable
Change the title of the target mapping so you can tell whether you are calling the
original referenced version or your revised version – in the example you can see the
title is Release Purchase Order Individually
NOTE: If you wish you can also create a custom tile to match your target mapping. It’s not
essential in this scenario, just good practice if you want your users to be able to add a tile to
their home page to go directly to the SAP GUI transaction. Of course if they go directly to
ME29N from the home page there will be no Purchase Order value passed.
Once you are happy that it is working, you can always remove the original referenced
version from your catalog and adjust the texts and actions to their final values.
Adjust the security role assigned to the user. Make sure:
Retest your link & parameters via the List of Links dialog
Now when you go into Monitor Purchase Order Items and select the Purchase Order you
will see your new target mapping listed as the link Release Purchase Order Individually.
Select your new link Release Purchase Order Individually. Transaction ME29N is launched
passing the Purchase Order number.
Success!
ME21N MMPURUIME21N None (looks for all requisitions ready to be converted to Purchase Orders