CONVERT_ABAPSPOOLJOB_2_PDF gives a diff result depending how it is run

I will appoligize in advance for the lenght of this post, I just wanted to give enough details to be able present my problem.
CONVERT_ABAPSPOOLJOB_2_PDF seems to give different reults when run in the foreground or background
We have an old report that was designed to run in the foreground it is a multi step process:
enter selection screen criteria
build an internal table of data
produce a report
if the result is good
  the user saves the report as a PDF manually
  the user clicks a button to Build and Execute a BDC
  loop through the internal table
     write data a data set
     build an internal table for errors
     write a report with the errors
     submit another progam that reads the data set and builds the BDC
Now without making any major design changes they want this report changed to be able to either run in the foreground without any user intervention or to be able to run in the background.
Foreground:
I have been able to:
- open/close the spool
- write to the spool
- convert the spool to PDF using Function CONVERT_ABAPSPOOLJOB_2_PDF
- download the file PDF to the local drive using Function 'DOWNLOAD'
Background:
I have been able to:
- write to the spool
- convert the spool to PDF using Function CONVERT_ABAPSPOOLJOB_2_PDF
- write the PDF file to the UNIX server THIS HAD TO BE DONE PROGAMATICALLY
If I run the same program with the same selection criteria in the foreground and background and I go into the SP02 and look at the spool they are identical.
Problem:
CONVERT_ABAPSPOOLJOB_2_PDF seems to give different reults when run in the foreground or background
- the byte count
    Foreground - 14,935
    Background - 12,217
- the PDF result is different
    Foreground - looks the same as the spool
    Background - does not contain the error section
In the program I have do different things if I'm running in the foreground or background, but I'm using the same call to Function CONVERT_ABAPSPOOLJOB_2_PDF and the spool from either run looks the same.
I have read in the forumn's that I function DOWNLOAD only works in the foreground.  OK so I had to write my own code to parse through the PDF table.
Does anyone know why the result from CONVERT_ABAPSPOOLJOB_2_PDF would be different.
Thanks for taking the time to read this.
Jerry

I believe I have figured it out.
- I put a breakpoint at the call to CONVERT_ABAPSPOOLJOB_2_PDF
- ran the program in the foreground
- just prior to the call to CONVERT_ABAPSPOOLJOB_2_PDF I looked at the spool and it did not have the last page
- execute CONVERT_ABAPSPOOLJOB_2_PDF byte count is 14,935
- execute the rest of the program
- look at the spool it now shows the last page
- look at the PDF it matches the spool
It appears that the last page of the spool may be buffered and may only show up in the spool when the program completes.
It also appears that when CONVERT_ABAPSPOOLJOB_2_PDF is run in the foregound it includes the buffered spool information, but when CONVERT_ABAPSPOOLJOB_2_PDF is run in the background it does not.
I added a 'NEW-PAGE' line after the last line in the report now the last page comes out when run in either the foreground or the background.
Jerry

