quarta-feira, 23 de janeiro de 2019

Understanding launchpad object relationship with screenshots

After you create a custom app or extend a standard Fiori app, tile is required for launching the app.
Here are screenshots explain the launchpad objects relationship.
A0.png
  1. User -> Role (Transaction: SU01)
  2. Role -> Catalog/Group (Transaction: PFCG)
  3. Catalog/Group -> Tile (launchpad designer)
  4. Tile -> Intent ( launchpad designer, Tile)
  5. Semantic Object (Transaction: /UI2/SEMOBJ and /UI2/SEMOBJ_SAP)
  6. Intent -> Application Alias (launchpad designer, Target Mapping)
  7. Application Alias -> App URL (in LPD_CUST)
    Application Alias -> Component ID (in LPD_CUST)
  8. App -> Component ID in Configuration.js (Transaction: SE80)
Example app is Approve Purchase Order.

1. User -> Role (Transaction: SU01)
The user has roles SAP_MM_BCR_BUYER_X1 (Group) and SAP_MM_TCR_T_X1 (Catalog).
A1.png
Role names are documented in App catalog of help.sap.com.
Business Role = Group.
Technical Role = Catalog.
A2.png
2. Role -> Catalog/Group (Transaction: PFCG)
The role SAP_MM_BCR_BUYER_X1 has Menu object Group:SAP_MM_BCG_BUYER_X1.
A3.png
3. Catalog/Group -> Tile (launchpad designer)
The catalog has the tile Approve Purchase Order. When the tile is selected in the launchpad, the app should be launched.
A4.png
4. Tile -> Intent ( launchpad designer, Tile)
The tile Approve Purchase Order has intent PurchaseOrder-approve. Intent = Semantic Object + Action.
A5.png
5. Semantic Object (Transaction: /UI2/SEMOBJ and /UI2/SEMOBJ_SAP)
Semantic Objects are defined in the transaction /UI2/SEMOBJ(for customer) and /UI2/SEMOBJ_SAP(for SAP)
A7.png
6. Intent -> Application Alias (launchpad designer, Target Mapping)
The intent has Application Alias.
A6.png

7. Application Alias -> App URL (in LPD_CUST)
    Application Alias -> Component ID (in LPD_CUST)

The Application Alias is defined in the transaction LPD_CUST. LPD_CUST role is documented in the step 1.
A8.png
Application Alias has App URL. URL = /sap/bc/ui5_ui5/sap/mm_po_apv.
Additional information has Component ID. SAPUI5.Component=ui.s2p.mm.purchorder.approve
A9.png
8. App -> Component ID in Component.js (Transaction: SE80)
The app mm_po_apv has several Java Script and component ID is defined.
A10.png


Source: https://blogs.sap.com/2014/06/16/understanding-launchpad-object-relationship-with-screenshots/

Nenhum comentário:

Postar um comentário