Java transports across different SPS, EHP and release

Hi All,
During an SPS/EHP upgrade, there is generally a transport freeze in the development landscape from DEV ->QA->PRD. This due to the incompatibility between the systems. SAP Note explaining the same is 1090842.
I understand that same is true for the Java developments as well. As the SC imported into track are specific to release and SP levels of the WAS. These would have to be adjusted and re-build, (after SPS/EHP upgrade of WAS) so that it refers to the new versions. But these new builds are possible in NWDI, which has not been updated. But these releases cannot be transported to QA before QA is also upgraded to same SPS/EHP as for DEV.
Please let me know if my understanding is correct. If yes, then is there a similar SAP Note/documentation available as for ABAP one explaining the same?
Appreciate your inputs on the same.
Thanks and Regards,
Arundeep Singh

Hi Mark,
Thanks for your reply. Your reply seems to talk more on the different release of NWDI and runtime systems.
My query is not about the relation of NWDI and Runtime Java systems compatibility. I want to know the restrictions on transports in which the Runtime system landscape, DEV->QA->PRD, when an SPS/EHP on release is being upgraded on runtime systems. The scenario where standard SAP developments has been modified is clear and there is good enough documentation available [here|https://cw.sdn.sap.com/cw/docs/DOC-17604]. Let me try to explain the case again.
1. Only the Runtime systems landscape being upgraded. NWDI remains the same.
2. No SAP standard development has been modified.
3. There is only custom development, but it has build and/or runtime dependency on standard SAP SWCV. e.g. dependency on JTECH 7.00
4. Now DEV runtime Java system is upgraded, lets say to EHP1. That means the JTECH will change from JTECH 7.00 to JTECH 7.01 in Runtime DEV system.
5. Now, I beleive that custom development/ SLD configuration should be adjusted so that custom development now depends on JTECH 7.01 and not on JTECH 7.00.
6. If this custom development is not modified and transported to QA system, it may not work as the JTECH version is different in DEV and QA.
7. There could be another option at point 5. It may be chosen not to change the dependency to new JTECH 7.01. but then it may not build or run properly as JTECH in DEV is now JTECH 7.01.
Similar case would be there in case of SPS as well. It is just in case of SPS it is more subtle. The SLD dependencies will remain same. But I wonder if any library/interfaces gets updated/deprecated then the applications may not run as expected. I understand the code is generally downward compatible, but not always.
This is why, I was checking if there is some official document explaining such scenarios. I am still searching. If I came across something i will provide the links.
Thanks and Regards,
Arundeep Singh
PS: I am not a Java developer. My judgement is purely based on the general logic.

Similar Messages

  • Compiling differently for debug and release

    I want to produce slightly different .class files for my debug and release compilations. For debug, methods like toString() should return rich information which should not be present in the release version. In fact, I want most of my debug specific code to not be included in the final release to keep ti's file size down.
    I realise I can do this by creating something like
    public interface MyGlobals {
        static final boolean DEBUG = false;
    }and implementing this on any class that needs to do debug specific work. However, I'm in a bit of a chicken and egg scenerio. This file needs to exist during development time so that every class that needs it can implement it - however, this would prevent me from dynamically changing it based on whether I'm doing a debug or release build. On the other hand, if the file is generated automatically at compile time, all the classes that need to refer to it will need to refer to a non-existant source file, which will cause problems in my NetBeans IDE.
    Is there a way around this? It would be nice if there was some sort of a configuration file you could specify to to alter how the code is generated. Something similar to C++ #ifdef.

    I realise I can do this by creating something like
    public interface MyGlobals {
    static final boolean DEBUG = false;
    /code]You should be careful about this, by the way, rember that this kind of constant value gets compiled in to classes that reference it, and java doesn't always pick up the need to recompile when the source of MyGlobals changes.
    On the other hand, if you don't declare it final then the compiler can't optimise out code that you want it to exclude for you.

  • String.getBytes (java) o/p different in Windows and Unix

    Hi,
    I was trying out the following code, which gives me a byte array from a
    String object.
    byte[] bytArr = null;
    bytArr = <String object>.getBytes("UnicodeBigUnmarked");
    System.out.println(bytArr.toString());
    The output is different in Windows and in Unix. The assumed that the reason could be because Intel architecture is based on little_endian so the difference in output. I changed the code to the following
    bytArr = <String object>.getBytes("ISO8859_1");
    and then ran the class file by using "java -Dfile.encoding=ISO8859_1" so that the toString can also take the character encoding of ISO8859_1 rather than using the platform dependent one. Still the result is different in Windows and Unix.
    What could be the reason for this? How can I correct this ? Any help in this regard is welcome.
    cheers
    kk

    Hi Sabre150,
    Thanks for the suggestion, it worked. Both the o/p shows the same if I use System.out.println(Arrays.toString(bytArr));
    I am assigning full points to you. Thanks a ton for the help.
    To end with I have one more question, the method Arrays.toString is introduced from jdk1.5, so if I want to use jdk 1.4 what should I use instead of Arrays.toString ?
    It would be great if I can get this answer.
    cheers
    kk

  • Java program runs differently on Windows and Linux

    Hi!
    I would like to run a java application (which is written and run on windows platform) on linux platform. I don't know wether it is possible or not, but I tired on the following way:
    I have made a small java application. It worked correctly on windows (I developed it on windows). I copied first only the class file (Start.class) to the linux machine (which has exactly the same JDK as windows machine). When I type the command:
    java Startit gives me the folloving error:
    Exception in thread "main" java.lang.ClassFormatError: Start (unrecognized class file version)
       at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
       at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
       at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
       at java.net.URLClassLoader.findClass(libgcj.so.7rh)
       at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
       at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
       at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
       at gnu.java.lang.MainThread.run(libgcj.so.7rh)After that I was trying to compile the source file on linux with the command:
    javac Start.javabut the compiler gave me an error in the source file.
    Is there any way to run the formerly written java application (on windows) on linux machine?
    Thanks

    When I type the command java-version I get the following:
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.The JDK on linux and windows is the latest (I was download it today).
    How can I upgrade the jdk/jre on linux?
    Here is the compiler error:
    [root@Linux-oracle app]# javac DataMining.java
    1. ERROR in DataMining.java (at line 77)
            ArrayList<String> temp = new ArrayList<String>();
            ^^^^^^^^^
    The type ArrayList is not generic; it cannot be parameterized with arguments <String>
    2. ERROR in DataMining.java (at line 77)
            ArrayList<String> temp = new ArrayList<String>();
                      ^^^^^^
    Syntax error, parameterized types are only available if source level is 5.0
    3. ERROR in DataMining.java (at line 77)
            ArrayList<String> temp = new ArrayList<String>();
                                         ^^^^^^^^^
    The type ArrayList is not generic; it cannot be parameterized with arguments <String>
    4. ERROR in DataMining.java (at line 77)
            ArrayList<String> temp = new ArrayList<String>();
                                                   ^^^^^^
    Syntax error, parameterized types are only available if source level is 5.0
    5. WARNING in DataMining.java (at line 240)
            String youtube[][] = new String[20][5];
                   ^^^^^^^
    The local variable youtube is never read
    6. WARNING in DataMining.java (at line 267)
            int e;
                ^
    The local variable e is never read
    7. ERROR in DataMining.java (at line 329)
            for(int i=1;i<Video+1;i++)
                          ^^^^^^^
    The operator + is undefined for the argument type(s) Integer, int
    7 problems (5 errors, 2 warnings)

  • Transport between different releases

    Hi,
    Is it possible to have transports between two server with different releases,
    one is on 701 and other is on 700,
    pls advise.
    Thanks

    Hello Irfan,
    Transport of customizing between diffeent releases is NOT supported. Also generated objects, which were generated by customizing, should NOT be transported between different releases.
    SAP objects may NOT be transported between different releases (e.g. a table in an old release could have less fields than in the newer release and thus such a transport might delete data or if an abap calls a function module and in new release have one parameter more,then you get syntax errors if you transport only one of them from a system with the old release, ...).
    So data loss and severe inconsistencies can happen if you transport SAP objects between different releases, or between systems with same release but different support package level or between systems with different addons or different add-on versions etc.
    For pure customer objects (e.g. Z-tables, Z-programs, Y-tables, y-programs or objects in customer name space) it might be ok to transport them. But if e.g. your Z-table uses an SAP data element which has maybe been changed in the new release or does maybe no more exist, you can also get problems during transport of your z-table.
    Data loss and severe inconsistencies can happen if you transport SAP objects between  different releases, or between systems with same release but different support package level or between systems with different addons or different add-on versions etc.
    Please check the following:
    1090842   Composite note: Transport across several releases
    1089083   Transports between Basis Releases 7.0* and 7.1*
    556734    FAQ Transport: Setup and further information
    Pay attention to point 5 and 6.
    5. Are transports possible between systems with different Support Package versions?
    6. Are transports possible between different R/3 releases?
    Best Regards
    Niraj

  • Transport of Number range and release proceure and split valuation

    Dear Gurus,
    Can we transport number ranges from PRD server to Quality Server?
    Also, how will we trasport split valuation and release procedure?
    Kindly suggest..

    Hi
    Number ranges you have to create directly as it is not transportable.
    For release Strategy details, all your Release config details are transported Except for the below details
    1. Characteristics &  values assigned to it ( master data)
    2. Class & assigned characteristics to it (master data)
    3. Values/ranges inside the Release strategies ( classification details).
    These three details are to be recreated/assigned in the client you intend to work upon.
    Regards
    SAM

  • CK24 - mark and release with different costing version

    Hi,
    We are currently using standard costing variant PPC1 and costing version 1 to mark and release the standard costs. However when we try to recost the material cost due to price changes, system does not allow to mark & release revised standard cost if we try to mark & release on same day. pls note standard cost estimate is already released for the month. And we do not want to delete existing standard cost estimate. Instead we want to explore other options. We are using 4.7.
    My questions are :
      a) Can recost using costing version 2? CK11N allows to save the costing result. However in CK24 Marking allowance, system does not allow to change Costing Version. is there any config option to change this.
    b) If  we cannot use different cost version, can we update material cost with same costing variant (PPC1) and costing version (1) in this case. However when we tried to do recost with same costing variant & verison on same day, system gives an error 'Material AAAA in plant MMM has a released cost estimate.'
    Any inputs on above issue highly appreciated.
    thanks
    Sunil

    Hi,
    While, you can use any of the Costing versions to mark & release Standard cost estimate, you can release Cost estimate only once in a fiscal period. If you want to release correct prices, then you have delete existing released cost estimates using CKR1 transaction and then re-run CK40N to release.
    Hope this helps.

  • Compile and run java programs in different directroy

    Hi,
    I often encounter many problems when I run java programs in the different directories. Like
    javac -d dir_name a.java
    java -cp dir_name a
    Something wired often happens, such as, there is not a.java file in some directory, but javac -d dir_name a.java can still work or "java -cp dir_name a" often doesn't work. Moreover, file_name.jar is also a tough problem and solving compiling problems is often time-consuming.
    So I hope to read something about how to compile and run java programs in different directory properly.
    Could you pleae give me a detailed description for that or recommend a book or website?
    Thanks a lot.

    Can you post a small amount of code that does not work, including the directory structure, and the error messages? Some one here can likely explain the problem.

  • Different environments created for Debug and Release libraries

    Environments created in Debug mode cannot be read by software compiled in release mode. The same is true for the reverse.
    Both libraries compiled with VS.NET 2005 (C++). The environment created in Debug mode is slightly different than the library created in the Release mode. I would assume that this is a bug?
    __db.001 - no change
    __db.002 - DIFFERENT
    __db.003 - no change
    __db.004 - no change
    __db.005 - DIFFERENT
    __db.006 - no change
    Aeronautical.dbxml - no change
    log.0000000001 - no change
    The environments are created using the following flags:
    // Flags required when opening the XmlDB Environment
    m_environmentFlags =      DB_CREATE |     // If the environment does not exist, create it.
                             DB_INIT_LOCK |     // Initialize the locking subsystem
                             DB_INIT_LOG |     // Initialize the logging subsystem
                             DB_INIT_MPOOL |     // Initialize the cache
                             DB_INIT_TXN |     // Initialize transactions
                             DB_THREAD;          // Ensure Environment is
                                                 // free-threaded
    The database contains a single XML document.
    An attempt to open() fails with the following error message:
    DbEnv::open: No such file or directory

    Hey Ron,
    Thanks for answering so quickly. Having release and debug builds able to manipulate the same environments is a requirement of convenience. Our project builds both release and debug versions of our software and distributes both versions to the development team daily. The team is encouraged and expected to run both debug and release builds to test their contributions and because the system opens the database (which is distributed with the build) upon startup, one of the two will always fail to load. That leaves us with two obvious solutions/workarounds. The first being to distribute the build with 2 environments and ensure that the build chooses the correct environment based on whether it is debug or release. The second is to rebuild the debug library without the --enable-diagnostic switch.
    We have no immediate need to enable the diagnostic information (that I am aware of...in fact I don't even know what types of checks are put in that would be helpful).
    Do you have an alternative solution that others have used as a work around for this?

  • Different behaviors of NSTask within Debug and Release configuraton

    Hey there,
    I am writing my first OSX application. It will be a starter helper for some daemons.
    In order to start the daemons I am using NSTask but this class behaves completely different within the two build configurations (Debug and Release).
    If I choose Debug - everything works fine, my daemon (apache) gets started. But if I choose Release, I get this error message in the log console:
    Jan 11 22:50:49 Synthomat [0x0-0x682682].com.yourcompany.PAMP[24421]: httpd (no pid file) not running
    I know, this is an apache specific error message. But why does it not appear when I choose the Debug environment? Are in Release some environment variables missing or so?
    Here is my code part:
    // get bundle path
    binDir = [NSString stringWithFormat:@"%@/Library/bin", [[NSBundle mainBundle] bundlePath]];
    // compose command path
    NSString *command = [NSString stringWithFormat:@"%@/apachectl", binDir];
    // run command
    [NSTask launchedTaskWithLaunchPath: command
    arguments:[NSArray arrayWithObjects:@"start", nil]];
    Any idea, anyone? - Thanks in advance

    synthomat wrote:
    My idea was to distribute a full web stack within my application. Thus there should't be touched other system directories or files except the ones in my application bundle.
    Launchctl is similar to xinetd. You can run it in user space out of your own directories.
    Its not the apache which comes with osx!
    Is it the same one in XAMPP?

  • Transport of Release Prerequisites and Release Indicators

    How the release prerequisites and release indicators in the Release strategy get transported.When we were trying to transport only strategies are getting transported.

    Hi
    Number ranges you have to create directly as it is not transportable.
    For release Strategy details, all your Release config details are transported Except for the below details
    1. Characteristics &  values assigned to it ( master data)
    2. Class & assigned characteristics to it (master data)
    3. Values/ranges inside the Release strategies ( classification details).
    These three details are to be recreated/assigned in the client you intend to work upon.
    Regards
    SAM

  • Ifference between change request and release request and transport request

    what is the difference between change request and release request and transport request and customization  request?

    Please refer to this link :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/57/38e1824eb711d182bf0000e829fbfe/frameset.htm
    Regards,
    Praveen
    Pl reward if helpful

  • Splitting Music and Podcasts Across Different Discs

    Is it possible to split Music and Podcasts in the same library across different discs? The reason is my music is too big to get on my laptop drive so I have an external disk drive that is always plugged in when I'm at home. However I want to take podcasts with me when I travel so I want them to be put onto my laptop hard drive. I know I could probably achieve this by creating 2 libraries (although I haven't tried yet) but would prefer to see if I can do it with one.

    Put its internal drive into an enclosure and copy the files off.
    (116237)

  • Block and release vendors at different level

    Hi experts,
    I'm working on a workflow who can block and release vendor after creation or modification. The problem is that I want block, first, the vendor for purchase and after, for the payment.
    So I need two level of validation : the first for purchasing and the second for finance. So I need to create one event with the transaction MK01 or MK02 and after the validation I have to call the transaction FK01 or FK02.
    I use the BOR LFA1 with specific method to block and release one of this views (purchase or financial) but when a vendor is saved, there is no distinction between the purchase view and the financial view. I can not distinguish the transaction who call the event.
    So if there is someone who can help me quickly, it will be great!
    Thank you
    Benjamin

    Thank you for the help.
    Regarding the event condition in SWEC, it doesn't correspond to my situation so I will try the FM but I don't really how to do : I mean which condition I can put, or which action I can put for check the transaction.
    The thing is that I'm not really good in FM cause I'm more functional.
    So if someone could help me on the code to check transaction before block a vendor, it could be great.
    Thank You

  • Mark and release a new cost estimate in a different system than the one run

    Hello all,
    Here is my functionnal lanscape: in system A, I am managing all the stocks hence material master data.
    In system B, I am managing production, financials and Controlling.
    Hence, once I edit a costing run to have a new standard price in system B, how can I mark and release this new standard price for my material that is maintained in system A. Do you know any standard idoc for this purpose ?
    Also, how will happen the stock revaluation.
    regards,
    Irène

    hi
    kindly check the link below:
    http://help.sap.com/saphelp_40b/helpdata/fr/1a/0e3599539911d1898b0000e8322d00/content.htm
    regards
    eashwar