Similar Messages

  • How can I run a BW Function from EXCEL-IN-PLACE (BPS)??? Please give any ex

    How can I run a BW Function from EXCEL-IN-PLACE (BPS)using VBA??? Please give any example.
    I would like to run my function module ZMY from EXCEL-IN-PLACE using VBA and get a result.

    if you are using excel in place in the web application environment I doubt you can, you've never really had any macro functionalty there.
    If you are in the gui environemnt (Planning folders) it will depend on how you want to invoke the module...

  • Alter a BAPI Result Table, how to get into the display "loop" ?

    Hello all,
    i have a problem regarding the result rows of a RFC/BAPI Call.
    There are three views, let's say 1,2,3. In View 1, i call a BAPI, and display the results in a table in View 2. I added a button in each row, which calls View 3 and displays some details concerning the selected row.
    I now want to store a flag for each row, that has been displayed in this way.
    In View 3 i store the key value of the displayed row in an own value node in the context.
    When i go back from View 3 to View 2, i want to see that flag (in an extra column) in every row, that has been selected in this session.
    So i do not know, how to alter a single row in the BAPI result table, how to get into the "loop" that is used by WD to display the table.
    already tried a supply function, but i was not able to alter single rows.
    Any suggestions/tips or perhaps code fragments of working supply functions ?
    Thank you !

    Hello,
    I'm not sure whether I understood your problem correctly, but I will try to give an answer.
    The easiest way I see is to copy the RFC Results to a Component Controller Context structure with an additional Flag field. You can use WDCopyService for copying.
    Then on the event of selecting you set your flag as appropriate for you (e.g. if you want to use an image as flag you set the Image path) on the current element of your table. Then display View 3.
    On going back View 2 should show now the new flag values...
    The trick is to copy the values (as at Time structures can not be expandend with new fields) and set the Flag on the onSelect event.
    Hope this helps,
    Frank

  • Oracle gives an inconsistent result. what am I supposed to do?

    I was very upset with Oracle XML DB after I found that Oracle didn't give a consistent result.
    I guess my Oracle XML DB didn't fully installed.
    I got an help from Geoff Lee
    his xquery
    select xmlquery('declare namespace xbrli1="http://www.xbrl.org/2003/instance" ;
    declare namespace iso4217="http://www.xbrl.org/2003/iso4217";
    let $in-xml :=
    <noNamespace>
    <xbrli:prefixed xmlns:xbrli="http://www.xbrl.org/2003/instance">
    <unprefixed>testing</unprefixed>
    </xbrli:prefixed>
    </noNamespace>
    return name($in-xml//xbrli1:prefixed)' returning content).getStringVal() from dual
    gives me errors with Oracle 10g 10.2.0.3.0 in SunOS 5.8 sun4u sparc SUNW,Netra-T12
    SQL> select xmlquery('declare namespace xbrli1="http://www.xbrl.org/2003/instance" ;declare namespace iso4217="http://www.xbrl.org/2003/iso4217";let $in-xml := <noNamespace> <xbrli:prefixed xmlns:xbrli="http://www.xbrl.org/2003/instance"> <unprefixed>testing</unprefixed> </xbrli:prefixed></noNamespace>return name($in-xml//xbrli1:prefixed)' returning content).getStringVal() from dual
    ORA-19112: 평가 중 오류 발생:
    ORA-06550: 줄 1, 열13:PLS-00201: 'SYS.DBMS_XQUERYINT' 식별자가 정의되어야 합니다
    ORA-06550: 줄 1, 열7:PL/SQL: Statement ignored
    but gives me correct answer expected with Oracle 10g 10.2.0.1.0 in Windows XP
    SQL> select xmlquery('declare namespace xbrli1="http://www.xbrl.org/2003/instance" ;
    declare namespace iso4217="http://www.xbrl.org/2003/iso4217";
    let $in-xml :=
    <noNamespace>
    <xbrli:prefixed xmlns:xbrli="http://www.xbrl.org/2003/instance">
    <unprefixed>testing</unprefixed>
    </xbrli:prefixed>
    </noNamespace>
    return name($in-xml//xbrli1:prefixed)' returning content).getStringVal() from dual;
    XMLQUERY('DECLARENAMESPACE...
    xbrli:prefiexd
    1 rows selected
    I asked Oracle technical support team to come , what am I supposed to ask them to fix the problem?
    I have things to ask.
    this query works fine.
    select extract( value(it),
    '/krfr-pte:*',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ).getStringVal() as output
    from XBRLO r,
    table (
    xmlsequence(
    extract(object_value,
    '/xbrli:xbrl/krfr-pte:*[@contextRef="D20070331_001097"]',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ) it
    where existsnode(object_value,
    '//xbrli:identifier[.="001097"]',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ) > 0 and rownum < 10
    please focus on extracting element with prefix , krfr-pte:*.
    But this kind of xpath failed with Xquery , it's weird.
    I tested this xquery with both CLOB based XBRLC, Object-relational XBRLO table, both ot them failed.
    select XMLQuery('
    declare namespace xdb="http://xmlns.oracle.com/xdb/XDBResource.xsd";
    declare namespace xbrli="http://www.xbrl.org/2003/instance" ;
    declare namespace iso4217="http://www.xbrl.org/2003/iso4217";
    declare namespace kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09";
    declare namespace kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09";
    declare namespace kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09";
    declare namespace kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09";
    declare namespace kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09";
    declare namespace kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario";
    declare namespace kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31";
    declare namespace krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31";
    declare namespace krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31";
    declare namespace link="http://www.xbrl.org/2003/linkbase";
    declare namespace p0="http://www.xbrl.or.kr/2006/role/subitem-notes";
    declare namespace xlink="http://www.w3.org/1999/xlink";
    for $item in $doc/xbrli:xbrl/krfr-pte:*
    return $item'
    PASSING o.OBJECT_VALUE as "doc"
    RETURNING CONTENT).getClobVal() as output FROM XBRLO o
    WHERE existsnode(object_value,
    '//xbrli:identifier[.="001097"]',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ) > 0 and rownum < 10
    I definitely believe this xquery is correct, I checked it out with XMLSPY which gave me correct answer.
    and CLOB table XBRLC, Object-relational table XBRLO
    They behaved differently with same xquery that made me frustrated a lot.
    I changed xquery with prefix krfr-pte: and applied it to XBRLC (Clob based)
    it made a correct answer.
    SQL> select XMLQuery('
    declare namespace xdb="http://xmlns.oracle.com/xdb/XDBResource.xsd";
    declare namespace xbrli="http://www.xbrl.org/2003/instance" ;
    declare namespace iso4217="http://www.xbrl.org/2003/iso4217";
    declare namespace kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09";
    declare namespace kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09";
    declare namespace kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09";
    declare namespace kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09";
    declare namespace kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09";
    declare namespace kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario";
    declare namespace kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31";
    declare namespace krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31";
    declare namespace krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31";
    declare namespace link="http://www.xbrl.org/2003/linkbase";
    declare namespace p0="http://www.xbrl.or.kr/2006/role/subitem-notes";
    declare namespace xlink="http://www.w3.org/1999/xlink";
    for $item in $doc/xbrli:xbrl/*
    return $item'
    PASSING o.OBJECT_VALUE as "doc"
    RETURNING CONTENT).getClobVal() as output FROM XBRLC o
    WHERE existsnode(object_value,
    '//xbrli:identifier[.="001097"]',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ) > 0 and rownum < 10;
    OUTP
    <link:schemaRef xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="http://www.xbrlkorea.com/taxonomies/kr/kisinfo/fr/application/ci/2007-02-09/kisinfo-ci-std-2007-02-09.xsd" xlink:type="simple"/>
    <xbrli:context xmlns:xbrli="http://www.xbrl.org/2003/instance" id="I20070331_001097">
    <xbrli:entity>
    this time , I tried it with XBRLO - Object-relational
    SQL>trucate table XBRLO;
    SQL>insert into XBRLO select OBJECT_VALUE from XBRLC;
    SQL> select XMLQuery('
    declare namespace xdb="http://xmlns.oracle.com/xdb/XDBResource.xsd";
    declare namespace xbrli="http://www.xbrl.org/2003/instance" ;
    declare namespace iso4217="http://www.xbrl.org/2003/iso4217";
    declare namespace kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09";
    declare namespace kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09";
    declare namespace kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09";
    declare namespace kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09";
    declare namespace kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09";
    declare namespace kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario";
    declare namespace kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31";
    declare namespace krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31";
    declare namespace krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31";
    declare namespace link="http://www.xbrl.org/2003/linkbase";
    declare namespace p0="http://www.xbrl.or.kr/2006/role/subitem-notes";
    declare namespace xlink="http://www.w3.org/1999/xlink";
    for $item in $doc/xbrli:xbrl/*
    return $item'
    PASSING o.OBJECT_VALUE as "doc"
    RETURNING CONTENT).getClobVal() as output FROM XBRLO o
    WHERE existsnode(object_value,
    '//xbrli:identifier[.="001097"]',
    'xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:kisinfo-ci="http://www.xbrlkorea.com/kr/kisinfo/fr/gaap/ci/2007-02-09" xmlns:kisinfo-ci-std="http://www.xbrlkorea.com/fr/kisinfo/fr/application/ci/2007-02-09" xmlns:kisinfo-gcd="http://www.xbrlkorea.com/kr/kisinfo/fr/gcd/2007-02-09" xmlns:kisinfo-profile="http://www.xbrlkorea.com/kr/kisinfo/fr/profile/2007-02-09" xmlns:kisinfo-ratio="http://www.xbrlkorea.com/kr/kisinfo/fr/ratio/2007-02-09" xmlns:kisinfo-scenario="http://www.xbrlkorea.com/kr/kisinfo/fr/common/scenario" xmlns:kr-gaap-ci="http://www.xbrl.or.kr/kr/fr/gaap/ci/2006-05-31" xmlns:krfr-pte="http://www.xbrl.or.kr/kr/fr/common/pte/2006-05-31" xmlns:krfr-ptr="http://www.xbrl.or.kr/kr/fr/common/ptr/2006-05-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:p0="http://www.xbrl.or.kr/2006/role/subitem-notes" xmlns:xlink="http://www.w3.org/1999/xlink"'
    ) > 0 and rownum < 10;
    OUTP
    0 rows selected.
    How could I do with inconsistent result .
    I'm really in trouble . please get me out !!

    These look bugs to me. Please work with Oracle support to file TARs with these problems. In the meantime, does extract() with XPath meet your needs?
    Regards,
    Geoff

  • My IPod Touch 4 Gen will not respond and when I try to Restore it it gives me a code 1601 how do I fix it?

    My IPod Touch 4th gen will not respond and when I try to restore it, it gives me a code 1601 how do I fix it?

    - Try another USB port.
    - Try on another computer
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • Report obsolete returns diff results when backups are UNAVAIL vs AVAIL

    Hello from Nova Scotia, Canada:
    I'm wondering if someone out there who lives and breaths rman (10gR2) for a living can shed some light...
    We are finding that report obsolete (as well as delete obsolete) are returning different results depending on if our backups
    are AVAILABLE or UNAVAILABLE.
    In our shop, our backups are changed to UNAVAILABLE because they get moved to a different location later, but delete
    obsolete doesn't seem to work as expected unless the backups are AVAILABLE.
    I am pasting some output below to demonstrate my point. Basically, in the output you are about to see, I'm showing you
    my retention policy and I'm listing the backups that I have (and you can see their status is "A" for available). Then I do a
    'report obsolete' command to show you what is considered obsolete (3 files are - which is what I expected). Then I change
    all my backups to unavailable. Then I list all my backups again and show you that their status has changed to "U" for unavailable.
    Then I do 'report obsolete' again and as you can see, I get different results! Can someone explain this to me?? I have RTFManuals
    and no where does it say that availability is a factor that can impact determining what is obsolete. You also see in the output
    below what version we're using (10.2.0.4.0) and that we are using a recovery catalog.
    If someone would like to see additional information, feel free to ask, I'm more than happy to help you help me.
    I should also mention this is a 2 node rac on linux.
    Many Thanks.
    ========================================================
    $ rman target / catalog rrc/rg@RRC
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue May 11 22:06:21 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: IPCSD (DBID=1703825384)
    connected to recovery catalog database
    RMAN> show retention policy;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64093   B  F  A DISK        05/10/2010 03:06:52 2       1       NO         HOTBKUP201005100300_DB
    64122   B  A  A DISK        05/10/2010 03:08:41 1       1       NO         HOTBKUP201005100300_ARCHLOGS
    64361   B  F  A DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  A DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  A DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  A DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  A DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  A DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 1 days
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64093  05/10/2010 03:06:51
      Backup Piece       64097  05/10/2010 03:06:51 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_2_CP_1_DB
    Backup Set           64093  05/10/2010 03:04:01
      Backup Piece       64096  05/10/2010 03:04:01 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_1_CP_1_DB
    Backup Set           64122  05/10/2010 03:08:41
      Backup Piece       64125  05/10/2010 03:08:41 /oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1351_PC_1_CP_1_ARCHLOGS
    RMAN> change backup unavailable;
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_1_CP_1_DB recid=1533 stamp=718599624
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1349_PC_2_CP_1_DB recid=1534 stamp=718599846
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005100300/RMAN_HOTBKUP_IPCSD_201005100300_BS_1351_PC_1_CP_1_ARCHLOGS recid=1536 stamp=718600043
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1354_PC_1_CP_1_DB recid=1539 stamp=718667376
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1354_PC_2_CP_1_DB recid=1540 stamp=718667600
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB recid=1541 stamp=718667797
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1356_PC_1_CP_1_ARCHLOGS recid=1542 stamp=718667821
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1357_PC_1_CP_1_DB recid=1543 stamp=718686020
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1357_PC_2_CP_1_DB recid=1544 stamp=718686253
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1358_PC_1_CP_1_DB recid=1545 stamp=718686430
    changed backup piece unavailable
    backup piece handle=/oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1359_PC_1_CP_1_ARCHLOGS recid=1546 stamp=718686452
    Changed 11 objects to UNAVAILABLE status
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64093   B  F  U DISK        05/10/2010 03:06:52 2       1       NO         HOTBKUP201005100300_DB
    64122   B  A  U DISK        05/10/2010 03:08:41 1       1       NO         HOTBKUP201005100300_ARCHLOGS
    64361   B  F  U DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  U DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  U DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  U DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  U DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  U DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 1 days
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64362  05/10/2010 21:56:37
      Backup Piece       64366  05/10/2010 21:56:37 /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
    RMAN>I just want to point out that the one obsolete file just contains a Control File and a SPFILE, as shown below:
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    64362   Full    17.64M     DISK        00:00:02     05/10/2010 21:56:37
            BP Key: 64366   Status: UNAVAILABLE  Compressed: NO  Tag: HOTBKUP201005102149_DB
            Piece Name: /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
      Control File Included: Ckp SCN: 15213106404   Ckp time: 05/10/2010 21:56:35
      SPFILE Included: Modification time: 05/09/2010 18:00:42---------------
    **** END *****
    Edited by: user478914 on May 12, 2010 3:03 AM
    Edited by: user478914 on May 12, 2010 3:24 AM

    Thanks for reading my post. Here is the result of doing the crosscheck command.
    Problem still exists. Someone correct me if I'm wrong but I believe crosscheck does
    nothing because all my backups are listed as unavailable, so there is nothing for it to do.
    Any other thoughts or suggestions?
    This problem is driving me bonkers. I have read the Backup and Recovery Basic Guide and Advanced Guide,
    googled the web, searched OTN, searched Metalink and I can't find anything on the topic of backup
    piece availability affecting obsolescence. Many thanks.
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time     #Pieces #Copies Compressed Tag
    64361   B  F  U DISK        05/10/2010 21:56:33 2       1       NO         HOTBKUP201005102149_DB
    64362   B  F  U DISK        05/10/2010 21:56:37 1       1       NO         HOTBKUP201005102149_DB
    64390   B  A  U DISK        05/10/2010 21:58:02 1       1       NO         HOTBKUP201005102149_ARCHLOGS
    64508   B  F  U DISK        05/11/2010 03:07:01 2       1       NO         HOTBKUP201005110300_DB
    64509   B  F  U DISK        05/11/2010 03:07:10 1       1       NO         HOTBKUP201005110300_DB
    64544   B  A  U DISK        05/11/2010 03:07:47 1       1       NO         HOTBKUP201005110300_ARCHLOGS
    64761   B  F  U DISK        05/12/2010 03:06:23 2       1       NO         HOTBKUP201005120300_DB
    64762   B  F  U DISK        05/12/2010 03:06:30 1       1       NO         HOTBKUP201005120300_DB
    64792   B  A  U DISK        05/12/2010 03:08:13 1       1       NO         HOTBKUP201005120300_ARCHLOGS
    RMAN> crosscheck backup;
    using channel ORA_DISK_1
    RMAN> report obsolete recovery window of 1 days;
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           64362  05/10/2010 21:56:37
      Backup Piece       64366  05/10/2010 21:56:37 /oracle_admin/rman_backups/201005102149/RMAN_HOTBKUP_IPCSD_201005102149_BS_1355_PC_1_CP_1_DB
    Backup Set           64509  05/11/2010 03:07:10
      Backup Piece       64520  05/11/2010 03:07:10 /oracle_admin/rman_backups/201005110300/RMAN_HOTBKUP_IPCSD_201005110300_BS_1358_PC_1_CP_1_DB
    RMAN>

  • Simple question .... how to add photos to the body of my EMAILS -Found 1000 results for How do I add photos to my emails for Thunderbird

    Simple question - How do I add photos to the body of my emails . But instead of the answer - Found 1000 results for How do I add photos to my emails for Thunderbird. There are answers that don't apply at all to the question in anyway. Why does it have to be so hard to get a simple answer to a simple question?
    Thunderbird is acting much like Microsoft, the every reason I dumping MS Live Mail.

    First of all, much help for Thunderbird refers to menus which may not be visible. It would help you and us if you have your menus and toolbars visible.
    http://chrisramsden.vfast.co.uk/13_Menus_in_Thunderbird.html
    So, open a write window. Enable its menu and toolbar(s).
    Now do you see an "Insert" option?
    If not, you may be set to compose in plain text, which does not support embedded images.
    '''[http://kb.mozillazine.org/Menu_differences_in_Windows,_Linux,_and_Mac Tools|Account Settings]|{select account}|Composition & Addressing''' and ensure "Compose messages in HTML format" is ticked. If it wasn't already ticked, go back to composing a message. Any better now?
    Once you have HTML composition mode going, you can use '''Insert|Image''' or various permutations of copy-and-paste and drag-and-drop into your message body.
    A manual, of sorts: http://en.flossmanuals.net/thunderbird/composing-messages/

  • There were no results for How can I tell if an iPhone was stollen and if it is, can I still activate it

    There were no results for How can I tell if an iPhone was stollen and if it is, can I still activate it

    Method #1... Call 800-MY-APPLE & have them check the serial number. If a previous owner called in to find out how to use find my iphone, chances are there'll be a case made of it

  • Colorize report results depending on sql selects

    Hy,
    is it possible to colorize report results depending on sql selects.
    For example: select id, name from db where name = 'frankfurt' or name = 'munic'
    All Results munic in red colour.
    Thanks
    Tom

    Hi,
    I have tried using the following in a decode statement of a Region report (type is SQL Query), and all it seems to do is form the HTML text as expected, but does not actually do what I want (i.e. display the field as red):-
    SELECT a_code, a_status, decode(a_fld,a_fld,'&ltfont color=&quotFF0000&quot&gt'||a_fld||'&lt/font&gt','other') "CA" from a_table
    What appears in the report is literally (I've put in single quotes in case this line is interpretted in the forum):
    '<font color="FF0000">1234</font>'
    I'm missing something - to force the HTML to be rendered as such. The field is displayed as a Standard Report Column, but it's just taking the decode search field as an ordinary piece of text. There's something that needs setting, but I can't find it - does anyone know?
    Thanks in advance
    Dave

  • Would you please give me an example about how to do an enhancement withPM01

    Hi all :
         Would you pleaes  give me an example about how to do an enhancement withPM01 to HR transactions?
         thanks in advance.
         Best regards
         Frank

    Hi,
    You can perform PA Infotype Enhancement with the transaction code PM01.
    Use the link below for Your reference.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    For defaulting the values to the infotype fields you have to make use of the features ( PE03 T code )
    Can you elobarate your requirement..
    For more help refer the following links.
    http://help.sap.com/saphelp_47x200/helpdata/en/1e/728d281d5e11d289d30000e82158f1/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/f7/2fe034ee251f34e10000009b38f83b/frameset.htm
    Regards,
    Jagadish

  • Safari is slowly getting more buggy.  Actions, such as clicking on a field, don't give the expected results.  I may have to click on the red exit button 5 times to get it to work.  I get unwanted dropdown menus.  I have version 5.1.7 on OS 10.6.8

    Safari is slowly getting more buggy.  Actions, such as clicking on a field, don't give the expected results.  I may have to click on the red exit button 5 times to get it to work.  I get unwanted dropdown menus.  I have version 5.1.7 on OS 10.6.8.  System is 3 years old.

    Are you running low on RAM..?
    see > Using Activity Monitor
    Is your Hard Drive getting full...?
    see > Freeing space on your Mac OS X startup disk
    Have you tried Repair Disk Permissions after upgrading Safari...?
    see > About Disk Utility's Repair Disk Permissions feature
    Reset Safari...?

  • Did anyone ever do wedding invitations in pages if so could you give me some info on how to do this

    did anyone ever do wedding invitations in pages if so could you give me some info on how to do this

    Why did you pay for Pages 5? Nearly everyone gets it for free and if you have iWork '09 you can upgrade for free, all 3 apps.
    For the layout of a Wedding Invitation, either buy a set of templates from the Mac App Store or places like Jumsoft, or look for a Word template you like from the Internet and open that in Pages.
    A wedding invitation just consists of text and some graphics on a specified sheet of paper. Usually quality paper you can buy precut and which may be folded to purpose. Just position the text and the graphics where you want on the page, do a few test prints to see if you like it and everything is OK, then reproduce.
    If you want to merge names and addresses from either Contacts or a Numbers spreadsheet, I repeat you can not do this in Pages 5.
    You need Pages '09. You can buy iWork '09 which has Pages, Numbers and Keynote '09 in it for US$26.99 from Amazon.
    Or do it with LibreOffice [free].
    Peter

  • Reoder point calculation don't give the expected result

    Dear friends,
    We are using CBP to set reorder point (MRP type is VM).
    We've set the planned delivery time, on MRP2 view, as 120 days.
    When we run the forecast, the calculated basic value gives the expected
    result, but the reorder point don't.
    As we've set Planned delivery time as 120 days, we expect that the
    reorder point is "basic value"*4 (4 is the result 120/30). But the result
    of the reorder point is is greater (aprox. "basic value"*4,5).
    Can you please give me a help on this matter?
    Many thanks,
    Afonso Pereira

    you may get your expected result if you would use VB instead of VM.
    Manual Reorder Point Planning
    In manual reorder point planning, you define both the reorder level and the safety stock level manually in the appropriate material master.
    Automatic Reorder Point Planning
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the current consumption and delivery situation. This means that a contribution is made towards keeping stock levels low.

  • Give step-by-step procedure how to create  jspdy page portal component  app

    Hi All,
    Give step-by-step procedure how to create  jspdy page portal component  application.

    Check these for the steps.
    Building a JSPDynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/content.htm
    Tutorial III: Building a JSP DynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/44/471ce3617b14bce10000000a155369/content.htm
    Regards,
    Harini S

Maybe you are looking for

  • How to change the Destination URI value of a item table at run time

    I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Cont

  • Can't connect my iPod classic 5th gen to Windows Vista

    I bought an iPod Classic 30gb off of Ebay and I can't get it to connect to my computer. My Computer runs off Windows Vista and I've tryed everything. I tryed reinstalling my Itunes with the newist verson. Even tryed puting it in disc mode. The Ipod a

  • C expert question

    Here are five typedefs for the c-brains in here. How do I port them to Java? typedef struct {   long endbyte;   int  endbit;   unsigned char *buffer;   unsigned char *ptr;   long storage; } oggpack_buffer; typedef struct {   unsigned char *header;  

  • Using Flash Catalyst Beta 2

    Hello! My name ist Peter and I tried Flash Catalyst the last two days. As a Graphic Designer and Type Designer, I think Flash Catalyst is great, I like it very much. But I have a question! Is it possible to do a roundtripping with the Beta Version. I

  • How to remove oneself from discussion thread

    how do you remove yourself from a discussion thread? i asked a question 6 months ago and i still get updates, i have checked my profile and every alert question i have selected no. ***?