Exploring Objects In xCode

Hi there,
I've been coding for a little while and am running into questions. There's stuff I'd like to to do in xCode but couldn't find anything on that subject.
I know I can po in (gdb), and get some info, but here's what I don't know how to do in the debugger:
- to have a list of all objects that have been instanced
- get the nb of instances of a particular class
- dig into any instance, look for it's variables, memory taken etc.
At this point I can somehow come to that by placing breakpoints at diff places, swap thread and po objects, but it's such a time waister!
Is there a concept I haven't grabbed!
Any help welcomed!

Michael--
I don't know if this will help or not, but the Developer tools come with a number of tools in /Developer/Applications/Performance Tools that might be useful. Their use is described in the Performace section of the ADC site.
Also take a look at the Performance Tools section of the Performance Overview document. It might have useful information as well.
charlie

Similar Messages

  • Create internet explorer object from process ID

    Hi,
    I want to create a object for open instance of internet explorer and pass username and password to it.
    By using the below command I am getting the process object but how can we create internet explorer object from it so that I can access document elements.
    gps | ? {$_.mainwindowtitle -match 'Service'} | select name, mainwindowtitle
    Thanks
    Prasanna

    Hi Prasanna,
    If you means create IE object and signin automatically with username and password, the script below is for your reference:
    $username = "....."
    $password = "......"
    $ie = New-Object -com InternetExplorer.Application
    $ie.visible=$true
    $ie.navigate("https://login.live.com/")
    while($ie.ReadyState -ne 4) {start-sleep -m 100}
    $ie.document.getElementById("i0116").value= $username
    $ie.document.getElementById("i0118").value = $password
    $ie.document.getElementById("idSIButton9").click()
    start-sleep -m 100
    gps | ? {$_.mainwindowtitle -match 'Microsoft account'} | select name, mainwindowtitle
    The result like:
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Explorer objects not running via OpenDocument (404)

    Hello,
    please does anyone know what could be the reason that Explorer objects (information space and exploration view set) cant be run via OpenDocument link? Other objects like WebI, Crystal, Analysis are fine.
    The error is 404 Missing Page
    Our system is BIP 4.0 SP5.
    My user has full admin rights.
    Is there anything that needs to be set up in order to make OpenDoc work for Explorer?
    Thanks for your help.

    Explorer does work via OpenDoc links, we have it working here. How are you trying to access it? Is SSo set up for your environment?
    If other documents are working fine via opendoc and you get the 404 missing page just for explorer, might be an issue with the explorer deployed on your web server. try flushin the tomcat work directory and see if it helps, some times the 404's are because the web app didn't deploy correctly.
    what happens when you access http://yourwebserver:8080/explorer? 
    _panda_

  • How can I get the X and Y coordinates of an object in Xcode, ApplescriptObjc?

    How can I get the value of a specified object's X and Y coordinates in Xcode, using ApplescriptObjc? I'm hoping for something like:
    myObject's currentPosition()
    // Which would return {150, 100} for the X and Y of that object.

    Actually this is straight from basic physics
    Assuming that the x and y values you get using that AppleScript/Objective-C code is accurate, to move the object you would do
    set x to x + dx * speed
    set y to y + dx * speed
    with dx and dy being an integer with a value of -1 or 1 which indicates the direction the object is moving. Remember the origin in OS X is the middle of the frame or screen with positive x and y values moving to the upper right quadrant, and negative x and y values moving to the lower left. Your basic Cartesian coordinate system. Speed is also an interger and models the speed of the object.
    Once you've set x and y to their new values you would write  them back to the object.
    This is so I can find how much distance (in pixels) is being travelled when I animate an object to move from one position to another, to apply it to my desired velocity (of pixels per second), to find out how long the object should take to move.
    This part has got me stumped.
    To make an object move you need to change its x and y coordinates. To get smooth animation you need to change them on a regular schedule at a rate fast enough to avoid jerky motion. Given the refresh rate of most monitors and other factors a rate of 60 times per second gives good results. Between each tick of the clock you change the x and y coordinates by some amount, the size of the amount will model speed. Add a small change and the object moves slowly, add a big amount and the object moves quickly. Keep the amount of change constant and the object will move at a constant speed. Increase (or decrease) the amount of change between each tick and the object will accelerate (or decelerate)

  • Freely Moving Objects in Xcode

    I am trying to make a simple iphone app and I have so far made two squares and a circle. I have been trying to get the objects to move freely and slowly speed up. Could someone please provide a tutorial on how to do this.
    Thanks ahead of time.

    What you are looking for is this:
    Starting with a UIView subclass, I'll call it View, add the following to the header:
    #import <UIKit/UIKit.h>
    typedef struct
    CGFloat x;
    CGFloat y;
    } Vector2D;
    typedef struct
    Vector2D position;
    Vector2D velocity;
    } Sprite;
    @interface View : UIView {
    Sprite ball;
    @end
    and the implementation:
    #import "View.h"
    #define kBallWidth 25.0
    @implementation View
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    [UIApplication sharedApplication].statusBarHidden = YES;
    ball.position.x = 200;//**relative to upper left corner for Quartz
    ball.position.y = 300;
    ball.velocity.x = 2.0;
    ball.velocity.y = -5.0;
    //Start rendering timer
    [NSTimer scheduledTimerWithTimeInterval:(1.0 /30.0) target:self selector:@selector(update) userInfo:nil repeats:YES];
    return self;
    -(void)update {
    if(ball.position.x <= self.bounds.origin.x || ball.position.x + kBallWidth >= self.bounds.size.width)
    ball.velocity.x *= -1.0; //negate to reverse direction
    if(ball.position.y <= self.bounds.origin.y || ball.position.y + kBallWidth >= self.bounds.size.height)
    ball.velocity.y *= -1.0; //negate to reverse direction
    //commit to changes
    ball.position.x += ball.velocity.x;
    ball.position.y += ball.velocity.y;
    [self setNeedsDisplay];//trigger the drawRect method
    - (void)drawRect:(CGRect)rect {
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextClearRect(context, rect);
    CGFloat white[4] = {1.00f, 1.00f, 1.00f, 1.0f};
    CGContextSetFillColor(context, white);
    CGContextAddRect(context, CGRectMake(ball.position.x, ball.position.y, kBallWidth, kBallWidth));
    CGContextFillPath(context);
    @end
    As with any game, the hardest part for a beginner is not the physics required to get a ball moving around on the display, it's the graphics API that gives the trouble (in this case, Quartz2D).

  • Best Practices - Update Explorer Properties of BW Objects

    What are some best practices of using the process chain type "Update Explorer Properties of BW Objects"?
    We have the option of updating Conversion Indexes, Hierarchy Indexes, Authorization Indexes, and RKF/CKF Indexes.
    When should we run each update process?
    Here are some options we're considering:
    Conversion Indexes - Run this within InfoCube load process chains that contain currency conversions within explorer objects.
    Hierarchy Indexes - When would this need to be run? Does this need to be run for PartProviders and/or Snapshots? Do ACRs handle this update? Should this be run within InfoCube load chains, or after ACRs?
    Authorization - We plan to run this a couple times a day for all explorer objects.
    RKF/CKS - Does this need to run after InfoCube loads? With PartProvider and/or Snapshot indexes? After transports have completed?
    Thanks,
    Cote

    Does anyone productively use explorer and this process type for process chains?

  • Compiled Error in Xcode for iphone game and other questions

    Dear all,
    Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically) 5 X 4 bricks using 4 different kinds of bricks pictures (bricktype1.png...). I have the bricks defined in .h file properly and method written in .m.
    My questions are for the following code:
    - (void)initializeBricks
    brickTypes[0] = @"bricktype1.png";
    brickTypes[1] = @"bricktype2.png";
    brickTypes[2] = @"bricktype3.png";
    brickTypes[3] = @"bricktype4.png";
    int count = 0;`
    for (int y = 0; y < BRICKS_HEIGHT; y++)
    for (int x = 0; x < BRICKS_WIDTH; x++)
    - Line1 UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]];
    - Line2 bricks[x][y] = [[[UIImageView alloc] initWithImage:image] autorelease];
    - Line3 CGRect newFrame = bricks[x][y].frame;
    - Line4 newFrame.origin = CGPointMake(x * 64, (y * 40) + 50);
    - Line5 bricks[x][y].frame = newFrame;
    - Line6 [self.view addSubview:bricks[x][y]]
    1) When it is compiled, error "ImageCache undeclared" in Line 1. But I have already added the png to the project. What is the problem and how to fix it? (If possible, please suggest code and explain what it does and where to put it.)
    2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
    brickTypes[count ++ % 4]
    For instance, returns one of the file name bricktype1.png to the image object? If true, what is the max value of "count", ends at 5? (as X increments 5 times for each Y). But then "count" will exceed the max 'index value' of brickTypes which is 3!
    3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
    4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
    5) What does Line 4 do?
    Thanks
    North

    Hi North -
    macbie wrote:
    1) When it is compiled, error "ImageCache undeclared" in Line 1. ...
    UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]]; // Line 1
    The compiler is telling you it doesn't know what ImageCache refers to. Is ImageCache the name of a custom class? In that case you may have omitted #import "ImageCache.h". Else if ImageCache refers to an instance of some class, where is that declaration made? I can't tell you how to code the missing piece(s) because I can't guess the answers to these questions.
    Btw, if the png file images were already the correct size, it looks like you could substitute this for Line 1:
    UIImage *image = [UIImage imageNamed:brickTypes[count++ % 4]]; // Line 1
    2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
    brickTypes[count ++ % 4]
    Though you don't show the declaration of brickTypes, it appears to be a "C" array of NSString object pointers. Thus brickTypes[0] is the first string, and brickTypes[3] is the last string.
    The expression (count++ % 4) does two things. Firstly, the trailing ++ operator means the variable 'count' will be incremented as soon as the current expression is evaluated. Thus 'count' is zero (its initial value) the first time through the inner loop, its value is one the second time, and two the third time. The following two code blocks do exactly the same thing::
    int index = 0;
    NSString *filename = brickTypes[index++];
    int index = 0;
    NSString *filename = brickTypes[index];
    index = index + 1;
    The percent sign is the "modulus operator" so x%4 means "x modulo 4", which evaluates to the remainder after x is divided by 4. If x starts at 0, and is incremented once everytime through a loop, we'll get the following sequence of values for x%4: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, ...
    So repeated evaluation of (brickTypes[count++ % 4]) produces the sequence: @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", ...
    3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
    Line 2 allocs an object of type UIImageView and specifies the data at 'image' as the picture to be displayed by the new object. Since we immediately assign the address of the new UIImageView object to an element of the 'bricks' array, that address isn't stored in any named variable.
    The new UIImageView object is not associated with the name of the png file from which its picture originated. In fact the UIImage object which inited the UIImageView object is also not associated with that png filename. In other words, once a UIImage object is initialized from the contents of an image file, it's not possible to obtain the name of that file from the UIImage object. Note when you add a png media object to a UIImageView object in IB, the filename of the png resource will be retained and used to identify the image view object. But AFAIK, unless you explicitly save it somewhere in your code, that filename will not be available at run time.
    4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
    5) What does Line 4 do?
    In Line 2 we've set the current element of 'bricks' to the address of a new UIImageView object which will display one of the 4 brick types. By default, the frame of a UIImageView object is set to the size of the image which initialized it. So after Line 2, we know that frame.size for the current array element is correct (assuming the image size of the original png file was what we want to display, or assuming that the purpose of [ImageCache loadImage:...] is to adjust the png size).
    Then in Line 3, we set the rectangle named newFrame to the frame of the current array element, i.e. to the frame of the UIImageView object whose address is stored in the current array element. So now we have a rectangle whose size (width, height) is correct for the image to be displayed. But where will this rectangle be placed on the superview? The placement of this rectangle is determined by its origin.
    Line 4 computes the origin we want. Now we have a rectangle with both the correct size and the correct origin.
    Line 5 sets the frame of the new UIImageView object to the rectangle we constructed in Lines 3 and 4. When that object is then added to the superview in Line 6, it will display an image of the correct size at the correct position.
    - Ray

  • Interaction of BW Roles and BWA Explorer Security

    We secure all our BW users via roles these roles have Analysis
    authorizations embedded in them which restrict access to specific
    infoproviders and values in these based on authorization relevant
    infobjects.
    When we try to create a BWA Explorer object in RSDDTPS we are forced to
    assign a userid and an analysis authorization directly in
    the "Authorizations" tab. Our security group only wants to have too
    assign roles to users either via SU01 or CUA.
    Configuration
    BO 2008 Enterprise Server (connected to BW system)
    BW system (Netweaver 7.01 EHP1)
    BWA 7.2
    1) How can we create BWA Explorer objects on a infoprovider without
    directly assigning users in Authorization Tab and how can we make the
    system ignore whatever is on this tab and base access to a BWA explorer
    object on the roles assigned to the user via SU01/CUA.
    2) If a User has roles assigned in BW that give them access to a
    specific infoprovider will this automatically also give them access to
    a BO Server published BWA explorer object built on that infoprovider.
    Related to this do we also need import the same roles and assign to the
    user in CMS server with link to BWA Explorer Server or does the user
    automatically get access to BWA Explorer as long as BWA Explorer is
    published on BO Server.
    3) If the user in BW is assigned roles that limit values based on an
    authorization relevant object is this restriction enforced in the
    values returned in published BWA Explorer for the user. Example
    Authorization Relevant object is Profit Ctr and the user has two value
    roles one contains access to all profit center that role up to a
    hierarchy node limited to the USA and the other contains hierarchy
    analysis authorization limiting access to all profit centers rolling up
    to hierarchy node representing Europe. When a user access's the BWA
    Explorer object which contain profit ctr will the values be limited
    only to USA AND Europe Profit centers or will the BW value based
    security be ignored.
    Please provide advice on above questions and document resources on how
    BW role based security interacts with BWA Explorer.

    Hi Expert,
    I need a solution for same scenario, anyone can give inputs.
    Regards,
    Ganesh

  • Allowing multiple users to see same table in object browser

    I can't seem to get multiple users to see the same table in the web based Object Browser, even though I CAN get this to work using sqlplus.
    I have been reading all of the reference documentation and have done the following:
    Created a role called edit_subjects:
    SQL>CREATE ROLE edit_subjects;
    Gave it some priviledges:
    SQL>GRANT INSERT,UPDATE,DELETE,SELECT ON myname.subjects TO edit_subjects;
    Grant the role to another guy:
    SQL>GRANT edit_subjects TO otherguy;
    In SQLPLUS I can do the following:
    C:\>sqlplus otherguy/password
    SQL> select * from myname.subjects;
    That works, BUT when I "Browse Tables" using the other guy's login in the Object Browser of the web based interface, I don't see that subjects table. (When I login as myself, I can see the subjects table) Can anyone help me?
    Thanks,
    Dan

    You might try posting this in the Express Edition forum. I'm unfamiliar with that particular front-end, so I'm not sure. Most GUI tools will have the ability to explore objects owned by other users-- there's almost always a way to pick what schema to browse-- but I have no idea how to do that in this specific tool.
    Justin

  • How do we embed projector and supporting files within an XCode project/app?

    Many Director 12 developers would like to put their projects into the Mac App Store, and I'm one of them. It seems to me that the safest way to meet Apple's various requirements (sandbox, receipt validation, and whatever Apple adds in the future) is to somehow use Apple's own tool: Xcode.
    Which web pages out there explain how to add/embed a Macintosh application (Director 12 projector) and supporting files (movies, casts, sound files, etc) within an XCode project and resulting app?
    I got no obviously right results with Google searching. I might have chosen the wrong keywords to search for.
    I searched this forum and found some posts about preparing for the Mac App Store, but those answers seem to be either out-of-date or very incomplete for this purpose.
    Huge thanks to anyone out there who can point me in the right direction!

    So receipt validation should be implemented via an Xtra? Then I must hire a Xtras developer, because I don't know the C++ programming language nor Objective-C/Xcode.
    Maybe I should ask that developer to implement this:
    https://github.com/roddi/ValidateStoreReceipt
    I must decide whether to have all the receipt validation logic coded in the Xtra, or simply have the Xtra access the receipt and then I would code all the receipt validation using Lingo. Perhaps having all that coded in C++ would be more secure against hackers, but I lack the technical knowledge to be sure. Doing the validation in Lingo would make it easy to change that validation Lingo code for each product I put in the App Store; Apple asks developers to change and obfuscate validation code, to make hacking more time consuming I guess.
    I read a forum message somewhere here, that hinted third-party Xtras could create issues with code signing? Does anybody have experience with that?
    Plus there is the whole issue of sandboxing. I think my apps will need no entitlements at all. Do I need to indicate that fact, somehow, somewhere? Some of my apps use the Lingo getPref and setPref commands, but I think that does not require an entitlement. I'm not doing anything special at this point, but might want to make use of Game Center and In-App purchases later.
    And then there is this whole business:
    http://forums.adobe.com/message/5755957#5755957
    It seems to me that we on these forums should be discussing all these kinds of issues in detail. It is both very complicated and very important for the many Director developers who would like to publish to the Mac App Store.
    I think Adobe could sell more copies of Director 12 to aspiring App Store publishers, if they contributed to their customers' understanding of these issues. But maybe the Adobe people don't have special knowledge on this topic. I fear that we are on our own.

  • Last row missing for every page in webreport printing

    Hi Friends,
    We are facing a challenge while printing web report.
    Lets say report output contains 500 lines and lines are divided in to 10 pages.
    Each page contains 50 rows. When exexute the Printing in webreport we are getting only first 49 rows for each page. Last 50 row is missing for each page.
    What could be the problem.
    Please help me how to fix this issue. I am not aware of this webreporting Html code.Please frineds help me how to fix this issue.
    It would be great help for me.
    Will assign the points.
    Thanks
    SAP

    Hi Friends,
    Finallay i found our custom web template which is copied from Standard web template.
    Here iam attachig my code.
    Some body look into this one please suggest me if there is any mistake.
    It would be great help for me.
    will assign the points.
    <!-- This Template is the main Template for the  Adhoc Web Application
           This Templates includes all items, except of the Conditon /Exception Item, which are included in the 0ADHOC_CONDITIONS Template
           Items: 7 different Item GRoups
    GR1 (Table) - GR1Toolbar, GRAToolbar, GR1Navblock, GR1GR5GR7Table
    GR2 (Charts) - GR2Chart
    GR3 (TextElem) - GR3TECommon, GR3TEFilter, GR3DFilter, GR3TEVariables, GR3FORQUERYDOC
    GR4 (InfoBroad) - GR4Broadcaster
    GR5 (Print) - GR5Toolbar, GRBToolbar, GR1GR5GR7Table
    GR6 (Conditions) - Condition Template
    GR7 (Export) - GR7Toolbar, GR1GR5GR7Table
           The following items are internally used:
                 TITLE: To display the Name ot the Query (as Window-Title)
                 HEADER: To display a Header-Template
                 FOOTER:  To display a Footer-Template
                 Query Name: To display the name of the Query
                 Actuality: To display the validity of the data
                GR3FORQUERYDOC: Technical name of the query for launching online Documentation
           The JavaScript in this Template will enable the following functions:
                      - Set the correct style for the actually choosen Tabstrip (function set_tab)
                      - Call the Query Online Documentation (function callquerydoc)
    -->
    <!-- Set the data provider --->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DP"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             <param name='HELP_SERVICE' value='ZPRINTING'/>
             <param name='HELP_SERVICE_CLASS' value='Z_PRINT_HELP_SERVICE'/>
             DATA_PROVIDER:             DP
    </object>
    <!-- Output area --->
    <html>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC"/>
             TEMPLATE PROPERTIES
    </object>
    <head>
    <!-- Javascript Enhancement for DHTML Dropdown Print Preview-->
    <script language=javascript>
             function callPrintPreview(poption)
                      var url = SAP_BW_URL_Get();
                          switch(poption)
                           case 1:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.75&P_HEADER_INDENT_RIGHT=0.75&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.75&P_FOOTER_INDENT_RIGHT=0.75&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.75&P_DATA_AREA_INDENT_RIGHT=0.75&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=17.78&P_PAGE_HEIGHT=24.13";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 2:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.50&P_HEADER_INDENT_RIGHT=0.50&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.50&P_FOOTER_INDENT_RIGHT=0.50&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.50&P_DATA_AREA_INDENT_RIGHT=0.50&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=19.05&P_PAGE_HEIGHT=25.40";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 3:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.25&P_HEADER_INDENT_RIGHT=0.25&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.25&P_FOOTER_INDENT_RIGHT=0.25&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.25&P_DATA_AREA_INDENT_RIGHT=0.25&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=20.32&P_PAGE_HEIGHT=26.67";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 4:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.75&P_HEADER_INDENT_RIGHT=0.75&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.75&P_FOOTER_INDENT_RIGHT=0.75&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.75&P_DATA_AREA_INDENT_RIGHT=0.75&P_DATA_AREA_COLUMNS=7&P_PAGE_WIDTH=24.13&P_PAGE_HEIGHT=17.78";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 5:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.50&P_HEADER_INDENT_RIGHT=0.50&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.50&P_FOOTER_INDENT_RIGHT=0.50&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.50&P_DATA_AREA_INDENT_RIGHT=0.50&P_DATA_AREA_COLUMNS=4&P_PAGE_WIDTH=25.40&P_PAGE_HEIGHT=19.05";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 6:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.25&P_HEADER_INDENT_RIGHT=0.25&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.25&P_FOOTER_INDENT_RIGHT=0.25&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.25&P_DATA_AREA_INDENT_RIGHT=0.25&P_DATA_AREA_COLUMNS=4&P_PAGE_WIDTH=26.67&P_PAGE_HEIGHT=20.32";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 7:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_PREVIEW_MODE=X";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
    </script>
    <SCRIPT LANGUAGE="JAVASCRIPT" type="text/javascript">
    <!--
    //  Global variables definitions
    var expDays = 1;
    var exp = new Date();
    exp.setTime(exp.getTime() + (expDays2460601000));
    /* Create a Random Number*/
    function rand ( n )
      return ( Math.floor ( Math.random ( ) * n + 1 ) );
    /Used to Open New Window with Status Bar & URL/
    function openWindow( URL, NAME, WIDTH1, HEIGHT1){
    NAME=NAME+rand(157)
    WindowObjectReference =  window.open(URL,NAME,"menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes,width="WIDTH1"height="+HEIGHT1);
    function PrintMyReport(typePaper) {
    /*  Assumption: Users page margins (top, bottom, left and right) are a default value of 0.75 inches */
        var Header2 = '';
        var CurrentDataProvider = 'DP' ;
    //    var mynewTitle = 'SAP BW Report';
        var mynewTitle = document.title;
        var dateout = exp;
        var CurrentReportName = '&?psize=' + escape(typePaper) + '&qtitle=' + escape(mynewTitle)  + Header2 + "&ASOFDATE=" + escape(dateout) + "&";
    /*    var openCMD="<SAP_BW_URL>&DATA_PROVIDER="CurrentDataProvider"&TEMPLATE_ID=ZPD_ADHOC_PAGE&CMD=RELEASE_DATA_PROVIDER"+CurrentReportName;*/
        var openCMD="<SAP_BW_URL>&DATA_PROVIDER="CurrentDataProvider"&TEMPLATE_ID=ZPD_LAUSD_ADHOC_PAGE&CMD=RELEASE_DATA_PROVIDER"+CurrentReportName;
        openWindow(openCMD,"MainTitleNow",800,600);
    -->
    </SCRIPT>
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
       var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML  + '&sap-language=' +SAP_BW_Get_Language();
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id GroupArea/GroupLink */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           /var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster','GR5Toolbar','GR7Toolbar');/
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR5Toolbar','GR7Toolbar');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = '<SAP_BW_TEXT program="SAPLRRSV" key="737">' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = '<SAP_BW_TEXT program="SAPLRRSV" key="736">' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              SAPBWSetFocus(anchor);
      }  /*function */
    -->
    </script>
    <!-- Query description in the window title bar --->
    <title>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TITLE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             ITEM:            TITLE
    </object>
    </title>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <link href="/sap/bw/Mime/Customer/StyleSheets/BWReports_Excel_print.css" type="text/css" rel="stylesheet" media="print"/>
    </head>
    <body>
    <!-- Possible Header -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Header"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="ZLAUSD_HEADER"/>
             <param name="SUPPRESS_SYSTEM_MESSAGES" value="X"/>
             ITEM:            Header
    </object>
    <table border="0" cellpadding="0" cellspacing="0" width="600">
    <tr id="bexheader">
    <td class="SAPBExMsgBarStd"><span class="SAPBEXTxtStdBold" tabIndex=0>
    <SAP_BW_TEXT program="SAPLRRSV" key="733">
    </span></td>
    </tr>
    <tr>
    <td style="FONT-SIZE: 1pt; HEIGHT: 5px">
    </td>
    </tr>
    <tr>
    <td>
    <!-- Tabs -->
    <table cellpadding="1" cellspacing="0" border="0" width="200">
    <tr>
    <td class="SAPBEXTbsBorder">
    <A href="#TabStripEnd">
    <IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='739'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='739'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></A>
    <table name="" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <!-- First Tab: Display table and nav block -->
    <td align="middle" nowrap class="SAPBEXTbsTabSel" id="GR1Area">
    <A  title=<SAP_BW_TEXT program='SAPLRRSV' key='700'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR1*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="700"></A>
    </td>
    <!-- Second Tab: Display chart -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR2Area">
    <A title=<SAP_BW_TEXT program='SAPLRRSV' key='701'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR2*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="701"></A>
    </td>
    <!-- Third Tab: Display infos -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR3Area">
    <A   title=<SAP_BW_TEXT program='SAPLRRSV' key='702'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR3*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent"><SAP_BW_TEXT program="SAPLRRSV" key="702"></A>
    </td>
    <!-- Fourth Tab: Display Broadcasting -->
    <!--
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR4Area">
    <A  title=<SAP_BW_TEXT program='SAPLRRSV' key='704'> href="<SAP_BW_URL ITEM='GR' MULTI='X' HIDDEN='X'  CMD_1='ITEM=GR4&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="704"></A>
    <a name="TabStripContent" tabIndex="0"><IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='740'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='740'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></a>
    </td>
    -->
    <!-- Fifth Tab: Display Printing -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR5Area">
    <A   title=Printing href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR5*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent">Printing</A>
    </td>
    <!-- Sixth Tab: Display Export -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR7Area">
    <A   title=Export href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR7*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent">Export</A>
    </td>
    </tr>
    </table>
    <table width="600" name="" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td align="left" valign="bottom" nowrap>
    <table cellspacing="0" cellpadding="0" border="0"><tr><td class="SAPBEXTxtStdBold" nowrap tabIndex="0" width="550">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="QueryName"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             <param name="HELP_SERVICE" value="HW_SAVE_VIEW"/>
             <param name="HELP_SERVICE_CLASS" value="CL_RSR_WWW_HWIND_SAVE_VIEW"/>
             ITEM:            QueryName
    </object></td>
    <td  nowrap 
                    tabIndex="0">
    <!--
    <SAP_BW_TEXT program="SAPLRRSV" key="705">
    -->
    <SAP_BW_TEXT program="SAPLRRSV" key="160">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Actuality"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="ROLLUPTIME"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="ROLLUPTIME"/>
             ITEM:            Actuality
    </object>
    </td></tr></table>
    </td></tr>
    <tr><td>
    <table  border="0" cellspacing="0" cellpadding="5" class="SAPBEXFlexBoxStdBg" width="100%"><tr>
              <td>
    <!-- Toolbar for View Table -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GR1TB"/>
             ITEM:            GR1Toolbar
    </object>
    <!-- Toolbar for Table Maintenance -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRAToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GRATB"/>
             ITEM:            GRAToolbar
    </object>
    <!-- Toolbar for View Chart -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR2Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZLAUSD_CHARTS"/>
             ITEM:            GR2Toolbar
    </object>
    <!-- Toolbar for View Info -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZLAUSD_INFOS"/>
             ITEM:            GR3Toolbar
    </object>
    <!-- Toolbar for Print Options -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR5Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GR5TB"/>
             ITEM:            GR5Toolbar
    </object>
    <!-- Toolbar for Printing with Internet Explorer -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRBToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GRBTB"/>
             ITEM:            GRBToolbar
    </object>
    <!-- Toolbar for Printing with SmartForms -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRCToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GRCTB"/>
             ITEM:            GRCToolbar
    </object>
    <!-- Toolbar for Exporting -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR7Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GR7TB"/>
             ITEM:            GR7Toolbar
    </object>
    </td></tr><tr><td>
    <!-- Exceptions and Conditions  -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR6_COND_TEMPLATE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="0ADHOC_CONDITIONS"/>
             ITEM:            GR6_COND_TEMPLATE
    </object>
    <table width="600" cellspacing="0" cellpadding="5" border="0"><tr><td style="PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px">
    <!-- Navigational block: GR1NavBlock--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1NavBlock"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="200"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="SHOW_AXES_GROUPING" value="X"/>
             ITEM:            GR1NavBlock
    </object>
    </td>
    <td class="SAPBEXWhlOffset">
    </td>
    <td width="100%" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px">
    <!-- Data table: GR1GR5GR7Table--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1GR5GR7Table"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="380"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BLOCK_SIZE" value="25"/>
             <param name="BLOCK_SIZE_COLUMNS" value="10"/>
             <param name="HELP_SERVICE" value="PRINT_WITH_EXCEL"/>
             <param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>
             ITEM:            GR1GR5GR7Table
    </object>
    </td></tr></table>
    <!-- Chart: GR2Chart, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR2Chart"/>
             <param name="ITEM_ID" value="0ADHOC_COLUMN_CHART"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="HEIGHT" value="400"/>
             <param name="CAPTION" value="0ADHOC_COLUMN_CHART"/>
             <param name="HIDDEN" value="X"/>
             <param name="WIDHT" value="500"/>
             ITEM:            GR2Chart
    </object>
    <!-- Common text symbols: GR3TECommon, initialy hidden--->
    <table width="600" cellspacing="0" cellpadding="5" border="0"><tr><td style="VERTICAL-ALIGN: top">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TECommon"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=720"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="SRDATE"/>
             <param name="ELEMENT_TYPE_2" value="COMMON"/>
             <param name="ELEMENT_NAME_2" value="ROLLUPTIME"/>
             <param name="ELEMENT_TYPE_3" value="COMMON"/>
             <param name="ELEMENT_NAME_3" value="MODTIME"/>
             <param name="ELEMENT_TYPE_4" value="COMMON"/>
             <param name="ELEMENT_NAME_4" value="MODUSER"/>
             <param name="ELEMENT_TYPE_5" value="COMMON"/>
             <param name="ELEMENT_NAME_5" value="SYUZEIT"/>
             <param name="ELEMENT_TYPE_6" value="COMMON"/>
             <param name="ELEMENT_NAME_6" value="REPTXTLG"/>
             <param name="ELEMENT_TYPE_7" value="COMMON"/>
             <param name="ELEMENT_NAME_7" value="REPTNAME"/>
             ITEM:            GR3TECommon
    </object>
    <!-- Static filter: GR3TEFilter, initialy hidden--->
    </td><td style="VERTICAL-ALIGN: top">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TEFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=721"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_VARIABLES" value=""/>
             ITEM:            GR3TEFilter
    </object>
    <!-- Dynamic filter: GR3DFilter, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3DFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=722"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_LINKS" value=""/>
             ITEM:            GR3DFilter
    </object>
    <!-- Variables: GR3TEVariables, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TEVariables"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=723"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_FILTERS" value=""/>
             ITEM:            GR3TEVariables
    </object>
    </td></tr></table>
    <div id="querydoc" style="DISPLAY: none; VISIBILITY: hidden">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3FORQUERYDOC"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTNAME"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTNAME"/>
             ITEM:            GR3FORQUERYDOC
    </object>
    </div>
    <!-- Broadcaster: GR4Broadcaster, initially hidden-->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR4Broadcaster"/>
             <param name="ITEM_CLASS" value="CL_RSRD_WWW_ITEM_BROADCASTER"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="SOURCE_OBJECT_TYPE" value="DP"/>
             <param name="SOURCE_DATA_PROVIDER" value="DP"/>
             ITEM:            GR4Broadcaster
    </object>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <a name="TabStripEnd" tabIndex="0"><IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='741'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='741'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></a>
    </td>
    </tr>
    </table>
    <!-- Possible Footer -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Footer"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="0ADHOC_FOOTER"/>
             ITEM:            Footer
    </object>
    <script type="text/javascript">
    <!--
        set_tab();
    -->
    </script></td></tr></table>
    <!-- Settings for Web Printing with Excel
    // header with logo, footer, page orientation, margin, ...
    @page
         {mso-header-data:"&L&\0022Arial\,Fett\0022&12&G&C&\0022Arial\,Fett\0022&14<&[REPTXTLG]> und <&[DATAPROVIDER_1/REPTXTLG]>";
         mso-footer-data:"&R&A";
         margin:1.0in .75in 1.0in .75in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;}
    // fit to page, grid lines, logo (header picture)
         <x:Print>
          <x:FitWidth>1</x:FitWidth>
          <x:FitHeight>2</x:FitHeight>
          <x:ValidPrinterInfo/>
          <x:PaperSizeIndex>9</x:PaperSizeIndex>
          <x:Scale>86</x:Scale>
          <x:HorizontalResolution>600</x:HorizontalResolution>
          <x:VerticalResolution>600</x:VerticalResolution>
          <x:Gridlines/>
          <x:HeaderPicture>
           <x:Location>Left</x:Location>
           <x:Source>http://www.sap.com/global/images/sap_logo.gif</x:Source>
           <x:Height>37</x:Height>
           <x:Width>73</x:Width>
           <x:LockAspectRatio/>
           <x:ColorType>Automatic</x:ColorType>
          </x:HeaderPicture>
         </x:Print>
    // page breaks
        <x:PageBreaks>
         <x:ColBreaks>
          <x:ColBreak>
           <x:Column>9</x:Column>
           <x:RowEnd>78</x:RowEnd>
          </x:ColBreak>
         </x:ColBreaks>
         <x:RowBreaks>
          <x:RowBreak>
           <x:Row>42</x:Row>
           <x:ColEnd>15</x:ColEnd>
          </x:RowBreak>
         </x:RowBreaks>
        </x:PageBreaks>
    // column widths
        <x:ColWidths>
        <col style='mso-width-source:auto'>
        <col style='mso-width-source:auto'>
        <col style='mso-width-source:auto'>
        <col width=200 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        </x:ColWidths>
    // BW parameters
    <x:BW>
         <hierarchy_icons hide=X>
    </x:BW>
    -->
    </body>
    </html>

  • Steps to create your own self signed certificate with java plugin working

    You need two tools that comes with your jdk which are keytool and jarsigner.
    Steps explain below in detail. Don't use netscape signtool, it will NEVER work!
    * keytool -genkey -keyalg rsa -alias tstkey -keypass 2br2h2m -dname "cn=Test Object Signing Certificate, o=AI Khalil, ou=Java Products, c=AU"
    cn = Certificate name
    o = organistation
    ou = organistation unit
    c = country (first two letters)
    If don't put the -dname, you can fill it line by line.
    The -keypass has to be verify at the end, and you have to wait for it to create the rsa signing keys.
    On NT by default it will put the alias information at D:\WINNT\Profiles\Administrator (if log in as administrator) with the default file called ".keystore". Windows 98 etc, don't know, search for .keystore
    file. When you update it, check for the timestamp change and you know if you at the right spot.
    You can store your alias information via the -storepass option to your current directory you work on, if you don't want to update the default .keystore file?
    The .keystore contains a list of alias so you don't have to do this process again and again.
    Another tip if you want your certificate encryption validity to be more than the default one month is simply
    add the -validity <valDays>, after the -genkey option, to make your certificate usage for encryption to last much longer.
    Note: You MUST use the -keyalg rsa because for starters the rsa encyption alogorthim is supported on ALL browsers instead of the default DSA and the other one SHA. Java plugins must work with the RSA algorthim when signing applets, else you will get all sorts of weird errors :)
    Do not use signtool because thats a browser dependant solution!! Java plugin is supposed to work via running it owns jre instead of the browser JVM. So if you going to use netscape signtool, it starts to become a mess! ie certificate will install, but applet won't start and give you funny security exception errors :)
    * keytool -export -alias tstkey -file MyTestCert.crt
    It will read the alias information in the .keystore information picking up the rsa private/public keys info and
    create your self sign certificate. You can double click this certificate to install it? But don't think this step is needed but maybe for IE? Someone else can check that part.
    If you make a mistake with the alias, simply keytool -delete -v -alias <your alias key>
    If not in default .keystore file, then simply keytool -delete -v -alias <your alias key> -keystore <your keystore filename>
    * Put your classes in your jar file, my example is tst.jar.
    * jarsigner tst.jar tstkey
    Sign your testing jar file with your alias key that supports the RSA encryption alogorthim.
    * jarsigner -verify -verbose -certs tst.jar
    Check that its been verified.
    The last step is the most tricky one. Its to do with having your own CA (Certified Authority) so you don't
    have to fork out money straight away to buy a Verisign or Twarte certificate. The CA listing as you see in
    netscape browsers under security/signers, is NOT where the plugin looks at. The plugin looks at a file called
    CACERTS. Another confusion is that the cacerts file is stored in your jre/lib/security AND also at your
    JavaSoft/Jre/<Java version>/lib/security. When you install the Java plugin for the first time in uses your
    JavaSoft folder and its the cacerts file that has to be updated you add your own CA, because thats where
    the plugin look at, NOT THE BROWSER. Everything about plugin is never to do with the browser!! :)
    * keytool -import -file MyTestCert.crt -alias tstkey -keystore "D:\Program Files\JavaSoft\JRE\1.3.1\lib\security/cacerts"
    Off course point to your own cacerts file destination.
    Password to change it, is "changeit"
    Before you do this step make a copy of it in its own directory in case you do something silly.
    This example will add a CA with alias of my key called "tstkey" and store to my example destination.
    * keytool -list -v -keystore "E:/jdk/jdk1.3/jre/lib/security/cacerts"
    List to see if another CA is added with your alias key.
    Your html, using Netscape embed and Internet explorer object tags to point to the java plugin,
    your own self sign applet certificate should work
    Cheers
    Abraham Khalil

    I follow Signed Applet in Plugin, and it's working on
    my computer. Thanks
    But When I open my applet from another computer on
    network, why it does not work ..?
    How to make this applet working at another computer
    without change the policy file ..?
    thanks in advance,
    AnomYou must install the certificate on that computers plugin. Can this be done from the web? can anyone suggest a batch file or otherwise that could do this for end users?
    I want a way for end users to accept my cert as Root or at least trust my cert so I dont have to buy one. I am not worried about my users refusing to accept my cert. just how do I make it easy for them? IE you can just click the cert from a link, but that installs for IE, and not the plugin where it needs to be.

  • Outlook window getting the keyboard focus instead of user created Form Window during Outlook Startup

    This MAPILogonComplete method involves creating a Form Window to show "What's New" of a certain Addin version (DisplayWhatsNewDialog() in the code):
    private void _outlook_MAPILogonComplete() {
    _logger.Info("_outlook_MAPILogonComplete");
    try
    if (_timerForm != null)
    _timerForm.Timer.Stop();
    _timerForm.Timer.Dispose();
    catch (Exception ex2)
    _logger.Error(ex2.Message, ex2);
    try
    if (Globals.BJNSettings.showWhatsNew)
    Globals.BJNSettings.showWhatsNew = false;
    UIHelper.DisplayWhatsNewDialog(false);
    Ol.Inspector insp = null;
    if (_inspectors.Count > 0)
    for (int i = _inspectors.Count; i >= 1; i--)
    insp = _inspectors[i];
    WrapInspector(insp);
    insp = null;
    Ol.Explorer expl = null;
    if (_explorers.Count > 0)
    for (int i = _explorers.Count; i >= 1; i--)
    expl = _explorers[i];
    WrapExplorer(expl);
    expl = null;
    GetAddinsList();
    Thread logSystemInfoThread = new Thread(new ThreadStart(LogSystemInformation));
    logSystemInfoThread.TrySetApartmentState(ApartmentState.STA);
    logSystemInfoThread.IsBackground = true;
    logSystemInfoThread.Start();
    try
    Ol.NameSpace ns = _outlook.GetNamespace("MAPI");
    _calFolder = ns.GetDefaultFolder(Ol.OlDefaultFolders.olFolderCalendar) as Ol.Folder;
    _calFolder.BeforeItemMove += new Ol.MAPIFolderEvents_12_BeforeItemMoveEventHandler(_calFolder_BeforeItemMove);
    _delFolder = ns.GetDefaultFolder(Ol.OlDefaultFolders.olFolderDeletedItems) as Ol.Folder;
    Marshal.ReleaseComObject(ns);
    ns = null;
    catch (Exception ex)
    _logger.Error(ex.Message, ex);
    UIHelper.WriteDoNotDisableKeyToRegistry();
    Globals.AppointmentsToProcess = new List<string>();
    _timerForm.ProcessTimer.Interval = 3000;
    _timerForm.ProcessTimer.Start();
    catch (Exception ex)
    _logger.Error(ex.Message, ex);
    DisplayWhatsNewDialog() has this signature:
    public static void DisplayWhatsNewDialog(bool modal)
    try
    string defaultWhatsNewFile = Globals.BJN_APP_BASE_DIRECTORY + "WhatsNew.txt";
    string localISOLanguageName = Languages.GetTwoLetterISOLanguageName();
    string localizedWhatsNewFile = Languages.GetInstalledLocalizedFilePath(localISOLanguageName, "WhatsNew.txt");
    if (String.IsNullOrEmpty(localizedWhatsNewFile))
    localizedWhatsNewFile = defaultWhatsNewFile;
    if (File.Exists(localizedWhatsNewFile))
    BJNWhatsNew whatsNew = new BJNWhatsNew(localizedWhatsNewFile);
    if (modal)
    whatsNew.ShowDialog();
    whatsNew.Dispose();
    else
    whatsNew.TopMost = true;
    whatsNew.Show();
    whatsNew = null;
    catch (Exception ex)
    _logger.Error(ex.Message, ex);
    The problem is if the Window is made modal, it blocks the Outlook to launch and also goes back of the Outlook loading window (Whats New window will not be having keyboard focus). And if the Window is made non-modal (passing false to DisplayWhatsNewDialog()),
    Outlook launches properly and What's New window comes at the top but will not be having keyboard focus; instead the launched Outlook window will be having the keyboard focus. May anyone please suggest a way to make the What's New window to be always having
    the keyboard focus? Structure of form window class BJNWhatsNew is given below:
    public partial class BJNWhatsNew : Form
    private static ILog _logger = LogManager.GetLogger(typeof(BJNWhatsNew));
    public BJNWhatsNew(string whatsNewTextFileName)
    InitializeComponent();
    InitLabels();
    InitEventHandlers();
    InitWhatsNew(whatsNewTextFileName);
    private void InitLabels()
    try
    this.Text = Properties.Resources.bjn_version_info_caption;
    this.buttonClose.Text = Properties.Resources.ok_hotkey;
    this.labelBJNAddin.Text = Properties.Resources.bjn_version_ol_addin;
    this.labelVersion.Text = String.Format(Properties.Resources.version_format, Assembly.GetExecutingAssembly().GetName().Version.ToString(3));
    Assembly assembly = Assembly.GetExecutingAssembly();
    FileInfo fileInfo = new FileInfo(assembly.Location);
    DateTime buildDate = fileInfo.LastWriteTime;
    string formatString = "d MMM, yyyy";
    this.labelReleaseDate.Text = String.Format(Properties.Resources.bjn_version_release_date, buildDate.ToString(formatString));
    catch (Exception ex)
    _logger.Error(ex.Message, ex);
    private void InitEventHandlers()
    this.buttonClose.Click += new EventHandler(buttonClose_Click);
    private void InitWhatsNew(string whatsNewTextFileName)
    try
    if (File.Exists(whatsNewTextFileName))
    StreamReader sr = new StreamReader(whatsNewTextFileName);
    string whatsNew = sr.ReadToEnd();
    sr.Close();
    this.richTextBox1.Text = whatsNew;
    this.richTextBox1.SelectionLength = 0;
    this.buttonClose.Select();
    this.buttonClose.Focus();
    catch (Exception ex)
    _logger.Error(ex.Message, ex);
    void buttonClose_Click(object sender, EventArgs e)
    this.Close();

    Hello Prasad,
    The ShowDialog method will block the current thread. If you want to continue working with Outlook objects you need to use the Show method instead. The key fact is that both methods (Show and ShowDialog) accepts an instance of the IWin32Window interface
    which allows to specify the parent window handle. Specifying the parent window handle (Outlook Explorer window) to the Show method you can make your window shown on top of Outlook all the time.
    To get the HWND of an Outlook explorer  object (e.g. Application.ActiveExplorer), cast it to IOleWindow and call IOleWindow.GetWindow(). Also you may find the
    How to get the IWin32Window for Outlook
    article helpful.

  • Remote SQL Server weird semaphore timeout period error

    I'm using SQL Server Express 2012 in a home server using no-ip service.
    I tried to setup home server to allow remote so I can access home server in my office.
    after following a walkthrough, I can register my server to Registered Servers, and tried a query "select * from users", it's worked and I can see the data return.
    Test connection is also ok, telnet ok, ping ok, website try open and query ok.
    but when I chose "Object Explorer", the management studio took a little time and return this error
    TITLE: Connect to Server
    Cannot connect to grandholy.no-ip.info.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) (Microsoft SQL Server, Error: 121)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=121&LinkId=20476
    The semaphore timeout period has expired
    BUTTONS:
    OK
    Could anyone tell me what I can do to explore object without the error?

    Hi grandholy,
    If you are using Windows Server 2003, Windows 2000 Server, or Windows NT 4.0 at home, you can refer to the following document:
    http://support.microsoft.com/kb/892100/en-us
    Allen Li
    TechNet Community Support

  • Show PDF in C# application

    Hi,
    I am using Acrobat Reader 10.1.0 which provide annotation facility. And I want to show PDF file in my C# application. For this I use Web Explorer object and it shows PDF file successfully.
    But on Web Explorer, it shows the PDF file in read only mode. So could not use annotation facility.
    I want to show PDF file in my C# application so that user can use annotation facility. I try to explore COM component provided by Acrobat Reader, but it doesn't work.
    So please provide me the solution for this.
    Regards
    Pushkar

    Thanks for your link.
    PDF is shown successfully on C# application, but I can't use annotation facility. As annotation is disabled when PDF opened in C#.NET application.
    I want to show PDF file in my C# application so that I can use annotation facility within the application.
    For your reference attached images:
    1. Open PDF file in C#.NET application:
    2. Open PDF File in Acrobat Reader:
    Thanks

Maybe you are looking for

  • Copy file fails hp sent recovery discs Windows 7

    I have been trying to solve this for a month now and am at the end of my tether. I am now on my third set of recovery discs from HP and all have the same problem. I insert disc 1 as instructed to on the support forum. It runs through Reformatting the

  • Extraction jobs

    Hi all, I have triggered a chain in system A through RSPC_API_CHAIN_START and the source system of the chain is System B but no jobs are getting triggered in system B?WHY SO? There is no space issue,no RFC connections issue,neither the system is down

  • What is the best way to handle a business full of Macs w/ app updates?

    So we have an office with OS X Server and about 20 macs. We're now on the era of App Store handling updates to the OS, among other things. This presents a problem, because the updates want an Apple ID, and will occasionally ask for credit card verifi

  • Any tutorial for performing manual CRUD beside ADF faces and ADF BC ?

    Hi Thank you for reading my post is there any tutorial around which help me learn how to perform manual CRUD beside ADF BC ? in my application i have some complex DB operation which i need to perform them manually. an example is my login page : user

  • Finding BPM of audio imported into project

    Hello all-- I bet there's an easy answer to this, but as a noob I'm not finding it in searches (though I find lots of related stuff). I'm trying to tempo-sync imported audio to a midi tempo in a project. Is there an easy way to analyze the tempo of t