cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically add parameter to webgui service

former_member189058
Active Contributor
0 Kudos

Hi all,

I need to add a parameter 'command' dynamically in the service webgui.

I tried using the method set_parameter of the interface if_w3_api_service, but it returns exception 'object not changeable'.

From help.sap.com i came to know that this parameter is set by request.

Is there a way for me to achieve this.

Regards,

Reema.

Accepted Solutions (1)

Accepted Solutions (1)

former_member228142
Active Contributor
0 Kudos

why don't you add this parameter to the UrL?

Regards,

Klaus

former_member189058
Active Contributor
0 Kudos

Yes Klaus,

I added it in the URL and it worked fine.

Now i need to do the same through coding.

What method/function can i use for that?

Regards,

Reema.

athavanraja
Active Contributor
0 Kudos

Now i need to do the same through coding.

Where do you want to add the code?

is it some programs which is going to call these urls?

Answers (0)