So you want to add a Web Dynpro application to your front end UI as a tile, the below blog will instruct you on how to do so:
First, as you could imagine, you need to firstly identify the WDYA you intend to add to your role (business catalog). Once you have done so, check if the tile and target mapping already exists in a technical catalog. The chances are that the WDYA will not be in any Technical Catalogs that you can use. This means that you need to do the following:
Find the WDYA Application ID
Find the WDYA Configuration ID
Create a custom semantic object for the application in SM30 (/UI2/V_SEMOBJC).
Create a workbench request
To begin creating the tile, you need to pick an exisiting Technical Catalog or create a new Technical Catalog where you will add the new WDYA. To create or edit a Technical Catalog, launch the Application Manager via Tcode /n/ui2/flpam.
To add the new WDYA, click on "Edit" and "Add App" and click on "Web Dynpro Application"
You must fill out the "Target Application Field" correctly. In this section you will insert the Web Dynpro Application ID that you can get from SU24, the semantic object that you should have created in SM30 - /UI2/V_SEMOBJC and the "Application Configuration ID". The system should automatically pick up the correct App Config ID when you insert the Web Dynpro Application, click on the F4 drop down and the relevant config ID will show on the screen. It's important this config ID in maintained or the tile will fail to load.
Once the Target Application Fields have been correctly populated, navigate to the "Tile" section. Here you will select either a "Static" or "Dynamic" tile. Most times you will choose static, unless you are using some fiori app tile with stats that change dynamically on the tile according to the underlying CDS view. Dont forget to assign a relevant icon to the tile that best fits the app's purpose, this greatly improves the UI experience for the end user
Once the app has been saved to your workbench request, you can now go to "content manager" (/ui2/flpcm_cust) and add the newly created tile to a "Business Catalog". Depending on the S4 version you are working on, you may need to replicate the tiles from the backend to the front end in SE38 with the report /UI2/GET_APP_DESCR_REMOTE_DEV before you can see the applications in the content manager.
Add the new tiles to a BC and then add the references to a new page and space. Once this is done be sure to add the catalog(s) and space(s) to the PFCG role.
Now you have added a WDYA application to a role and displayed it as a tile for a user.
Something important to note, adding a WDYA as a tile with a URL should not be done. One should always use the application manager for standard WDYA's as it allows the SU24 standard values to used in the PFCG role, URL's are not linked as standard to the auth objects you need for the application to work.