cancel
Showing results for 
Search instead for 
Did you mean: 

WEBGUI passing multiple values to one field via url

SchmidM
Explorer
3,048

Hi,

i have the requirement to pass a mulitselection via url parameter to a webgui transaction. The business case is to pass the excluded status 'EROF' and 'TABG' to the transaction IW39.

It is no problem to pass a single value (e.g. stae1-low=EROF) via url parameter. But how can i pass multiple ones?

I already tried the following without success:

- stae1-low=EROF,TABG

- stae1-low=TABG&stae1-low=EROF

Thank you for your help.

Accepted Solutions (1)

Accepted Solutions (1)

SchmidM
Explorer

The answer from the SAP Basis Development Team was, that this is not possible at the moment. They suggested to create a wrapper transaction which implements the logic as a workaround.

Here the orginal statement:

[...]The URL-syntax used via the WebGUI is essentially the same as the OK-Code syntax that one can enter as Short-Cut.

This syntax is very limited and is based only on field-value pairs that allow for prefilling input fields of a Dynpro with exactly one value. More advanced selection criteria (such as select options of selection screens) can not be maintained via this approach. We identified this as a requirement and development topic already; however, as of today, I cannot tell you when such a feature will be available. If it will be available, this would also be available in a future release (most likely a down-port is not possible).

The only work around that we could suggest is to create wrapper transactions and wrapper screen (i.e. screen that provides single fields for from- and to-values) and implement a logic that converts this. [...]

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Quite disappointing that this topic was never addressed in the years that SAP GUI for HTML now exists.

SchmidM
Explorer
0 Kudos

Hi gregorwolf,

yes, I agree. Do you think a customer improvement reqeust would accelerate this?

gregorw
SAP Mentor
SAP Mentor

At least we can make other SAP Customers and Partners aware of it and also better keep track.

PaulTiemann
Participant
0 Kudos
I would also like to have this feature. Can I vote for it anywhere?
gregorw
SAP Mentor
SAP Mentor
If you create an influencing request at https://influence.sap.com/ and post it here: Yes.

Answers (3)

Answers (3)

rossma3
Explorer

Hello experts,

do we have already solution how to use multiple value in URL ?

Thx

Martin

SchmidM
Explorer
0 Kudos

Hi,

as promised, i created a ticket at SAP and share the answer here.

Best Regards,

Maximilian Schmid

abo
Active Contributor
0 Kudos

You could paste the answer here and actually accept that one as good answer, it seems to me that would be better than posting a new question which is really an answer 🙂

SchmidM
Explorer

Good idea 😄 I created a new question, because Mrs. Thimme ask me to share this in a different community.

abo
Active Contributor
0 Kudos

Good point, I haven't tried crossposting, not sure it is allowed / accepted.

sandra_thimme
Product and Topic Expert
Product and Topic Expert
0 Kudos

To share the answer is a very good idea, thanks Gregor. But I guess it would be better to share the answer with the Web GUI community re SAP GUI Family.

Here: https://community.sap.com/topics/gui

Hallo Maximilian,

könntest du bitte auf der WEB GUI support component eine Meldung aufmachen: BC-FES-WGU

Danke.

gregorw
SAP Mentor
SAP Mentor

But I hope you can also share an answer here.

SchmidM
Explorer

I already created the incident. If i get an answer, i will share this in the gui community.