Creating Relationships and using synchronization parameters in SUP

Hello Experts ,
I am developing an iPhone application using generated code from sup .
I want to put forward some querries that i have in my mind .
Basically my scenario is i have an equipment list and details for each equipment .
On iPhone one page displays the list and on clicking on any equipment i go to another page displaying eq details .
1.How do i filter data for details based on particular equipment number selected on first screen .
2.In SUP i have 2 mbo's , one for eqpmnt and another for details .Does creating relationship between them in sup changes generated code and filters data automatically in xcode .
3.Do i have to use synchronization parameters in this case to filter out data .
If not please tell me how should i go forward about this .
Any kind of help would be appreciated .
Thanks & Regards ,
Rockky .

Hi Rockky,
1- If you want to filter data on page displays list then you have to create synchronization parameters. Once you retrieved data from back-end it all comes to CDB (sybase consolidated database) so synchronization parameter filters data from cdb for which input you entered.
2- If you display detail of any equipment you have to set relation between root and child MBO.
there is a very clear tutorial which sybase provides you can find samples about using relations and synchronization prmtrs:
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01213.0200/doc/pdf/sup_tutorials_ioscodegen.pdf
Regards
Tahir

Similar Messages

  • HT3529 Is there a way to create, store and use preset messages for use with "Messages"?

    Is there a way to create, store and use preset messages for use with "Messages". I often have a recurrinig message to send, after a repeating event, and need to enter the same short message each time. It would be nice to have this short message stored and selectable so that I do not need to enter each time.

    found an answer that seems to work:
    https://discussions.apple.com/message/17997300#17997300

  • Creating URL and fetching the parameters

    Hi,
    In my webdynpro application I hav to create a URL that shud take me to a new IView and in that URL I have to give certain Parameters that I have to fetch as application parameters.I am not aware how to create URL and give the PCD path of the new iView and the Parameters that I hav to fetch. I have seen some of the threads but I am not able to find out the clear picture.Could anyone help me out?
    This is really urgent.
    Thanxs in advance.

    Hi,
    You can navigate from one view to another using portal navigation
    WDPortalNavigation.navigateAbsolute();
    The above method needs various parameters which are shown<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm">here</a>
    Warm Regards,
    Murtuza

  • Creating/Testing and Using Agents for ODI Sequence

    Hi
    can you/anyone please tell/guide me how to Create a agent and use ODI sequence when i am doing File-to-File Mapping?
    I created an ODI sequence and an agent too. but i am unable to use this sequence coz it gives error like Connection fail for agent.
    and more over when I am testing my agent for connection my Application hangs and I have no choice but to close it forcefully and re-start.
    I am giving host as my target server IP and Port as my target's port (Same as defined in DataServer' URL).
    Please Advise/Help/Suggest.

    Hi
    can you/anyone please tell/guide me how to Create a agent and use ODI sequence when i am doing File-to-File Mapping?
    I created an ODI sequence and an agent too. but i am unable to use this sequence coz it gives error like Connection fail for agent.
    and more over when I am testing my agent for connection my Application hangs and I have no choice but to close it forcefully and re-start.
    I am giving host as my target server IP and Port as my target's port (Same as defined in DataServer' URL).
    Please Advise/Help/Suggest.

  • How could I create ObjectInputStream and use it indefinitely with Servlets?

    Hi All,
    I would like to create the stream object between applet and server only once with urlConnection.openConnection() and use it to write objects to it indefinitely without reinstantiating it or getting another connection with urlConnection.openConnection() and repeatedly query for another input / output stream with servletOutputStream = new ObjectOutputStream (servletLinkup.getOutputStream()); How could this be done?
    Devyn

    Dear vladimp,
    The thing is, you need to ask good questions to receive good answers.Have you ever written a servlet vladimp? More specifically, have you ever written client - server code and have the two sides send objects to each other over the HTTP protocol?
    This question is directed towards those developers who have done similar code and may have suggestions regarding this post.
    What have you tried and how exactly has it failed for you?Quote from my post: "I would like to create the stream object between applet and server only once with urlConnection.openConnection() and use it to write objects to it indefinitely without reinstantiating it or getting another connection..." - that is, every time I want to write another object to the stream. Apparently whatever I tried didn't work, hence I'm posting here. Maybe someone with more servlet development experience would be willing to shed some light on this.
    Why do you think the overhead of wrapping ObjectInput/OutputStreams
    around the URL stream is large?Why do you believe I care if the overhead is large? My question is about maintaining a persistent connection to a servlet not overhead.
    Have you made use of OutputObjectStream.reset()?This is actually a legitimate question (even though it's an ObjectOutputStream not a OutputObjectStream). The answer is YES I tried and NO it didnt' work. Could be that anything sent has to be followed up by a .flush() or/and a .close() to actually trigger the stream to send the object. At least according to some sources (I'm trying to verify this).
    How about some sample code that reproduces the issue?URLConnection servletLinkup = urlConnection.openConnection();
    servletOutputStream = new ObjectOutputStream (servletLinkup.getOutputStream());
    Should be obvious for someone who did it before.
    What is it about this problem that warrants a post to Advanced
    Language Topics forum vs, say, Serialization forum?Testosterone driven guru java developers. Perhaps this could also go under the 'Java Servlet Technology' section as well, who knows, there's so many to choose from. I've actually gotten some very creative replies regarding this in other places. I can't say I didn't enjoy this post, however. 8^D. Thnx to all who have read the post.
    Devyn

  • How to read a xml file created dynamically and use it to to chart

    Hi
    I am using Fuisonchart in Flex to create 3D charts i have stored my xml in server path as "Data.xml",this xml will be generated when i click on a button,this button passes my http service and frame my xml.
    Xml values will get changed as per database values, my problem is my chart fetches xml of old generated values,and not the newly updated xml values,
    I need to send my xml atonce when it is updated and changed,Flex part gets that updated value only when i run the application second time.
    So please help me to update the chart atonce when it is updated.
    Thanks in Advance
    Gopinath.A,
    Softrware Developer
    Chennai.

    on button click, call sendGenerateService().
    private function sendGenerateService():void
    var hs:HTTPService = new HTTPService();
    hs.url = "generateXML.php?random="+Math.random();//generateXML.php will do necessavry stuff to update Data.xml
    hs.method = "post";
    hs.addEventListener(FaultEvent.FAULT,fault);
    hs.addEventListener(ResultEvent.RESULT,resultGenerateService);
    hs.send();
    private function resultGenerateService(e:ResultEvent):void
    var hs:HTTPService = new HTTPService();
    hs.url = "Data.xml?random="+Math.random();
    hs.method = "post";
    hs.addEventListener(FaultEvent.FAULT,fault);
    hs.addEventListener(ResultEvent.RESULT,resultGetXml);
    hs.send();
    private function resultGetXml(e:ResultEvent):void
    // feed your chart with result
    private function fault():void
    //fault handler

  • Created path and used trim but the line appears from the wrong side?

    Hey,
    I've created a rectangle by using the pen tool, then applied a stroke to it. I've then added "trim paths" and the end value at 0seconds is 0% and then at 5 seconds its at 100% however the line appears from the wrong side of the screen, basically it's reversed, yet the reverse path symbol is not ticked.
    The line is meant to appear from left to right of the screen with a 2px stroke, which will then have a mask applied to show a large black box appear from this line and fill the rest of the screen up.
    Anyone able to help me at all?
    Thank you.

    If you animated the start then animate the end. Simple as that.

  • Create checkbox and use it in excel

    Hi,
    I want to create a report with the report builder and the
    output format should be excel.
    My problem is to create checkboxes inside the report builder
    which I can later (after running the excel report)
    check or uncheck . I want to use the excel report like an
    excel formular.
    Does anybody know if it is possible??
    Thanks!

    Hi,
    I want to create a report with the report builder and the
    output format should be excel.
    My problem is to create checkboxes inside the report builder
    which I can later (after running the excel report)
    check or uncheck . I want to use the excel report like an
    excel formular.
    Does anybody know if it is possible??
    Thanks!

  • How to create DC and use it in another DC

    Hi all,
             I want to create development components in web dynpro can any one give me link for a pdf which will teach me how to do that
    Thanks
    Ninad

    Hi Murtuza,
              I was trying same thing I have deleted previous both projects and created new child DC also created public part and when tried to build the DC it gives me bellow error can you please tell me what this error is?
    Thanks
    Ninad
    Dec 26, 2007 12:09:19 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: dynpro_dc_child: Build failed for sap.com/dynpro_dc_child(MyComponents) in variant "default": The Build terminated with errors
    Build log -
    Development Component Build (2007-12-26 12:09:17)
      Component name: dynpro_dc_child
      Component vendor: sap.com
      SC compartment: MyComponents
      Configuration: LocalDevelopment
      Location: local
      Source code location: nkalamka@N4INPUSYGA1
      DC root folder: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\
      DC type: Web Dynpro
      Host: N4INPUSYGA1
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/cmi"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/logging"
       validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
       validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
       validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/webDynpro
       starting build plugin from : C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build Plugin 'WebdynproPlugin', Version 7.00 SP 11 (645_VAL_REL, built on 2007-01-06 18:00:53 CET, CL51454)
       development component:  dynpro_dc_child (sap.com)
          software component:  MyComponents (demo.sap.com)
                    location:  local
                        type:  Web Dynpro
               build variant:  default
             source location:  nkalamka@N4INPUSYGA1
             output location:  C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\gen\default
           plugin start time:  2007-12-26 12:09:17 GMT+05:30 (IST)
                     Java VM:  Java HotSpot(TM) Client VM, 1.5.0_06-b05 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Source folder "META-INF" exists but is empty and will be ignored.
    Checking path lengths for sources
    Path length checks finished in 0 seconds
    Preparing data context..
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\cmi\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\wdp\metamodel\content\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default, using legacy mode.
    No public part descriptor found in C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default, using legacy mode.
    No 'default' JDK defined, will use running VM.
    Warning: Did not find any tools.jar in C:\Program Files\Java\jre1.5.0_06
    Data context prepared in 0.109 seconds
    Creating Ant build file..
      Creating output file: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\gen\default\logs\build.xml
      Using macro file:     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
    Build file created in 0.156 seconds
    Starting Ant..
      Using build file:     C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6
      Using Ant version:    1.6.2
    compile:
          [echo] Starting dictionary generator
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\src\packages
         [ddgen] [Info]    Property targetpath: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\gen_ddic
         [ddgen] [Info]    Property archivename: sap.com~dynpro_dc_child
         [ddgen] [Info]    Property vendor: sap.com
         [ddgen] [Info]    Property dcname: dynpro_dc_child
         [ddgen] [Info]    Property projectlanguage: en
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       cmiapi.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypeServices.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypesRuntime.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproadmin.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynprobasesrvc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository_pmr.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproservices.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproclientserver.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodel_dynamicrfc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodelimpl.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpropdfobject.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproportal.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproprogmodel.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling_api.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.perf.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_proxy_rt.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_util_misc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       exception.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       jrfc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (0 seconds)
         [ddgen]
         [timer] Dictionary generator finished in 0.531 seconds
         [mkdir] Created dir: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\gen_ddic\datatypes
          [echo] Starting WebDynpro generator
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\src\packages
         [wdgen] [Info]    Property targetpath: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\gen_wdp
         [wdgen] [Info]    Property archivename: sap.com~dynpro_dc_child
         [wdgen] [Info]    Property vendor: sap.com
         [wdgen] [Info]    Property dcname: dynpro_dc_child
         [wdgen] [Info]    Property projectlanguage: en
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       cmiapi.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypeServices.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypesRuntime.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproadmin.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynprobasesrvc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository_pmr.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproservices.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproclientserver.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodel_dynamicrfc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodelimpl.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpropdfobject.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproportal.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproprogmodel.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling_api.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.perf.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_proxy_rt.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_util_misc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       exception.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       jrfc.jar - C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPublicChild.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPrivateChild.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/Child.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/InternalChild.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPrivateChildView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/InternalChildView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPublicChildInterfaceView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPrivateChildInterfaceView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildInterfaceView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/InternalChildInterfaceView.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPublicChildInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IExternalChildInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPrivateChildInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/InternalChildInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildInterfaceCfg.wdcontroller
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPublicChildInterface.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IExternalChildInterface.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IPrivateChildInterface.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildInterface.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/InternalChildInterface.java
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/ChildInterface.wdcontroller
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/IMessageChild.java
         [wdgen] [Info]    Generating configuration/Components/com.t_systems.dynpro_dc_child.components.child.Child/Child.xml
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/ResourceChild.properties
         [wdgen] [Info]    Generating packages/com/t_systems/dynpro_dc_child/components/child/wdp/ResourceChild_en.properties
         [wdgen] [Info]    Generating portalapp.xml
         [wdgen] [Info]    Generating wd.xml
         [wdgen] [Info]    Generating application.xml
         [wdgen] [Info]    Generating application-j2ee-engine.xml
         [wdgen] [Info]    Generating PublicPartFileList.properties
         [wdgen] [Info]    Generating PublicPartFileList.xml
         [wdgen] [Info]    Generation finished (1 seconds)
         [wdgen]
         [timer] WebDynpro generator finished in 1.203 seconds
          [echo] Starting Java compiler
          [echo] Settings:
          [echo]   debug:       on
          [echo]   optimize:    off
          [echo]   deprecation: default
          [echo]   verbose:     default
          [echo]   encoding:    UTF8
          [echo]   source:      default
          [echo]   target:      default
          [echo]   source paths:
          [echo]     C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\src\packages
          [echo]     C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\gen_ddic\datatypes
          [echo]     C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\gen_wdp\packages
          [echo]   class path:
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_portal.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\wdp\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelWebdynproContent.zip
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
          [echo]   output dir:  C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\classes
         [javac] Compiling 22 source files to C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\t\C2F5865BF39ED28A48CC441CD155B0A6\classes
    Error: C:\Documents and Settings\nkalamka\.dtc\LocalDevelopment\DCs\sap.com\dynpro_dc_child\_comp\gen\default\logs\build.xml:154: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:347)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5633)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Ant runtime 1.828 seconds
    Ant build finished with ERRORS
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    Error: Build stopped due to an error: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    Build plugin finished at 2007-12-26 12:09:19 GMT+05:30 (IST)
    Total build plugin runtime: 2.375 seconds
    Build finished with ERROR

  • Create trigger and use "nextval" to get next sequence nbr

    Hi i created a table and a primary key for that table as follows:
    create table PROD_TRNSLTN
    PROD_PK VARCHAR2(16),
    CNTRC_CD VARCHAR2(10),
    PROD VARCHAR2(10),
    PLN VARCHAR2(10)
    alter table PROD_TRNSLTN
    add constraint PROD_TRNSLN_PK primary key (PROD_PK);
    i then created a trigger to automatically populate the primary key
    create trigger PROD_TRNSLTN_TRGR
    before insert on PROD_TRNSLTN
    for each row
    begin
    Select PROD_PK.nextval into :new.PROD_PK from dual;
    end;
    i get no syntax error, but when i use SQLLoader to insert rows into this table i get:
    "ORA-04098: trigger 'IAVE.PROD_TRNSLTN_TRGR' is invalid and failed re-validation"
    Why??
    Edited by: aft5425 on Oct 30, 2008 11:37 AM

    Hi,
    So you can compile via your editor? It sounds handy, but if it doesn't show error messages, and it doesn't allow you to indent your code, it's not worth it.
    Save your code (as prod_trnsltn_trgr.sql):
    create trigger    PROD_TRNSLTN_TRGR
    before insert on  PROD_TRNSLTN
    for each row
    begin
        Select  PROD_PK.nextval
        into    :new.PROD_PK
        from    dual;
    end;
    SHOW ERRORSThe open SQL*Plus in a separate window and say
    SQL> @full_path\prod_trnsltn_trgrIf you can't fix the problem, post your code and all messages you get in SQL*Plus.

  • Create Swatch and use it to fill a box

    Thanks for taking the time to read my question.
    I've been trying for some time now to create a swatch from a pattern I've made. I've managed to create the swatch, but it is not available when I open a new document.  Also I don't understand how I'm supposed to use a swatch to fill a box.
    Thanks again,
    Brad

    Just stumbled onto the instructions on how to transfer a swatch from one document to another.  Still don't know how to apply the swatch as a fill to a box.
    Also just stumbled on how to add the swatch as a fill.
    Brad

  • Creating submixes and using the Bus and Send features...

    I'm unfamiliar with creating a submix.
    I know that I want to create 2 groups of vocals ( 6 tracks left and 6 tracks right, stereo image) to simulate a choir. I also know that I want to create a submix of 10 tracks of drums down to 2 tracks stereo.
    Where can I find a good resource of information to learn and accomplish this. So far, my experimenting hasn't worked for me. I'll keep trying...but, I couldn't find anything in the Logic Express Tutorial either. I've checked into the Mac Pro Video series and couldn't find any detailed instruction there either. Maybe I was looking in the wrong volumes?
    Well, I imagine it's not too difficult and I'm probably missing a simple little step...but any help will be greatly appreciated... -- Andy

    +1) I went through each drum track (Inside Kick, Outside Kick, Top Snare, Bottom Snare, Hi-Hat,+
    +Overhead Left, Overhead Right, Tom 1, etc.) and clicked "BUS 3" for each of them from the+
    +"SEND", then I...+
    No. Sends are irrelevant here. The output should be set to Bus 3 on all your individual drum tracks.
    +3) A new track called "Output 3&4". That is what I believe will be my destination track (the stereo+
    +drum mix).+
    No again. The destination is Bus 3. You need a bus object 3 to be in either your mixer and/or arrange page. That's what will capture your individual drum outputs. And Bus object 3 output should be set to Output 1-2
    Sooooo... the ONLY drum-related track with an output of 1-2 should be the bus 3 itself.
    +And can I create a track "Output 3&4" for the drums?+
    Why do you want to? Presumably the rest of your song is going to Out 1-2, so you want the drums to also go to your mix bus, which is 1-2
    Hope this helps.

  • Create composite/webservice using stored procedure

    Hi,
    I want to create a webservice which will execute the stored procedure and return me the resultset. I have to use this webservice in my ADF applicaiton to create Data control (DC) and furthter implementation.
    I have gone through few videos demonstrating how to create DC and use it in UI. However, I am not able to locate any documentation or video on creating composite/webservice.
    Can someone expalin how to do it or point me to any helpful documentation for this? I really appreciate any help on this as I am stuck here.
    Thanks
    Amit

    Hi Amit,
    As ADF Datacontrol abstracts the service implementation layer, you can create your service using any technology (Oracle SOA Suite may be your good choice).
    For creating a simple composite, see the Cue Cards in your Jdeveloper as Help > Cue Cards >  Work with SOA Technologies.
    Once you know how to create a composite, you can create the one that returns the result set as REF cursor after executing the SQL procedure. The following link should help you do that.
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_db.htm#BGBFDDGC
    Now transform the resultset into the response variable of the service. This completes the composite development
    You can create a DC of this service now and consume it in your ADF process. You can also see some more demonstrations if you like.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/CreatingCompositeUIs/CreatingCompositeUIsAudio.html
    For any issue this point onwards, put your question in ADF forum.
    Regards,
    Neeraj Sehgal

  • How to use Generate Synchronization Parameters for PSK modulation and demodulation

    Hi I am trying to use Generate Synchronization Parameters.vi to sync the recovered stream after demodulation and my input stream to modualtion block but I don't know how to work with this block to sync input stream with output stream. Also would you please let me know what are the ways to sync input bits and demodulation  bit stream.I really appreciated your help
    Thanks
    Solved!
    Go to Solution.

    Hi en99,
    In order to use "MT Generate Synchronization Parameters.vi" you must wire in the following on your block diagram:
    The system parameters created in "MT Generate System Parameters.vi" needs to be wired directly to the sync vi.
    The synchronization parameters need to be wired direct to "MT Demodulate.vi"
    The synchronization bits can be wired into the sync vi direct from "MT Generate Bits.vi"
    What I have done is taken your 11.vi that you uploaded in your previous post and altered it to contain the sync vi. I have saved it as a 2010 version.
    I hope this information helps!
    Kind Regards,
    Laurence C.
    Senior Test Development Engineer
    Dyson Ltd
    Attachments:
    11sync2010.vi ‏18 KB

  • How to pass Multi and Singlr value Parameters to DB2 query, which is using in SSRS report for ODBC connection

    Hi Guys,
    I am using DB2 database in SSRS. I have to pass Single Value and Multi Value Parameters. I tried with Select * From DB2Table Where
    Column=@PRM_Name Or Select * From DB2Table Where
    Column=:PRM_Name . It is not working and throwing error. Please help me out.
    Connection Details: ODBC
    Thanks Shiven:)

    Hi SKM,
    So you mean to say that Go to DataSource->Add Dataset-> Query Type-Text-> Under Query:
    click on fx (Expression)-> Write this expression
    For Single Value Parameter:
    ="SELECT customer_name, telephone_number, address1, address2, city from MyTable
    WHERE city = '" + Parameters!City.Value + "'"
    OR
    ="SELECT customer_name, telephone_number, address1, address2, city from MyTable
    WHERE city =  '" & Parameters!City.Value & "'"
    Keep it in mind if Parameter is String then
    It should be in Single quote ''.
     Like
    ="SELECT customer_name, telephone_number, address1, address2, city from MyTable WHERE city
    ='Hyderabad' "
    For Multivalu Parameter:
    ="SELECT EmployeeID, FirstName, LastName, LoginID FROM SHIVEN.AUDIT Where FirstName
    in ('" + REPLACE(JOIN(Parameters!City.Value,","),",","','") + "')"
    NOTE:
    If your Parameter is Single Value Parameter and You want to enter string values with Coma (,)
    separated (Like Hyderabad, Chennai, Delhi).
    In this case, you have to use below expression.
    ="SELECT customer_name, telephone_number, address1, address2, city from MyTable
    WHERE city IN ('" + REPLACE(Parameters!City.Value ,",","','") + "')"
    OR
    ="SELECT customer_name, telephone_number, address1, address2, city from MyTable
    WHERE city IN  ('" & REPLACE(Parameters!City.Value ,",","','") & "')"
    In above expression: Replace will replace all , with ‘,’ and city IN (‘Hyderabad’, ‘Chennai’,
    ‘Delhi’) will not throw any error.
     Note: You have to write expression in one line in Expression editor for dataset
    query
    Thanks It is working fine but it is tough job if query is big.
    Hi S kumar,
    The above approach we use when we have source like DB2, becasue DB2 has some syntactical differences to pass multivalue paramaeter. I tested and it works good, if i am mentioning the query in above format by using Fx button while creating dataset.
    but if we want fetch data from view which exist in DB2 and we need to call db2 view in SSRS and pass multivalue parameter in a way we did above then could you please mention the steps and way to achieve this.
    Thanks in advance!

Maybe you are looking for