URL Loader / HTTPService using ASPX calls

I would like to know if someone could help me or point me in the right direction … here is a test site and source view (https://studentdb.projectcadd.org/test.html) of what I am trying to do (all I want is a guarantee that the XML generated from ASPX will go to the correct dropdown 100% of the time.
As you will see on this test site, the ASPX will go to whatever dropdown it wants, but those read from stactic XML files read correctly into the proper dropdown.
The first set of 3 are read from SQL thru ASPX files using URLLoader, and the next 3 are read from static XML files, using URLLoader, the final 3 are using HTTPService  calls … the single dropdown above the final 3 is reading an XML file also. The URLLoaders reading XML are 100%, the others may come up correctly the 1st time, but if I refresh or recall the page the setup is not correct!! I am using a random number in the querystring but that doesn’t work either – handle any cashe problems!!! (all sets should have the same pattern in them – 1st classnumber, then course numbers, then paygrades).
thanks, rehoover

hi,
   you need to explicitly call MyHTTPService.send() from actionScript httpService dosent sends Data automatically and also at dataProvider="{ChatXML.root.object}" you will need to ommit parentNode in XMl ->dataProvider="{ChatXML.object}"

Similar Messages

  • Set "url" in HTTPService using String variable

    Hi,
    How can I set "url" in HTTPService using String variable (see below). I've tried different formats of string & variable concatenations.
    privtate var myurl:String = "http://localhost/";
        <mx:HTTPService id="post_submit_service"
            url="{myurl+'test.php'}"
            method="POST"
            resultFormat="text"
          result="result_handler(event)"
          fault="fault_handler(event)">
            <mx:request xmlns="">
          </mx:request>
        </mx:HTTPService>
    Thanks,
    ASM

    try following:
    url="{myurl}test.php"

  • HTTPService - using FlashVars for URL?

    Hi,
    New Flex user, so please forgive me if this sounds stupid.
    I'm fiddling around with a modified version of the dashboard sample
    application, and am using the FlashVars param tag to pass in a
    bunch of variables into the application. They all work fine, except
    the variable I'm using for the URL in HTTPService, which is the
    name of an XML file that another application I've written has
    generated. It returns this error:
    [RPC Fault faultString="A URL must be specified with useProxy
    set to false." faultCode="Client.URLRequired" faultDetail="null"]
    at mx.rpc.http::HTTPService/send()
    at mx.rpc.http.mxml::HTTPService/send()
    at dashboard/::initApp()
    at dashboard/___Application1_creationComplete()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/set initialized()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()
    But I'm absolutely positive the URL value is correct. I've
    tested and displayed the value that comes through, and when I
    manually paste that value into the URL, it works fine. Tried
    relative and absolute URLs, tried just passing the partial filename
    through (so the FlashVars variable just has alphanumeric
    characters) and hard-coding the rest of the URL. Same result.
    Does HTTPservice just not allow this value to be passed via
    FlashVars, or is there something I'm completely missing (maybe I
    need to convert the value somehow)? Or, is there another solution
    to this problem?
    Thanks, in advance.

    How are you asigning the url value to the HTTPService
    property? Binding or via actionscript?
    Tracy

  • Dynamic class loading problem using unknown JAR archive and directory names

    I read the following article, which enlightened me a lot:
    Ted Neward: Understanding Class.forName().
    However, it took me some while to understand that my problem is the other way around:
    I know the name of the class, I know the name of the method,
    but my program/JVM does not know where to load the classes from.
    Shortly, my problem is that the server engine that I am writing
    uses two different versions of the same library.
    So I am trying out the following solution:
    My program is named TestClassPathMain.java
    Assume the two libraries are named JAR1.jar and JAR2.jar
    and the class/instance method that should
    be exposed to TestClassPathMain.java by them is named
    TestClass1.testMethod().
    As long as I was depending on just one library,
    I put JAR1.jar in the classpath before starting java,
    and I was happy for a while.
    At the moment I got the need to use another version of
    TestClass1.testMethod() packaged in JAR2.jar,
    a call would always access JAR1.jar's
    TestClass1.testMethod().
    I then decided to remove JAR1.jar from the classpath,
    and programmatically define two separate ClassLoaders, one for use
    with JAR1.jar and the other for use with JAR2.jar.
    However, the problem is only partly solved.
    Please refer to the enclosed code for details.
    (The code in the JAR1.jar/JAR2.jar is extremely simple,
    it just tells (by hardcoding) the name of the jar it is packaged in
    and instantiates another class packaged in the same jar using
    the "new" operator and calls a method on it. I don't enclose it.)
    The TestClassPathMain.java/UC1.java/UC2.java code suite was
    successfully compiled with an arbitrary of JAR1 or JAR2 in the classpath,
    however removed from the classpath at runtime.
    (I know that this could have been done (more elegantly...?) by producing an Interface,
    but I think the main problem principle is still untouched by this potential lack of elegancy(?))
    1) This problem should not be unknown to you experts out there,
    how is it generally and/or most elegantly solved?
    The "*** UC2: Variant 2" is the solution I would like best, had it only worked.
    2) And why arent "*** UC2: Variant 2" and
    "*** static UC2: Variant 2" working,
    while "*** Main: Variant 2" is?
    3) And a mal-apropos:
    Why can't I catch the NoClassDefFoundError?
    The output:
    *** Main: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** Main: Variant 2 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** Main: Variant 2 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** UC1: Variant 1 JAR 1 ***:
    Entering TestClass1.testMethod() packaged in JAR1.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR1.jar
    *** UC1: Variant 1 JAR 2 ***:
    Entering TestClass1.testMethod() packaged in JAR2.jar
    About to instantiate TestClass2 with the new operator
    About to call TestClass2.testMethod()
    Entering TestClass2.testMethod() packaged in JAR2.jar
    *** static UC2: Variant 2 JAR 1 ***:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestClass1
            at UC2.runFromJarVariant2_static(UC2.java:56)
            at TestClassPathMain.main(TestClassPathMain.java:52)
    TestClassPathMain.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class TestClassPathMain {
        public static void main(final String args[]) throws MalformedURLException, ClassNotFoundException, InstantiationException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
                // Commented out because I cannot catch the NoClassDefFoundError.
                // Why?
                try {
                    final TestClass1 testClass1 = new TestClass1();
                    System.out.println(
                        "\nThe class TestClass1 is of some unexplicable reason available." +
                        "\nFor the purpose of the test, it shouldn't have been!" +
                        "\nExiting");
                    System.exit(1);
                } catch (NoClassDefFoundError e) {
                    System.out.println("\nPositively confirmed that the class TestClass1 is not available:\n" + e);
                    System.out.println("\n\nREADY FOR THE TEST: ...");
                // Works fine
                System.out.println("\n*** Main: Variant 1 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 1 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                System.out.println("\n*** Main: Variant 2 JAR 1 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** Main: Variant 2 JAR 2 ***:");
                runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Works fine
                final UC1 uc1 = new UC1();
                System.out.println("\n*** UC1: Variant 1 JAR 1 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC1: Variant 1 JAR 2 ***:");
                uc1.runFromJarVariant1("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                System.out.println("\n*** static UC2: Variant 2 JAR 1 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** static UC2: Variant 2 JAR 2 ***:");
                UC2.runFromJarVariant2_static("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
                // Crashes
                final UC2 uc2 = new UC2();
                System.out.println("\n*** UC2: Variant 2 JAR 1 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP1/JAR1.jar");
                System.out.println("\n*** UC2: Variant 2 JAR 2 ***:");
                uc2.runFromJarVariant2("file:/W:/java/eclipse/workspaces/simped_test/CP2/JAR2.jar");
        private static void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
        private static void runFromJarVariant2(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    UC1.java
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC1 {
        public void runFromJarVariant1(final String jarFileURL)
            throws MalformedURLException,
                   ClassNotFoundException,
                   InstantiationException,
                   IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException,
                   SecurityException,
                   NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final Object testClass1 = clazz.newInstance();
            final Method testMethod1 = clazz.getMethod("testMethod", null);
            testMethod1.invoke(testClass1, null);
    UC2.java
    import java.lang.reflect.InvocationTargetException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class UC2 {
        public void runFromJarVariant2(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
         * Identic to the "runFromJarVariant2" method,
         * except that it is static
        public static void runFromJarVariant2_static(final String jarFileURL)
        throws MalformedURLException,
               ClassNotFoundException,
               InstantiationException,
               IllegalArgumentException,
               IllegalAccessException,
               InvocationTargetException,
               SecurityException,
               NoSuchMethodException {
            final URL url = new URL(jarFileURL);
            final URLClassLoader cl =
                new URLClassLoader(new URL[]{url},
                                   Thread.currentThread().getContextClassLoader());
            final Class clazz = cl.loadClass("TestClass1");
            final TestClass1 testClass1 = new TestClass1();
            testClass1.testMethod();
    }

    2. i need to load the class to the same JVM (i.e. to
    the same environment) of the current running
    aplication, so that when the loaded class is run, it
    would be able to invoke methods on it!!!
    ClassLoader(s) do this. Try the URLClassLoader.
    (I was talking about relatively esoteric "security"
    issues when I mentioned the stuff about Class objects
    "scope".) You might use the URLClassLoader kind of
    like this.
    Pseudo-code follows:
    // setup the class loader
    URL[] urls = new URL[1];
    urls[0] = new URL("/path/to/dynamic/classes");
    URLClassLoader ucl = new URLClassLoader(urls);
    // load a class & use make an object with the default constructor
    Object tmp = ucl.loadClass("dynamic.class.name").newInstance();
    // Cast the object to a know interface so that you can use it.
    // This may be used to further determine which interface to cast
    // the class to. Or it may simply be the interface to which all
    // dynamic classes have to conform in your program.
    InterfaceImplementedByDynamicClass loadedObj =
        (InterfaceImplementedByDynamicClass)tmp;It's really not as hard as it sounds, just write a little test of
    this and you will see how it works.

  • URL to be used in high availability for Directory Server

    Hi All,
    I have an environment configured for high availability. I have two OVD and OID servers each in this environment, configured in high availability. What should be the value in the Server URL field of the Directory Server IT Resource in the OIM for this environment? In the normal environment, I had it as "ldap://ovdhost01:6501" and it was working fine. But since there are two servers here, I am not sure what URL to use in place of this. The entry for the two ovd hosts in the OHS is "idstore.com" which is configured on 6501 port. But I tried using the following URLs and none of them worked:
    1. idstore.com
    2. ldap://idstore.com
    3. ldap://idstore.com:6501
    4. ldap://ovdhost01:6501,ldap://ovdhost01:6501
    Can someone help me know the correct URL to be used in this case?
    Thanks,
    $id

    Not sure about OVD or OID but for SOA and OIM:
    SOA:
    XMLConfig -> XMLConfig.SOAConfig -> SOAConfig
    Rmiurl -> t3://soahost1:soaport1,soahost2:soaport2
    Soapurl -> Load balancer or web server url (without the /workflow context)
    OIM:
    XMLConfig -> XMLConfig.DiscoveryConfig -> Discovery
    OimFrontEndUrl -> Load balance or web server url (without the /oim context)
    And ofcourse on your LB or WebServer, you need to configure these:
    SOA: http://docs.oracle.com/cd/E23943_01/core.1111/e10106/ha_soa.htm#CHDDJEGD
    OIM: http://docs.oracle.com/cd/E21764_01/core.1111/e10106/imha.htm#BGBDFEIE
    -Bikash

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

  • How can I use system call in kernel loadable module?

    Hi,
    I want to use system call (shmat, mmap,...) in kernel module.
    When kernel module is loaded, it cause system error (undefined symbol name 'shmat', 'mmap').
    How can I use system call in kernel module ?
    Thanks in advance.
    david joo

    You cannot use system calls in the kernel modules.
    Read 'Writing Device Drivers' answerbook - it lists the set of interfaces (known as DDI/DDK) that are supposed to be used instead.
    Hope this helps...
    --I.

  • Exchange 2013 ECP Login fails HTTP 404 Requested URL: /owa/auth/logon.aspx

    Hi,
    One of our Exchange servers stopped allowing access to OWA and ECP. I have now managed to get OWA working but ECP is still failing. When connecting to ECP using https://servername/ecp/ it asks me for my username and password. After hitting enter it shows
    me an error page:
    Server Error in '/owa' Application.
    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
    Requested URL: /owa/auth/logon.aspx
    URL in the address bar while on this screen: https://exchangeserver:444/owa/auth/logon.aspx?url=https://exchangeservera:444/ecp/&reason=0
    Question: When the URL points to servername:444/owa/auth/logon.aspx - Is it trying to find the logon.aspx in C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\auth? There is no such file in that directory?
    I have removed and recreated the ECP and OWA virtual directories several times.
    I am trying to login using a domain administrator account.
    Thanks,

    Hi,
    Is there any Exchange server 2010 coexistence with your Exchange 2013 server? If it is, please try the URL
    https://CAS15-NA/ecp?ExchClientVer=15 to access ECP.
    Also run the following to check your OWA and ECP virtual directories:
    Get-EcpVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Authentication*
    Get-OwaVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Authentication*
    And make sure the Basic and Forms authentications are enabled in
    Default Web Site and Ntlm, WindowsIntegrated
    authentication methods are enabled in
    Exchange Back End. Then restart IIS service by running
    iisreset /noforce from a command prompt window.
    If the issue persists, please collect any event logs or IIS logs for further analysis.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Reg Vendor master upload using BDC Call Transaction Method

    Hi All,
    Thanks in advance.
    I am uploading vendor master data using bdc call transaction method for XK01. In that  i am getting an error message that the fields " smtp_addr" ( for email) and "time_zone" (for time zone) doesnot exist on the screen '0110' ( this is the second screen) . the field timezone will be displayed on the screen only when we go for communications button and select the URL field .
    Do anybody have the solution for this problem. if possible can you give me the code for that screen.

    Create a recording via SM35 (menu go to=>recording), this will generate automatically the code for filling your bdcdata-table...

  • Automate the data load process using task scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler.
    Thanks

    Thanks for your help.
    I have done data loading using Data_load.batch file . the .bat file call to .msh file using this i have followed your steps & automatic data lload is possible.
    If you need this then please let me know.
    Thanks again.
    Edited by: 949936 on Oct 26, 2012 5:46 AM

  • I have problem that seems to be Firefox-specific: the url loads correctly but the page doesn't show. The other browsers are unaffected.

    The page urls load properly but the pages generally don't show. I have been using Firefox 5 on Linux Mint 11. I have no idea which Firefox version I have on the Windows 7 PC as the Firefox "About Firefox" page doesn't display. Some web pages don't seem to be affected by the Firefox problem. As a workaround, I am using non-Firefox browsers like: on Linux- Konqueror, Opera, Seamonkey, Chrome; on Windows: Internet Explorer, Opera, Chrome; the iPod Safari and Android browser.

    Upgrade your browser to Firefox 8
    * getfirefox.com

  • Receive POST data from another URL and process using Struts

    Hi there
    We have a website and as of now we are receiving some data from another URL which is received as an appended part of the URL. My application uses Struts and we process the received data and send back a response.
    Now my question is, I have been asked to change this behavior because there are more parameters now which cannot be passed through the URL. I am supposed to get the data from the other URL as POST data (as a form) and I have to create a new Struts action to receive this data, process it and send the response back to the requesting URL.
    Please explain me how to do this using some example code snippets.
    Thanks a lot

    Lookup in XI is used to call the target data storage system and get data from there to your mapping programme.
    In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
    Overview of Lookup
    - Lookups are used to identify/request the data from mapping program.
    - It interrupt the process and looking for data which was stored in target system.
    - It get that data and comeback to process and continue with that data.
    Types of Lookups in XI
    - JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
    - RFC Lookup: RFC lookup is used for accessing the SAP Data.
    - SOAP Lookup: SOAP lookup is used for accessing data from Webservice
    Steps to perform Lookup in Mapping
    Import package com.sap.aii.mapping.lookup.*;
    Create connection to the target Database system.
    // Determine communication channel created in ID
    Channel channel = null;
    channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
    // Get system accessor for the channel.
    DataBaseAccessor accessor = null;
    accessor = LookupService.getDataBaseAccessor(channel);
    Build the Query String.
    Getting Result
    // Execute Query and get the values.
    DataBaseResult resultSet = null;
    resultSet = accessor.execute(Query);

  • Improve data load performance using ABAP code

    Hi all,
             I want to improve my load performance using ABAP code, how to do this?. If i writing ABAP code in SE38 how i can call
    in BW side? if give sample code to improve load performance it will be usefull. please guide me.

    There are several points that can improve performance of your ABAP code:
    1. Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2. Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3. Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    4.Avoid using nested SELECT and SELECT statements within LOOPs.
    5. Avoid using INTO CORRESPONDING FIELDS OF. Instead use INTO TABLE.
    6. Avoid using SELECT * and select only the required fields from the table.
    7. Avoid Executing a SELECT multiple times in the program.
    8. Avoid nested loops when working with large internal tables.
    9.Whenever using READ TABLE use BINARY SEARCH addition to speed up the search.
    10. Use FIELD-SYMBOLS instead of a work area when there are more than 200 entries in an internal table where some fields are being manipulated.
    11. Use MOVE with individual variable/field moves instead of MOVE-CORRESPONDING.
    12. Use CASE instead of IF/ENDIF whenever possible.
    13. Runtime transaction code se30 can be used to measure the application performance.
    14. Transaction code st05 can be used to analyse the SQL trace and measure the performance of the select statements of the program.
    15. Start routines can be used when transformation is needed in the data package level. Field/individual routines can be used for a simple formula or calculation. End routines are used when you wish to populate data not present in the source but present in the target.
    16. Always use a WHERE clause for DELETE statement. To delete records for multiple values, use SELECT-OPTIONS.
    17. Always use 'IS INITIAL' instead of equal to '' because null for a character is '' but '0' for an integer.
    Hope it helps.

  • No content loads when using portal links

    We recently upgraded from 3.0.9.8.2 to 3.0.9.8.5 and in the new version we are having issues with our favorites portlet as well as any links that users create to send to other users. In the new version, after a user logs in, if they click on a saved favorite link, the new page does not load. The tabs at the top of the screen stay and the content of the page is left blank. The same thing happens if you copy a link into the browser window after logging in. However, if you navigate to the tab that the link is going to, and then go back to the login page and use the link, it works fine. We have a TAR logged with Oracle and they do not know what is wrong. Has anyone experienced a similar problem or know a solution?
    After testing, we came up with something interesting. When we were creating favorites, we were going to the page we wanted, copying the URL, and pasting it into a favorite. This URL is fairly short. Just now I tried right clicking on the folder I wanted to make a favorite and copying a shortcut. This URL is much longer (although it should point to the same place as the short one). When I tested the favorites, the first URL loaded a blank screen (as you saw in the ODC), but the second loaded the page correctly. I went back to our System Test environment to make sure that the problem does not exist there (this instance is still 3.0.9.8.2). Both the short URL and the long URL worked. Why should patching the portal cause the short URLs, which worked before, to
    stop loading pages correctly? Here is an example:
    Portal Production (3.0.9.8.5)---------------------------------------------------------------------------
    URLs for My Regional tab
    WORKS(right-click and copy shortcut)
    http://portal.us.colorcon.com:7777/pls/cc_prod/CC_INTRANET.wwpob_page.changetabs?p_pageid=952&p_regionid=2264&p_portletid=956&p_mainpageid=952&p_mode=3&p_debug=0&p_back_url=http%3A%2F%2Fportal.us.colorcon.com%3A7777%2Fservlet%2Fpage%3F_pageid%3D952%2C956%26_dad%3Dcc_prod%26_schema%3DCC_INTRANET
    BREAKS(navigate to page and copy URL)
    http://portal.us.colorcon.com:7777/servlet/page?_pageid=952,956&_dad=cc_prod&_schema=CC_INTRANET
    URLs for QA Tab under My Knowledge (this is a sub-tab)
    WORKS(right-click and copy shortcut)
    http://portal.us.colorcon.com:7777/pls/cc_prod/CC_INTRANET.wwpob_page.changetabs?p_pageid=952&p_regionid=2277&p_portletid=997&p_mainpageid=952&p_mode=10&p_debug=0&p_back_url=http%3A%2F%2Fportal.us.colorcon.com%3A7777%2Fservlet%2Fpage%3F_pageid%3D952%2C954%2C960%2C997%26_dad%3Dcc_prod%26_schema%3DCC_INTRANET
    BREAKS(navigate to page and copy URL)
    http://portal.us.colorcon.com:7777/servlet/page?_pageid=952,954,960,997&_dad=cc_prod&_schema=CC_INTRANET
    Portal System Test (3.0.9.8.2)-------------------------------------------------------------------------
    URLs for My Regional tab
    WORKS(right-click and copy shortcut)
    http://hercules.us.colorcon.com:8020/pls/cc_prod/CC_INTRANET.wwpob_page.changetabs?p_pageid=952&p_regionid=2264&p_portletid=956&p_mainpageid=952&p_mode=3&p_debug=0&p_back_url=http%3A%2F%2Fhercules.us.colorcon.com%3A8020%2Fservlet%2Fpage%3F_pageid%3D952%2C956%2C960%2C964%2C48%2C47%2C614%2C50%2C103%2C49%26_dad%3Dcc_prod%26_schema%3DCC_INTRANET
    WORKS(navigate to page and copy URL)
    http://hercules.us.colorcon.com:8020/servlet/page?_pageid=952,956,962,964,48,47,614,50,103,49,1006,1020,1154,1060&_dad=cc_prod&_schema=CC_INTRANET&2086_IT_EBUS_PROJ_93987.p_subid=83600&2086_IT_EBUS_PROJ_93987.p_sub_siteid=1&2086_IT_EBUS_PROJ_93987.p_edit=0

    Hi,
    The reason why I decide to use Light Framework, itu2019s because Iu2019m creating an EFP, and Iu2019m using the WPC to publish the content (articles, news, and link list), using the standard Web Forms.
    The problem is, after adding to a WPC Page something so simple like an article (using the Web Form Article), no Portal iView, HTMLB or other stuff included, the preview of the WPC Page using the Default Framework Page is ok, but when using the Light Framework Page, the text in the article doesnu2019t have the correct font-family. It looks like there are some styles missing in the Light Framework Page, that WPC content is expecting.
    Thanks and Regards,
    John

Maybe you are looking for

  • How do I add an event to calendar?

    New user iPhone 4s. Calendar heading is "All Calendars". It will not open to accept adding an event. Please advise.

  • How do I connect two VMs in the same cloud service?

    I want to setup a DB cluster with two VMs in a single cloud service. My DB (Couchbase) requires being able to reference the other nodes by IP address or hostname. Since VMs change their IP everytime they restart I can't use that, and as far as I can

  • Thumbnails in PSE9 organiser on Mac

    The thumbnails in organiser appear as egg timers when there is more than one on view. When the thumbnails first appear there is a message "generating thumbnails" at the bottom of the organiser window. Enlarging the thumbnail to one per page, slider t

  • Effect Question

    The SWF File: http://darrinrobertson.com/loadcells/bin/IF_LoadCells.swf The project files: http://darrinrobertson.com/loadcells Hi all, any help I could get on this issue would be very helpful. I have a Flex application. In the application I have an

  • Explain "replace information on this device" when syncing outlook with ipad

    Is it possible to create a situation where changes to the calendar on an Ipad and different changes to the outlook calendar will sync with each other and not create duplicate entries?