LSMW error: Field name '' used more than once in file"

Hi,
I am doing a sample vendor master load with LSMW but while reading data I am getting an error
"Field name '' used more than once in file
'C:\Users\sdurgia\Desktop\LSMW\MM\vendor_master_te
s'."
Not getting proper reason.Can you please guide?
Urgent please help.
BR
Sumeet

Hi,
FYI.
LIFNR
BUKRS
EKORG
KTOKK
NAME1
NAME2
SORT1
SORT2
STREET
HOUSE_NUM1
STR_SUPPL1
STR_SUPPL2
CITY2
CITY1
REGION
POST_CODE1
LAND1
TAXJURCODE
PFACH
PSTL2
REMARK
TEL_NUMBER
TEL_EXTENS
MOB_NUMBER
FAX_NUMBER
FAX_EXTENS
SMTP_ADDR
DEFLT_COMM
KUNNR
VBUND
KONZS
BEGRU
STCD1
STCD2
STCD3
STCD4
SCACD
SFRGR
DLGRP
BANKS
BANKL
BANKN
KOINH
BKONT
LNRZA
XZEMP
AKONT
ZUAWA
FDGRV
BEGRU1
QSSKZ
QSZNR
QSZDT
ALKTN
ZTERM
TOGRU
REPRF
KULTG
ZWELS
ZAHLS
LNRZB
HBKID
TOGRR
EIKTO
WAERS
ZTERM1
INCO1
INCO2
EIKTO1
WEBRE
XERSY
XERSR
VSBED
NAMEK
J_1IPANO
QLAND
LFBW-QSREC
XVERR
FYTYP
STCDT
BKREF
4000048674
2550
M004
DHL EXPRESS (USA) INC
PAY
4000069273
PO BOX 4723
HOUSTON
TX
US
77210-4723
CONTAC: IRMA MURILLO
800-225-5345
281-874-0678
[email protected]
94-3380425
US
11000536
999999
ACCOUNT HOLDER
221300
1
AP VEND
Z011
X
T
B
USD
Z011

