Finding text and using it to extract other text

Hello,
I am trying to use the Acrobat SDK to write a Python script to do the following:
1. Search for a specific piece of text (say, "ABC"). This text is constant and will always be on the first page of the PDF document that I'm processing.
2. Next, I want to select the text that occurs next to ABC. This second text is not always the same, nor is it always of the same length.
3. Once I have select the second piece of text, I want to extract it for subsequent processing in my Python script.
4. Both ABC and the second piece of text occur in the same row of a table.
I have gotten as far as finding ABC using the AVDoc.FindText method, but I am not sure how to proceed to the next step. I would be grateful for suggestions on how to go forward.
Thanks!
mindmystique

You'd probably need to use JavaScript. However, the interface for running JavaScript is specific to VB and you might not be able to interface from other languages. Assuming you can move to VB (or part of the app in VB), you can use PageGetNthWord to retrieve each word in turn from the first page. This has nothing to do with selection, but you will get each word in turn.

Similar Messages

  • HT201210 restoring ipod and it say's can't find software and use a cd-rom if necessary. what am i supposed to do? my ipod is stuck on the connect to itunes screen and wont do anything.

    Restoring ipod and it say's can't find software and use a cd-rom if necessary. My ipod is stuck on the connect to itunes screen and wont do anything. What am i supposed to do?
    Please help, i will be very grateful

    you can do is go to ijailbreak.com then select downloads section.......scroll down and see the latest version of ipod touch second generation is available for download.....when it gets downloaded connect your iPod to itunes or keep it connected then hold option and click restore (mac) search the software by writing in search "iPod" a thing with white cube will show up if it is the file you just downloaded click it and wait for itunes to do its work......you can ask more if you are on windows

  • Activating and using 0CUSTOMER Hierarchy extraction in R3

    Dear Expert,
    Could anybody explain me about Activating and using 0CUSTOMER Hierarchy extraction in R3 and then extract to BW systems from R3 in step by step?
    Points will be assign granted
    Regards
    Sanjiv

    You can load Hierarchies (sets) from R/3 in the same as other Master Data. Just you need to create Hierarchy DataSource using Tcode BW07. Where you have to give the name of the table and field on which you created Hierarchy iin R/3.
    Also there are many standard avilable datasources also for hierarchy for which you can load Hierarchy Directly.
    Here are the step by step procedures:
    Hi,
    If you are using standard infoobject and you want to load r3 hierachy you dont have to configure any additional thing in order to load it in BW.
    The Steps are:
    1)Activate the hierarcie datasource in R3
    2)Replicate it in BW
    3)Assign the datasource for an Infosource, and make sure you select the hierarchie datasource.
    4)Active the Infosource
    5)Create Infopackage
    6)Select the desire hierachie in the infopackage(if you dont see it, click on Available Hierarchies from OLTP and select it)
    Regards
    Asigns point if useful please
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/320e3d89195c59e10000000a114084/frameset.htm
    Re: Hierarchies

  • How to run different programs and use their output in other programs

    Dear java members,
    I am trying to figure out how to get data from a file, database, or program and use that information in another
    program. Can you help please?
    I have looked through several texts and while the information is there somewhere I have not found the specific
    capabilities or examples that explain how to do this.
    I want to learn how to do this with objects.
    The specific applications I am working with are the GIS (Geographic Information System) suite of ESRI products
    such as ArcInfo and ArcView.
    I am working with simulators for hydrologeology (ground water) and other geophysical phenomenae. Programs for
    decisions and assessment of probability such as found in geostatistical analyses packages. Drawing programs
    and data manipulation programs such as spreadsheets in windows and scripting languages found in most Unix
    packages.
    I want to be proprietary platform free! I want to be accessing apps and or data wherever they are and in
    whichever form they are in or best used.
    Web techniques and protocols are where I think most of my effort will be focused.
    One of the mediums (media) that I expect to use a lot is XML.
    If I can find a simplified (generalized) explanation how this is done and how the parts fit together through and or
    with objects. If I can find references to texts and examples I will be very appreciative and very much less
    confused.
    I am interested in using the Java programming language.
    Thank you
    ctavares1

    Hello ctavares1,
    I am not quite sure that I understand what you are trying to do. The programs that you mention: ArcInfo and ArcView, are they stand alone, native, platform dependent applications? Or are they written in Java? It sounds like there are stand alone, native, platform dependent applications, that write their output to either a file or a database.
    The other piece that is puzzling me is: Do you intend to write an Applet or a Java Application? This is important because Java places several restrictions on what an Applet can do.
    There is also the question of how the data is produced. Is it produced all at once in batch or is it produced a little at a time in real time?
    These and other questions will need to be answered before you can begin designing your application. There are many tutorials dealing with opening a file or database and manipulating that data from an Applet or a Java Application, but it is a different matter all together getting data from an application.
    Here are a few tutorials on File I/O and JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    http://java.sun.com/docs/books/tutorial/essential/io/index.html
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Creating a master table and using it to populate other tables.

    Hi everyone.
    I am a novice at using Numbers and I need some direction.
    I am looking to create a master table with information for our summer camp. This table will include vital information such as name, address, etc. along with cabin assignments, tuitions received, and more.
    We will separate this information into smaller tables that different portions of that master table for specific use. Such as: names and addresses for leaders, names and tuitions for registration, etc.
    My goal is to type the information into the master table and have it update the other tables automatically. Can someone direct me how to format the master and sub tables so that this is possible?
    I would greatly appreciate it and it will greatly reduce the record-keeping time for our camp.
    Thank You!
    Roy

    Hi Roy,
    Welcome to the Numbers discussions. You are giving us a tall order, especially when we don't know your level of experience in programming spreadsheets.
    Here are a couple of basics to start the conversation...
    In normal spreadsheet programming, we Pull data from one location into another, we don't Push it or Send it. This should help you to understand that the hard work is done in the sub tables, not the master.
    You will use LOOKUP functions to pull the data to your sub tables. Download the Numbers User Guide and the Formulas and Functions User Guide and read up on them.
    In your master table, make sure you have one column that uniquely identifies each participant so it will be easy to reference that person in your sub tables.
    Regards,
    Jerry

  • Can we able to purchase ipod touch in US and use it in some other country? will there be any issues?

    Have anyone tried purchasing in US and using it in India?

    You shouldn't have any problems recharging if you have the correct recepticle conversion plug for the AC adapter you purchase in the US. I've used and charged my IPOD touch 3G in US, UK, China, Israel, Australia, Greece, Hungary, Czech Republic and several other countries including ships.

  • I DOWNLOADED THE ENGLISH DICTIONARY ADD ON - NOW HAW DO I FIND IT AND USE IT

    I am not the most tech savvy person I downloaded the American English dictionary add on. It's not on my tool bar, how do I access and use it????

    See also:
    *[[Using the spell checker]]
    *http://kb.mozillazine.org/Dictionaries
    *http://kb.mozillazine.org/Spell_checking

  • File path from find command and using POSIX

    Hi,
    I have a find command in do shell script returning output files of the form ./xyz/abc/.../...
    instead of the full path.
    I am guessing that this is the problem when I use POSIX path of one of those files. Can Applescript understand the "./" or does it need a full Unix path to convert it back?
    In that case, how do I ask find command to return the full path?
    Thanks in advance!

    >I am guessing that this is the problem when I use POSIX path of one of those files. Can Applescript understand the "./" or does it need a full Unix path to convert it back?
    You're right - AppleScript won't be able to use those paths because AppleScript has no idea of the current directory used by the shell.
    The problem is that you're defining '.' a the start point of your search.
    For each matching file find will print this start point in front of the relative path, assuming that you know where you're starting from. So the solution is to provide that path as the search start point rather than .
    For example, if your current script says:
    <pre class=command>cd /some/directory
    find . -name "*.mp3"</pre>
    You could/should rewrite this as:
    <pre class=command>find /some/directory -name "*.mp3"</pre>
    in the second case all matches would include the full path including the /some/directory part.
    If you can't predict what your search directory will be you can write your find like this:
    <pre class=command>find `pwd` -name "*.mp3"</pre>
    which will fill in the current directory (via pwd at the time the search is executed and will output full paths that AppleScript can work with.

  • [Solved]Pacman can't find steam(and yes I read the other topics)

    To make it short, pacman really can't find steam.
    Options I tried:
    pacman -S steam
    pacman -Sy steam
    pacman -Syyu steam
    pacman -Ss steam
    And still got nothing.
    Here's my last attempt at it:
    $ sudo pacman -Syyu steam
    :: Synchronizing package databases...
    core                     112.7 KiB  49.9K/s 00:02 [######################] 100%
    extra                   1763.0 KiB  30.5K/s 00:58 [######################] 100%
    community                  2.3 MiB  74.2K/s 00:31 [######################] 100%
    error: target not found: steam
    Notes: I'm running arch on a VBox. Sorry if I sound cocky or anything but maybe it's my lack of sleep over this particular problem. Yes, I uncommented the multilib repo in pacman.conf.
    Anyone got any ideas?
    Last edited by Jackoz530 (2014-08-11 14:20:02)

    lucke wrote:Maybe you have failed to uncomment the multilib repo properly, as your output doesn't show its synchronizing.
    This worked for me. Found steam in the multilib repo when I properly uncommented the repo.
    Though it's weird that steam can't be found in the community repo, only in the multilib repo.
    $ pacman -Ss steam
    multilib/steam 1.0.0.48-1
    Digital distribution client bootstrap package
    Pacman.conf is as follows:
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    I'm currently grabbing the steam in the multilib repo and gonna test it once I finished grabbing it.

  • Querying on a value and using that to pull other data in the same query

    I am having some issues pulling the correct data in a query. There is a table that houses application decision data that has a certain decision code in it, WA, for a particular population of applicants. These applicants also may have other records in the same table with different decision codes. Some applicants do NOT have WA as a decision code at all. What I need to do is pull anyone whose maximum sequence number in the table is associated with the WA decision code, then list all other decision codes that are also associated with the same applicant. These do not necessarily need pivoted, so long as I can pull all the records for a person whose highest sequence number is associated with WA and all of the other decision codes for that applicant for the same term code and application number also appear as rows in the output.
    I do not have the rights in Oracle to create tables, so please pardon if this code to make the table is incorrect or doesn't show up here as code. This is not the entire SARAPPD table framework, just the pertinent columns, along with some data to put in them.
    DROP TABLE SARAPPD;
    CREATE TABLE SARAPPD
    (PIDM              NUMBER(8),
    TERM_CODE_ENTRY   VARCHAR2(6 CHAR),
    APDC_CODE         VARCHAR2(2 CHAR),
    APPL_NO        NUMBER(2),
    SEQ_NO             NUMBER(2));
    INSERT INTO SARAPPD VALUES (12345,'201280','WA',1,4);
    INSERT INTO SARAPPD VALUES (12345,'201280','RE',1,3);
    INSERT INTO SARAPPD VALUES (12345,'201280','AC',1,2);
    INSERT INTO SARAPPD VALUES (23456,'201280','RE',1,2);
    INSERT INTO SARAPPD VALUES (23456,'201280','WA',1,3);
    INSERT INTO SARAPPD VALUES (23456,'201280','SC',1,1);
    INSERT INTO SARAPPD VALUES (34567,'201280','AC',1,1);
    INSERT INTO SARAPPD VALUES (45678,'201210','AC',2,1);
    INSERT INTO SARAPPD VALUES (45678,'201280','AC',1,2);
    INSERT INTO SARAPPD VALUES (45678,'201280','WA',1,3);
    INSERT INTO SARAPPD VALUES (56789,'201210','SC',1,2);
    INSERT INTO SARAPPD VALUES (56789,'201210','WA',1,3);
    COMMIT;I have attempted to get the data with a query similar to the following:
    WITH CURR_ADMIT AS
          SELECT   C.SEQ_NO "CURR_ADMIT_SEQ_NO",
                            C.PIDM "CURR_ADMIT_PIDM",
                            C.TERM_CODE_ENTRY "CURR_ADMIT_TERM",
                            C.APDC_CODE "CURR_ADMIT_APDC",
                            C.APPL_NO "CURR_ADMIT_APPNO"
                              FROM SARAPPD C
                              WHERE C.TERM_CODE_ENTRY IN ('201210','201280')
                              AND C.APDC_CODE='WA'
                             AND C.SEQ_NO=(select MAX(d.seq_no)
                                                   FROM   sarappd d
                                                   WHERE   d.pidm = C.pidm
                                                   AND d.term_code_entry = C._term_code_entry)
    select sarappd.pidm,
           sarappd.term_code_entry,
           sarappd.apdc_code,
           curr_admit.CURR_ADMIT_SEQ_NO,
           sarappd.appl_no,
           sarappd.seq_no
    from sarappd,curr_admit
    WHERE sarappd.pidm=curr_admit.PIDM
    and sarappd.term_code_entry=curr_admit.TERM_CODE_ENTRY
    AND sarappd.appl_no=curr_admit.APPL_NOIt pulls the people who have WA decision codes, but does not include any other records if there are other decision codes. I have gone into the user front end of the database and verified the information. What is in the output is correct, but it doesn't have other decision codes for that person for the same term and application number.
    Thanks in advance for any assistance that you might be able to provide. I am doing the best I can to describe what I need.
    Michelle Craig
    Data Coordinator
    Admissions Operations and Transfer Systems
    Kent State University

    Hi, Michelle,
    903509 wrote:
    I do not have the rights in Oracle to create tables, so please pardon if this code to make the table is incorrect or doesn't show up here as code. This is not the entire SARAPPD table framework, just the pertinent columns, along with some data to put in them. You really ought to get the necessary privileges, in a schema that doesn't have the power to do much harm, in a development database. If you're expected to develop code, you need to be able to fabricate test data.
    Until you get those privileges, you can post sample data in the form of a WITH clause, like this:
    WITH     sarappd    AS
         SELECT 12345 AS pidm, '201280' AS term_code_entry, 'WA' AS apdc_code , 1 AS appl_no, 4 AS seq_no     FROM dual UNION ALL
         SELECT 12345,           '201280',                    'RE',               1,             3                 FROM dual UNION ALL
         SELECT 12345,           '201280',                  'AC',            1,          2               FROM dual UNION ALL
    ... I have attempted to get the data with a query similar to the following:
    WITH CURR_ADMIT AS
          SELECT   C.SEQ_NO "CURR_ADMIT_SEQ_NO",
    C.PIDM "CURR_ADMIT_PIDM",
    C.TERM_CODE_ENTRY "CURR_ADMIT_TERM",
    C.APDC_CODE "CURR_ADMIT_APDC",
    C.APPL_NO "CURR_ADMIT_APPNO"
    FROM SARAPPD C
    WHERE C.TERM_CODE_ENTRY IN ('201210','201280')
    AND C.APDC_CODE='WA'
    AND C.SEQ_NO=(select MAX(d.seq_no)
    FROM   sarappd d
    WHERE   d.pidm = C.pidm
    AND d.term_code_entry = C._term_code_entry)
    Are you sure this is what you're actually running? There are errors. such as referencing a column called termcode_entry (starting with an underscore) at the end of the fragment above. Make sure what you post is accurate.
    Here's one way to do what you requested
    WITH     got_last_values  AS
         SELECT  sarappd.*     -- or list all the columns you want
         ,     FIRST_VALUE (seq_no)    OVER ( PARTITION BY  pidm
                                        ORDER BY      seq_no     DESC
                                  )           AS last_seq_no
         ,     FIRST_VALUE (apdc_code) OVER ( PARTITION BY  pidm
                                        ORDER BY      seq_no     DESC
                                  )           AS last_apdc_code
         FROM    sarappd
         WHERE     term_code_entry     IN ( '201210'
                           , '201280'
    SELECT     pidm
    ,     term_code_entry
    ,     apdc_code
    ,     last_seq_no
    ,     appl_no
    ,     seq_no
    FROM     got_last_values
    WHERE     last_apdc_code     = 'WA'
    ;Don't forget to post the results you want from the sample data given.
    This is the output I get from the sample data you posted:
    `     PIDM TERM_C AP LAST_SEQ_NO    APPL_NO     SEQ_NO
         23456 201280 WA           3          1          3
         23456 201280 RE           3          1          2
         23456 201280 SC           3          1          1
         45678 201280 WA           3          1          3
         45678 201280 AC           3          1          2
         45678 201210 AC           3          2          1
         56789 201210 WA           3          1          3
         56789 201210 SC           3          1          2I assume that the combination (pidm, seq_no) is unique.
    There's an analytic LAST_VALUE function as well as FIRST_VALUE. It's simpler (if less intuitive) to use FIRST_VALUE in this problem because of the default windowing in analytic functions that have an ORDER BY clause.

  • How to read internal table data and use to retrive from other table.

    Hi all,
        I am trying to generate a report using ooabap.
    In this scenario, I retrieved data from one standard table (zcust) and successfully displayed using structure 'i_zcust_final' ( i_zcust_final is similar structure of zcust).  
        Now I want to get some other data from other standard table  (zpurch) using the data in i_zcust_final. How....???? I am unable to read data from i_zcust_final even i kept in loop.
        I am attaching the code here.. even it too long, please look at the code and suggest me what to do.
    code  **************************
    REPORT  ZBAT_OOPS_REPORT1.
    TABLES: ZCUST.
        D E F I N I T I O N     *****
    CLASS BATLANKI_CLS DEFINITION.
      PUBLIC SECTION.
      DATA : ITAB_ZCUST TYPE STANDARD TABLE OF ZCUST,
             I_ZCUST_FINAL LIKE LINE OF ITAB_ZCUST,
             ITAB_ZCUST1 TYPE STANDARD TABLE OF ZCUST.
      TYPES: BEGIN OF IT_ZPURCH,
              CUSTNUM   TYPE ZPURCH-CUSTNUM,
              PURC_DOC  TYPE ZPURCH-PURC_DOC,
              VENDOR    TYPE ZPURCH-VENDOR,
              STATUS    TYPE ZPURCH-STATUS,
              PURC_ORG  TYPE ZPURCH-PURC_ORG,
            END OF IT_ZPURCH.
      DATA : ITAB_ZPURCH TYPE TABLE OF IT_ZPURCH,
             I_ZPURCH_FINAL LIKE LINE OF ITAB_ZPURCH.
      METHODS: GET_ZCUST,
               PRINT_ZCUST,
               GET_ZPURCH.
    ENDCLASS.
    I N I T I A L I Z T I O N   *****
        SELECT-OPTIONS:S_CUSNUM FOR ZCUST-CUSTNUM.
    INITIALIZATION.
    S_CUSNUM-LOW = '0100'.
    S_CUSNUM-HIGH = '9999'.
    S_CUSNUM-OPTION = 'BT'.
    S_CUSNUM-SIGN   = 'I'.
    APPEND S_CUSNUM.
    CLEAR S_CUSNUM.
    I M P L E M E N T A T I O N *****
    CLASS BATLANKI_CLS IMPLEMENTATION.
      METHOD GET_ZCUST.
      SELECT * FROM ZCUST
        INTO TABLE ITAB_ZCUST
       WHERE CUSTNUM IN S_CUSNUM.
    ENDMETHOD.
      METHOD PRINT_ZCUST.
       LOOP AT ITAB_ZCUST INTO I_ZCUST_FINAL.
       WRITE:/ I_ZCUST_FINAL-CUSTNUM,
               I_ZCUST_FINAL-CUSTNAME,
               I_ZCUST_FINAL-CITY,
               I_ZCUST_FINAL-EMAIL.
       ENDLOOP.
      ENDMETHOD.
       METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
      SELECT CUSTNUM
             PURC_DOC
             VENDOR
             STATUS
             PURC_ORG
        FROM ZPURCH
        INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
        WHERE CUSTNUM EQ I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
         LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
         WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
                 I_ZPURCH_FINAL-PURC_DOC,
                 I_ZPURCH_FINAL-VENDOR,
                 I_ZPURCH_FINAL-STATUS,
                 I_ZPURCH_FINAL-PURC_ORG.
         ENDLOOP.
    ENDMETHOD.
    ENDCLASS.
      O B J E C T   *****
    DATA: BATLANKI_OBJ TYPE REF TO BATLANKI_CLS.
    START-OF-SELECTION.
    CREATE OBJECT BATLANKI_OBJ.
    CALL METHOD:
                 BATLANKI_OBJ->GET_ZCUST,
                 BATLANKI_OBJ->PRINT_ZCUST,
                 BATLANKI_OBJ->GET_ZPURCH.
    Can anyone suggest me..
      Thanks in advance,
      Surender.

    Hi Surendar..
    There is mistake in the Work area specification in this method.
    METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
    LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
    WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
    I_ZPURCH_FINAL-PURC_DOC,
    I_ZPURCH_FINAL-VENDOR,
    I_ZPURCH_FINAL-STATUS,
    I_ZPURCH_FINAL-PURC_ORG.
    ENDLOOP.
    ENDMETHOD.
    Now it should work..
    One more thing : From performance point of view you have to Replace that loop using FOR ALL ENTRIES . And avoid CORRESPONDING FIELDS. it will be slow.
    This is the code.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    if ITAB_ZCUST[] IS NOT INITIAL.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO TABLE ITAB_ZPURCH
    <b>for all entries in ITAB_ZCUST1</b>
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDIF.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • On a Mac w/ Lion 10.7.2 - Firefox 7.0.1 doesn't see (so can't use) the Quicktime Plugin (it is in the Internet plugin folder in the Library folder and Safari does find it and use it) Any thoughts on getttig it to work w/ Firefox?

    trying to play the ads on the Apple website get a message that I need quicktime
    http://www.apple.com/ipad/videos/#play-guided-tours-ads

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • Add Row Number and use it to calculate other column

    Hi,
    I have below query which I am using to generate a report.
    Select (count(I.Colour)*3) as TotLitres, (count( distinct P.description)) as NumOfMachine,
    (count(I.Colour)*3)/(count( distinct P.description)) as AverageLiter,
    DATEName(MONTH,ShipDate) + ' ' + convert(varchar,DATEPART(year, shipDate)) as [Loaded Date],
    (count(I.Colour)*3)+ ((count(I.Colour)*3)/(count( distinct P.description)))* 4 as FutureSales
    from DATATab I inner join Inktab P on I.SerialNum =P.SerialNum
    where
    I.Colour in ('Cyan','Magenta','Yellow','Black','Light Cyan','Light Magenta','Light Yellow','Light Black','Orange','White','Matte Black')
    and I.ShipDate between dateadd(YY,-1,getdate()) and dateadd(YY,-1,dateadd(mm,6,getdate()))
    group by DATEPART(year, shipDate),DATEName(MONTH,ShipDate),DATEPART(MONTH, shipDate)
    order by DATEPART(year, shipDate),DATEPART(MONTH, shipDate)
    Now I want to add two more columns to my select statement.
    1. Row count
    2. AverageLiter * Row count
    Can someone please guide me on how i can achive that.
    Thanks in advance .

    select *,(v.Row*v.AverageLiter) as Calculatedvalue  from (
    Select ROW_NUMBER() 
            OVER (ORDER BY [CreateDate]) AS Row, (count(I.Colour)*3) as TotLitres, (count( distinct P.description)) as NumOfMachine,
    (count(I.Colour)*3)/(count( distinct P.description)) as AverageLiter,
    DATEName(MONTH,ShipDate) + ' ' +  convert(varchar,DATEPART(year, shipDate)) as [Loaded Date],
    (count(I.Colour)*3)+ ((count(I.Colour)*3)/(count( distinct P.description)))* 4 as FutureSales
    from DATATab I inner join Inktab P on I.SerialNum =P.SerialNum 
    where 
     I.Colour in ('Cyan','Magenta','Yellow','Black','Light Cyan','Light Magenta','Light Yellow','Light Black','Orange','White','Matte Black') 
    and I.ShipDate between dateadd(YY,-1,getdate())   and dateadd(YY,-1,dateadd(mm,6,getdate()))  
    group by DATEPART(year, shipDate),DATEName(MONTH,ShipDate),DATEPART(MONTH, shipDate)
     order by DATEPART(year, shipDate),DATEPART(MONTH, shipDate) ) v
    please mark as answered if it helps :)

  • HT1695 Ipad will not find wireless networks that it used yesterday, but MacBook Pro still finds and uses these networks.

    Our ipad will not find wireless networks that it used yesterday.   Our Mac Book Pro finds them and uses them.   
    we have reset the cable modem and wireless router, turned off the ipad and turned it back on.   Turned wireless off and back on.
    but it just spins trying to find networks but finds none.
    What do do next?

    Settings for wireless network connections are actually stored in two separate places on your Mac, so in addition to the correct advice offered by Jolly Giant, you will also need to delete old network listings in KeyChain Access.
    Macintosh HD > Applications > Utilities > KeyChain Access
    Locate the name of the wireless network that you want to delete and click it to highlight it
    Click Delete on your keyboard
    It would be a good idea to go ahead and also delete the current connection as well in case it has become corrupted. This will clear out the old settings and when you next connect to the network and enter the password, the new settings will be preserved.

  • Finding text on web pages in Safari on iOS

    A big drawback to using Safari on iOS is the inability to use a Find option to locate text on an open web page. If I'm reading a long article in Wikipedia, or any page with a lot of information on it, and I need to see specific text in the context of the whole article or page, that Find feature is as vital on Safari iOS as it is on browsers on Mac OSX or Windows. In fact, sometimes I retreat to my Mac just to do those page searches. This glaring omission was on iOS3, and, as far as I know, it remains on iOS7. I can't imagine Apple not trying to implement this feature, so there must be a big coding problem in iOS that prevents it's implementation.
    Does anyone know of any way to accomplish the Find function in Safari iOS or any other iOS browser?
    (NOTE: This is different from the Search field found on most websites.)

    A big drawback to using Safari on iOS is the inability to use a Find option to locate text on an open web page.
    What drawback? That feature has been there for years.
    This glaring omission was on iOS3, and, as far as I know, it remains on iOS7.
    Nope, no glaring omission. It's been there in iOS 6.x, and iOS 5.x and iOS 4.2+
    I can't imagine Apple not trying to implement this feature, so there must be a big coding problem in iOS that prevents it's implementation.
    No coding problem. It was implemented a long, long time ago.
    The problem is your inability to find and use included features.

Maybe you are looking for

  • Open & Run Everything Commands?

    Well ... I hadn't been aware that there was such a command, but there appears to be. Or, if not a command, then a set of keystrokes that you can make that leaves you there. Background: I was busy, getting a phone call and looking up something on the

  • Problem with TableModelEvent  in JClient

    Hi, I have created a master-detail Jclient. The detail is implemented as a JTable. When a new record is inserted in the JTable, by the user, some values from the master on the screen must be filled in as a default in the new detail record. For achiev

  • Making drop down menu for entry fields in database

    <%@ page language="java" contentType="text/html" %> <%@ page import="java.io.*" %> <%@ page import="java.math.*" %> <%@ page import="java.util.*" %> <%@ include file="/global/util.inc" %> <%@ include file="/global/user_session.jsp" %> <%@ include fil

  • Apple Mail didn't automatically get eMails when server changed

    Our company (primarily PC and using Outlet for eMail) changed from the internal server of    webmail.abc.com   to    webmail.xyz.com   (not the actual ones of course) -- and my 1400 INBOX eMails and 735 SEND eMails were gone-- only the most recent on

  • Reassigning IPv6 temporary address when it receives router advertisements

    Hi everybody. I've just met a problem with IPv6 connectivity. *My environment* I list my environment that I tested as follows. 1. MacBook Pro (A) OS Version: 10.6.4 Card Type: AirPort Extreme (0x14E4, 0x93) Firmware Version: Broadcom BCM43xx 1.0 (5.1