Pages '09: Test for presence of TOC?

Hi,
Is there a way to test the current frontmost document in Pages '09 to see if it contains an automatic table of contents or not, using AppleScript?
The only thing I can find in the application's dictionary is a command to insert a TOC. But I'd like to test to see if there is one in the document.
(The reason for this is a bug in Pages' AppleScript support that break 'get selection' when a TOC is present:
http://www.betalogue.com/2010/04/19/applescript-bug/
I'd like to find a way to work around this bug.)
TIA
Pierre Igot
LATEXT - Literature, Music & Visuals @ http://www.latext.com
BETALOGUE - Weblog at http://www.betalogue.com

Here's my blog post about the issue:
http://www.betalogue.com/2010/08/05/applescript-bug-2/
Thanks again.
Pierre Igot
LATEXT - Literature, Music & Visuals @ http://www.latext.com
BETALOGUE - Weblog at http://www.betalogue.com

Similar Messages

  • How do I test for the presence of an active open document in Photoshop?

    I’m new to Adobe scripting, and one of my first scripts deals with the activeDocument in Photoshop.
    If there is no activeDocument, I want to display a message and terminate the script.  My efforts
    so far have been met with frustration.  While developing the script in ExtendScript Toolkit,
    I used the  test expression "activeDocument in app", and everything worked as expected. And when I installed the script
    in the Photoshop scripts folder and ran it from Photoshop with a document open, it also worked.
    But when I ran the script from Photoshop with no document open, it failed.
    Moreover, after that,the script failed when I tried to run it in ESTK.
    I did some testing and found that my test expression, "activeDocument in app"
    was returning true, even though no document was open.
    Still in ESTK, I replaced the “app” with ”Application” in the test expression.  That worked when
    I stepped through the script.  But when I tried to run it without stopping, it stopped at the
    test expression, and displayed the error message, “Application is undefined.”
    So how do I test for the presence of an open document in Photoshop ??

    After posting this, I discovered the Photoshop Scripting Forum, and I found my answer there.—
    I should have used “app.Documents.length” as my test expression.

  • HT201380 Yesterday this was automatically installed.  Today I can't access a document in Pages.  A prompt says I need a Pages update.  But the next screen tests for updates and informs me everything is up to date.  What's up?

    Yesterday this was automatically installed.  Today I can't access a document in Pages.  A prompt says I need a Pages update.  But the next screen tests for updates and informs me everything is up to date.  What's up?

    It's highly unlikely that the Pages update problem has anything to do with the ARD client update, since the client is not involved in any way with Software Update. I'd suggest asking for assistance with the update problem in the forum appropriate for your version of Mac OS X.
    Regards.

  • Testing for the present of a local link in a friendly URL

    I have a friendly url like this:
    http://127.0.0.1/petitions/client/index.cfm/2006/8/18/Ex-navi-proiecit-atque-in-hostes-aqu ilam-ferre-coe#cF3117E44-D618-19D6-0DE84586EF454DD6
    which does not have a cgi.query_string.
    How do i test for the presence of the link identified with "
    #c "?
    Can a kind soul please shed some light because I am at the
    end of my wits.

    Unfortunately that's exactly the function of that link:
    moving to a certain anchor when opening the page.
    But let me rephrase the question. It looks like "
    cgi.query_string " ignores - or it does not recognize - the anchor
    if one is attached at the end of the URL. Is there any other way to
    capture the anchor?
    Contiw

  • [AS] How to test the presence of at least one table?

    Hello everyone,
    I would like to test for the presence of at least one table in a document before starting a process (on edge strokes). 
    I found this, but I do not know if this is really effective:
                                  set CountOfTables1 to count of tables of every story
                                  set CountOfTables2 to every table of every story
    The first gives me a list of the number of table in each story; the second gives me the objects reference of every table.
    Is there another way?
    TIA.
    Oli.

    Marc
    The test I did for nested tables stank (table pasted in rectangle and that rectangle pasted in a table ).  It does not work for nested tables
    I tested .isValid and it's a lot slower.
    Uwe
    Yes, I noticed that difference after posting my eeakk comment.
    Using slice(0) after the getElements can make a big difference but still the simple length going to be quicker in this case.
    Also the getElements without the slice(0) will return "too many elements" if there are to many elements (between 1500 - 15,000).
    On the other hand for repeated access of the variable (looping) it's as know normally quicker to use the getElements().slice(0).length than just length
    In summary
    1) Your anyItem() method is going to be very quick on a document which has a high ratio of stories containing tables.
    2) Although your method could and possibly probably be 100 times quicker than mine I would definitely use my method in terms of typing time and space verses the 1/2 second it might save on execution time per 10,000 tables.
    3) The only accurate method (in this thread) for counting the tables including nested and footnotes is Marc's Grep method.
    So I guess the 3 of us can share first place.
    I just wonder if using the same technique as Marc used in our discussion sometime back on nested buttons might get to a quick count than using the Grep method here.
    Clearly needs to be repeated on different types of document setups one can try the below
    if (!app.properties.activeDocument) {alert ("Really!?"); exit()};
    var scriptCount = 1;
    // Script 1 table.length
    var doc = app.activeDocument,
          start = Date.now(),
          t = doc.stories.everyItem().tables.length,
          finish = Date.now();
    $.writeln ("\rtable.length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
    // Script 2 getElements
    var doc = app.activeDocument;
    var start = Date.now();
    var t = doc.stories.everyItem().tables.everyItem().getElements().length;
    var finish = Date.now();
    $.writeln ("\rgetElements Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
    // Script 3 getElements.slice(0)
    var doc = app.activeDocument;
    var start = Date.now();
    var t = doc.stories.everyItem().tables.everyItem().getElements().slice(0).length;
    var finish = Date.now();
    $.writeln ("\rgetElements.slice(0) Script (" + scriptCount++ + ") took " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
    // Script 4      isValid
    var start = Date.now();
    var t = doc.stories.everyItem().tables.everyItem().isValid;
    var finish = Date.now();
    $.writeln ("\risValid Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((t) ? "tables" : "no tables"));
    // Script 5   Marc's Grep
    var start = Date.now();
    var t = countTables();
    var finish = Date.now();
    $.writeln ("\rMarc's Grep Script as said only accurate one but slow (" + scriptCount++ + ") \rtook " + (finish - start) + "ms\r" + ((t) ? t + " Table" + ((t>1) ? "s" : "") : "Diddlysquat"));
    // Script 6 very lot of anyItem
    var start = Date.now();
    var myResult = atLeastOneTableInDoc(app.documents[0]);
    var finish = Date.now();
    $.writeln ("\rUwes Anyone for Bingo Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
    // Script 7 anyItem length
    var start = Date.now();
    var myResult = detectATable();
    var finish = Date.now();
    $.writeln ("\ranyItem length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
    // Script 8 anyItem elements length
    var start = Date.now();
    var myResult = detectATable2();
    var finish = Date.now();
    $.writeln ("\ranyItem elements length Script (" + scriptCount++ + ") took " + (finish - start) + "ms\rThe document contains " + ((myResult) ? "tables" : "no tables"));
    //FUNCTION USING anyItem() EXTENSIVELY:
    function atLeastOneTableInDoc(myDoc){
        var myResult = 0;
        if(myDoc.stories.length === 0){return myResult};
        var myStories = myDoc.stories;
        //LOOP length == length of all Story objects
        //using anyItem() for checking length of Table objects
        for(var n=0;n<myStories.length;n++){
            if(anyStory = myStories.anyItem().tables.length > 0){
                myResult = 1;
                return myResult;
        //FALL-BACK, if anyItem() will fail:
    //EDIT:    if(!myResult){
            for(var n=0;n<myStories.length;n++){
                if(myStories[n].tables.length > 0){
                    myResult = 2;
                    return myResult;
    //EDIT:       };
        return myResult;
    }; //END function atLeastOneTableInDoc(myDoc)
    function detectATable(){
        s=app.documents[0].stories;
         if(s.anyItem().tables.length){
            return true; // Bingo
       for(var n=0;n<s.length;n++){
            if(s[n].tables.length) return true
        return false
    function detectATable2(){
        s=app.documents[0].stories;
         if(s.anyItem().tables.length){
            return true; // Bingo
        var sl = app.documents[0].stories.everyItem().getElements().slice(0);
       for(var n=0;n<s.length;n++){
            if(s[n].tables.length) return true
        return false
    function countTables()
        app.findTextPreferences = null;
        app.findTextPreferences.findWhat = "\x16";
        var t = app.properties.activeDocument||0;
        return t&&t.findText().length;
    P.s.
    Marc,
    A bit of homework. I didn't test it on the above but I found the your highRes function trimmer seems to have a large favoritism to the first function to compare.
    I was testing 2 prototypes and swapping the order swapped the result. One can make the prototypes the same and see the time difference.

  • The beta page and Test Pilot page come up EVERY time I use Firefox. Same information so why not allow us to bypass it after the 1st or 2nd or 3rd reading?

    The beta page and Test Pilot page come up EVERY time I use Firefox. Same information so why not allow us to bypass it after the 1st or 2nd or 3rd reading?

    That is not normal behaviour, for possible causes see [[Firefox has just updated tab shows each time you start Firefox]].

  • [CS4 JS] Test for Preflight Errors

    Hi,
    Is it possible to test for preflight errors. If so, how?
    I want to allow export of an EPS only if an embedded preflight profile shows no errors.
    Thanks
    Simon Kemp

    var myPreflight = app.preflightProcesses[0];
    var myReport = myPreflight.processResults;
    myReport = myReport.replace(/\s+$/,"");
    if (myReport == "None")
    My problem is that this script doesn't distinguish between the Preflight for the current document and that for any other document that may be open. I assume it is using the FIRST Preflight process created which will not always be for the current document.
    Is there a way to reference the Preflight for the current document only? Searching for "Preflight" in the Object Model Viewer in ExtendScript Toolkit bring up No Results.
    maybe you should check this "array":
    Property AggregatedResults As Variant
        read-only
        Member of InDesign.PreflightProcess
        The aggregated results found by the process. Type: Ordered array containing DocumentName:String, ProfileName:String, Results:Array of Ordered array containing ParentNodeID:Long Integer, ErrorName:String, PageNumber:String, ErrorInfo:String, ErrorDetail:Array of Ordered array containing Label:String, Description:String
    or maybe you should set PreflightScope - to your Document - in PreflightOptions:
    Property PreflightScope As Variant
        Member of InDesign.PreflightOption
        The pages or documents to preflight, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Type: idPreflightScopeOptions enumerator or String
    robin
    www.adobescripts.co.uk

  • [svn:osmf:] 15262: Updated unit test for MediaPlayers new default width/ height.

    Revision: 15262
    Revision: 15262
    Author:   [email protected]
    Date:     2010-04-07 13:54:32 -0700 (Wed, 07 Apr 2010)
    Log Message:
    Updated unit test for MediaPlayers new default width/height. FM-300.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-300
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/media/TestMediaPlayer.as

    To Neoreborn:
    If I understand right, Shale only provides some mock core JSF objects and extends JUnit so that you can do junit test to your java classes.
    What I concern is to test Pages(JSP) rather than java classes. I want to assert component attribute values within all lifecycle including rendered HTML script. Currently, there isn't any good tools to do this kind of JSP Unit test, am I right?

  • Firefox does not allow page re-directing for paypal payment

    firefox does not allow page re-directing for paypal payment. How do I fix this problem. It occurs with several sites where it was not a previous problem. When I press "allow", I get returned to the very beginning of the order process.

    I really appreciate your (spookily timely) help. Yes, I did try safe mode once.
    The problem with testing this problem is that I have to have something in the cart to buy, and if it works I've bought it.
    I was hoping to find that someone else had already done the logic and experimenting part, and the solution was just 'out there'. I did get one response (from Daz3d) that said Firefox had been having a problem with PayPal on their site, but no details.
    And as soon as I buy what I need using a credit card, as far as they're concerned the problem is done.

  • Load Runner - stress test for BI java report(WAD 7.0) error

    Dear all:                                                                               
    Our project implement the SAP Portal 7.0(NW2004s, BW/EP SP14) and before we go-live, we use the Load Runner 8.0 to test the performance of SAP BW Java reports.
    1. We develop the BI report basing WAD 7.x, setup Iview in sap EP for BI report and get the BI report URL.
        2. We fill the report URL in IE(6.0) to run this report and display the bi report successfully ,
    eg: http://epserver:50000/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher?sap-bw-iViewID=pcd%3aportal_content%2fcom.ahepc.BI%2fcom.ahepc.iView%2fcom.ahepc.FI%2fcom.ahepc.BI_I_ZWAFI_006&sap-ext-sid=1
        3. Use the LOADRUNNER to make one performance testing for this URL:
                 1)We record the BI report's URL basing HTML protocal and replay it successfully. But when we run the script with the more than 2 Vusers, there are errors.
                 2)The record script can only run with 1  Vusers! If we run with 2 or more Vusers, the error display. The error like this:
    Action.c(525): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://epserver:50000/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher"
                 3)  We try to use the SAP WEB protocol to test it ,the same error like this:
    Action.c(98): Error -26612: HTTP Status-Code=500 (Internal Server Error)for "http://epserver:50000/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher?sap-bw-iViewID=pcd%3aportal_content%2fcom.ahepc.BI%2fcom.ahepc.iView%2fcom.ahepc.FI%2fcom.ahepc.BI_I_ZWAFI_006&sap-ext-sid=1"
                4)   Choose one report which no selection variable screen ,the user access the URL and get the result page directly. we can do the test  for this type report with more than 10 Vusers using LoadRunner 8.0.
                    Make analysis with the two type report's script,we found the BI report which have selection variable screen recorded the scripts like this:
         web_submit_data("com.sap.ip.bi.web.portal.integration.launcher_4",                "Action=http://epserver:50000/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher",
         "Method=POST",
        "RecContentType=text/html",                    "Referer=http://epserver:50000/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher?sap-bw-iViewID=pcd%3Aportal_content%2Fcom.ncgc.pct.folder.ncbw%2Fcom.ncgc.pct.folder.ncbw.role%2Fcom.ncgc.pct.bw.role.ydjcykhaqgl%2Fzyfx%2FZANCCSM01_Q_101&sap-ext-sid=pAYYK3imMNNJjTjL*mKg4Aggw7o2cRS_TL1fx2I2jeGg&NavPathUpdate=false&buildTree=false",  "Snapshot=t21.inf", "Mode=HTMLITEMDATA,
    "Name=BI_COMMAND", "Value=", ENDITEM,  "Name=BI_COMMAND-TARGET_DIALOG_REF", "Value=DLG_VARIABLE", ENDITEM,
    "Name=BI_COMMAND-BI_ADVANCED", "Value=DLG_VARIABLE_vsc_DropdownVariants", ENDITEM,
    "Name=BI_COMMAND-BI_COMMAND_TYPE", "Value=PASSIVE_VALUE_TRANSFER", ENDITEM,
    "Name=BI_COMMAND-PASSIVE_ID", "Value=DLG_VARIABLE_vsc_DropdownVariants_combobox", ENDITEM,
       "Name=BI_COMMAND-PASSIVE_VALUE", "Value=", ENDITEM,
       "Name=BI_COMMAND_1", "Value=", ENDITEM,   "Name=BI_COMMAND_1-TARGET_DIALOG_REF""Value=DLG_VARIABLE",ENDITEM,
    "Name=BI_COMMAND_1-BI_ADVANCED", "Value=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_INPUT", ENDITEM,  "Name=BI_COMMAND_1-BI_COMMAND_TYPE", "Value=PASSIVE_VALUE_TRANSFER", ENDITEM,
    "Name=BI_COMMAND_1-PASSIVE_ID", "Value=DLG_VARIABLE_vsc_CommonVariablesList_VAR_1_INPUT_inp", ENDITEM,
    "Name=BI_COMMAND_1-PASSIVE_VALUE", "Value=2009.06 - 2009.07", ENDITEM,  "Name=BI_COMMAND_2", "Value=", ENDITEM,
    "Name=BI_COMMAND_2-TARGET_DIALOG_REF", "Value=DLG_VARIABLE", ENDITEM,
    "Name=BI_COMMAND_2-BI_COMMAND_TYPE", "Value=OK", ENDITEM
    "Name=PAGE_ID", "Value=1_cEFZWUszaW1NTk5KalRqTCptS2c0QS0tZ2d3N28yY1JTX1RMMWZ4MkkyamVHZy0t", ENDITEM,
    "Name=REQUEST_ID", "Value=1", ENDITEM,  EXTRARES,
    maybe the loadrunner could not compile/replay  the BI_COMMAND rows successfully?
           For the performance test for the BI java report, have any idea about that error? Or any difference special I should pay attention for BI/EP java report?
    Thanks again.

    Fowllow below point :
    1.       the page_id correlation
    2.       auto-correlation of SAP-ext-id using URL-based script.
    You might want to consider to correlate sap-ext-id and page_id. Hope thatu2019s helps.
    // Sample code
    web_reg_save_param("SAP_EXT_ID",
                                    "LB=sap-ext-sid=",
                                    "RB=\"",
                                    "Ord=2",
                                    "RelFrameId=1",
                                    "Search=body",
                                    LAST);
    //Initial value was xxxxx
            web_reg_save_param("PAGE_ID",
                    "LB/IC=sapbi_page.m_pageIdValue = \"",
                    "RB/IC=\";",
                    "Ord=1",
                    "RelFrameId=1",
                    "Notfound=warning",
                    LAST);
    //End of code

  • Need to test for a Hashtable key in JSTL

    What I am trying to accomplish is to test a Hashtable for a specific key and if it is there run some HTML.
    This is my code but it obviously wrong since JSTL yells at me when I try to execute it.
    <c:set var="hash" scope="page" value="${UpdateStatusData}"/>
         <c:if test="${hash.containsKey('success')}">
              success
         </c:if>UpdateStatusData is a Hashtable. How can I modify this "code" in oder to test for a key?
    Thanks

    EL != java
    Luckily EL handles Maps quite well:
    <c:set var="hash" scope="page" value="${UpdateStatusData}"/>
    // one way
    <c:if test="${not empty hash.success}">
         success
    </c:if>
    // an alternative syntax
    <c:if test="${not empty hash['success']}">
         success
    </c:if>Cheers,
    evnafets

  • Test for null result set

    I am trying to do a test for a null result set. Basically if the result set returns a value I want to display a table, otherwise I want to display an error message. The following code does not produce the error message. Either the test for null is incorrect, or for some reason I am not getting a null result set even when I don't enter any text into the following text boxes (this is for a login screen, these text boxes come a login screen):
    <input type="text" name="username">
    <input type="text" name="password">
    This is the code for the action page:
    <HTML>
    <%@page import="java.sql.*"%>
    <%
    //define connection
    Connection con = null;
    String user1 = request.getParameter("username");
    String pass1 = request.getParameter("password");
    String test = "good";
    try{
    //get the class
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    //get the connection
    con = DriverManager.getConnection("jdbc:odbc:errorlog", "admin", "");
    //catch your exceptions!
    catch(Exception e){
         out.println(e.getMessage());
    %>
    <title>Error Application - Logged Errors</title>
    <link href="style/errorstyle.css" rel="stylesheet" type="text/css">
    <BODY>
    <%
    //define resultset and statement
    ResultSet rs=null;
    Statement stmt=null;
    try {
    //Using the current database connection create a statement
    stmt=con.createStatement();
    %>
    <%
    String sql="SELECT* FROM tblUsers" + " WHERE Username = '"+user1+"' AND Password ='"+pass1+"'";
    rs = stmt.executeQuery(sql);
    %>
    <% //Fetch all the records and print in table
    while(rs.next()){
    String user2 = rs.getString("FirstName");
    String pass2 = rs.getString("LastName");
    %>
    <table width="100%" border="0" cellspacing="1" cellpadding="6">
    <tr >
    <td width="67" height="27" bgcolor="#999999"><strong><font size="- 1">First Name</font></strong>
    </td>
    <td width="89" bgcolor="#999999"><strong><font size="-1">Last
    Name</font></strong>
    </td>
    </tr>
    <tr>
    <td>
    <%out.println(user2);%>
    </td>
    <td><%out.println(pass2);%></td>
    </table>
    <%}
    if (rs == null)
    out.println("Incorrect Username or Password");
    //close all your open resultsets, statements, and connection when you are done with them!
    rs.close();
    stmt.close();
    con.close();
    //catch all your exceptions
    catch (SQLException e) {
         out.println(e.getMessage());
    %>

    You simply test the rs.next().
    if ( rs.next() )
    //spit out the rs row and
    //continue processing the resultset 'til empty
    else
    msg = "invalid username or password
    }

  • Can I create a custom setup test for Adobe Connect Pro?

    I was wondering if there was a way to create a custom setup test for Adobe Connect Pro?  We are using Adobe Connect to teach some web courses and we need them to complete the Adobe Connect test as well as some other software setup tests.  Due to the fact that we are using a company wide account for Adobe Connect the "Send Results" button on the setup test doesn't reach me (I am the one in charge of making sure all students have taken all the setup tests).  Typically we have them take a test and then return back to the main 'test' page where they select whether or not the test worked.
    In the end I figure I have two options:
    1. Change the test so that it emails the responses to the email of my choice, i.e. a custom version of the setup test. (Not sure if this is possible as we use a company account)
    2. Completely remove the "Send Results" button from setup test and just rely on the student manually entering whether the test worked or not.
    Please help!

    The timecode effect can only show whole frames so there is not a setting for 23.97. I'm not at my editor at the moment, is there an option for 'drop frame' in the timecode settings, this is how timecode is displayed for non whole number frame rates.

  • Testing for abnormal disconnect

    I maintain a VPN between two sites using the VPN Client 5.0.07.0290.
    The clients are running on Windows server 2003.
    The connection is started with a script using the command line.
    I need to know when the connection goes down. Currently I use a timed script that attempts to reconnect the VPN and if the client returns a 200 I assume it remains connected otherwise the client reconnects, if possible, and the connection is maintained. I log the success or failure of the reconnection event.
    This is kind of a kluge. Polling with another process is not a reliable tool in my environment.
    Is there a better way I can monitor the connection?
    Will the client terminate in some manner I can test in a script or some othere more deterministic means to notify a process that the connection has failed?
    Thanks in advance.
    Mike

    my understanding is: if you param something you are actually
    setting a
    default value if no value exists........which in your case is
    "" or rather
    nothing........so if you param with a value of nothing
    .......... than go to
    check its value.......it will be exactly what you set in the
    param.........
    "Karen_Little" <[email protected]> wrote in message
    news:em53f6$507$[email protected]..
    >I need advice on testing for cookies.
    >
    > I want to test for the presence of a cookie. Rather than
    use
    > isdefined("cfcookie.mycookie"), I've been setting a
    <cfparam
    > name="cookie.mycookie" default="" .... for the cookie,
    then testing to see
    > if
    > anything is in it. Since doing that, I seem to whip out
    the real cookie.
    >
    > I just wouldn't think cfparam could do that (but if it
    does, it's the most
    > effective way to get rid of cookie information in the
    world).
    >
    > Anyway, I am now confused. I want to see if a cookie is
    set. Is
    > "isDefined"
    > the way to go?
    >
    >

  • XI testing for two SAP R/3 systems with same system id/logical system

    Hi
    We are currently in the process of upgrading our R/3 4.7 to ECC 6.0 and plan to maintain dual landscape for DEV & QA (4.7 & ECC 6.0) for a period  for testing and maintaining existing applications for fixes etc. The second DEV & QA (upgraded to ECC 6.0) are copy of respective systems and these systems are created automatically under technical systems in SLD by auto update (RZ70).
    The question is, can we use the same XI system for testing inbound/outbound interfaces for both the systems i.e 4.7 & ECC 6.0 at the same time.  I am aware of the fact that XI Technical/Business sytems dependent on unique logical systems, so we cannot create new business system for the upgraded DEV-II ECC 6.0 system. 
    For your information, we have two slds (one for XID/XIQ and second one for XIP).
    What are the options without disturbing & maintaining the current XI system set up?
    1) Can we change current Business systems e.g DEV010 to use new technical system i.e DEV-II ECC 6.0 for testing for a period and switch it back to DEV-I 4.7 technical system?
    2) or change logitical system name of DEV-II ECC 6.0 and create new business sytem in SLD without interfering the existing setup and modify/create interfaces to use this new business system?
    3) Do we need to refresh cache from time to time in XI ?
    4) Any other implications
    We will be upgrading XI to PI 7.1 after ECC 6. 0 Upgrade.
    Any views on this would be highly appreciated.
    Regards
    Chandu

    Hi
    Technical System was created in the SLD automatically after RZ70 configuration in the new DEV-II system. We then modified Business System to use the new Technical system and carried out following steps:
    1)     Original Idoc metadata was deleted from XID
    2)     The port definition  was deleted
    3)     A new port definition was created for new system
    4)     The metadata for each idoc type used was re-created in IDX2 , using METADATA -> CREATE
    5)     This brought in all known versions of the idoc segments, including the 7.1 version.
    I have already checked the guides suggested for our upgrade and we are thinking of going ahead with fresh installation and migrating the interfaces.
    Regards
    Chandu

Maybe you are looking for

  • HT1420 How do you Deauthorize a computer if its been trashed or can no longer be turned on?

    I have authorized my itunes acount on 5 different computers, but of the 5 i can only access one. I just got a new computer and want to keep my itunes account on my old one and put it on my new one but cant because of the 5 computer limite. The proble

  • Help me with hp elitebook 2560p

    i am not sure about the battery size of this model ???? in this picture the battery stick out at the back http://www3.pcmag.com/media/images/267495-hp-elitebook-2560p-top.jpg but in this picture, it isn't http://www.itechnews.net/wp-content/uploads/

  • Downloading report in excel file

    When I download reoprt in excel file then if material no is 0002134 then in the excel file this becomes 2134, I am saving file from the Menu System->Save-> Local fiie and then selecting spreadsheet. When I save as text file then it is not removing le

  • PLEASE HELP ME, THANSK.

    I am sorry. I am from TAIWAN. Please help me use ADOBE Creative Cloud. PHOTOSHOP, ILLUSTRATOR,  FLASH,  DREAMWEAVER only use 30 days?

  • How can we deactivate to copy from OR TO OR

    HI How can we de activate  copying controls that user canot copy from OR TO OR document, is there any  control or we have to change the program