Skip to Content
0
Former Member
Jul 23, 2010 at 11:29 AM

Changing a 7.0 query variant via ABAP in RSRPARAMETRIZA

385 Views

Hi experts,

we are trying to change a 7.0 query variant via an ABAP.

We have been unable to find a suitable function module or class, so we are now trying to directly change the variant in table RSRPARAMETRIZA (field "content", which seems to contain an XML string encoding of the variant's variable values).

So far we have encountered 2 problems with this approach:

1. Directly writing an XML string (build by our ABAP coding) makes the query dump upon execution.

We have compared our "custom build" string with the ones the BEx Analyzer is creating, and they seem to be identical regarding their structure. Nevertheless something is wrong with our string... 😔

2. Sometimes it seems the XML structure of the string is changing, depending on whether the variant is created in RSRT, BEx Broadcaster or BEx Analyzer...

Any hints / suggestions?

Anyone knowing a better way to programmatically change 7.0 query variants?

Thanks & best regards,

Hendrik