cancel
Showing results for 
Search instead for 
Did you mean: 

Meaning of MULTI='X' in URL Commands

Former Member
0 Kudos

In data provider commands (see http://help.sap.com/sapdocu/netweaver/bw/bw32/helpdata/EN/3d/0dfe3980f23728e10000000a11402f/frameset... the keyword MULTI appears to allow the use of pattern matching in data provider names (older documentation uses the word 'template', the latest has 'reference'). All the examples I have come across show it being used in conjunction with '' as a wild-card character ('', 'USA'), other examples using multiple data providers do not include this key word.

I have a web template that includes a large number of data providers, some of which should be affected by a command. Even though the data providers are referenced by their full names the command string below does not work without including MULTI=X.

Have I misunderstood the meaning of the keyword, or does this appear to be a bug?

Applying the command to all the data providers that contain ?USA? in their name

<SAP_BW_URL DATA_PROVIDER='USA' MULTI='X' CMD='...' ...>

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

yes you are correct, this is an error with the documentation. It will be corrected.

You need to specify the MULTI parameter everytime you want to apply a command on more than one Data-Provider (Pattern-usage, but also DATA_PROVIDER_n Usage).

Heike

Former Member
0 Kudos

Hy Rob

In my templates i always use MULTI='X' when i work on more then one DATA_PROVIDER in one command.

What you could try is the following:

<SAP_BW_URL>&DATA_PROVIDER_1=DP01&DATA_PROVIDER_1=DP02&FILTER_

If i understand my (german) documentation the right way it should work on DP01 AND DP02 even if you write DATA_PROVIDER_1 for DP01 and DP02.

Hope it helps

Stephan

glenleslie
Advisor
Advisor
0 Kudos

Hi Robert,

I notice a lot of CO related objects in your command URL. Many CO Infoobjects have compounding enabled. It could be that when you specify multi you are then providing the necessary compounding object to all the DPs where it's needed. Again to help you, you'd have to tear it apart and start adding one DP at a time to the string and see where it works/doesn't work wihthout the MULTI statement.

You might find the PDF version of the Web API to be a bit easier to determine the scope of the parameter MULTI in different contexts. See http://service.sap.com/bw -> Infoindex -> W -> Web Application Design (3.x) -> Web API Referenz 3.x (pdf)

It is in English.

Glen