Similar Messages

  • Custom Administrative Template Error 53 Key name specified more than once

    Hi All,
    Hope I've picked the correct forum. I am making my first foray into setting up a custom administrative template for some software that is developed in house. The current deployment method is to merge a reg file on each computer that requires the registry
    settings. I am trying to set this up so that it is controlled via GPO.
    My idea is that in the a GP can set the registry settings for one or more areas that are controlled by the software. 
    The problem I have - I get Error 53 Keyname specified more than once on Line 9 (second KEYNAME). In total I will have about 30 different sites this needs to be set up for.
    Does this mean that I can't set more than one registry key per "Policy" setting in the GPO?
    The adm file I have so far is below
    TIA
    Jason
    ---------------------------------------------CUT---------------------------------------------
    CLASS User
    CATEGORY "App Site Settings"
    POLICY !!Site1Policy
    EXPLAIN !!Site1Explain
    KEYNAME "Software\ApplicationCompany\Site1\Access"
    VALUENAME "SystemDatabase"
    VALUEON "D:\\App\\Data\\App.mdw"
    VALUEOFF DELETE
    KEYNAME "Software\ApplicationCompany\Site1\Arbitration"
    VALUENAME "ConfigPath"
    VALUEON "D:\\Site1\\Data"
    VALUEOFF DELETE
    KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
    VALUENAME "ConfigFile"
    VALUEON "D:\\App\\Data\\App_Comms.mdb"
    VALUEOFF DELETE
    VALUENAME "SysConfig"
    VALUEON "D:\\Site1\\Data\\SITE1_SYS.mdb"
    VALUEOFF DELETE
    END POLICY
    POLICY !!Site2Policy
    EXPLAIN !!Site2Explain
    KEYNAME "Software\ApplicationCompany\Site2\Access"
    VALUENAME "SystemDatabase"
    VALUE "D:\\App\\Data\\App.mdw"
    KEYNAME "Software\ApplicationCompany\Site2\Arbitration"
    VALUENAME "ConfigPath"
    VALUE "D:\\Site2\\Data"
    KEYNAME "Software\ApplicationCompany\Site2\Common Settings"
    VALUENAME "ConfigFile"
    VALUE "D:\\App\\Data\\App_Comms.mdb"
    VALUENAME "SysConfig"
    VALUE "D:\\Site2\\Data\\Site2_SYS.mdb"
    END POLICY
    END CATEGORY
    [strings]
    Site1Policy = "Site1 settings"
    Site1Explain = "Enabling this setting configures the registry settings for dummy Site1."
    Site2Policy = "Site2 settings"
    Site2Explain = "Enabling this setting configures the registry settings for dummy Site2."

    Well - I ended up sorting this out - and no - you can't have the Keyname keyword twice - unless you enclose the the setting in a PART statement. Below is what I ended up with:
    ---------------------------------------------CUT---------------------------------------------
    CLASS USER
    CATEGORY "ApplicationSettings"
    KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
    POLICY !!SITE1Policy
    #if version >= 3
    EXPLAIN !!PolicyExplain
    #endif
    KEYNAME "Software\ApplicationCompany\Site1\Access"
    PART !!ConfigFilePolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
    VALUENAME ConfigFile
    DEFAULT !!ConfigFileDefault
    END PART ;!!ConfigFilePolicy
    PART !!SystemDBPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site1\Access"
    VALUENAME SystemDatabase
    DEFAULT !!SystemDBDefault
    END PART ;!!SystemDBPolicy
    PART !!SysConfigPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site1\Common Setting"
    VALUENAME SysConfig
    DEFAULT !!SysConfigDefault
    END PART ;!!SysConfigPolicy
    PART !!ArbitrationPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site1\Arbitration"
    VALUENAME ConfigPath
    DEFAULT !!ArbitrationDefault
    END PART ;!!ArbitrationPolicy
    END POLICY
    POLICY !!SITE2Policy
    #if version >= 3
    EXPLAIN !!PolicyExplain
    #endif
    KEYNAME "Software\ApplicationCompany\Site2\Access"
    PART !!ConfigFilePolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site2\Common Settings"
    VALUENAME ConfigFile
    DEFAULT !!ConfigFileDefault
    END PART ;!!ConfigFilePolicy
    PART !!SystemDBPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site2\Access"
    VALUENAME SystemDatabase
    DEFAULT !!SystemDBDefault
    END PART ;!!SystemDBPolicy
    PART !!SysConfigPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site2\Common Setting"
    VALUENAME SysConfig
    DEFAULT !!SysConfigDefault
    END PART ;!!SysConfigPolicy
    PART !!ArbitrationPolicy EDITTEXT
    KEYNAME "Software\ApplicationCompany\Site2\Arbitration"
    VALUENAME ConfigPath
    DEFAULT !!ArbitrationDefault
    END PART ;!!ArbitrationPolicy
    END POLICY
    END CATEGORY
    [Strings]
    ArbitrationDefault =D:\SITE\Data
    ArbitrationPolicy =Arbitration path
    ConfigFileDefault =D:\App\Data\App_Comms.mdb
    ConfigFilePolicy =Application configuration file
    PolicyExplain =Enter Explainition of the Registry settings here
    SysConfigDefault =D:\SITE\Data\SITE1_SYS.mdb
    SysConfigPolicy =Application site system configuration file
    SystemDBDefault =D:\App\Data\App.mdw
    SystemDBPolicy =Application system database path
    SITE1Policy =Site1 Application Settings
    SITE2Policy =Site2 Application Settings

  • Am I able to use more than 1 audio file in IDVD?

    Am I able to use more than 1 audio file in my IDVD project? I want to have different songs in my subtitles.

    Yes.  Each menu had an info/settings page that you can add a different audio track to:
    When you add a track to a menu the the playing time should be set to 30 seconds or 1 minute.  If you leave it at the full lenght that full length will apply towards the 15 minutes total allowed for all menus.
    OT

  • How to  check customer reference no. not  being use more than once

    I have the following situation and appreciate if  some one could show me a simple solution.
    “On the Sales order window, when user enter a value for Customer Ref. No”, check if the entered value has already  been used on any existing Sales Order, and give message eg. “this Ref. No already been used in SO. 257”
    What is the easiest way of implementing the validation?
    Using Formatted Search?
    Triggers or Stored Procedure?
    Or one must go about doing this simple task using SDK, DIAPI?
    sample code illustrating solution would be much appreciated.
    I tried to create a query and used it with Formatted search on the Field, but failed on an error.
    the code using temporary hard coded value instead of $[$x.0.0] looks like this
    if (SELECT    COUNT(*)
    FROM         dbo.ORDR
    WHERE     (NumAtCard = 'AAA' and CardCode ='1234')
    ) =0     
         Begin
                       select 'AAA' --redisplay value
         end
    else
                  begin
    SELECT     TOP 1 'already used in SO '+ Convert(Char(3),DocEntry)
    FROM        dbo.ORDR
    WHERE     (NumAtCard = 'AAA')    
             end
    where 'AAA' is the reference no. to check for customer '1234', this code works when I run it in SQL query analyser, but failed when I run it as query in Business one. the idea was to redisplay the entered No. 'AAA' if it is not found in any existing SO for cust ='1234'
    can anyone point out what the error is or show  alternative code for the query.
    thanks

    Hi Andy,
    I believe the best way to do this is probably to use the SDK as (to my knowledge) this is the only way you can get a message to be displayed and to stop the actual processing of the document.
    If you want to go the formatted search route I would suggest you change your query a bit. I have played with your query and the following is an example as I got it working in SBO. I think SBO gets confused if there is more than one select statement that returns a result and I have started using variables to save the results of the select statements in.
    [code]Declare @Val varchar(100)
    declare @Count integer
    set @Val = $[$14.0.0]
    if (SELECT COUNT(*) FROM dbo.ORDR WHERE (NumAtCard = @Val and CardCode = $[$4.0.0])) > 0
    begin
    SELECT TOP 1 @Val = 'already used in SO '+ Convert(Char(3),DocEntry) FROM dbo.ORDR WHERE (NumAtCard = @Val)
    end
    select @Val[/code]
    I hope it helps a bit,
    Adele

  • Mapping for field which appear more than once.

    Hi experts.
    My source and target structure is:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field4
    Field3 may appear a few times in the source message.
    For example:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field3[1]
    ___Child1
    ___Child2
    ___Child3
    Field3[2]
    ___Child1
    ___Child2
    ___Child3
    Field4
    I need to pass to the target structure the "Field3" who's "Child1" is greater than 5 and  "Child2" is greater than 10 and  "Child3" is greater than 15.
    My problem is that the condition is executed only once for the first "Field3",
    and if the check returns
    "True" all the "Field3" are copied.
    if "False" is returns no one of the "Field3" is passed.
    How should i hold the context for it, in order each of the "Field3" elements passes the condition?
    Regards Max.

    hi,
    map required Field3& Child1 field with the target with the required conditions and set the context of both to  the higher level.
    Regards,
    NJ

  • SubVi with feedback nodes used more than once inside a While Loop

    All,
    I have a subvi that does a set of operations and uses 3 feedback nodes. I am using this subvi inside a While Loop a total of 4 times. I've noticed that all instances used share the same result at each corresponding feedback node but I would like to have an individual result from each of them. Is there an easy way to go around this problem? I have come up with ways to avoid this: a) create a different vi for each time the subvi was used. b) use global variables instead of feedback nodes. Is there any easier way to go around this issue?
    ExamplePlease note that both subvi's are the same) If on my first subvi I calculate a maximum value and get 1.29 (then goes to feedback node) on my second subvi i get 1.01 my feedback node at the second subvi still registers the maximum value to be 1.29. (and I want it to be 1.01!)
    Hope this is not too confusing, I've been scratching my head with this for a while, can't find the "easy" button. Thanks in advance.
    -Pop
    Im using 9.0.
    Solved!
    Go to Solution.

    Attaching the code would be helpful. Anyway, I am not sure how multiple feedback nodes are supposed to operate so I will defer that to others to answer. As far as being able to use distinct values or instances if you are using a subVI you could mark it as reentrant. That way each call to it will behave as it it were a copy of the VI and it will have its own memory space. This should include the feedback node. You may be ending up with a single subVI and in reality a single feedback node. If you need to pass data between calls than simply wire the data through. You could also use an Action Engine to store and retrieve values. An AE is a MUCH better solution than a global variable.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Buy app once, use more than once?

    If I buy an app (currently for my iPod Touch) but then move to an iPhone - will I still be able to use all of the apps I have downloaded/paid for on the new device? The new iphone would sync with the same iTunes Library...
    Thanks.

    She can use every account she wants. Just sign out under Settings > iTunes & App Stores and sign back in with the desired account. But keep in mind that you should avoid buying content with different Apple IDs. All purchases are linked to the account that was used to buy them. Especially apps cause a lot of problems, because of app updates.
    Your wife could though easily benefit from your purchased songs or other kind of media. Maybe have a look at iTunes home sharing...

  • Using more than 1 xml file

    I have this one as file that is going to be doing most of the work eventually.  However, I am setting it up so that it uses another class file which is below this one.  My problem is that I cannot get this to work so that all four xml files come in before the loading function gets accessed and therefore the output tells me that it cannot access a null reference.  Then it loads the variables.  How do I get it so that the variables load and then the loading function fires? I have also connected the files so that they can be lloked at and run.  The fla is simple just create one and set the document class to Main in the properties area.
    Here is the output.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Main/loading()
    at Main/init()
    at Main()
    Then the xmlData parts list.
    Main.as
    package
    import flash.display.*;
    import flash.events.*;
    import flash.net.*;// brings in functions  or classes that are needed
    import flash.net.URLLoader;// brings in functions to load in external data
    import flash.net.URLRequest;// brings in functions that allow transfer from one variable to another
    public class Main extends MovieClip
      public var football:XMLClass = new XMLClass("football.xml", "football");
      public var baseball:XMLClass = new XMLClass("baseball.xml", "baseball");
      public var basketball:XMLClass = new XMLClass("basketball.xml", "basketball");
      public var hockey:XMLClass = new XMLClass("hockey.xml", "hockey");
      public var pictures01:Loader = new Loader();
      public var pictures02:Loader = new Loader();
      public var pictures03:Loader = new Loader();
      public var pictures04:Loader = new Loader();
      public function Main()
      init();
      public function init()
       addChild(pictures01);pictures01.x = 25; pictures01.y = 25; pictures01.visible = true;
       addChild(pictures02);pictures02.x = 250; pictures02.y = 25; pictures02.visible = true;
       addChild(pictures03);pictures03.x = 475; pictures03.y = 25; pictures03.visible = true;
       addChild(pictures04);pictures04.x = 700; pictures04.y = 25; pictures04.visible = true;
    loading(4);
        loading(4);
      public function loading(sent:Number)
       trace("got to function loading");
       //trace(football.xmlData.football.team[sent], baseball.xmlData.baseball.team[sent], basketball.xmlData.basketball.team[sent],hockey.xmlData.hockey.team[sent]);
       trace("got here 1");
       pictures01.load(new URLRequest(football.xmlData.team[sent].logo));// sets the b loader to hold the picture of the current book cover
       /*trace("got here 2");
       pictures02.load(new URLRequest(baseball.xmlData.team[sent].logo));// sets the b loader to hold the picture of the current movie cover
       trace("got here 3");
       pictures03.load(new URLRequest(basketball.xmlData.team[sent].logo));// sets the b loader to hold the picture of the current poster
       trace("got here 4");
       pictures04.load(new URLRequest(hockey.xmlData.team[sent].logo));// sets the b loader to hold the picture of the current poster
       trace("got here 5");*/
       trace("able to end loading function");
      }// end of loading function
    XMLClass.as
    package
    import flash.display.*;// brings in functions  or classes that are needed
    import flash.events.Event;// brings in functions  or classes that are needed
    import flash.events.MouseEvent;// brings in functions  or classes that are needed
    import flash.net.*;// brings in functions  or classes that are needed
    import flash.net.URLLoader;// brings in functions to load in external data
    import flash.net.URLRequest;// brings in functions that allow transfer from one variable to another
    /* creates the class and sets memory area for the various parts */
    public class XMLClass
      public var filename:String = new String();
      public var mainElement:String = new String();
      public var xmlLoader:URLLoader = new URLLoader();// sets up a new variable to load in the XMl data that is only to be used by this class
      public var xmlData:XML;//declares the variable that holds the information loaded in the URLLoader that is only to be used by this class
      public var xmlList:XMLList = new XMLList();//sets a variable that handles the listing of the XMLdata variable that is only to be used by this class
    public function XMLClass(string1:String,string2:String)
       filename = string1; trace("got to set filename " + filename);
       mainElement = string2; trace("got to set mainElement " + mainElement);
       this.xmlLoader.load(new URLRequest(filename)); trace("got to load new URLRequest");// looks for the file named in order to load it and then loads it
       this.xmlLoader.addEventListener(Event.COMPLETE, useXML);// sets the xmlLoader variable to be aware of the XML file to see if it has finished getting loaded into the program
    public function useXML(e:Event):void
      this.xmlData=new XML(e.target.data); trace("set up " + filename + " xmlData");//with the xml download complete populate the xmlData variable
      this.xmlList=xmlData.(mainElement); trace("setup " + mainElement + " xmlList");//pass the elements of the xml data file into a list
      trace(xmlData.(mainElement).team.*);

    Sorry, I did not realize that.  I did the download so that you could see what I was
    up to.  I forget that you're more experienced than I and can see things easier.  Anyway, here are the parts that matter. and I would like to know where the connection is going wrong.
    This is the custom class that I created.
    package 
      import flash.events.*;
      public class MyEventMaker extends EventDispatcher
        private static var dispatcher:MyEventMaker = null;
        public function MyEventMaker(enforcer:MyEventEnforcer) : void
          if(!enforcer)
           throw new Error("Direct instantiation is not allowed");
          return;
        }// end function
        public static function GetInstance() : MyEventMaker
          if(!dispatcher)
            dispatcher= new MyEventMaker (new MyEventEnforcer());
          }// end if
          return dispatcher;
        }// end function
    class MyEventEnforcer{}
    These are the lines in the XMLClass that is supposed to throw the event.
    import MyEventMaker;
    MyEventMaker.GetInstance().dispatchEvent(new WorkerEvent());
    And this is the part in the actual class program that listens for the custom class event.
         myEventMaker.GetInstance().addEventListener(WorkerEvent.UNREACHABLE_EVENT, checkCount);
       myEventMaker.GetInstance().addEventListener(WorkerEvent.UNREACHABLE_EVENT, checkCount);
       myEventMaker.GetInstance().addEventListener(WorkerEvent.UNREACHABLE_EVENT, checkCount);
       myEventMaker.GetInstance().addEventListener(WorkerEvent.UNREACHABLE_EVENT, checkCount);
       if(variableCount >= 4){
        init();

  • 'PortfolioBacklogs' cannot appear more than once if content model type is "all"

    I'm trying to add another level above feature and have followed these instructions https://msdn.microsoft.com/en-us/library/dn217880.aspx
    The project is setup as scrum not agile, maybe that is why???, but I get the following error:
    'PortfolioBacklogs' cannot appear more than once if content model type is "all"
    and haven't been able to find where to change the content model type.

    Hi Dckennedy1, 
    Thanks for your post.
    What’s the version of your TFS? TFS 2013 Update 4? Your current team project created using default Scrum 2013.4 process template?  After which step you received this error? You can share your error screenshot(s) here.
    I created a new Scrum 2013.4 template team project in my TFS 2013 Update 4 Server, and followed the steps in that document to add Initiatives work item type in my TFS Web Access, the Initiatives work item type be added into portfolios successfully, you can
    refer to the below screenshot:
    The only difference with steps in that document is I edited the PortfolioBacklogs section as below in my ProcessConfiguration.xml file.
       <PortfolioBacklog category="MyCompany.InitiativeCategory" pluralName="Initiatives" singularName="Initiative">
          <States>
            <State value="New" type="Proposed" />
            <State value="In Progress" type="InProgress" />
            <State value="Removed" type="InProgress" />
            <State value="Done" type="Complete" />
          </States>
          <Columns>
            <Column refname="System.WorkItemType" width="100" />
            <Column refname="System.Title" width="400" />
            <Column refname="System.State" width="100" />
            <Column refname="Microsoft.VSTS.Common.BusinessValue" width="50" />
            <Column refname="Microsoft.VSTS.Scheduling.TargetDate" width="100" />
            <Column refname="System.Tags" width="200" />
          </Columns>
          <AddPanel>
            <Fields>
              <Field refname="System.Title" />
            </Fields>
          </AddPanel>
        </PortfolioBacklog>
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Inbound interface found more than once for outbound interface

    Hello everybody,
    i have a simple problem.
    I build a interface with XI3.0
    File to idoc
    for each file i need crate 2 idoc.
    It's not a problem when Idoc type is different, but in my case i need crate 2 idoc of same type but with a different mapping.
    so when i upload the file i have this error:
    Inbound interface found more than once for outbound interface
    how can i solve this problem? can i force this step?
    i thought to create a different idoc type or create the 2 idoc in same mapping , but there is not my favourite solution because in case of error , both idoc will be not created.
    any suggestion?
    thanks in advance
    alex

    Hi,
    Instead of exporting and changing the occurrence as suggested by Ravi,
    use the same Idoc twice in mapping as well as Interface mapping.
    Coming to ID part, do every thing as usual.
    The only thing to note is instead of using normal Interface determination, use extended Interface Determination.
    This will solve your problem. The error will not come again. I'm sure.
    Try out and update the thread.
    Regards,
    Jeevan.

  • How to Include more than one jar files

    My application uses more than one jar files. And all the jar files i am using are signed. when i include the jar files, i am including them in the resources section of the ".jnlp" file . The section of code looks like this:
    <resources>
    <jar href="utestfw.jar" main="true" download="eager"/>
    <jar href="crimson.jar"/>
    <jar href="jaxp.jar"/>
    </resources>
    <application-desc main-class="utestfw.ObjectBrowser"/>
    The deployment of the application is successful. The jar file - "utestfw.jar" contains the application main class when the application is launched it works, but when i choose the feature which involves the classes of either "crimson.jar" or "jaxp.jar" , the application terminates and the webstart console and the application is closed automatically. Am i wrong in adding the jar files? what is the way to add more than one jar files to the ".jnlp" file.
    Can anyone please help me?
    -Aparna

    I'll post u the jnlp file which i am using. To sign all the jars i've used the same alias ( a self signed certificate using keytool and jarsigner).Here is the jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="0.2 1.0"
    codebase="http://127.0.0.1:8080/healthdec"
    href="testTool.jnlp">
    <information>
    <title>Unit Test Manager </title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <description>A minimalist drawing application along the lines of Illustrator</description>
    <icon href="images/testing.gif"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.3+ 1.2+"/>
    <jar href="utestfw.jar" main="true" download="eager"/>
    <jar href="crimson.jar" main="false" download="eager"/>
    <jar href="jaxp.jar" main="false" download="eager"/>
    </resources>
    <application-desc main-class="utestfw.ObjectBrowser"/>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    Can u please look at the above code and suggest me where i am wrong. Thanks.
    -Regards
    Aparna

  • Statechart module: Using a master statechart to launch a slave statechart more than once without getting Error 1100 at Obtain Queue (No object of that name was found)

    Hello,
    I am trying to create a project using the statechart module, and one of the techniques I am trying to use is a "master-slave" statechart structure, illustrated by the code I have attached to this post (you probably need the statechart module installed to look at my example code).  The problem I have recently discovered is that the slave statecharts cannot be launched more than once without raising an Error 1100 at Obtain Queue.  I have gathered from a few other posts that the cause of this error is the fact that the First Call primitive is used by the Statechart module to initialize the statechart when it is first run.  This works fine for the first launch of the slave statechart, but the second launch and subsequent launches of the statechart fail on Error 1100, since the First Call primitive won't let the statechart initialize (the First Call primitive tells the statechart it has already been initialized (this isn't the first call), and the External Trigger function then tries to send an external trigger to a queue that doesn't exist).
    What I can't gather from those posts is the correction I need to make to get this design to work.  I tried to send the slave statecharts a boolean flag for the "Init?" terminal, to force a reinitializing of the slave statechart.  I couldn't get that to work.  I tried to not load the slave sub VI as a slave sub VI, and launch it using some VI Server code, so that maybe the slave sub VI would be loaded and unloaded, therefore causing the statechart to properly initialize, but I couldn't get that to work either.  What correction should I make?  How do I get this to work?
    I really want to use this design pattern, first of all since I wrote a lot of code already with this structure, and second of all, it makes a lot of sense to me.  How do I make it work?  If someone could post a version of my code that functions the same, but without the error, I would appreciate that.  If you don't have time for that, but would be able to outline the steps I need to take to get it to work, that would be helpful, as well.
    Thanks to anyone for any assistance they can provide.  If you need any other information, please let me know.
    Attachments:
    Statechart Sample.zip ‏431 KB

    Thanks, Deborah.  I tried this approach out, and it turns out you can't just wire a TRUE to the "Init?" terminal.  You have to wire a TRUE for the first run of the slave statechart, and then it has to become a FALSE.  If you wire a TRUE, it will constantly try to reset the statechart, which doesn't work.
    The master statechart has to keep track of whether it has called the slave statechart, and communicate that to the slave statechart.  On the very first call of the slave statechart, the "First Call?" function inside of the "Run Statechart" function will give a TRUE, which initializes the statechart properly, and then gives a FALSE from that point after.  After that, the "First Call?" function doesn't work anymore (it will always return FALSE), and an initial TRUE, with subsequent FALSE values, has to be provided manually.
    I attached a version that does this, which appears to work.  Let me know if it doesn't work for someone, or if you have a better idea to implement the correction.
    Thanks to everyone for the replies!
    Attachments:
    Master-Slave Statechart Sample.zip ‏439 KB

  • Use of same filed more than once in module pool program.

    hi Good day,
    i want to use a filed on the screen more than once.
    ex : T7EHS00_EXA_PHY-UNIT
    the reason why i want to use this field more than once is b'coz it has SEARCH HELP.
    If i use this filed search help is created internally.
    to be more specific :
    i have
    screen field    screen field
    xys                unit of meas.
    abc                unit of meas.
    def                 unit of meas
    ghi                 unit of meas.
    jkl                  unit of meas.
    but SAP Does not accept the same field more than once.
    in this case what can i do?
    thank you,
    J.

    Hi Jacob,
    use like this....
    data : i1 type T7EHS00_EXA_PHY-UNIT ,
            i2 type T7EHS00_EXA_PHY-UNIT,
            i3 type T7EHS00_EXA_PHY-UNIT,
            i4 type T7EHS00_EXA_PHY-UNIT.
    In the screen properties,
    Give search Help-----> H_T006
    Declare the name in program as given to IO filed name...
    Hope you Understood...
    Regards,
    Vijay SR

  • CRS Install hostname being used by more than once for the same node.

    Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
    "You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
    Has anyone experienced this error message before and know what the cause is?
    Could it be a problem with the /etc/hosts file?
    Thanks in advance,
    M

    Make sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
    Also, the installer may complain if your private and public IPs are configured under the same subnet.
    Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
    - public name and IP addresses of ALL nodes
    - private name and IP addresses of ALL nodes
    - VIP name and IP addresses of ALL nodes
    Hope that helps
    B.

  • Powershell and Client Object Model - no error thrown if user is added more than once to same site or group

    Hello All -
    I am trying to add a user to a SharePoint site using PowerShell like below:-
    New-SPUser -UserAlias MyDomain\jan20a -Web http://SPServer/sites/MySite
    If I execute the above more than once, SharePoint does not throw that user already exists or something. This is not the same behavior in AD/Exchange PowerShell cmdlets.
    Also, even the client object model behaves the same way.
    Another interesting thing I noticed, I tried to remove a user from group in which the user was not part of it at all and still no error..!!
    Looks like SharePoint does not care of invalid input and just ignores it.
    Can anyone please confirm this and also the reason behind it ?

    It's not really invalid input, since the user exists and that is how SharePoint behaves (will behave same way in browser).  Try to input a user that and misspell the name, e.g. say you didn't have a MyDomain\Jan21a, then try to use same script above,
    only with invalid data.  It will bark at you.  Or try using a web that it cannot find, one that does not exist.  You'll get what I like to call, the red badge of courage if you enter invalid data.
    you can test that sharepoint will let you enter a user twice in the browser, and nothing bad comes from it.  Powershell is just unable to tell that the user was not in the site, when you removed it the second time. 
    Hope that confirms it, if it does please mark this reply accordingly.  thanks
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

Maybe you are looking for