cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Parameters dynamically to WEBAPI

Former Member
0 Kudos

Greetings,

How to dynamically can I pass variables value to WEAPI to execute a query? For example I have two variables Year (PCALYEAR) and Period (PCALM). I tried the below command and it did not work.

CMD='PROCESS_VARIABLES' SUBCMD='VAR_SUBMIT' VAR_NAME_1=’PCALYEAR’ VAR_VALUE_EXT_1=’2006’

VAR_NAME_2=’PCALM’ VAR_VALUE_EXT_2=’11’

I understand I can pass the value directly to the variable however my scenario is complicated and I have to use WEPAPI.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to do that as a URL string, like in this example:

'CMD_1=CMD%3DDRILL_TO_LEVEL%26LEVEL%3D

Open a BEx Query in the browser, navigate in it and then you see the URL syntax.

Answers (0)