Maybe you are looking for

  • How do you handle the iPhone/iPad/iPod Touch with PHDs?

    This is one of the areas that I'm having the most difficulty right now. Here's the setup: 1 Server with 10.5.8 3 desktops with 10.6.3 2 laptops with 10.6.3 3 users, each of whom has an iPhone. Let's say Jane has been using her desktop all week but is

  • Unit of Measure Error in Purchase order

    Hi Gurus, While saving the Purchase order i am getting the Error message "Unit of measure KG not defined for language GB." We are trying to place this  PO outside the US .PR already created and released.But when i am converting the PO and saving it g

  • Export as HTML changed over time?

    I used to be able to export only the page/pages I had edited if writing to the same folder, now it seems to take/write out many pages for an unknown reason...not all, but a lot. Please advise what I am doing wrong and/or what has changed.

  • I know this has been said BUT K8N plat won't post

    I am at my wits end with this damn thing.  I have installed a ton of PCs and never as much trouble as I have with this AMD64 3000.  First I ordered it with the Chaintech 150 board after reading great reviews on it.  That was my mistake for not lookin

  • Tablespace Threshold

    Hi I want to create a threshold on the tablespace when it is 80 % Used. I want a mail to be sent on my email address and also when user inserts data in that TBS he should receive the Alert. Please Advise