cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a custom parameter in URL

Former Member
0 Kudos

HI,

i want to add a event in URL like APPROVE or REJECT .

ex: http://<WAS>:<port>/sap/bc/gui/sap/its/webgui/!?sap-client=<client>&sap-user=<userid>&sap-password=<...;transaction=<tansaction>&<screen fild name>=<value >&EVENT=<APPROVE>

i am trying it by giving parameters in GUI CONFIGURATION in SICF.

i could find it in handler class but unable to display the parameter in URL when it is

displayed in browser.

Tell me how to add DYNP_OKCODE as parameter to be visbile in URL

kindly prove help or any documents.

Thanks.

Vijender

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can pass url parameters like this:

http://server:port/sap/bc/gui/sap/its/webgui?transaction=&parameter&okcode=

For example:

http://server:port/sap/bc/gui/sap/its/webgui?transaction=iw58&qmel-qmart=n1&okcode=ONLI

You can see more information at:

/people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008

Hope this helps,

Iván.

Former Member
0 Kudos

HI Iván Cabezas & Oisin ONidh

Thanks for ur reply.

I want to know whether we manually type transaction=&parameter&okcode=<> in url or dynamically displayed when

browser is poped. B'coz i want parameters dynamically displayed and we enter value like approve or reject.

Are there any settings which support this. kindly let me know

ex:

http://server:port/sap/bc/gui/sap/its/webgui?transaction=&parameter&okcode=

With regards

Vijender.S

former_member194364
Active Contributor
0 Kudos

Hi Vijender,

You can do either if I understand your query correctly.

For example:

In SICF -> ?

(the above ~transaction will be sent in the request)

it is the same as typing in the URL:

http://WAS_HOST:WAS_PORT/sap/bc/gui/sap/its/my service?~transaction=*se38 RS38M-PROGRAMM=rsparam;DYNP_OKCODE=SHOP

Regards,

Oisí

Former Member
0 Kudos

HI Oisin ONidh

can i develop or modify the HTML template such that when i click the button on web page

a value from button is passed as a value to parameter in URL.

thanks,

vijender

Former Member
0 Kudos

Hi,

I think what you want requires ABAP programming, because you have to rebuild dinamically your URL, not fixed values on it. If you define an IAC iview, you can use "Application parameter" field and through a form rebuild your URL, but you need ABAP code.

Hope this helps,

Iván.

former_member194364
Active Contributor
0 Kudos

Hi Vijender

Have you revied the ITS WIKI: [How to prefill fields and skip first screen with webgui? |http://wiki.sdn.sap.com/wiki/x/Z1c ]

Regards,

Oisin

Former Member
0 Kudos

hi Oisin ONidh,

i already gone tru it.

the wiki only contains how url look in browser, but it does not tell how to set parameters to like that.

regards

vijender

former_member194364
Active Contributor
0 Kudos

Hi Vijender,

Are you trying to pass the parameters in an embedded URL Link

OR

via the GUI Configuration in SICF?

Regards,

Oisin