NullPointerException inside ProcessService creation

Hi all,
I am writing a standalone java app to connect to ALBPM using PAPI and am hitting the following error:
W:\savaria_1\server_1_0\src>java -Dfuego.je22.initialctx.file=C:\bea\TestApp\Properties\tomcatProperties.jndi -classpath W:\3rdparty\bea-albpm-5.7\lib\fuegoresources.jar;W:\3rdparty\bea-albpm-5.7\lib\fuegoresources_en.jar;. -Djava.ext.dirs=W:\3rdparty\bea-albpm-5.7\lib com.tradebeam.workflow.gateway.WFRequestHandler
java.lang.NullPointerException
at java.util.TreeSet.addAll(TreeSet.java:244)
at fuego.boot.LanguageData.addLocalesByLanguage(LanguageData.java:84)
at fuego.boot.LanguageData.addRuntimeLocale(LanguageData.java:43)
at fuego.boot.LanguageData.addSupportedLocale(LanguageData.java:52)
at fuego.boot.BootData.registerJar(BootData.java:213)
at fuego.boot.Loader.loadClasspathPlugins(Loader.java:1100)
at fuego.boot.Loader.initPlugins(Loader.java:557)
at fuego.boot.Loader.initPlugins(Loader.java:668)
at fuego.boot.Loader.initPlugins(Loader.java:630)
at fuego.papi.ProcessService.getFactory(ProcessService.java:657)
at fuego.papi.ProcessService.create(ProcessService.java:426)
at com.tradebeam.workflow.gateway.WFRequestHandler.firstTest(WFRequestHandler.java:53)
at com.tradebeam.workflow.gateway.WFRequestHandler.main(WFRequestHandler.java:101)
Any idea what have I missed / done wrong? Thanks!
Regards,
Matthew

Hi Mariano,
Yes, it's my continuation of making my standalone java talk to BPM (I am working on Proof of concept and feasibility to upper management for purchasing decision)This is what I use instead of the ext dir:
java -Dfuego.je22.initialctx.file=C:\bea\TestApp\Properties\tomcatProperties.jndi -classpath W:\3rdparty\bea-albpm-5.7\lib\fuegopapi-client.jar;W:\3rdparty\bea-albpm-5.7\lib\ejb-2.0.jar;W:\3rdparty\bea-albpm-5.7\lib\jms.jar;W:\3rdparty\bea-albpm-5.7\lib\classes12.jar;. -Djava.ext.dirs=W:\3rdparty\bea-albpm-5.7\lib com.tradebeam.workflow.gateway.WFRequestHandler
and I still get the same error. Any insight? The error complains about locale so I think I may be missing something.
Thanks a lot!
Regards,
Matthew

