Skip to Content
-1
Apr 22, 2021 at 10:47 PM

Opening URL using parameters in SAP ABAP

705 Views Last edit Jan 09, 2023 at 01:08 PM 2 rev

I am trying to use parameters from the general parameters table where (zparams) the parameter name is "example_url" and the parameter value is "https:google.com"

In my program, under SE38, I have a pushbutton so that when you click on this you can open google.com. I want to do this without hardcoding google.com (for example if I used call function 'call_browser' I can hardcode google.com in there but how do I do this without that?)

SELECTION-SCREEN PUSHBUTTON 40(20) BUTTON1 USER-COMMAND LINK

INITIALIZATION.

button1 = 'Click on this button'.

at SELECTION-SCREEN.

if sy-ucomm = 'LINK'.

SELECT SINGLE param_value INTO button1

FROM zparams WHERE param = 'example_url'.