Check for missing pages

At work we are using a scanner with a feeder to digitalize many of our company documents. On the first manual check I found there to be a few missing pages. If there a way to automate the "missing page check". Can i write a script to check for missing pages. I am fairly new to acrobat and OCR, but I am knowledgeable in programming. Any help would be appreciated.

The script as follows will give you the total number of pages in a document:
console.println("There are " + this.numPages + " pages in this document");
Also go the the following link for the Adobe Development Centre - Documentation and References - Acrobat 9.1 SDK Documentation
There is a Javascript for API Reference which will give you some guidance.
http://www.adobe.com/devnet/acrobat.html

Similar Messages

  • My Itunes account tells me i need to update it to version 10.6.1, but when I click download and the computer (mac 2007) goes to the "checking for softwares" page it doesn't find the update?

    my Itunes account tells me i need to update it to version 10.6.1, but when I click download and the computer (mac 2007) goes to the "checking for softwares" page it doesn't find the update? Help me please, what do I do?

    Try updating to 10.6.3.25.
    A .dmg installer for iTunes version 10.6.3.25 for Mac OS can be found at the following download page on the Apple website:
    iTunes 10.6.3

  • How to check for missing fields in the file?

    Hi friends,
    I have a file to file scenario in which if any of the fields have a blank value, i have to put the file back in the source folder. If none of the fields are missing, the scenario should work normally.
    Can anybody tell me <b>how can i check for the field lengths</b> and if any of the fields are blank, <b>how do i send it back to the original folder.</b>
    Waiting for your responses,
    Divija.

    Hi Divija,
    >><i>how can i check for the field lengths</i>
    Since you need to basically check if the field has a value or not, i dnt think you need to check for the length of the field. Instead, you can use any one of the booloean functions available in the graphical mapping editor to check if the field has a value or not(filed value true or false)
    >><i>how do i send it back to the original folder.</i>
    You can maintain a flag variable in the target structure such that if any of the source fields donot have values, the flag's value becomes 1 else it remains 0.
    Now, you can check if the value of flag is equal to 1/0 in the bpm and accordingly send the data.
    If in case, you donot want the flag to come in the target file that is loaded/sent from the bpm in the end, i think even tat can be taklen care of.
    You can create two receiver communication channels and define one file adapter in each such that one has the destination as the actual target directory and the other has the original source directory as the destination.
    Regards,
    Sushumna

  • Adadmin error when run check for missing files

    Hi All,
    When i run adamin for checking missing flie option it return the error
    Unable to verify files for iSupplier Portal.
    AD Administration error:
    The following file is missing:
    /m01/TEST/apps/apps_st/appl/pos/12.0.0/admin/driver/posfile.drv
    My EBS version is :R12.1.3
    when i checked files existed in $POS_TOP there are only three subdirectories available i.e. log mesg out
    when i checked in one of the older server in mean R12.1.1 all files existed in POS_TOP i.e. admin help html java log mds media mesg out patch sql xml
    Can i copy all the files from old server(12.1.1) to produciton(R12.1.3)
    Due to this error JAR files cannot be generated
    Thanks
    Alig

    Was this 12.1.3 instance upgraded from the same copy of 12.1.1 instance you have?
    Can i copy all the files from old server(12.1.1) to produciton(R12.1.3) They are different releases. However, you could try copying the files and see if this helps. Are you using this product?
    Due to this error JAR files cannot be generatedWhat is the error? Copy the missing files/directories for now and check then.
    Thanks,
    Hussein

  • Looping in Word mail merges/ checking for missing fields

    I am trying to convert a project that uses WordPerfect merges to use Word mail merges.  One issue that I am encountering is that I cannot find a way to use any looping structures in Word mail merges. Specifically, my data file is a csv text file. 
    I control the contents of the file but its current structure is that it will consist of a single record (not counting the header row).  The number of fields will vary but it will contain a field named Person1.  There may or may not be a field named
    Person2, Person3 etc.  There are several of these types of fields in the record so it is not an option to make a separate record for each person ie for the record I will have Plaintiff1, Plaintiff2... and Defendant1, Defendant2....
    I am having trouble with two things:
    1. how can I test for a blank or missing field ie I want to have a statement like {if {MERGEFIELD Defendant2}="" "Defendant is" "Defendants are"}.  That statement works but it throws error messages to the user that the
    field Defendant2 is missing and prompts them to substitute another field.  That sort of statement occurs multiple times during a merge so asking the users to ignore the errors is not an option.
    2. is there some sort of looping mechanism in Word mail merges.  I need to be able to do two things with a loop:
    a.  I need to be able to list each of the Persons, Defendants, Plaintiffs ie. While {MERGEFIELD Defendant{#}<> "" " {MergeFIELD Defendant{#}" (increment variable # by 1).
    b.  I some circumstances I need to create full documents based on a loop i.e.  While {MERGEFIELD Defendant{#}<> "" <<merge a defendant summons here>>(increment variable # by 1)

    For clarification: In a Word mailmerge, if any of the field headers are missing from the data source, you will get an error. Thus, you can't have a mailmerge main document that references «Plaintiff2» or «Defendant2» and not have the corresponding headers
    in the data source. The fields may be empty, but the headers must exist.
    Re 1:
    You can indeed use an IF test along the lines of:
    {IF«Defendant2»= "" "Defendant is" "Defendants are"}
    or:
    {IF{MERGEFIELD Defendant2}= "" "Defendant is" "Defendants are"}
    Re 2a:
    Creating a list is as simple as inserting the mergefields one after the other:
    «Defendant1»
    «Defendant2»
    «Defendant3»
    This will, of course, result in empty lines when fields have no data. To cater for this, Word provides the mergefield \b and \f switches.Given you can have one or more defendants, you could suppress the extra lines via, say, an \b switch:
    1. select the
    «Defendant2» field and press Shift-F9 so that you get {MERGEFIELD Defendant2};
    2. edit the field code so that you get {MERGEFIELD Defendant2 \b "¶
    3. delete the paragraph break or line break after the field, so you get:
    «Defendant1»
    {MERGEFIELD Defendant2 \b "¶
    "}«Defendant3»
    where ¶ is a real paragraph/line break
    4. Do the same for the «Defendant3» field and so on, till all are done.
    The following construction can be used to manage data where one or more related fields («Defendant2», «Defendant3», «Defendant4», «Defendant5», & «Defendant6») may or may not be populated, so you can get commas before all except the last in a multi-defendant
    sequence, which is preceded by 'and'.
    «Defendant1»{IF«Defendant3»= "" " and «Defendant2»" ", «Defendant2»{IF«Defendant4»= "" " and «Defendant3»" ", «Defendant3»{IF«Defendant5»= "" " and «Defendant4»" ", «Defendant4»{IF«Defendant6»= "" " and «Defendant5»" ", «Defendant5» and «Defendant6»"}"}"}"}
    Note: It is assumed that none of the fields after the first empty one will be populated.
    Re 2b:
    It's not clear what you're after here. However, in addition to using an IF field as per 1, above, they can also be used to conditionally output multiple pages, including text, tables and images, together with additional mergefeilds on those pages. For example:
    {IF«Defendant2»= "" "«Defendant2» is a nasty fellow ... plus the rest of defendant 2's content & mergefields"}
    Note: The field brace pairs (i.e. '{ }') for the above examples are created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via
    any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces represented in the field construction are all required.
    Instead of the ¶, you should use real line/paragraph breaks.
    For more Word mailmerge tips, see:
    http://www.msofficeforums.com/mail-merge/21803-mailmerge-tips-tricks.html . That page also includes a macro for turning the above field representations into working field codes.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Check for missing plugin while packaging a document

    Hi All,
    I used
    InDesign.app.activeDocument.packageForPrint(packagePath , true , true , true , true , true , true , true , "" , true);
    to package a document but in case of missing plugin it does not create the compltete package only a text file gets created.
    Let me know how I could determine that document is opened with missing plugin so that I can show an alert message before proceeding with package.
    Regards,
    Alam

    Hi,
    Not directly but in case of missing plugin
    doc has a name;
    doc.saved == false;
    doc.filePath throws an error;
    maybe to play around with above could be a kind of solution...
    Jarek

  • How to check whether a page is published?

    Hi
         I have a requirement where i need to check a page and print its published date only if the page is published and active. How can i acheive this exactly? What properties in the CRX exactly will tell me if the page is in published state or not?
    Thanks
    Veena

    Hi Veena,
    On the Publish server you can run the below query to see what Pages where activated during the dateTime range you need. Change the xs:dateTime values based on the date range that you need.
    ====
    /jcr:root/content//*[@jcr:created >= xs:dateTime('2013-04-09T00:00:00.000+02:00') and @jcr:created<= xs:dateTime('2013-04-11T00:00:00.000+02:00') and jcr:primaryType='cq:PageContent']
    ====
    Please note the filter - jcr:rimaryType='cq:PageContent' - in the query. Use this if you only want to check for the pages that got activated. You can remove this filter if you want to check for all content (like images, etc) that got activated.
    The results of this query should give you a list of everything that is currently residing on the Publish within a date range when they were activated.
    Hope this helps.
    Thanks
    Ameeth

  • Using Reference Mode and checking for broken alias links

    I use iPhoto 09 in reference mode (where it doesn't import the pictures into the library). I'm aware of the pitfalls of doing this but, long story-short, it's better for my needs this way. I just wanted to know if there's a way to tell iPhoto to check for missing photos or broken alias links. It seems to just pop-up randomly some time after moving or deleting anything and I'd rather take care of business when it's convenient for me not for iPhoto. I don't move my pictures very often but when I do I want to be able to re-link them immediately and not wait for iPhoto to randomly ask me and then I don't know what album or date the picture is from that its asking me about. Thanks in advance!

    I thought you were aware of the pitfalls of running a Referenced Library One of which is that if you move the files iPhoto will lose track of them.
    Unfortunately, iPhoto has no mechanism for checking the integrity of the links - another reason I would not use iPhoto in Referenced Mode.
    You could try use an app like [FileBuddy|http://www.skytag.com> to check and repair broken aliases. However, if you continue to manage your files without reference to iPhoto then you will continue to have problems.
    Regards
    TD

  • Check for transaction interface failure from POS to POSDM

    Dear experts,
    Would like to see if in your experience, you have encountered any report or functions that allow users in POSDM to check if sales transaction from a particular store has failed to do the inbound interface from POS to POSDM?
    I am personally not aware of this, so if there is no such report based on your knowledge, would you have any workaround solution that you can suggest me?
    Thanks so much.
    Dominic

    Link for Duplication Check process: http://scn.sap.com/docs/DOC-47529
    Link for info on POS DM: http://help.sap.com/saphelp_posdm/helpdata/en/4e/9617be3aec6ea9e10000000a42189b/content.htm
    Hi Dominic,
    There are certain validation checks we have in POS DM to validate the transaction data when it comes to POS DM. These validations are like Master Data check, Duplication check, Sequence check for missing transactions and so on.
    You can find more about the same in the given link. I don't know my editor is behaving strangely so the link is on the top. I am not able to paste the links in editor links are coming on top. Might be my IE issue.
    Regarding implementing such validation in POSDM for incoming transaction you can refer my posted document for Duplication check in POSDM. From this document you will get an idea about how to implement the validation check.
    Let me know if you need any other information.
    Regards,
    Amit

  • Run adadmin option Check fo missing files returns errors

    Hi
    Run adadmin option 2. Maintain Applications Files menu
    and 5. Check for missing files
    Returns error
    Unable to verify files for iSupplier Portal.
    AD Administration error:
    The following file is missing:
    /m01/TEST/apps/apps_st/appl/pos/12.0.0/admin/driver/posfile.drv
    EBS Version:R12.1.3
    As the files are intact and existed in old server where as in production i didnot find andy files except only three files exited in POS_TOP i.e log mesg out
    as compare to old server: i.e. admin help html java log mds media mesg out patch sql xml
    Please suggest should i copy the files form old server/backup to POS_TOP
    Thanks
    Alig

    Duplicate post -- adadmin error when run check for missing files
    The other post was created on "May 11, 2011 1:10 AM" and this one on "May 11, 2011 2:08 AM" so this is the one which should be locked.
    Thanks,
    Hussein

  • Query for missing events/heart beat

    Hello Everyone,
    I am trying to monitor network packets I send to a certain specific ip address and also check if I have sent packets for that particular ip at regular intervals(something like a heartbeat). I am forwarding the network output from wireshark to a csv file and reading it at OCEP using csv adapter.
    In order to check for missing events/heart beat (this is used to check if a server responds to ping once every hour) I followed this link
    Re: CEP Timer for Non-Event and
    [http://docs.oracle.com/cd/E21764_01/doc.1111/e14476/examples.htm]
    I have configured the OCEP. This is the query I am firing
    SELECT Packets.ipdst AS ipdst,Packets.ipsrc AS ipsrc,Packets.framelen AS framelen,"Error-Missing Event" AS alertType
    from FilterNetworkPackets
    MATCH_RECOGNIZE (
    PARTITION BY ipdst
    MEASURES Ipdst_Packets.ipdst AS ipdst,
    Ipdst_Packets.ipsrc AS ipsrc,
    Ipdst_Packets.framelen AS framelen
    ALL MATCHES
    include timer events
    PATTERN( Ipdst_Packets*)
    DURATION 10 DEFINE Ipdst_Packets AS ipdst = "xx.xx.xx.xx")
    AS Packets
    I have configured heartbeat(10000) on the input channel as well.
    I get output in which some packets are repeated. I dont know how to get notification for missing events after the duration has elapsed, please help me.
    Thanks in advance
    Shilpa

    Thanks a lot for the reply Unmesh. Really appreciate it.
    ipsrc ipdst framelen/seq
    192.168.0.11     173.194.5.140     3
    192.168.0.9     239.255.255.250 4
    192.168.0.10     173.194.5.140     5
    192.168.0.9     239.255.255.250 6
    192.168.0.9     173.194.41.161     7
    192.168.0.9     173.194.41.161     8
    192.168.0.9     173.194.41.161     9
    192.168.0.9     239.255.255.25 10
    192.168.0.9     90.192.176.67     11
    192.168.0.9     87.112.197.250     12
    192.168.0.9     173.194.41.166     13
    192.168.0.9     173.194.41.166     14
    192.168.0.9     173.194.41.181     15
    192.168.0.11     173.194.5.140     16
    192.168.0.9     173.194.41.181     17
    192.168.0.9     90.192.176.67     18
    192.168.0.9     173.194.41.181     19
    192.168.0.19     173.194.5.140     20
    192.168.0.9     173.194.41.181     21
    192.168.0.9     194.168.8.100     22
    192.168.0.9     173.194.41.181     23
    This is part of the test data which consists of ipsrc,ipdst,framelen. Currently I have set framelen to sequence number for checking. I run the loadgen.cmd on this csv file. I need to check if a packet with ipdst = "173.194.5.140" arrives once every 10 sec. Give some warning if it does not arrive.
    My config file is:
    <query id="FilterCriteria"><![CDATA[
    SELECT Packets.ipdst AS ipdst, Packets.ipsrc AS ipsrc, Packets.framelen AS framelen, "Error-Missing Event" AS alertType
    from FilterNetworkPackets
    MATCH_RECOGNIZE ( PARTITION BY ipdst
    MEASURES Ipdst_Packets.ipdst AS ipdst, Ipdst_Packets.ipsrc AS ipsrc, Ipdst_Packets.framelen AS framelen
    include timer events
    PATTERN( Ipdst_Packets) DURATION 10
    DEFINE Ipdst_Packets AS ipdst = "173.194.5.140") AS Packets
    ]]></query>
    </rules>
    </processor>
    <channel>
    <name>FilterNetworkPackets</name>
    <heartbeat>100000000</heartbeat>
    </channel>
    <http-pub-sub-adapter>
              <name>alertadapter</name>
              <server-context-path>/pubsub</server-context-path>
              <channel>/packetalert</channel>
         </http-pub-sub-adapter>
    If I maintain the entry for channel, I get error from the server
    Error encountered while initializing configuration object. The configuration name, FilterNetworkPackets, is used multiple times, but configuration names must be unique within the same configuration file or application.>
    I set the heartbeat value via the visualiser. Is this wrong?
    This is the output
    {"ipsrc":"192.168.0.10","alertType":"Error-Missing Event","framelen":5,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.10","alertType":"Error-Missing Event","framelen":5,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.10","alertType":"Error-Missing Event","framelen":5,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.19","alertType":"Error-Missing Event","framelen":20,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.19","alertType":"Error-Missing Event","framelen":20,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.19","alertType":"Error-Missing Event","framelen":20,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.9","alertType":"Error-Missing Event","framelen":64,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.9","alertType":"Error-Missing Event","framelen":64,"ipdst":"173.194.5.140"}
    {"ipsrc":"192.168.0.9","alertType":"Error-Missing Event","framelen":64,"ipdst":"173.194.5.140"}
    Sometimes it repeats the packets and sometimes it does not.
    It did not display packet 3,16 which also follows the criteria. Also for the next iterations of ten seconds when the criteria fails it does not do anything. Is it possible to perform some action or notification that there was no event within that time interval?
    Thanks
    Shilpa
    Edited by: 919141 on 29-Mar-2012 07:28
    Edited by: 919141 on 29-Mar-2012 08:07

  • Blackberry Z10 stuck on 'Checking for updates'

    I got the Z10 this morning, I followed the start up bits and it told me to connect to the wifi so I connected it to my home WIFI. It went trough the installations then it's gone to a screen which says "Checking for updates" and a wheel spinning round and round. It's been like this for 20+ minutes now. I took SIM out just in case as I was unsure how to activate my SIM. Even with SIM removed, this happens and it stays on the checkingfor updates page. When SIM is inserted, it's still the same.
    It came up with "cannot connect to APN..." with some other information a few moments ago. I've removed the battery while device was on, and put the battery back in. Now it's still on the "Software update, checking for updates" page and I have no idea how to connect to my wifi. 

    Ok then I recommend reinstalling the OS with an autoloader, info on where to get them and how to do it can be found here...
    http://supportforums.blackberry.com/t5/General-BlackBerry-10-Smartphone/How-to-Reload-your-Blackberr...
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • 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>

  • Inserting blank page for ads according to datamerged field.checking for whether a variable exists on

    Let me see if I can explain what I am trying to do. I have a script which loops through pages of an indesign document. I use a for loop to do so.
    Within each page is a text frame called "Advertising" with a Y or N as the value. If the value is Y, I want to insert a blank page before the page with the advertising field. Within the for loop however, there are calls to other data fields. My issue is that when I add a blank page, and the for loop continues, it errs out because the blank page does not contain the variable fields I am using. (highlights)...
    So my question is, how can I cause the for loop to skip the newly inserted page so that the missing variable doesn't cause the script to fail?
    should I be checking whether the layer exists then doing something like:
    if(newDoc.pages.item(i).pageItems.item("CompanyHighlights").length > 0){}
    for(var i = o; i < PageLength-1; i++){
    //some kind of check to determine whether it's a blank page, or a page with the variable.
         if(newDoc.pages.item(i).pageItems.item("CompanyHighlights").length > 0){
              var highlights= newDoc.pages.item(i).pageItems.item("CompanyHighlights").contents;
              var advertising = newDoc.pages.item(i).pageItems.item("Advertising").contents;
              if(advertising == "Y")
                   //add blank page before this page

    Thanks Hans, I actually got it working last night: I had to run a double if statement to check the Master page and move the counter var to a global var, and then add 1 to the counter "i" since I was adding a page, and add 1 to the PageLength so the for loop can continue on the pages that were moved ahead a page number by adding a page...not the best solution, but it works and I'm on a deadline. Thank you for trying to help though.
    //make i a global variable
    var i = 0;
    for(i = 0; i < PageLength-1; i++){
    //define master page of current page in the loop
    var masterpage = newDoc.pages.item(i).appliedMaster.name;
    //if its C-Master, skip it
        if(masterpage  != "C-Master"){
           //if it contains the merged Advertising field add a page
          var advertising = newDoc.pages.item(i).textFrames.item("Advertising").contents;
              if(advertising == "Y")
                   //Add a page.
                   newDoc.pages.add(LocationOptions.before, newDoc.pages.item(i) );
                   newDoc.pages.item(i).appliedMaster =app.activeDocument.masterSpreads.item("C-Master");
                   i=i+1;
                   PageLength = PageLength+1;
    var masterpageAgain = newDoc.pages.item(i).appliedMaster.name;
                if(masterpageAgain  != "C-Master"){
                   var highlights=newDoc.pages.item(i).textFrames.item("CompanyHighlights").contents;

  • Page Validation - Function Returning Boolean - Check for NULL

    I have 3 Page Validations which all fire on "When Button Pressed" = "Submit".
    <br><br>
    Number 1 is of type "Item specified is NOT NULL" for "P199_BUSINESS_UNIT1".
    <br>
    Number 2 is of type "Item specified is NOT NULL" for "P199_BUSINESS_UNIT2".
    <br>
    Number 3 is of type "Function Returning Boolean" and has the following code:
    <br><br>
    IF :P199_BUSINESS_UNIT1 IS NULL   AND
       :P199_BUSINESS_UNIT2 IS NULL  THEN
        RETURN FALSE ;
    ELSE
        RETURN TRUE  ;
    END IF ;<br>
    When P199_BUSINESS_UNIT1 is NULL and P199_BUSINESS_UNIT2 is NOT NULL, I get the Error from Validation 1. Perfect.
    <br>
    When P199_BUSINESS_UNIT1 is NOT NULL and P199_BUSINESS_UNIT2 is NULL, I get the Error from Validation 2. Perfect.
    <br>
    When P199_BUSINESS_UNIT1 is NOT NULL and P199_BUSINESS_UNIT2 is NOT NULL, I don't get an Error Message. Perfect.
    <br><br>
    When P199_BUSINESS_UNIT1 is NULL and P199_BUSINESS_UNIT2 is NULL, I get Error Message 1 & 2, <strong>but nothing from 3.</strong>
    <br><br>
    If I change the code to:
    <br><br>
    IF :P199_BUSINESS_UNIT1 = '01'   AND
       :P199_BUSINESS_UNIT2 = '01'  THEN
        RETURN FALSE ;
    ELSE
        RETURN TRUE  ;
    END IF ;<br>
    and change both values to '01', I get the appropriate Error Message.
    <br><br>
    What is going on? Is there some reason I can't check for NULL in a Function Returning Boolean?

    Scott,
    <br><br>
    Instead of adding the Validations, I changed my code from:
    <br><br>
    IF :P199_BUSINESS_UNIT1 IS NULL   AND
       :P199_BUSINESS_UNIT2 IS NULL  THEN
        RETURN FALSE ;
    ELSE
        RETURN TRUE  ;
    END IF ;
    <br>to the following and got the desired results:
    <br><br>
    IF  REPLACE(:P199_BUSINESS_UNIT1,<strong>'%null'</strong> || '%',NULL) IS NULL   AND
        REPLACE(:P199_BUSINESS_UNIT2,<strong>'%null'</strong> || '%',NULL) IS NULL  THEN
        RETURN FALSE ;
    ELSE
        RETURN TRUE  ;
    END IF ;<br>
    Note that I changed the word REPLACE to upper case and the second occurrence of the word NULL to upper case to accentuate the fact that the '%null' is case sensitive, using "%NULL' does not work, it has to be "%null' in lower case.
    <br><br>
    <strong>Thanks for your help.</strong>

Maybe you are looking for

  • BAPI to Clearing in F-44

    Hi Expert's! I am looking for  a BAPI to clearing a Vendor in F-44 transaction. This BAPI must  to do a compensation of expenses in Credit Card. Someone can Help me?

  • Something wrong with APPLE CULTURE

    Apple had been having problems with iWorks for about a week.  Sept 17th to be exact.  Now these things can happen but that is a long time a system like this to be offline.  Whether its everywhere is just some places hard to tell. and Apple is not for

  • Outbound process-Picking up the file automatically

    Hi All,       In outbound processing,we have configured to get the output file in the XML format and used the EDI_PATH_CREATE_DATE_TIME  function module in WE21 to get the output file along with the time and date.We have to pick up the XML file and d

  • Not recieved my shipment

    Hello Sir/Madam, I did not recieved my Oracle success kit yet, i gave exam on 30th April 2012 and passed successfully. I checked my pearson vue account and address was correct, any ways I have added some more info to the address now. I already raised

  • How do I combine an .m2v file and an .ac3 file into a .mov file ??

    Hello, I had a question regarding Demuxing M2V and AC3 files so that they can be combined into a .mov file.  A few years ago I converted a .mov file into an .m2v and an .AC3 using Final Cut Pro. I lost the FCP Project and .mov files and only have the