Hello. I'm trying to develop a frontend to a default SAP template, an example of which can be seen here:
http://server:port/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZFFG_KPI_OPS_W001&var_name_6=ZC_MODE&var_value_ext_6&var_name_10=ZC_STATE&var_value_ext_10&var_name_4=ZCALDAYR&var_value_low_ext_4&var_value_high_ext_4=&var_name_11=ZH_PCHI1&var_value_ext_11
I am trying to get the values of the profit center hierarchy nodes so that I can pass them from my frontend
page to the SAP template. For instance, the hierarchy value "CUBICO MAINTENANCE | 20/FOX/1897" can be passed
to the template as "20/FOX/1897". Unfortunately, none of the hierarchy nodes can be passed in the same way.
For example, when I try to pass the hierarchy node "FFG ROAD 06 | FOX FFGROAD06" as "FOX FFGROAD06", by
entering the following URL:
http://server:port/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZFFG_KPI_OPS_W001&var_name_6=ZC_MODE&var_value_ext_6&var_name_10=ZC_STATE&var_value_ext_10&var_name_4=ZCALDAYR&var_value_low_ext_4=17/10/2005&var_value_high_ext_4=&var_name_11=ZH_PCHI1&var_value_ext_11=FOX%20FFGROAD06
and then pressing the "Execute" button, I find that the SAP template throws up an error - first by dividing
the string "FOX FFGROAD06" with slashes into "FO/X FF/GROA", and then giving me the following error:
"Value GROA for variable Profit Ctr (FFG) is invalid".
I had obviously not intended to pass the string "FO/X FF/GROA", yet this is the way that the SAP template
interprets it. I have tried to pass all kinds of strings, only for the SAP template to reject them, and I am
completely stumped. Does anyone have any ideas as to what I could do?
Thanks in advance for your help!
Cheers,
Greg