Imprimer
Catégorie : My SAP World
Affichages : 1787
1 1 1 1 1 100%/5 (1 Vote)

english

How to find in ABAP program FIORI launchpad url and launch the url with specific Tile anchor ?

Anwser : the basic code in the standard program "/UI2/START_URL". I have adeed the instruction to add tile anchor in the code below (replace #zzzz by the anchor of your target tile). 

french

Comment dans un program ABAP trouver l'url du portail FIORI et ouvrir l'url avec la cible d'une tuile spécifique ? Réponse: le code de base se trouve dans le programme "UI2/START_URL". J'ai ajouté dans ce code ci-dessous l'ajout du paramètre de tuile (remplacer "#zzzz" par l'ancre de votre tuile cible): 

* &- create start url
  DATA(lo_start_url) = NEW /ui2/cl_start_url( iv_icf_node_path = /ui2/if_start_url=>co_flp ).

* &- add sap params "sy-mandt", "sap-language", "sap-language"
  lo_start_url->add_sap_params( ).

* &- add cvi anchor url param
  lo_start_url->add_url_param( '#zzzz' ).

* &- start in browser
  lo_start_url->start_browser( ).

  MESSAGE s398(00) WITH 'Open tile in a new window ....'.