Tag Query error when assigning mode in Link Editor

Hi,
I am receiving the following error when I run a transaction that contains a Tag query.  In my transaction I have set the tag query mode to be defined by a local property via the link editor.  Then when I execute the transaction I get the following error:
"[ERROR] [TAG_QUERY_WRITE_TAG]com.sap.xmii.Illuminator.logging.LHException: Mode parameter was not found or is malformed"
I am on version 12.1.8 Build(43).
I import the project into MII 12.1.4 Build(53) and the transaction works as expected.
In the new verson of MII is there a bug utilizing the link editor to set mode?  Or is there a specific way it wants the mode linked. (e.g. specific case)
Additional details:
I am trying to use the CurrentWrite mode.  I have tried setting Current mode via the link editor and that isn't working either. 
Any suggestions?
Thanks,
Justin

Hi Mike,
Please correct me if I understand the logic incorrectly.  But here is what I am thinking....
I have configured my transaction to have this flow:
String_List_To_XML_Sequence --> Repeater_TagValues  -->  TAG_QUERY_WRITE_TAG
The String_List_To_XML_Sequence would contain String_List_To_XML_Parser_TagValues & String_List_To_XML_Parser_TagNames.
With this flow the logic would say that I will be running a seperate tag query for each tag value.  So if I have 100 tag values that I want to send, I will run 100 tag queries.  This doesn't seem the most efficient.  Also if this is how you were thinking I would configure the transaction then I could use the following links:
Target Xpath: TAG_QUERY_WRITE_TAG.TagValue.1
Expression: String_List_To_XML_Parser_TagValues.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
Target Xpath: TAG_QUERY_WRITE_TAG.TagName.1
Expression: String_List_To_XML_Parser_TagNames.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
With this configuration updating 10 tags takes 2 seconds:
[INFO] Statistics [Load = 35 ms msec, Parse = 35 ms, Execution = 2015 ms, Total = 2067 ms]
With my old configuration updating 10 tags took 700 ms. (original transaction on 12.1.4 Build (53)
[INFO] Statistics [Load = 11.137 msec, Parse = 224.113 msec, Execution = 451.78 msec, Total = 736.62 msec]
Please let me know if I interpreted your thoughts incorrectly.
If there is a way to utilize only 1 Tag Query, then I am not sure how the transaction flow should be configured.
Thanks for your time,
Justin
Edited by: Justin M Brown on Jul 14, 2011 7:29 PM
Edited by: Justin M Brown on Jul 14, 2011 7:33 PM

Similar Messages

  • MII 11.5 and PCo 2.1 and Tag Query Error

    Hi,
    I have KEPWare OPC server configured with a single tag, and with the OPC Client open.  I have PCo 2.1 configured with a single agent, and 'legacy' ticked with port 9001.  I have a UDS connector pointing to port 9001, and a tag query in 'currentwrite' mode, and can successfully write a value from the query editor (within MII 11.5) to KEPWare, when tested directly within the MII query editor.
    However, when I call the same tag query from within an MII transaction, and set 'TagName.1' and 'TagValue.1' to the values I want, I get the following error:
    "An item with the same key has already been added. at SAP.Manufacturing.Connectivity.Protocol.Custom.PCoQueryRequestHandler.ProcessRequest(Object handler)"
    I see this error in the PCo log.
    Interesting thing is, that within the transaction editor, when I select the underlying tag query, and the editor asks to generate the XML, and I say Yes, the underlying tag query runs fine (I can see the value getting updated within KEPWare).
    I've also tried with/without subscription items in PCo, plus different settings for 'Cache Mode' in PCo, plus using fully qualified tag name (ie: channel.device.tag as KEPWare sees it), etc, but in all cases I get the above error.
    Any ideas?

    Hi Diana,
    I upgraded to PCo V2.1.4.2, still same issue.  And yes, the data server (UDC) is checked as "Writable"!!
    As mentioned, the tag query runs fine in both "Current" mode and "CurrentWrite" mode.  Only when I call the same query from a transaction do I see this error.  Excerpt from Runner Log below;
    2011-02-23 15:20:32,390 [ServletExec: request: time=1298434832343, uri=/Lighthammer/Runner]
    ERROR  Runner - [9FA68944-67CE-824D-3FA6-D96023119ECE][ERROR]:
    IlluminatorQuery: An item with the same key has already been added. TMP0794C967-0F69-8F04-568C-CD037815D1D0
    2011-02-23 15:20:32,453 [ServletExec: request: time=1298434832343, uri=/Lighthammer/Runner]
    ERROR  Runner - [9FA68944-67CE-824D-3FA6-D96023119ECE][ERROR]:
    ACTION FAILED: End Action IllumTagQuery_0 : () TMP0794C967-0F69-8F04-568C-CD037815D1D0
    If I leave the transaction Tag Query action (that calls the underlying tag query) without any assignment to TagValue.1, then there is no error, and the error as set in the aunderlying tag query is used.  But as soon as I assign values to TagValue.1 inside the transaction, I get the error.  I've tried passing a value via a local paramater etc, same issue.
    Regards
    Kevin.

  • Error when assigning SID while uploading text in the info-object of the DSO

    Hi
    I have a scenario where I need to extract a char 60 field from R/3 in the DSO.
    I have created the info-object which is char 60 which has the master data text activated.
    In the DSO transformation I have mapped it to the R/3 field.
    While activating the data in DSO its giving the error message
    'Value '20 per action plan' (hex. '32302070657220616374696F6E20706C616E') of characteristic'
    'Error when assigning SID: Action VAL_SID_CONVERT InfoObject ZRMSD '
    How to overcome this issue.
    Please advise.
    Thanks in advance.

    Change the InfoObject for this text so that it will allow lowercase letters. To do this, go into Change mode on the InfoObject, go to the General tab, check the Lowercase letters checkbox and activate the InfoObject. After this has been activated, you can then restart your process and this SID violation error should no longer be thrown for this.
    If you don't want to do this, then you can use the TOUPPER formula in the Characteristic Routine, in the Transformation, to change the value of this field contents to uppercase. This can also be done by using an ABAP routine like this:
    TRANSLATE column TO UPPER CASE.
    Edited by: Dennis Scoville on Nov 3, 2009 9:55 AM

  • Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0FISCPER

    Dear experts,
    I'm getting this error when activating an DSO.
    I'll try to explain when this error happens.
    I have a DTP in Delta Mode between 2 DSO's.
    The first time I run the DTP the DSO activates with no problems.
    The next time I run the DTP and it gets data the activation of the DSO has the error: Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0FISCPER
    I've googled it but I can't find a solution for this.
    The first time I got this error I've deleted the DSO anda loaded the Data again and got no errors.
    The next Delta that has Data gave error when activating the DSO.
    Whan can be happening here?
    Best Regards,
    Rui Romba

    So you want to say that data loaded successfully in DSO 1 and while activating data in DSO2 you are getting this error.
    DSO1 feed data to DSO2 correct.
    Please check if generate SID upon activation setting is checked in DSO1 or not.Because if its the issue with fiscal year period then it should have given the error at DSO1 itself provided that setting is maintained.
    I just stumbled upon a document which addresses this issue and it seems the problem is with fiscal year variant.
    Check out the document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a5a670-13f6-2c10-179d-a35e50a208bf?quicklink=index&…
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER

    Hi All,
    We are getting the following error when activating an ODS:
    Fiscal year variant  not expected                                           
    Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER   
    Interestingly, we have two systems for two different phases, on the same BW 3.5 SP level and the corresponding source R/3 SP Levels. BEx reporting is turned on for both the ODSs.
    On one system, the ODS get's activated without any issue and on the other, it get's errored out.
    I have tried different things like Rebuiding Global Transfer Settings, comparing the data between the two systems, etc., but no use.
    Any ideas/solutions?
    Thanks,
    - Shashi

    Marc,
    I have checked once and found all the data is correct. I will do that again.
    When I tried RSRV checks on 0FISCPER and 0FISCVARNT, I am getting the following message:
    0FISCVARNT is not a characteristic but an InfoObject of type TIM
    Message no. RSRV209
    Diagnosis
    The value entered 0FISCVARNT must be the name of a characteristic. However, 0FISCVARNT is an InfoObject of type TIM.
    The following values can be types:
    CHA characteristic
    KYF key figure
    TIM time characteristic
    UNI unit
    DPA package
    ATR attribute
    MTA meta-InfoObject
    Thanks,
    - Shashi

  • Error when assigning SID: Action VAL_SID_CONVERT table 0TYPE

    Hi Experts
    When I am trying to load the data into DSO the data is scheduling But DSO data is not Activated It Showing Error
    messages in Log for request processing in Request tab of DSO Manage.
    1.Error when assigning SID: Action VAL_SID_CONVERT table 0TYPE
    2.Value 'area' (hex. '61726561') of characteristic 0TYPE contains invalid characters
    3.Error when assigning SID: Action VAL_SID_CONVERT table ZCH_O_TYP
    4.Value 'area' (hex. '61726561') of characteristic 0TYPE contains invalid characters
    5.Error when assigning SID: Action VAL_SID_CONVERT table ZVALUE
    6.Value '0000000000000000860452655_PDF_45U x 200' (hex. '30303030303030303030303030303030383630343532363535') of
    characteristic ZVALUE contains invalid characters
    7.Error when assigning SID: Action VAL_SID_CONVERT table ZVALUE_O .
    8.Value '224053 sht 1.pdf##~##000000153363' (hex. '3232343035332073687420312E70646623237E232330303030') of
    characteristic ZVALUE_O contains invalid characters.
    9.Activation of M records from DataStore object ZCF_O02 terminated
    I have tried adding the special character # with transaction rskc but nothing seems to change and
    I still get the same error.
    DATA: T_ALL(100) type C,
    T_VAR1(45) type C value 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopq',
    T_VAR2(50) type C Value 'rstuvwxyz 0123456789 @#$%^&*()_-+=:;\/?',
    temp(60) type c,
    cnt type i,
    length type i.
    clear : cnt,temp,length.
    break-point.
    temp = SOURCE_FIELDS-TXZ01.
    CONCATENATE T_VAR1 T_VAR2 into T_ALL.
    cnt = 0.
    length = STRLEN( temp ).
    IF NOT temp CO T_ALL.
    WHILE cnt < length.
    IF NOT temp+cnt(1) CO T_ALL.
    CLEAR: temp+cnt(1).
    ENDIF.
    cnt = cnt + 1.
    ENDWHILE.
    ENDIF.
    translate temp to upper case.
    RESULT = temp.
    i am getting the above error, one of the expert suggested to implement this code but i am getting some errros when i execute this one please can anyone check this code and correct the errors it would be help ful to me.
    Regards
    Venu

    Hi ,
           Implement this code to resolve the issue.
    You can use the sample code below to choose only the charachters to be allowed in for the field. Using that you can remove all special charachters and # symbols as required
    DATA: T_ALL(100) type C,
    T_VAR1(45) type C value 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopq',
    T_VAR2(50) type C Value 'rstuvwxyz 0123456789 @#$%^&*()_-+=:;\/?',
    temp(60) type c,
    cnt type i,
    length type i.
    clear : cnt,temp,length.
    break-point.
    temp = SOURCE_FIELDS-TXZ01.
    CONCATENATE T_VAR1 T_VAR2 into T_ALL.
    cnt = 0.
    length = STRLEN( temp ).
    IF NOT temp CO T_ALL.
    WHILE cnt < length.
    IF NOT temp+cnt(1) CO T_ALL.
    CLEAR: temp+cnt(1).
    ENDIF.
    cnt = cnt + 1.
    ENDWHILE.
    ENDIF.
    translate temp to upper case.
    RESULT = temp.
    Regards,
    Rahul.

  • Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0BP_ACTIVIT

    Hello Team,
    WE are facing the error"Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0BP_ACTIVIT" .Please see he below screen shot.
    Every day the failure is for a different value and this is fixed with the manual activation of he DSO, with out any change .
    Below are the steps we have tried:
    1. The RSRV tests for the info objects were consistant. We have done he below rsrv tests:
    a. Compare characterstic of P/Q table with X/Y tables.
    b.SID values in X and Y tables.
    2. We have changed the DSO setting  from Parallel to Serialized Activation.
    Also the format of the values are as per the designated type.
    One more thing which i noticed is , the values for which the failure occurs , are new entries to the DSO, and they do no exists in the Change log table.
    Please let us know , what else can be done to fix this issue.
    Thanks in Advance,
    Nikhil

    HI Nikhil,
    please go through the documents.
    http://scn.sap.com/thread/1820047
    http://scn.sap.com/message/14266151
    http://scn.sap.com/thread/1520825
    Regards,
    Abdul rAwoof Syed.

  • Activating DSO: Error when assigning SID

    Hi,
    I am loading data from r/3 to BW via PSA till PSA the data gets populated correctly with out any errors, But from PSA to ODS I get the below Errors Can some one help me
    Value '0050307 ' of characteristic 0DATE is not a number with 000008 spaces     
    Error when assigning SID: Action VAL_SID_CONVERT table ZPOD_DATE RSDRO
    Error when assigning SID: Action VAL_SID_CONVERT table ZPO_DATE RSDRO          
    Activation of M records from Data Store object ZSD_O05 terminated RSM1102     
    Process 000106 returned with errors     RSODSO_PROCESSING     6     
    Process 000122 returned with errors     RSODSO_PROCESSING     6     
    Thanks
    Abhi

    Hi
    Thanks fro your immediate response
    But in the Error message” Value '0050307 ' of characteristic 0DATE is not a number with 000008 spaces" I don’t have 0DATE field in my ODS to check
    Thanks
    Abhi

  • While uploading the flat file getting Error when assigning SID

    Hi ,
    while uploading flat file i getting thid error .
    Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER and No SID found for value '0 ' of characteristic 0CURRENCY

    Hi Bijender,
    This is related due to missing values in your currency tables.
    If  you are maintaining the currency tables from R/3 - Replicate the Currency Rates(Source sytem- Transfer Exchange Rates).
    & check if the missing value is available in the TCURR table.
    Thanks,
    ChandraDeepak

  • I am getting a 404 error when I click the link to request my upgrade.

    I am getting a 404 error when I click the link to request my Mountain Lion upgrade. I have a brand new MacBook Pro so I don't understand why I'm getting this error.

    Make sure you are logged in to the Adobe site, have cookies enabled, clear your cookie cache.  If it continues to fail try using a different browser.

  • "Can not get a key" error when assigning the OAuthTokenIssuer certificate

    I am migrating from Lync Server 2010 to 2013. When deploying the 2013 server, it fails when assigning the OAuthTokenIssuer certificate. With the KeyException error below.
    I've tried "re-keying" the cert and confirmed that the key is exportable. Does anyone have any insight on how to resolve this? 
    =============
    <?xml version="1.0" encoding="UTF-8"?>
    -<CsMgmtLog Name="Set-CSCertificate">
    <Info Time="2014-04-21 19:00:53Z" Title="Connection">Data Source=servername.domain.com;Initial Catalog=xds;Integrated Security=True</Info>
    -<Action Name="Set Certificate" Time="2014-04-21 19:00:53Z">
    -<Exception Time="2014-04-21 19:00:54Z" Message="Can not get a key." Type="KeyException">
    <StackTrace Time="2014-04-21 19:00:54Z"> at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy) at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext) at Microsoft.Rtc.Management.Internal.KeyManagement.GroupKeyWrapper.Encode(Byte[]
    inBytes) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor scope, X509Certificate2 foundCert, X509Certificate2Collection certs, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor
    scope, String thumbprint, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Tasks.SetCertificateTask.Action() at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)</StackTrace>
    </Exception>
    <Complete Time="2014-04-21 19:00:54Z"/>
    </Action>
    <Error Time="2014-04-21 19:00:54Z" Title="Error">An error occurred: "Microsoft.Incubation.Crypto.GroupKeys.KeyException" "Can not get a key."</Error>
    </CsMgmtLog>
    =============
    Regards,
    Yai

    Please try to assign the certificate with Lync Server Management Shell.
    Run the following command:
    Set-CSCertificate -Identity Global -Type OAuthTokenIssuer –Thumbprint <string>.
    Check if you can assign default certificate to Lync Front End Server.
    Check the Root Certificate Authority certificate is not expired.
    Lisa Zheng
    TechNet Community Support

  • Error when assigning  business partners to positions in org. mgmt.

    Hello,
    I've got the following problem. I want to assign business partners to a position in organisation management. When doing this, the following error occurs:
    "Object cannot be assigned to object xxx in the period xx.xx.xxxx - xx.xx.xxxx"
    (xxx is the position to which the business partner should be assigned)
    The number of this error message is 5A368.
    Diagnosis in the detailed description of this message:
    "The object period of object '1st Level Support' is not within the relationship period 26.03.2007 - 31.12.9999."
    I've changed the object period of the position "1st Level Support" to several other dates, but it did not solve the problem.
    The described problem does not occur, when assigning an user to this position.
    Can anybody help me with this problem? I'm using SolMan 4.0.
    Thank you in advance!

    Thanks for your answer so far. Unfortunately it's not possible for me to upgrade to SP11. So I tried to solve the problem the way you described. I double-clicked the position on the left, the desired position is shown in the main screen and I try to assign the business partner to the position. But the same error appears.
    Are there any other possible solutions?
    What are the consequences of assigning users to a position instead of business partners?

  • Why am I getting an "unsupported url" error when I click the link to find my apple id?

    When I click the link to change my password or to find my apple id, I get a blank page with only "unsupported url error".  I've tried on multiple devices and while I can log on with one apple ID, I can not get any of the links to change id or password or to find an  additonal password to work.  Any suggestions?

    When I click the link to change my password or to find my apple id, I get a blank page with only "unsupported url error".  I've tried on multiple devices and while I can log on with one apple ID, I can not get any of the links to change id or password or to find an  additonal password to work.  Any suggestions?

  • Tag Query Error

    Hi,
    I am executing a tag query and I keep getting the following error -
    OperationList [ERROR] - Error Message: Pending requests found, current request will be retried at a later date
    OperationList [ERROR] - Error updating
    com.sap.xmii.applet.common.ResultModelException: Error Message: Pending requests found, current request will be retried at a later date
         at com.sap.xmii.applet.common.BaseApplet.getResultModel(BaseApplet.java:1089)
    Can somebody explain what would be the cause of such an error and how to fix it?
    Regards,
    Chanti.

    Actually, they have to be run in isolation because I can't load both projects in the OPC server at the same time. So, I can run the related MII applications only one at a time. But heres something I found in the UDS logs -
    [P:4192, T:5000,       UDS, ] 0x0     HRESULT: 0x80070057 [Invalid at the top level of the document.
    ]     [Connection.cpp @ 1024, CLHOpcDaConnection::FinalGetMetadata]
    [P:4192, T:5000,       UDS, RETHROW] 0x0     Rethrowing exception.     [Connection.cpp @ 1130, CLHOpcDaConnection::FinalGetMetadata]
    [P:4192, T:5000,       UDS, RETHROW] 0x0     Rethrowing exception over COM.     [tagUtil/lhds2Connection.h @ 1427, lhds::LHDSConnectionImpl<class CLHOpcDaConnection>::GetMetadata]
    [P:4192, T:5000,       UDS, ] 0x0     Caught exception over a COM boundry.     [tagUtil/lhds2NamespaceMode.h @ 174, lhds::LHDSTagListModeImpl<class CLHOpcDaDSTagList>::LookUpDescription]
    [P:4192, T:5000,       UDS, HANDLED] 0x0     Handled exception.     [tagUtil/lhds2NamespaceMode.h @ 177, lhds::LHDSTagListModeImpl<class CLHOpcDaDSTagList>::LookUpDescription]
    Does it make sense?

  • Error when sending a document link via email

    Hi people,
    I am on SAP EP 6.0 SP15 and below I describe my scenario.
    I have some documents created in some KM folders. Today, I tried to send one of those documents via email to another portal user. If I go through Send To > Send Copy..., that other portal user receives the email with the document attached and he is able to open it... so far so good.
    However, if i try to send the same document but now using a link (Send To > Send Link...), the other guy receives the email, but the link results in a 404 error when clicked.
    I investigated a little and found that the link sent contains "" signals to indicate spaces in the folder names, instead of "%20". I believe this is the issue, because if I change manually the "" signals to "%20", the link works perfectly.
    My question is: is there a way to configure the sistem to use "%20" instead of "+" to represent spaces? Or I will have to remove the spaces from ALL my folder names?
    Thanks
    Fernando Urzedo

    Hi Fernando,
    this seems to be a bug. In the release notes of KMC SPS16 incl. P1, this is not reported as fixed (on the other hand, not every fixed bug gets reported in the release notes).
    You could try to patch your portal first; if you don't can do this at the moment or if the bug persists after patching, please open an OSS message.
    Hope it helps
    Detlev

Maybe you are looking for

  • Install failed on redhat 8.0 Any ideas?

    this is the error message i receive : I'm new to this *** Got java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot access individual system properties. while trying to print stack trace j2sdkee-1_4-beta-linux.sh: line 354: 3098

  • Nesting of names in Adresse Book, bug?

    I´m getting a weird thing with my contacts, on several contacts it seems like new sub-adresses are added on one main contact like this: the main email-adresse (on the left) is not added by me to the contact-list, but is probably there as a cc in some

  • Someone Please Help. Time Machine Back-up...

    Hi. Basically, i have a back-up of my whole macbook pro that was performed yesterday. Today, i accidently removed (permenantly) a piece of software that also obviously had links with other folders etc for plug-ins, preferences so when i manually trie

  • Why can't I use Soutwest Airlines website on Foxfire?

    I have cleared the cookies and restarted several times. I had to use IE and it worked fine. What's up?

  • NF user for Ciscoworks SIMS appliance

    Hi all I have a CW SIMS appliance (aka Cisco 1160) and while performing some patching/upgrading, I'm required to enter the nf oracle user password. If it were the Linux/Windows instalation, this would be user define. On the appliance, pre-installed f