Report Parameter Syntax in URLs
Use
When using the function module WWW_GET_REPORT to get and execute a report, you have to use the prescribed report parameter syntax when defining parameters in URLs.
Each parameter should be separated by & and follow the standard conventions for URL parameters:
<parameter name> = <parameter value>.
URL Syntax for Report Variants
The correct syntax for report variants is:
_VARIANT=<variant name>
URL Syntax for Select-Options
When specifying values for report select-options in a URL, you can pass any of the data types C, D, I, P, and T.
For most data types, you have to specify - LOW and - HIGH values to define a range. The correct syntax for each data type is shown in the table below.
|
Data type |
Description |
Syntax |
|
C |
Character (text) |
SELC_<name>-LOW=<value> SELC_<name>-HIGH=<value> |
|
D |
Date |
SELD_<name>-LOW=<value> SELD_<name>-HIGH=<value> |
|
I |
Integer |
SELI_<name>-LOW=<value> SELI_<name>-HIGH=<value> |
|
P |
Packed number |
SELP_<name>-LOW=<value> SELP_<name>-HIGH=<value> |
|
T |
Time |
SELT_<name>-LOW=<value> SELT_<name>-HIGH=<value> |
URL Syntax for Parameters
When specifying values for report parameters in a URL, you can pass any of the data types C, D, I, P, and T. The correct syntax for each data type is shown in the table below.
|
Data type |
Description |
Syntax |
|
C |
Character (text) |
PARC_<name>-LOW=<value> |
|
D |
Date |
PARD_<name>-LOW=<value> |
|
I |
Integer |
PARI_<name>-LOW=<value> |
|
P |
Packed number |
PARP_<name>-LOW=<value> |
|
T |
Time |
PART_<name>-LOW=<value> |
URL Syntax for Checkboxes
When specifying values for checkboxes in a URL, the only valid data type is C, and the only valid values are X or ' '. The correct syntax is:
CBOC_<name>=<value>
URL Syntax for Radio Buttons
When specifying values for radio buttons in a URL, the only valid data type is C, and the values are names of radio buttons. The correct syntax is:
RADC_<radio button group>=<radio button name>