cancel
Showing results for 
Search instead for 
Did you mean: 

How to add parameters to GUI Transaction Fiori tile and access it in Custom Fiori App

TahirLeonenko
Explorer
432

Hello, I've been given the task of accessing a custom SAP GUI app from a custom Fiori app with preloaded values from the Fiori app. I've currently created a Fiori tile for the GUI app, and in the Target Mapping I have this filled out for the parameters:

TahirLeonenko_0-1723650494192.png

 

The target names I've gotten from going to the transaction, hitting F1 when I'm in the parameter I want to fill clicking the technical information button, and using the Parameter ID
(e.g. when I click on Contract Number on the left, hit F1, use technical information button, this is the window that pops up, and I use the parameter ID that appears below)

TahirLeonenko_2-1723650774881.png

In the custom fiori app I'm using this annotation:

<Record Type="UI.DataFieldForIntentBasedNavigation">
    <PropertyValue Property="Label" String="History"/>
    <PropertyValue Property="Mapping">
        <Collection >
            <Record>
                <PropertyValue Property="LocalProperty" PropertyPath="SalesDocument"/>
                <PropertyValue Property="SemanticObjectProperty" String="AUN"/>
            </Record> 
            <Record>
                <PropertyValue Property="LocalProperty" PropertyPath="Product"/>
                <PropertyValue Property="SemanticObjectProperty" String="MAT"/>
            </Record> 
        </Collection>
    </PropertyValue>
    
    <PropertyValue Property="SemanticObject" String="ZMassUpdate"/>
    <PropertyValue Property="Action" String="display"/>
    <PropertyValue Property="Inline" Bool="false"/>
</Record>

 

The button that this annotation provides does work to get me to the page of the new Fiori tile itself, but the parameters do not get filled out. 

Also it'd be great to know if it'd be possible to give the GUI transaction multiple SalesDocuments (the app itself is for changing information of the sales documents, so it'd be great to be able to select multiple rows, and have all the documents appear in the Contract Number field. The GUI app itself can handle multiple documents, just not sure how to give it multiple documents)

TahirLeonenko
Explorer
Bumping
TahirLeonenko
Explorer
Bumping
TahirLeonenko
Explorer
bumping
TahirLeonenko
Explorer
Bumping
TahirLeonenko
Explorer
Bumping
TahirLeonenko
Explorer
Bumping

Accepted Solutions (0)

Answers (1)

Answers (1)

MioYasutake
Active Contributor

Hi @TahirLeonenko ,

I haven't tested it myself, but the following blog post might be helpful.

https://community.sap.com/t5/technology-blogs-by-sap/how-to-call-a-gui-transaction-in-sap-fiori-laun...

TahirLeonenko
Explorer
I seem to get an "Navigation to this application is not supported" error when attempting to do it this way. But thank you for looking