on 01-16-2023 10:18 PM
Hello Gurus,
There is a FIORI app "MyFioriApp" and a transaction "MyTcode".
The "MyTcode" selection-screen has an "Item" field (it is SELECTION-OPTIONS field).
I want to implement the next logic:
In "MyFioriApp", the user selects multiple items (eg 1, 3, 4, 5, 9...) from the SmartTable and then clicks the "MyButton" button. Next, "MyTcode" is launched and the "Item" field should be filled with the values that were selected in "MyFioriApp".
I know how to run "MyTcode" and initialize one item but don't know how to pass multiple unordered items.
I would appreciate any helpful tips/hints/comments.
Thank you.
Code Sample (One item).
var oParam = {"Item": "7"};
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
var oHash = (oCrossAppNavigator && oCrossAppNavigator.hrefForExternal({
target: {
semanticObject: SemanticObject,
action: Action
},
params: oParam
})) || "";
oCrossAppNavigator.toExternal({
target: {
shellHash: oHash
}
});
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.