Similar Messages

  • NullPointerException on execution/ creation of a PreparedStatement

    Hi,
    I am facing a very weird problem. There is a jar file that is run from the command prompt connecting to SQL Server on the same machine. This program basically does some processing of records within a SQL transaction.
    Sometimes the program ends with a NullPointerException at a PreparedStatement for example on the both record and the transaction is rollbacked .
    Now if I run the program again for the same data, I may get a nullpointer exception at some other record for example on the 250th record.
    Now if you are beginning to feel that there is something wrong with the code then let me tell you this problem ,
    If I run the same jar file on another machine pointing to the earlier mentioned SQL Server and for the same data it runs perfectly fine.
    That is what is giving the creeps. In both the scenarios only thing changing is the machine on which it is being executed and the java version.
    Any Help on the above problem will be highly appreciated
    Thanks,
    Jyothi

    Then you have a race condition.

  • NullPointerException during InitialContext creation in RJVMFinder (WL 5.1)

    Has anyone seen this NPE when creating an InitialContext? We got this for about
    a day on one of our cluster instances, and then it magically went away (the other
    server in the cluster worked fine).. Solaris, Weblogic 5.1 service pack 10.
    java.lang.NullPointerException
    at weblogic.rjvm.RJVMFinder.equals(RJVMFinder.java:98)
    at java.util.Hashtable.get(Hashtable.java:323)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:190)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:195)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)

    Contact [email protected] and reference CR081579.
    Tom LeRoux wrote:
    Has anyone seen this NPE when creating an InitialContext? We got this for about
    a day on one of our cluster instances, and then it magically went away (the other
    server in the cluster worked fine).. Solaris, Weblogic 5.1 service pack 10.
    java.lang.NullPointerException
    at weblogic.rjvm.RJVMFinder.equals(RJVMFinder.java:98)
    at java.util.Hashtable.get(Hashtable.java:323)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:190)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:195)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Mysterious NullPointerException when loading class by RMI

    Hi,
    I have a distributed application where an RMI server puts tasks in a queue and clients connect to the server to obtain tasks to process. My problem is the following. When I install the task code on the clients, and just use RMI to obtain tasks from the server (i.e. no dynamic code loading is being done), everything works fine. However, this approach is not efficient since every time the task definition changes, I'll have to reinstall code on the clients. Therefore, I use RMI to load the task class dynamically and instantiate it on the client (note: a task does not implement Remote, nor is it serializable, for reasons that I'll explain below. Instead I obtain the task class from the RMI server and instantiate it on the client). When I take this approach, I get a NullPointerException inside the task code, that does not occur when I install exactly the same code manually on the clients. The exception always occurs at the same point in the code, but not at the same moment (e.g., sometimes a client processes 100 tasks before it happens, another time 5000, etc.). Moreover, when this happens, all client processes running on the same physical machine (but different JVMs) stop processing, but without throwing any error.
    My question is if anyone has seen this kind of problem before. I know the above description is rather vague, but the specifics are a bit of a long story. Here they come:
    RMI server code snippet:
    public interface ConcurrentEvaluationManager extends Remote {
    //An Individual is serializable and constitutes the data needed for the task
    Individual pollNextToEvaluate(long timeout, TimeUnit unit) throws RemoteException;
    //A FitnessFunction is not Remote nor serializable and constitutes the task algorithm
    //(Performance evaluation of Individual, involving some heavy physics simulations)
    Class<? extends FitnessFunction> getFitnessFunctionDef() throws RemoteException;
    }Code for the class that loads the FitnessFunction code dynamically:
    public class RemoteEvaluatorLoader {
    public static void main(String args[]) {
    //Obtain evaluation manager from RMI registry
    ConcurrentEvaluationManager evalMgr = getRemoteManager(hostName, rmiServerName, port);
    //Obtain fitness function definition and instantiate it
    Class<? extends FitnessFunction> fitnessClass = evalMgr .getFitnessFunctionDef();
    FitnessFunction evalFunction = fitnessClass.newInstance();
    //Start getting Individuals from the manager and evaluate them using the fitness function until the
    //manager says there will be no more Individuals to evaluate
    Evaluator eval = new Evaluator(evalFunction, evalMgr);
    eval.run();
    }Specifically, a task consists of evaluating the performance of a robotic controller using some heavy physics simulations. A task is therefore made up of two things: the encoding of the controller (an Individual, basically a list of numbers), and the performance measure/simulation (the FitnessFunction). The latter is subject to frequent change, so I want to load this code dynamically on the clients using RMI. I can't pass an instance (either serialized copy or remote reference) of the simulation to the client, since it involves communication with a native DLL.
    Stack trace of the error:
    Exception in thread "main" java.lang.NullPointerException
            at Insect.execMotorCommand(Insect.java:152)
            at Experiment.doStep(Experiment.java:62)
            at Experiment.doSteps(Experiment.java:69)
            at InsectFitnessFunction.evaluate(InsectFitnessFunction.java:32)
            at InsectFitnessFunction.evaluate(InsectFitnessFunction.java:1)
            at jbeagle.concurrent.Evaluator.run(Evaluator.java:72)
            at jbeagle.concurrent.RemoteEvaluatorLoader.main(RemoteEvaluatorLoader.java:33)The line where the error happens is where the insect robot tries to move its legs. One of the legs is null. Again, this doesn't happen when I run the application without loading the code dynamically and install the code for the InsectFitnessFunction, Experiment etc. on the client manually. In the current scenario, all code (InsectFitnessFunction, Experiment, Insect, and other necessary classes) is loaded dynamically and instantiated locally on the client (of course, the necessary native library and the JNI wrapper for it are installed manually on the clients).
    Has anyone encountered something like this before? Might there be a problem with the way I am dynamically loading and instantiating the class? At first I thought it might be due to some problem with distributed garbage collection, but I don't see how since the relevant classes are instantiated locally, even though they are loaded from a remote codebase.
    An alternative version of the error is one where my JVM crashes (error log below). I believe this is basically the same problem, except when the JVM crashes the null pointer happens in the native library.
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x034e75f8, pid=3908, tid=1588
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C  [PhysXCore.dll+0x1675f8]
    ---------------  T H R E A D  ---------------
    Current thread (0x003b6800):  JavaThread "main" [_thread_in_native, id=1588, stack(0x009a0000,0x009f0000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0xdddddde5
    Registers:
    EAX=0xdddddddd, EBX=0x00000000, ECX=0x03c41ec8, EDX=0x03b79fc0
    ESP=0x009ef740, EBP=0x009ef7cc, ESI=0x00000000, EDI=0x03c41cf0
    EIP=0x034e75f8, EFLAGS=0x00010206
    Top of Stack: (sp=0x009ef740)
    0x009ef740:   009ef8d8 009ef7d8 00000000 cccccccc
    0x009ef750:   cccccccc cccccccc cccccccc cccccccc
    0x009ef760:   cccccccc cccccccc cccccccc cccccccc
    0x009ef770:   cccccccc cccccccc cccccccc cccccccc
    0x009ef780:   cccccccc cccccccc 037b1d60 037ddc40
    0x009ef790:   cccccccc cccccccc cccccccc cccccccc
    0x009ef7a0:   cccccccc cccccccc cccccccc cccccccc
    0x009ef7b0:   cccccccc cccccccc cccccccc cccccccc
    Instructions: (pc=0x034e75f8)
    0x034e75e8:   f9 02 74 38 8d 64 24 00 8b 57 58 8b 0c b2 8b 01
    0x034e75f8:   8b 50 08 ff d2 84 c0 74 5c 8b 47 58 8b 0c b0 f6
    Stack: [0x009a0000,0x009f0000],  sp=0x009ef740,  free space=13d009ef274k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [PhysXCore.dll+0x1675f8]
    C  [JPhysX.dll+0xf197f]
    J  com.jphysx.JPhysXAdapterJNI.NxScene_createActor(JLcom/jphysx/NxScene;JLcom/jphysx/NxActorDescBase;)J
    J  ActorFactory.createApproximateCylinder(Lcom/jphysx/NxVec3;FFI)Lcom/jphysx/NxActor;
    j  Insect.createBody(LActorFactory;)V+36
    J  Insect.create(LActorFactory;LJointFactory;IFFF)LInsect;
    j  Experiment.recreateScene()V+63
    j  Experiment.reset()V+8
    j  InsectFitnessFunction.preEvaluation(Ljbeagle/core/ListIndividual;)V+56
    j  InsectFitnessFunction.evaluate(Ljbeagle/core/ListIndividual;)V+24
    j  InsectFitnessFunction.evaluate(Ljbeagle/core/Individual;)V+5
    j  jbeagle.concurrent.Evaluator.run()V+76
    j  jbeagle.concurrent.RemoteEvaluatorLoader.main([Ljava/lang/String;)V+97
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0xf072c]
    V  [jvm.dll+0x17fd51]
    V  [jvm.dll+0xf07ad]
    V  [jvm.dll+0xf9e55]
    V  [jvm.dll+0x101ba2]
    V  [jvm.dll+0x11246b]
    C  [java.exe+0x2155]
    C  [java.exe+0x85b4]
    C  [kernel32.dll+0xb729]Any suggestions are much appreciated.
    Thanks,
    Matt

    Never mind. I have now managed to reproduce this condition without RMI, so it seems to be due to something else after all. Marking this thread as answered.

  • Catching exceptions in PullParser

    When the values returned from invoking HttpRequest aren't as expected, I frequently get an NullPointerException inside PullParser. Unfortunately, my HttpRequest's onException code isn't called, so I'm unable to do much with the problem.
    My request is that when an exception occurs somewhere inside the PullParser, to either call HttpRequest's onException code, or to provide support for onException in the PullParser itself.

    They occur inside the PullParser code, so represent a bug in PullParser itself. This typically occurs when invoking a url which no longer exists, or to which I don't have access (e.g. cross domain), so that the PullParser is presented a response that isn't XML.
    Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
    at com.sun.javafx.data.pull.ukit.xml.ParserStAX.panic(Unknown Source)
    at com.sun.javafx.data.pull.ukit.xml.ParserStAX.next(Unknown Source)
    at javafx.data.pull.PullParser.next(Unknown Source)
    at javafx.data.pull.PullParser.parse(Unknown Source)
    I actually do have a try catch around the creation of the PullParser (inside HttpRequest's onInput), but feel that either a new onException variable/function should exist for the PullParser, or that the HttpRequest's onException should be invoked for any problems inside/under the PullParser.

  • How to get Java source in applet stack trace to debug Java security manager

    How can I get line numbers for Java source in stack traces for my applet? I'm having a problem with my code-signing certificate. On one of my applets, I consistently get a NullPointerException inside the security dialog code in the JDK. As a result, either the "trust this applet" dialog never appears, or even though it appears, it defaults to untrusted because of the exception, so I can't access any local files (and that's a bit of a problem for an applet whose sole purpose is to upload files to our server). I unzipped src.zip in my JDK directory and set the debug flag for my Ant <javac> task as well as set debuglevel to "lines." Anything else? Here's the trace that I'm getting so far. See that after the NullPointerException it assumes that the user has denied permission. If I could read this Java source maybe I could figure out why it hates my code-signing certificate (jarsigner, BTW, never complains when I verify my jar).
    security: Blacklist file not found or revocation check is disabled
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Loading Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loaded Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA has been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: Start checking trusted extension for this certificate
    security: Start comparing to jurisdiction list with this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    java.lang.NullPointerException
         at com.sun.deploy.ui.UIFactory.showSecurityDialog(Unknown Source)
         at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
         at com.sun.deploy.security.X509Util.showSecurityDialog(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$700(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    security: User has denied the priviledges to the code
    security: Adding certificate in Deployment denied certificate store
    security: Added certificate in Deployment denied certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA has been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: Start checking trusted extension for this certificate
    security: Start comparing to jurisdiction list with this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment denied certificate store

    Rats, now that I look at the stack trace and compare to what's in the JDK srce.zip, it appears that most of this code is not part of the JDK source. I don't see any com/sun/deploy, etc.

  • PR to Shopping Cart

    Hi,
    I have created one <b>PR(Purchase Requisition)</b> in backendSAP . But the entry is not passing to the table EPRTRANS, which is responsible for transferring PR to <b>Shopping Cart(SC)</b> in EBP .If I created entry manually in EPRTRANS and than execute the prog. BBP_EXTREQ_TRANSFER it will transfer the entries from EPRTRANS to EBP as SC & than delete entry from EPRTRANS table which is OK .
    Where is the setting required  by which once I create PR in SAP
    it will automatically inserted into table EPRTRANS .
    Looking forward your responses.
    Regards
    Sachin S M
    M<b></b>

    Hi Everyone,
    I did mention on other thread inside Subject "Creation of Purchase order and workflow" about the similer issue, shared my experience. Hope that help.
    Copy of that.
    Hi Sunny/Manoj,
    I missed Sunny last questions on this thread. I hope i can clarify now for both of you.
    Yes, As Standard, you can push R/3 PR to Sourcing from MRP, PM or APO.
    If you have to push simply from R/3 PR directly, what i meant in the earlier message that you simply update EPRTRAN thru custom program or thru Workflow once PR is saved.
    Basically, the BBP_EXTREQ_TRANSFER looks for entries in EPRTRAN table and push those PRs into SRM sourcing.
    I have done this during my development stage in one of project that i do not wait MRP to create R/3 PR though that was actual requirments.
    I just put entry into EPRTRANs table in SE16 for R/3 PR to be transferred to SRM, then run BBP_EXTREQ_TRANSFER. It worked fine.
    Per my understanding that it does not check whether the entries in EPRTRANs table, has come from R/3 PR which driven from MRP, PM, else.
    Regards,
    Jay

  • Pricing condition formula on IPC

    Hi,
    Here's the issue -
    The freight for items is calculated using scale based rates for gross weight of the items.
    For example, if the gross wt. for an item is 38 pounds, the rate is determined as $18 from the scale. However, if the quantity is increased to 2, a rate of say, $30 is taken from the scale corresponding to the gross wt. which is now 76 pounds.
    However, the requirement is that the rate of $18 should be chosen and multiplied by the quantity for all quantities greater than 1. So the freight should have been $36 (18 x 2) instead.
    The freight is calculated using a pricing formula in R/3 where the gross wt. is first divided by the quantity to get the base condition. Scale based rates are taken to calculate the freight condition value and multiplied by the quantity again.
    AltCTy
      modify xkomv.
      read table xkomv with key kschl = 'ZABC'.
      xkomv-kwert = xkomv-kbetr * komp-mgame.
      modify xkomv.
      xkwert = xkomv-kwert / 1000.
    AltCBV
      if komp-mgame ne space.
        komp-brgew = komp-ntgew.
        xkwert = ( komp-brgew / komp-mgame ) * 1000.
        komp-brgew = ( komp-brgew / komp-mgame ) * 1000.
      else.
        komp-brgew = komp-ntgew.
        xkwert = ( komp-brgew / komp-mglme ) * 1000.
        komp-brgew = ( komp-brgew / komp-mglme ) * 1000.
      endif.
    The problem arises while implementing this formula in IPC. Unlike on the R/3 side, it is not possible to change the gross wt. of an item in IPC. Also, I couldn't find a way to explicitly specify the gross wt. to calculate the condition.
    The other option was to implement a BADI to change the gross wt. of the items before calculating the conditions. I tried using the CRM_PRODUCT_I_BADI where it is possible to change the gross wt. when an item is entered, however, the quantity for the line item is not available in this BADI so as to divide it to get the appropriate gross wt. for an item.
    Any help would be greatly appreciated.

    Hello,
    If this badi is executed inside order creation you can try call function CRM_ORDER_READ to get the item quantity.
    It might work if the item data is updated before this badi is called.
    Instead of pass the header like in the example below, pass the item guid to the function.
    INSERT gc_object_name-orderadm_i INTO TABLE lt_requested_objects.
      INSERT gc_object_name-schedlin INTO TABLE lt_requested_objects.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_guid
          iv_mode              = gc_mode-display
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_i        = lt_orderadm_i
          et_schedlin          = lt_schedlin
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
        MOVE sy-msgty TO ev_type.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO ev_message.
        EXIT.
      ENDIF.
      LOOP AT lt_orderadm_i INTO ls_orderadm_i.
        MOVE ls_orderadm_i-number_int TO itens_vlr-numitem.
        MOVE ls_orderadm_i-ordered_prod TO itens_vlr-produto.
        MOVE ls_orderadm_i-description TO itens_vlr-descricao.
        READ TABLE lt_schedlin INTO ls_schedlin
            WITH KEY item_guid = ls_orderadm_i-guid.
        IF sy-subrc = 0.
          MOVE ls_schedlin-quantity TO itens_vlr-qtdprod.
        ENDIF.
        APPEND itens_vlr.
      ENDLOOP.
    Regards,
    Mauricio

  • Jbo null pointer exception whilst creating an AM

    Hello,
    I am trying to create some EO's,VO's and associated AM. At the end of the creation, I tend to get the following error
    Load Error
    Exception: oracle.jbo.dt.objects.JboException(java.lang.NullPointerException).
    The creation of EO's runs smooth, but if I decide to create the associated VO's and the AM, the application hangs, and I have to kill it before I can move forward.
    Please guide me

    I am sorry I was ambiguous in my previous post.
    I am trying to create a EO/VO/AM triplet for a host of tables using JDev 11g, and the tables under the 'mct' database.
    I followed the following steps to create my triplet.
    1. Using the EO wizard, I selected a host of tables, for instance, MCT_CONFIG_CONTACT_CENTER_VL from the MCT db
    2. Following the usual steps, I tend to get the null pointer exception, with a 'load error' for one of the classes contained in a zip file, which I do not think I'm using, in the creation of the EO.
    In the light of the above scenario, can you please guide me?

  • ADF:Dynamic viewLink for self referential dynamic ViewObject jdev11.1.1.6.0

    Hi, I'm using jdeveloper studio version 11.1.1.6.0, because of my requirement I am creating a View Object programatically in the Application Module since I will not know how many colums will I have until the User has done some selections... Hence I am generating a Read only Dynamic View Object on the fly, I am able to display this in a table in ADF and do dynamic binding as well...
    Now the problem is that the data is actually hierarchical data, and I have constructed a parent and children atributes in the View Object to basically sort this view and build the hierarchy, I am trying to change the way this is displayed from a Table to a TreeTable in ADF... And for that I need to create a ViewLink... now I read how to do this programatically but never against the same View Object, I did found some examples on how to do this but against two different View Objects, but I want to use the same View Object which has been created on the fly (at run time)
    I have been trying to do this using createViewLinkBetweenViewObjects by passing the same VO as master and detail (self referential View Link), but it fails as the documentation says with
    InvalidParamException which says : (1) if master or detail is null (2) if master and detail represent the same view object (circular view link is disallowed)
    The odd thing here is that you can do this declaratively
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcquerying.htm#CHDDEFCE
    meaning you can create a View Link to the same View Object if you have a previously defined View Object at design time... (not at run time) using Expression Language... so I am puzzled to understand why this cannot be done programatically...
    1. How could this be done programatically?
    This is the code I was trying:
        public static final String DYNAMIC_BOM_VO_INSTANCE = "DynamicBomVO";
        public void createSQLBasedDynamicBomViewObject(){
            //Define the View Object Instance name
            inputElement[] inputElementsVO;
            inputElementsVO=populateInputString();
            int numberOfItems = inputElementsVO.length;
            System.out.println("Inside VO creation");
            ViewObject vo = findViewObject(DYNAMIC_BOM_VO_INSTANCE);
            //Check if view object exist and remove it if it does
            if (vo!= null)
                vo.remove();
            //Create view definition
            ViewDefImpl dynamicBomViewDef = new ViewDefImpl("com.CST.DynamicBomView");
            //Define names and types of atributes of the View
            dynamicBomViewDef.addViewAttribute("EffectAssemblyId", "EFFECT_ASSEMBLY_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("EffectCompId", "EFFECT_COMP_ID", Integer.class);
            for(int i = 0; i < numberOfItems; i++){
                dynamicBomViewDef.addViewAttribute("RollupId"+(i+1), "ROLLUP_ID"+(i+1), Integer.class);
            dynamicBomViewDef.addViewAttribute("RollupId", "ROLLUP_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("BomLevel", "BOM_LEVEL", Integer.class);
            //Define the SQL for th eview object
            String    querytoUse = createSQLJoin(inputElementsVO);
            //Assign query to VO
            dynamicBomViewDef.setQuery(querytoUse);
            dynamicBomViewDef.setFullSql(true);
            dynamicBomViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
            dynamicBomViewDef.resolveDefObject();
            //Create an instance of the dynamic view definition
            vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
            AttributeDef[] parentAttrs = new AttributeDef[] {vo.findAttributeDef("EffectAssemblyId")};
            AttributeDef[] childAttrs = new AttributeDef[] {vo.findAttributeDef("EffectCompId")};
            ViewLink v1 = createViewLinkBetweenViewObjects("AssemblyLink", "Children", vo, parentAttrs, vo, childAttrs, null);
        }I also tried creating a second instance of the same view object, and adding a view criteria but it failed saying that:
    Definition EFFECT_ASSEMBLY_ID of type Attribute is not found in DynamicBomVO, I tried using
    The code was added after createViewObject
             vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
             ViewCriteria vc = vo.createViewCriteria();
             ViewCriteriaRow vcr1 = vc.createViewCriteriaRow();
             vcr1.setAttribute("EFFECT_ASSEMBLY_ID", "=-1");
            vc.add(vcr1);
            vo.applyViewCriteria(vc);
            vo.executeQuery();When I used
             vcr1.setAttribute("EffectAssemblyId", "=-1"); I got
    ORA-00904: "EFFECTASSEMBLYID": invalid identifier
    Please let me know if you know how could this be achieved so that I can use a treeTable once that viewLink has been stabled and the hierarchy can be constructed.
    Regards,
    Ivan
    Edited by: user756323 on Jan 8, 2013 2:58 PM
    Edited by: user756323 on Jan 8, 2013 3:03 PM
    Edited by: user756323 on Jan 8, 2013 3:07 PM

    Hi, I'm using jdeveloper studio version 11.1.1.6.0, because of my requirement I am creating a View Object programatically in the Application Module since I will not know how many colums will I have until the User has done some selections... Hence I am generating a Read only Dynamic View Object on the fly, I am able to display this in a table in ADF and do dynamic binding as well...
    Now the problem is that the data is actually hierarchical data, and I have constructed a parent and children atributes in the View Object to basically sort this view and build the hierarchy, I am trying to change the way this is displayed from a Table to a TreeTable in ADF... And for that I need to create a ViewLink... now I read how to do this programatically but never against the same View Object, I did found some examples on how to do this but against two different View Objects, but I want to use the same View Object which has been created on the fly (at run time)
    I have been trying to do this using createViewLinkBetweenViewObjects by passing the same VO as master and detail (self referential View Link), but it fails as the documentation says with
    InvalidParamException which says : (1) if master or detail is null (2) if master and detail represent the same view object (circular view link is disallowed)
    The odd thing here is that you can do this declaratively
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcquerying.htm#CHDDEFCE
    meaning you can create a View Link to the same View Object if you have a previously defined View Object at design time... (not at run time) using Expression Language... so I am puzzled to understand why this cannot be done programatically...
    1. How could this be done programatically?
    This is the code I was trying:
        public static final String DYNAMIC_BOM_VO_INSTANCE = "DynamicBomVO";
        public void createSQLBasedDynamicBomViewObject(){
            //Define the View Object Instance name
            inputElement[] inputElementsVO;
            inputElementsVO=populateInputString();
            int numberOfItems = inputElementsVO.length;
            System.out.println("Inside VO creation");
            ViewObject vo = findViewObject(DYNAMIC_BOM_VO_INSTANCE);
            //Check if view object exist and remove it if it does
            if (vo!= null)
                vo.remove();
            //Create view definition
            ViewDefImpl dynamicBomViewDef = new ViewDefImpl("com.CST.DynamicBomView");
            //Define names and types of atributes of the View
            dynamicBomViewDef.addViewAttribute("EffectAssemblyId", "EFFECT_ASSEMBLY_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("EffectCompId", "EFFECT_COMP_ID", Integer.class);
            for(int i = 0; i < numberOfItems; i++){
                dynamicBomViewDef.addViewAttribute("RollupId"+(i+1), "ROLLUP_ID"+(i+1), Integer.class);
            dynamicBomViewDef.addViewAttribute("RollupId", "ROLLUP_ID", Integer.class);
            dynamicBomViewDef.addViewAttribute("BomLevel", "BOM_LEVEL", Integer.class);
            //Define the SQL for th eview object
            String    querytoUse = createSQLJoin(inputElementsVO);
            //Assign query to VO
            dynamicBomViewDef.setQuery(querytoUse);
            dynamicBomViewDef.setFullSql(true);
            dynamicBomViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
            dynamicBomViewDef.resolveDefObject();
            //Create an instance of the dynamic view definition
            vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
            AttributeDef[] parentAttrs = new AttributeDef[] {vo.findAttributeDef("EffectAssemblyId")};
            AttributeDef[] childAttrs = new AttributeDef[] {vo.findAttributeDef("EffectCompId")};
            ViewLink v1 = createViewLinkBetweenViewObjects("AssemblyLink", "Children", vo, parentAttrs, vo, childAttrs, null);
        }I also tried creating a second instance of the same view object, and adding a view criteria but it failed saying that:
    Definition EFFECT_ASSEMBLY_ID of type Attribute is not found in DynamicBomVO, I tried using
    The code was added after createViewObject
             vo = createViewObject(DYNAMIC_BOM_VO_INSTANCE,dynamicBomViewDef);
             ViewCriteria vc = vo.createViewCriteria();
             ViewCriteriaRow vcr1 = vc.createViewCriteriaRow();
             vcr1.setAttribute("EFFECT_ASSEMBLY_ID", "=-1");
            vc.add(vcr1);
            vo.applyViewCriteria(vc);
            vo.executeQuery();When I used
             vcr1.setAttribute("EffectAssemblyId", "=-1"); I got
    ORA-00904: "EFFECTASSEMBLYID": invalid identifier
    Please let me know if you know how could this be achieved so that I can use a treeTable once that viewLink has been stabled and the hierarchy can be constructed.
    Regards,
    Ivan
    Edited by: user756323 on Jan 8, 2013 2:58 PM
    Edited by: user756323 on Jan 8, 2013 3:03 PM
    Edited by: user756323 on Jan 8, 2013 3:07 PM

  • Portmap translation creation failed for udp src inside dst inside

    Hi!
    I have a problem with allowing traffic to UC500 subnets on ASA 5505 inside interface.
    My asa is a main router with addres 192.168.1.1
    UC500 voip box is connected to ASA's inside interface through UC500 WAN port with UC500 with 192.168.1.2 address.
    Firewall and NAT on UC500 is disable
    UC500 sip traffic works fine. voipbox creates its subnets for data and voip - 192.168.10.0 and 10.1.1.0. another important address is 10.1.10.1 which is UC500 CUE.
    My problem is that from within ASA local network (192.168.1.0) i cannot reach UC500 subnets, neither can I reach ASA's local network from the UC subnets.
    the log says
    3
    Sep 07 2013
    00:21:49
    DC
    53
    PBXCUE
    32901
    portmap translation creation failed for udp src inside:DC/53 dst inside:PBXCUE/32901
    I tried exempting uc500 subnets on ASA but that didn;t work.
    Funny thing is that I CAN reach the UC500 subnets when connecting with VPN to ASA...
    Please help! I am not familiar with CLI.
    I configured static route to 10.1.10.0 and since then I was able to ping 10.1.10.1 thorugh ASA;s VPN.
    I would be grateful for ideas.
    Lukasz
    global (inside) 1 interface
    global (outside) 101 interface
    nat (inside) 0 access-list inside_nat0_outbound
    nat (inside) 101 0.0.0.0 0.0.0.0
    static (inside,outside) tcp interface https IIS https netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface www IIS www netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface smtp IIS smtp netmask 255.255.255.255  dns
    static (inside,outside) tcp interface pop3 IIS pop3 netmask 255.255.255.255  dns
    static (inside,outside) udp interface domain RenBetPBX domain netmask 255.255.255.255  dns
    static (inside,outside) udp interface 5061 RenBetPBX 5061 netmask 255.255.255.255  dns
    static (inside,outside) udp interface sip RenBetPBX sip netmask 255.255.255.255  dns
    static (inside,outside) tcp interface 13000 SQL 13000 netmask 255.255.255.255  dns
    access-group inside_access_in in interface inside
    access-group outside_access_in in interface outside
    route outside 0.0.0.0 0.0.0.0 x.x.x.x
    route inside PBXCUE-network 255.255.255.0 RenBetPBX 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy

    Hello Julio!
    Thank you for your advice.
    I have managed to solve my main problem by reconfiguring my switches vlans - enabling trunk port configs for required ports and allowing them access to both vlans.
    Now I can see everything from all of my inside networks.
    I continue my ASA adventures - I have managed to configure L2TP client access for my windows users, RADIUS authentication for domain users and yesterday night I have managed to configure site to site VPN with my RV120W router.
    I am only an enthusiast but my recent successes have given me apetite for more...
    I keep reading forums and trying to solve most of my problems myself but I have faced another one now and thought that maybe you could give me another tip on where to look for the issue:
    I still have one problem with my L2TP VPN config - I have configured split tunnel on the group policy to tunnel only 192.168.1.0 network requests.
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    My network at home is 192.168.2.0 but it still tunnels everything (when I check my ip after connecting to VPN my home laptop still identifies with ASA gateway(!) address .
    access-list outside_access_in extended permit icmp any interface outside object-group DM_INLINE_ICMP_1
    access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
    access-list outside_access_in extended permit tcp any interface outside eq smtp
    access-list outside_access_in extended permit tcp any interface outside eq 8080
    access-list outside_access_in extended permit tcp any interface outside eq 23456
    access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 any
    access-list outside_access_in extended permit tcp any interface outside eq 13000
    access-list outside_access_in extended permit tcp any interface outside range 8001 8016
    access-list outside_access_in extended permit tcp x.x.x.x 255.255.255.0 interface outside eq ssh
    access-list inside_nat0_outbound extended permit ip any 192.168.1.240 255.255.255.240
    access-list inside_nat0_outbound extended permit ip any PBXVOIP-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip any PBXCUE-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    access-list inside_access_in extended permit udp object-group DM_INLINE_NETWORK_2 any object-group DM_INLINE_UDP_1
    access-list inside_access_in extended permit ip host IIS any
    access-list inside_access_in extended permit ip any any
    access-list inside_access_in extended permit ip host RBSTORE_NAS any
    access-list inside_access_in extended deny udp any any object-group DM_INLINE_UDP_2
    access-list inside_access_in extended permit tcp any any eq 5432
    access-list inside_access_in extended permit tcp any host PBXCUE eq www
    access-list inside_access_in extended permit tcp host PBXCUE any eq www
    access-list inside_access_in extended permit tcp host RBCAMSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RBSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RENBETUPS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RenBetPBX host EXCH-MBX eq smtp
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    route print shows:
    and 192.168.1.240 is my VPN IP - its metric has higher priority than the local gateway.
    How do I change it?
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.126   4250
              0.0.0.0          0.0.0.0         On-link     192.168.1.240     21
          80.51.24.22  255.255.255.255      192.168.2.1    192.168.2.126   4251
            127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
            127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
      127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
          169.254.0.0      255.255.0.0         On-link     192.168.2.126   4506
      169.254.104.126  255.255.255.255         On-link     192.168.2.126   4506
      169.254.255.255  255.255.255.255         On-link     192.168.2.126   4506
        192.168.1.240  255.255.255.255         On-link     192.168.1.240    276
          192.168.2.0    255.255.255.0         On-link     192.168.2.126   4506
        192.168.2.126  255.255.255.255         On-link     192.168.2.126   4506
        192.168.2.255  255.255.255.255         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
            224.0.0.0        240.0.0.0         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link     192.168.1.240     21
      255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      255.255.255.255  255.255.255.255         On-link     192.168.2.126   4506
      255.255.255.255  255.255.255.255         On-link     192.168.1.240    276
    ===========================================================================
    I am starting to feel like I am using a bit too much of your friendliness ...
    Best Regards and have a great day!
    Lukasz

  • Creation of zip file inside another one.

    Hi,
    I have a problem  with the zip file creation.
    I have created the zip file but now i can' t
    create another zip file inside the first one.
    can you suggest me how can i do it ?
    thanks  Laura.

    Hi,
    try this Fm..
    ISM_GENERATE_ZIP_FILE_NAME
    Arunima

  • How to know if iam in tcode  creation or modif  inside abap  prog ?

    hello ,
    i  want  to  know if there  is any things  that can  help  me to know  if  iam  in tcode  of creation (ME21N) o  modification (ME22N/ME23N) for  PO,  without using  sy-tcode inside a program of smartforms edition.
    thanks ,
    karim

    >
    karim sefiani sefiani wrote:
    > hello ,
    >  
    > i  want  to  know if there  is any things  that can  help  me to know  if  iam  in tcode  of creation (ME21N) o  modification (ME22N/ME23N) for  PO,  without using  sy-tcode inside a program of smartforms edition.
    >
    >  thanks ,
    > karim
    Please check the value of the variable T180-TRTYP
    T180-TRTYP = H - Create - ME21N
    T180-TRTYP = V - Change - ME22N
    generally 'A' in case of display transactions, however the table T180 shows the value 'V' in case of ME23N also, kindly check

  • Oval creation w/ star inside?

    So I'm trying to create a framed oval and put a 5 pointed star inside as part of a class project. The design is more or less up to me- I don't have to put a star in. However, I would like to know how to do this. I am familiar with the creation of lines and ovals, but I am not familiar with the equations required to make the lines grow with the oval as the oval is resized within the program. I can't seem to get the endpoints of the lines to rest perfectly on the frame of the oval; they are either breaching it or not quite long enough. I know how to make the lines grow, just not the correct equation to make them grow properly. If anyone has any experience with this sort of thing, I'd be be quite thankful for their information.
    Jedifarmer

    There were some errors:  public void drawStar(Graphics g){
        int centerX=x+width/2;
        int centerY=y+height/2;
        int[] pointsX=new int[5];
        int[] pointsY=new int[5];
        for(int i=0;i<5;i++){ 
          pointsX=(int)(width/2*Math.cos(i*2*Math.PI/5));
    pointsY[i]=(int)(height/2*Math.sin(i*2*Math.PI/5));
    for(int i=0;i<5;i++){
    g.drawLine(centerX+pointsX[i],centerY+pointsY[i],centerX+pointsX[(i+2)%5],centerY+pointsY[(i+2)%5]);}

  • Creation of class inside Method

    Hi Forums,
            I am new to WebDynpro-Abap and i am trying to practice WebDynpro-Abap with the help of  standard Tutorial avl in the SDN.
            In the Tutorial 4, i am getting the following error,
    The type <b>CL_WDABAP_FLIGHT_MODEL=>get_bookings is unknown or not found</b>
            but in that tutorial,they specify the  encounter of  the above error like
    <u>Simply create a ZCL_WDABAP_FLIGHT_MODEL class in your get_bookings method.</u>
           But  i don't know,where  to  Create the class  inside the get_bookings method
    can any body  tell me the steps to create  ZCL_WDABAP_FLIGHT_MODEL class in the get_bookings method and the remaining steps to execute the particular application.
    Thanks in Advance,
    Ashok

    Hi Ashok,
    Follow the steps for creation of Class and the method,
    STEPS TO CREATE CLASS:
    1) CREATE ZIT_FLIGHTTAB(AN INTERNAL TABLE) IN SE11 UNDER DATA TYPE->TABLE TYPE.
    2) GIVE LINE TYPE AS SFLIGHT. SAVE,CHECK AND ACTIVATE THE INTERNAL TABLE.
    3) CREATE GLOBAL CLASS ZNET_NET310_FLIGHTMODEL_## USING TRANSACTION CODE SE24.
    4) IN THE ATTRIBUTES TAB, ENTER AS FOLLOWS,
        ATTRIBUTE          LEVEL          VISIBILITY     TYPING          ASSOCIATED TYPE
        TY_FLIGHTS        STATIC ATTRIBUTE       PUBLIC     TYPE             SFLIGHT
        ZIT_OUTTAB        STATIC ATTRIBUTE       PUBLIC     TYPE             TY_FLIGHTS
    5) IN THE METHODS TAB, ENTER AS FOLLOWS,
          METHOD          LEVEL          VISIBILITY     DESCRIPTION
       READ_FLIGHTS          STATIC METHOD        PUBLIC     READ FLIGHT DATA
    6) CLICK ON PARAMETERS, ENTER AS FOLLOWS,
          PARAMETER          TYPE          TYPING METHOD     ASSOCIATED TYPE          
          I_CARRID           IMPORTING             TYPE          SFLIGHT-CARRID
          I_CONNID           IMPORTING             TYPE         SFLIGHT-CONNID
          E_FLIGHTS           EXPORTING            TYPE         ZIT_FLIGHTTAB
    7) DOUBLE CLICK ON METHOD:READ_FLIGHTS AND ENTER FOLLOWING SORCE CODE IN BETWEEN METHOD AND ENDMETHOD.
         SELECT * FROM SFLIGHT INTO TABLE ZIT_OUTTAB WHERE CARRID = I_CARRID AND CONNID = I_CONNID.
          E_FLIGHTS[] = ZIT_OUTTAB[].
    8) SAVE CHECK AND ACTIVATE CLASS.
    NOTE :
    PLEASE FOLLOW SAME STEPS FOR OTHER METHODS THAT COMES IN FOLLOWING EXCERCISE IN SAME CLASS i.e ZCL_NET310_FLIGHTMODEL_##.
    In next few tutorials you will need to create more methods. Follow steps to add new methods as and when required.
    Regards,
    Achyut

Maybe you are looking for

  • The expression is not being displayed in the alert inbox

    Hi, I have created an expression in 'Long and Short Text' tab present in the ALRTCATDEF transaction screen. The expression is "test Error in message &SXMS_MSG_GUID&". However if i goto alert inbox, this expression is not getting displayed. I tried pu

  • I can't figure out how to parametrize my SQL statement - lil help please?

    Hi all, I was deleting records via the string-concatenation method, which I've come to understand is bad, due to security any possibly other issue. I want very much to parametrize my delete statement, but I just can't see to get it to work The code b

  • File Error: The File Is locked

    This is odd. I have multiple timelines, a nightmare project. I tried to save a the prjoject but FCP6 told me that "File Error: The File Is locked" This has never ever happened before. What has happened? I didn't change a thing! I saved the project wi

  • Boot Camp Partitioning Error - OSX 10.6.6

    Hey I previously created a partition of 20GB on my MBP's HD and installed a copy of Windows Vista on it. The installation went well, but I soon realised that the 5GB free space that was left wasn't enough to suit my needs. I then deleted the partitio

  • Which part of EP implementation requires webdynpro

    Hi All,        I am new to EP, and i know only how to create normal iviews(url iview & transactional iview only),worksets,roles. can anybody help me to know which part of EP implementation requires webdynpro and its importance. Give some tips on some