cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Tag Names and Tag Values Into a Tag Query

Former Member
0 Kudos

On version 12.1.4...

I have a BLS that will be called as a web service, and it needs to update a tag value. The TagName and Tag Value will be passed in via the Web Service Call.

I have 2 Transaction Input Properties of Type String in my BLS.

1. TagName001 (Type String)

2. TagValue001 (Type String)

I have a query template pointing to the Server, with mode of CurrentWrite. When I manually assign TagNames and TagValues in the "Values" section and execute the query template the tags are successfully updated.

When incorporating the query template into the BLS as a tag query, I remove the TagNames and Values that were assigned in the "Values" section. No tags are selected in the "Tag Query Details" section, either.

I have assigned the TagName001, and TagValue001 values to the TagQuery TagName.1 and TagValue.1 properties with a valid tag name and valid tag value.

Please tell me what I am doing wrong here.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

For some strange reason my BLS just "worked" this morning when I tried it. Thanks for the suggestion.

Former Member
0 Kudos

Hi,

Have you tried something like:

http://<servername>/XMII/Runner?Transaction=Test/YieldCalc&YieldFactor=10.0&OutputParameter=YieldAve...

MII 12.1 help on using URL calls is [here|http://help.sap.com/saphelp_mii121/helpdata/en/4a/287c3dd30242ade10000000a421138/content.htm].

If you are going to use a [webservice call |http://help.sap.com/saphelp_mii121/helpdata/en/4a/287c3dd30242ade10000000a421138/content.htm]to a transaction the WSDL will have the definition of the inputs.

Regards,

Kevin