How to generate not nillable complexType with ant task autotype

Hi all,
The file types.xml created by ant task autotype contains, among others, all element definitions of my java classes.
For testing purposes I have a simple class that holds (wraps) only a string. In the types.xml it is shown as followed:
<xsd:complexType name="StringHolder">
<xsd:sequence>
<xsd:element name="mystring"
type="xsd:string"
nillable="true"
minOccurs="1"
maxOccurs="1">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
Somehow nullabel is always true, but I want to be false. Does anyone knows how?

Hello digitxm,
Since the hardware you have is the limiting factor, with the NI 6008 you can perform a software timed pwm output if timing in your application is not critical (your cycle time is in the seconds range and you do not mind some milliseconds of delay) you can use a digital output with software timing control for your PWM generation. Also, see how to use AO channel(s) to control the voltage level of a square wave output (period of the square wave can be varied). Otherwise, this can be accomplished by using the following example on generating a digital waveform using non-regeneration in order to update frequency and duty cycle on-the-fly using National Instruments M Series or X series DAQ devices.
Best regards,
Ali M
Applications Engineer
National Instruments
www.ni.com/support

Similar Messages

  • How to generate a PRBS signial with arbitrary generator HAMEG HMF2525

    hi, i need help to make the acquisition and signal generation from HFM2525 HAMEG.
    and how to generate a PRBS signial  with arbitrary generator HAMEG HMF2525?

    fafil82,
    What have you done so far?  What NI products are you using?  If you're using ELVIS how does your setup look like?  What is your overall application?
    Jonathan R.
    Applications Engineer
    National Instruments

  • Change manifest file in existing EAR file with ANT task

    Hi,
    I use ant task (ojdeploy) to create EAR files from ADF application.
    Now I want to add the application version number to MANIFEST.MF.
    Is it possible to do the manifest file modification IN THE EXISTING EAR FILE (or while creating the EAR file with ojdeploy) with ant task or do I have to do the modification in the source MANIFEST.MF and after this create EAR file with ojdeploy?
    BTW: I tried the <ear> task to create the EAR file instead of using ojdeploy but I was not able to find the needed deployment descriptor (appxml="application.xml") in my ADF appication.
    regards
    Peter

    Hi Peter,
    I don't know of a way to do it directly in ANT/ojdeploy. However, you could try exploding the EAR, updating the manifest, and recreating the EAR - cumbersome and slow, but it should work.
    John

  • How to generate a pulse train with different pulse width and delay?

    How to generate a triggered pulse train with different pulse width. for example, after each trigger signal, let's say 2 ms, then the counter output a pulse with pulsewidth of 1 ms, and then after 3 ms delay after the first pulse, the second pulse was generated with a pulse width of 4 ms.  Next cycle when the trigger signal comes, the same two pulses will be generated and so on. Is it possible to achieve this by using 6601 counter card? and if yes, how to achieve this? Thanks!

    Unfortunately you can not create a hardware timed pulse train with different widths on each pulse from a counter. Whilst it can be changed on the fly using software, since you require a hardware triggered signal getting the software involved will not give a huge amount of accuracy when the pulse will actually change.
    So in short you can't use your 6601 card (or a counter timer) to achieve this
    There are three possible Alternative solutions
    1 You could use a high speed digital IO device such as the (6533/34) to generate your variable signal which would require setting up the pulse train as a series of states based around the burst transmission mode where the clock would give you your specific timing.
    2 A timed analogy output (for example on a MIO card with a clock (PCI-6220 / 62xx), i.e. Not the 6704 style static analogy output cards)
    3 A high speed digital waveform card such as the (, 656x , 655x, 654x, 6534, 6533 (http://www.ni.com/modularinstruments/find_right.ht​m) ) this could then be scripted to work with your triggering and also there is a digital waveform editor which will enable you to set up the pattern you wish to generate (http://sine.ni.com/nips/cds/view/p/lang/en/nid/135​55) 
    Hope that helps
    Tim Matthews
    NI (UK)

  • How to generate sequence no increased with an increment in o/p file name

    Hi all,
             I am doing a file to file scenario in which my output file name consists of a sequence number which is increased by fixed increment.i  thought of proceeding with variable substitution by writing one udf involving Dynamic Configuration object (the udf describd in Micheal blog).However my problem is that i am unable to generate the sequence number with a fixed increment .plz guide me how to proceed to achieve the desired output filename with sequence number.
    For ex:o/p file name:chxx.bcdtspd.00000002.<datetimestamp>.dat
                                  :chxx.bcdtspd.00000003.<dattimestamp>.dat           
    The scenario is FTP so we cant use addcounter.Plz help as its urgent.
    Regards,
    Saurabh Sharma

    Hi,
    What you can do is.
    U have to use the counter which increment everytime ur mapping is executed.
    Steps which needs to be followed.
    1) Maintain one table at R3.
    2) Pass the control to R3 and update the table value with one.
    3) For the second time fetch the counter value from the table and add 1 to it and again update the table with the increment value.
    4) pass the incremented value to XI and use that counter value for ur file name.
    Here u have to always pass 1 value to R3.
    The method is called as lookup.
    Just go through the below weblog:
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Thnx
    Chirag
    Thnx
    Chirag

  • How to deploy ADF-BC (SDO) with ANT

    I have an ADF-BC exposed as an webserivce. I can deploy it via JDeveloper, but how do I deploy it with ANT. Does anyone has an ANT script example, based on ADF-BC
    Marc
    http://orasoa.blogspot.com

    I am using JDev 11g (ps1). The link you mentioned, is about deploying artifacts to the MDS. I want to deploy and ADFBC exposed as an webservice , (aka SDO object) to the server via ANT.
    Marc

  • How to start Bea 9 asynchronously with Ant?

    Unfortunately the whole text is condensed because of a forum bug. I hope, you still read it.
    With Bea 8 it was possible to start the Bea application server asynchronously with Ant.
    But I couldn't start <b>Bea 9</b> asynchronously with Ant. I get this error:
    <pre>
    spawn does not allow attributes related to input, output, error, result
    spawn also does not allow timeout
    finally, spawn is not compatible with a nested I/O <redirector>
    </pre>
    This is my Ant target:
    <pre>
    <target name="start_weblogic" description="Start Bea Weblogic asynchronously">
    <exec executable="C:\bea\user_projects\domains\FooBar\bin\startWebLogic.cmd"
    dir="C:\bea\user_projects\domains\FooBar"
    failonerror="true"
    spawn="true" />
    </target>
    </pre>
    Why doesn't it work? What Ant script I need to start Bea 9 application server <b>asynchrously</b>?
    I need this for our Daily Build. In the middle of the automatical building process the application server needs to be started <b>automatically</b>.

    If you close Firefox while in full screen mode then Firefox should reopen in full screen mode the next time.
    That choice is saved in the localstore.rdf file in the profile folder.
    *http://kb.mozillazine.org/localstore.rdf

  • How to generate SNP planned order with different category

    Our SNP system receives Forecast and Salse Order from DP system.
    and we'd like to generate SNP planned order with different category..for example, 'AI' for Forecast Demand and 'AL' for Sales Order..
    currently, If we run CTM, system generate SNP planned order with the
    same category 'AI'..
    another system(APS) in Our company receives planned order from SNP
    and they want to receive planned order for forecast and planned order for sales order seperately..

    It is not directly achievable however can be done through BADIs and two CTM profile. I am assuming that sales orders are planned ahead of Forecast demands. So have two CTM profiles - one for Sales Orders (regenerative mode) and the other for Forecast Demands (net change mode). You may have to invoke two BADIs in the first run for Sales Orders - one that changes master data by putting a temperory Forecast Horizon in SNP2 tab (BADI /sapapo/ctm_matloc). The other BADI (BADI /sapapo/ctm_orders) changes the ATP category just before saving. in the second run though you just need to run the latter BADI by saving it in the ATP category required. BADIs can be invoked based on CTM profiles used.

  • How to generate a certificate request with more than one OU?

    We're using Sun Java System Web Server 6.1 SP4. The Corp. has it's own CA and organize their certificates in a hierarchical rule with more then one organization unit (OU) in a chain.
    So what we need is generate a certificate requeste with more than one OU, but the Web Server wizard has only one text field for it. We've already tried to fill in this field the complete chain of OUs like "ou=orgX, ou=deptY, ou=secZ" and didn't work either.
    Thank's in advance,
    Jeff!

    Do you have tried with the command line "certutil" ?
    #<SERVER-ROOT>/bin/https/admin/bin/certutil

  • How to start weblogic instance using wlserv ant task

    Hi,
    Iam using weblogic 8.1
    Iam trying to write build script which starts remote weblogic instance and does deploy using wldeploy and restarts the instance.
    First iam trying with starting weblogic.
    ==============================
    <wlserver
                   dir="${server.project.root.dir}"
                   domainName="${weblogic.domain.name}"
                   serverName="${weblogic.server.name}"
                   host="10.106.90.50"
                   port="8001"
                   generateConfig="true"
                   productionModeEnabled="false"
                   weblogicHome="${weblogic.home}/weblogic81"
              username="weblogic"
                   password="password"
                   args = "-XX:MaxPermSize=512M -Xms256m -Xmx512m"
                   action="start">
                   <classpath refid="weblogic.classpath"/>
              </wlserver>
    ==============================
    Iam getting an issue here , it starts the weblogic but automatically it stops the weblogic , without any exception.
    as per their documentation
    "When you use the wlserver task in an Ant script, the task does not return control until the specified server is available and listening for connections. If you start up a server instance using wlserver, the server process automatically terminates after the Ant VM terminates. If you only connect to a currently-running server using the wlserver task, the server process keeps running after Ant completes."
    I understand what they are saying , but what is the remedy to it , how to rectify it. I tried starting default server it gives NPE.
    ITs kinda very urgent for me any help , or available scripts will be very use ful.
    Thanks in advance.

    meghab,
    Thanks for the reply.
    I tried using java task , now the server is starting sucessfully but iam getting exception while starting the Queue.
    Here is my ant task.
    ===================================
    <target name="weblogicrun">
              <java fork="yes" dir="${weblogic.domain.dir}" classpathref="weblogic-classpath" classname="weblogic.Server">
                   <jvmarg value="-server"/>
                   <jvmarg value="-Dweblogic.Name=MyAppServer"/>
                   <jvmarg value="-Dweblogic.RootDirectory=${weblogic.config.dir}"/>
                   <jvmarg value="-Xms256m"/>
                   <jvmarg value="-Xmx512m"/>
                   <jvmarg value="-XX:MaxPermSize=128m"/>
                   <jvmarg value="-da"/>
                   <jvmarg value="-Dplatform.home=D:/bea"/>
                   <jvmarg value="-Dwls.home=D:/bea/weblogic81/server"/>
                   <jvmarg value="-Dweblogic.ProductionModeEnabled=false"/>
                   <jvmarg value="-Djava.security.policy=D:/bea/weblogic81/server/lib/weblogic.policy"/>
              </java>
         </target>
    ===================================
    In my project i have default queue , it gives INSTANTIATION EXCEPTION while trying to invoke weblogic.jms.common.DestinationImpl
    ==================================
    java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
    =====================================
    Iam providing the config information from config.xml
    <JMSServer Name="WSStoreForwardInternalJMSServerMyServer"
    Store="FileStore" Targets="MyAppServer">
    <JMSQueue CreationTime="1179819623120"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueCCAppServer"/>
    <JMSQueue CreationTime="1179819623511"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueMyAppServer"/>
    </JMSServer>
    =========================================
    The full exception stack is below...
    [java] <Oct 11, 2007 1:54:28 PM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "MyAppServer" for domain "MyAppDomain">
    [java] <Oct 11, 2007 1:54:41 PM IST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
    [java] java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
    [java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:801)
    [java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:341)
    [java] at weblogic.jms.backend.BackEnd.createDestination(BackEnd.java:1952)
    [java] at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:667)
    [java] at weblogic.jms.JMSService.addJMSServer(JMSService.java:2247)
    [java] at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
    [java] at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
    [java] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
    [java] at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
    [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    [java] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
    [java] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
    [java] at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
    [java] at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
    [java] at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7731)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1321)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:339)
    [java] at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
    [java] at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
    [java] at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
    [java] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
    [java] at weblogic.Server.main(Server.java:32)
    Am i missing something.
    Thanks in advance.
    Edited by rdayalan at 10/11/2007 1:45 AM

  • Struggling with Ant Task

    I have not success trying Kodo's ant task.
    Can you give me an example of how to use it without relaying on the system
    classpath, since I running ant inside jbuilder, I will like to know which
    is the right format to get the task working.
    <target name="enhancer" depends="compile,clean">
    <copy todir="${classdir}" overwrite="yes">
    <fileset dir="${srcdir}">
    <include name="**/*.jdo"/>
    </fileset>
    </copy>
    <taskdef name="jdoc"
    classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"
    classpath="${kodohome}/lib/kodo-jdoee.jar;${kodohome}/lib/jdo_0_95.jar;${kodohome}"/>
    <jdoc srcDir="${classdir}">
    <fileset dir=".">
    <include name="**/*.jdo" />
    </fileset>
    </jdoc>
    </target>
    this is the exception that I get :
    D:\JavaProjects\DatabaseLayer\build.xml:38: Could not create task of type:
    jdoc due to java.lang.NoClassDefFoundError

    Manuel Ledesma wrote:
    I have not success trying Kodo's ant task.....
    this is the exception that I get :
    D:\JavaProjects\DatabaseLayer\build.xml:38: Could not create task of type:
    jdoc due to java.lang.NoClassDefFoundErrorYou are probably running into a general shortcoming of ant: the classes
    which define custom tasks have to be in ant's classpath. That
    "classpath" parameter to the taskdef does not define where ant looks
    for the taskdef itself -- unfortunate but true! This is something the
    ant people have talked about fixing.
    In the meantime, you'll just need to put the necessary Kodo jars in your
    $ANT_HOME/lib. Hopefully that will fix your problem.
    Paul

  • Ant Task-autotype throws exception

    I am trying to generate custom types based on xsd.
    But i get following exception.
    [weblogic.xml.schema.model.XSDValidityException: unable to resolve type name ['h
    ttp://bea.com/salestrac21']:base:SendingTime]]
    Attached are sample xsd.
    Thanks
    [simple.zip]

    Hello,
    This example looks familiar :-) and I think we talked before about
    having the same namespace, looks like both imports have
    http://bea.com/salestrac21
    Generating valid schema is a complex task; I'd recommend keeping it as
    simple as possible and instead of starting from scratch you might
    consider starting from known, working definitions that you could taylor
    to meet your requirements; and there are a number of tools that can
    assist your development, such as XMLSpy that is shipped with WLS.
    Hope this helps,
    Bruce
    askbea wrote:
    >
    I am trying to generate custom types based on xsd.
    But i get following exception.
    [weblogic.xml.schema.model.XSDValidityException: unable to resolve type name ['h
    ttp://bea.com/salestrac21']:base:SendingTime]]
    Attached are sample xsd.
    Thanks
    Name: simple.zip
    simple.zip Type: Zip Compressed Data (application/x-zip-compressed)
    Encoding: base64

  • How to generate a customized report with a table

    I have a table with two columns: month, count. The values are like the following:
    Jan-2007 50
    Feb-2007 46
    Mar-2007 55
    Apr-2007 76
    Jan-2009 67
    Feb-2009 86
    Mar-2009 55
    I want to generate a report like this:
    Month 2007 2008 2009
    January 50 76 67
    Febuary 46 45 86
    How to do that?
    Thanks.
    Jen

    Jen,
    This is the best way I could come up with. It is a little clunky but it gets the job done. Basically it buckets each group by month and then unions each month together. I used the column names and formats you specified so you should only have to change the table name.
    EDIT
    You may want to do a nvl on each decode that way the sums will work correctly for nulls. Also, you could generate this sql statement procedurally and save yourself some maintenance time. This was just to show you how it could be approached.
    SELECT 'January' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'JAN'
      GROUP BY 'January'
    UNION ALL
    SELECT 'February' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'FEB'
      GROUP BY 'February'
    UNION ALL
    SELECT 'March' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'MAR'
      GROUP BY 'March'
    UNION ALL
    SELECT 'April' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'APR'
      GROUP BY 'April'
    UNION ALL
    SELECT 'May' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'MAY'
      GROUP BY 'May'
    UNION ALL
    SELECT 'June' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'JUN'
      GROUP BY 'June'
    UNION ALL
    SELECT 'July' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'JUL'
      GROUP BY 'July'
    UNION ALL
    SELECT 'August' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'AUG'
      GROUP BY 'August'
    UNION ALL
    SELECT 'September' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'SEP'
      GROUP BY 'September'
    UNION ALL
    SELECT 'October' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'OCT'
      GROUP BY 'October'
    UNION ALL
    SELECT 'November' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE substr(month,1,3) = 'NOV'
      GROUP BY 'November'
    UNION ALL
    SELECT 'December' "Month",
           SUM(DECODE(substr(month,5,4),2000,count)) "2000",
           SUM(DECODE(substr(month,5,4),2001,count))"2001",
           SUM(DECODE(substr(month,5,4),2002,count))"2002",
           SUM(DECODE(substr(month,5,4),2003,count))"2003",
           SUM(DECODE(substr(month,5,4),2004,count))"2004",
           SUM(DECODE(substr(month,5,4),2005,count))"2005",
           SUM(DECODE(substr(month,5,4),2006,count))"2006",
           SUM(DECODE(substr(month,5,4),2007,count))"2007",
           SUM(DECODE(substr(month,5,4),2008,count))"2008",
           SUM(DECODE(substr(month,5,4),2009,count))"2009" FROM TYSON_TEST_TABLE
      WHERE UPPER(substr(month,1,3)) = 'DEC'
      GROUP BY 'December'Edited by: Tyson Jouglet on Mar 17, 2009 9:27 AM

  • How to generate PAYEXT (PEXR2002) IDOC with many invoices for same vendor

    Hello,
    We are implementing the IDOC payment processing through transaction F110.  The first test we ran using multiple items for the same vendor created an IDOC with multiple E1IDPU1 segments for each invoice.  We then configured a second bank and ran the test again.  This time the multiple invoices for the same vendor generated a seperate IDOC.
    Does anyone know where I should start looking to figure out what I did wrong?  We are hoping to generate 1 IDOC for all invoices for the same vendor.
    Thanks,
    Brian

    Hello,
    May I know how or what are the steps you did to create multiple invoices and generate multiple idocs for the same vendor? I have a requirement to generate multiple payext idoc for a single vendor.
    Please advise. Thank you very much!

  • BPC75NW: How to generate list of accounts with a specific prefix

    Hi Experts,
    I need to generate a list of accounts (to be scoped in LGF script file) starting with 'A_'.
    How do I acheive this in BPC7.5 NW version ?
    Regards,
    Pankaj.

    Hi,
    One of the ways could be to have a property for all these accounts or any other criteria you may have and use the XDIM Filter statement as below:
    *XDIM_FILTER ACCOUNT= [ACCOUNT].PROPERTIES("ACC_CAT")= "XXXX"
    Thanks,
    Sreeni

Maybe you are looking for

  • When I try to open a new link in a different tab or new window it does not happen what can i do?

    I pull up a search query and get the results on google but I cannot open the answers in new tabs or windows. When I press the right side of the key pad and get the box with the options to open in a new tab or window and I try to do that nothing happe

  • Rman backup strategy

    hi, just wanted to hear some thoughts from some pros.. platform: oracle 9i on windows i switch from user-managed backups to rman recently. My full nightly backups are abt 20GB in size on completion. we backup to tape, but i want to keep some disk bac

  • Socket Exception in Admin Server Logs

    Hi All, We are facing a socket exception in Admin Server log. PFB for the exception logs: [2011-12-26T00:36:21.793-06:00] [AdminServer] [WARNING] [] [oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils] [tid: [ACTIVE].ExecuteThread: '44' f

  • Is JTA part of JDK

    Can any one tell me if JTA is part of JDK/JRE. That is, if I have JDK/JRE is there any need for me to have it separately

  • Trying to add mindsensors device to palette

    I'm trying to add new category to the function palette' and need to use "Tools->Advanced menu to do it. The problem is that the "tools" menu I get (Labview 2010 for education ) contains only few options and "Advanced" is not one of them. How can I ge