Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create SAP shortcut with multiple selection

Former Member
0 Kudos

Hello,

I have got a question. Is it possible to set parameters in multiple selection, when I am creating a SAP shortcut?

This is the Code in the .sap. I opened it with Editor.

[System] Name=S03

Description=m

Client=600

[User]Name=

Language=DE

[Function] Title=

Command=YPS_COST_APPROVAL pa_werk = 3000; p_proj = TEST; p_fbanf = X; s_banfn = 44432341; s_banfn = 33213123: s_banfn = 554352432

Type=Transaction [Configuration]

GuiSize=Maximized

There are parameters like pa_werk or p_proj. This works and it shows me the parameters, when I click the shortcut and then, it opens the transaction. But s_banfn is a multiple selection ("Select-Options") and this does not work. Is there another syntax?

Has anybody a solution. Thank you.

Greeting

Rene

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor

I think that the additions correspond to any field of a dynpro (not limited to selection screens). So the best you can do is one value (s_banfn-low = 44432341) or one interval (s_banfn-low = 33213123; s_banfn-high = 554352432).

The closest way to do it is to create a program variant and use Type=Report and Command=YYOURPROGRAM variantname (but of course it won't use the transaction code, so maybe it won't work)

4 REPLIES 4

Sandra_Rossi
Active Contributor

I think that the additions correspond to any field of a dynpro (not limited to selection screens). So the best you can do is one value (s_banfn-low = 44432341) or one interval (s_banfn-low = 33213123; s_banfn-high = 554352432).

The closest way to do it is to create a program variant and use Type=Report and Command=YYOURPROGRAM variantname (but of course it won't use the transaction code, so maybe it won't work)

Former Member
0 Kudos

Thank you for your help. So there is only possible one value or an intervall? There is not a possibility like this: s_banfn[1]-low = 44432341; s_banfn[2]-low = 789456; s_banfn[3]-low = 123456?

0 Kudos

I confirm what I said 🙂 - but maybe I'm wrong who knows

Former Member
0 Kudos

Okay, thank you for your help 🙂