Issues with using utl_http with Oracle Wallet

Hello Everyone,
We are experimenting with Oracle wallet and utl_http and are attempting to do an https transfer and we are facing some problems. I will appreciate your help greatly if you can advise on what could be wrong. We are on db version 10.2.0.1 and Unix HP-UX. The intention ping an https url and get a simple 200 response. Future development would include get/post XML documents from that url and other interesting stuff. I understand that utl_http with Oracle wallet can be used for this purpose.
The wallet has been created and the ewallet.p12 exists. We downloaded the SSL certificate from the url's website and uploaded into the wallet.
Everything works if I put in a url with plain http. However, it does not work with an HTTP*S* url.
With HTTPS when I run the below code I get the following error. Again, greatly appreciate your time and help because this is the first time we are using Oracle wallet manager and do not know where to go from here.
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1029
ORA-29268: HTTP client error
declare
url varchar2(225);
req utl_http.req;
resp utl_http.resp;
my_proxy BOOLEAN;
name varchar2(2000);
value varchar2(2000);
V_proxy VARCHAR2(2000);
v_n_proxy varchar2(2000);
v_msg varchar2(100);
v_len PLS_INTEGER := 1000;
BEGIN
-- Turn off checking of status code.
utl_http.set_response_error_check(FALSE);
--Set proxy server
utl_http.set_proxy('my-proxy');
utl_http.set_wallet('file:<full Unix path to the wallet on DB server>','wallet998');
req := utl_http.begin_request('https://service.ariba.com/service/transaction/cxml.asp');
--Set proxy authentication
utl_http.set_authentication(req, 'myproxyid', 'myproxypswd','Basic',TRUE); -- Use HTTP Basic
resp := utl_http.get_response(req);
FOR i IN 1..utl_http.get_header_count(resp) LOOP
utl_http.get_header(resp, i, name, value);
dbms_output.put_line(name || ': ' || value);
END LOOP;
utl_http.end_response(resp);
exception
when others then
dbms_output.put_line(sqlerrm);
END;

I tried this using plsql ...
declare
SOAP_URL constant varchar2(1000) := 'http://125.21.166.27/cordys/com.eibus.web.soap.Gateway.wcp?organization=o=WIPRO,cn=cordys,o=itgi.co.in';
request      UTL_HTTP.req;
begin
dbms_output.put_line('Begin Request');
request := UTL_HTTP.begin_request(SOAP_URL,'POST',UTL_HTTP.HTTP_VERSION_1_1);
dbms_output.put_line('After Request');
exception
when others then
   dbms_output.put_line('Error : '||sqlerrm);
end;The output was ...
Begin Request
Error : ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1029
ORA-12535: TNS:operation timed outIt seems to be an issue with the webservice, plz check if its available & allowing requests.

Similar Messages

  • Using a SHA2 certificate with 12.1.1 (Oracle Wallet Manager 10.1.0.5)

    Hi folks,
    I'm trying to enable SSL on my 12.1.1 system, but I've got a bit of a problem.
    I've already logged a SR on this, so I already know that you cannot use SHA2 SSL certificates with Oracle Wallet Manager 10.1.0.5, which is part of the 10.1.3 tech stack. I started the SR on the EBS side, but it was passed on to the security group, and closed there. My question is, is there something that I don't know? Is there an upgrade path in 12.1.x that would include an upgrade to the OWM, or is there some sort of workaround? I'll be opening another SR tomorrow, but wanted to see if I was missing something simple.
    We have an internal certificate server (Microsoft AD), and the root certificate, which I need to import, is SHA2. I'm being told that they cannot generate a SHA1 root certificate, and would have to stand up another certificate authority. OWM 10.1.0.5 can't handle SHA2, so I'm stuck.
    Anybody been there done that?
    Thanks very much,
    -Adam vonNieda

    I'm trying to enable SSL on my 12.1.1 system, but I've got a bit of a problem. What kind of problems?
    I've already logged a SR on this, so I already know that you cannot use SHA2 SSL certificates with Oracle Wallet Manager 10.1.0.5, which is part of the 10.1.3 tech stack. I started the SR on the EBS side, but it was passed on to the security group, and closed there. My question is, is there something that I don't know? Is there an upgrade path in 12.1.x that would include an upgrade to the OWM, or is there some sort of workaround? I'll be opening another SR tomorrow, but wanted to see if I was missing something simple.
    We have an internal certificate server (Microsoft AD), and the root certificate, which I need to import, is SHA2. I'm being told that they cannot generate a SHA1 root certificate, and would have to stand up another certificate authority. OWM 10.1.0.5 can't handle SHA2, so I'm stuck. I am not sure if SHA2 is certified with EBS R12 so you might need to ask this question to Oracle Support. According to the following docs, SHA1 can be used with no issues.
    Enabling SSL in Oracle E-Business Suite Release 12 [ID 376700.1]     To BottomTo Bottom     
    SSL Primer: Enabling SSL in Oracle E-Business Suite Release 12 (Trial Certificate Example) [ID 1425103.1]
    Thanks,
    Hussein

  • Issue in using BIAccelerator with Business Objects WebIntelligence report

    Hi,
    I am trying to improve performance of Webi Reports on BW queries (with huge data load) with BI Accelerator.
    When I run one BW query (with millions of records) in Bex 7, am getting data within no time when I used BIA.
    When I run Webi report on universe which is developed on same BW query, report is running for long hours and finally giving message "No data to return Query1".
    Am not sure whether my report query is hitting BIA from WebI or not .
    Can we use BIA with WebI reports or not (to increase performance)?
    Any help on this please.
    Thanks,
    Dhana.

    Hi Dhana,
    Webi - like any tool that is based on BEx queries - will use BIA. However, for Webi the data has to be passed through the MDX interface which slows things down. Please make sure you apply all notes listed in SAP note <a href="http://service.sap.com/sap/support/notes/1142664">1142664 MDX: Composite SAP note about performance improvements</a>.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Help with using itunes with 4s library after i upgraded to iPhone 5 and computer power supply went

    long story hopefully an easy fix....
    on wensday my power supply went and had to ship computer across country to Puget Computer Systems as we weren't sure if it was power supply or mobo...luckily it was power supply.
    i daily backed up iphone 4s with itunes (10.7) as i do all music manually, playlists, etc. have like 3,000 plus songs, videos, audiobooks, mail aaccts and about 48 apps.
    so next day (sept 19th) apple comes out with iOS 6 which i update my 4s to with no problem. I wanted a day to play with it to learn my way around.
    next day i wait in line for 8 hours overnite and was #2 in line at apple store for my ATT 32gb white iPhone 5. while at apple store I get my icloud backup which gets all paid music,apps, etc since itunes version 10.3 (i always did both backups so as not to lose my contacts more than anything.
    I have other paid stuff that is in library on computer along with audiobooks and about 2700 more songs.
    my icloud backup put the playlists on iPhone but not most of the music for them as lots were ripped from my cd's.as i double them up making a copy on iPhone and a copy on itunes.
    So I have been using iPhone 5 with no problems just don't have all of itunes library on it. My computer is coming back this week how do I plug in iPhone 5 via USB (which will be seen as new phone even though it has same name) and use my existing iTunes 10.7 library which the backups in iTunes still has iOS 5.1.1 on it?
    There must be an easy way of doing it as i don't want to wipe off iphone 5 again as i don't see any purpose my library is all organized perfectly. I know my way around windows 7 pro 64 bit pretty well just don't know what itunes is going to say once it sees "joe's iPhone" again and installs the usb drivers and icon for it. what will it ask in regards to library and how do i use it with previous iOS on it?
    Thank you very much for the help as I am going to need it.
    yes i broke the cardinal rule of cross posting and apoligize  for it just amazed i couldn't find answer via google nor any apple store genius knew it either.

    Hi All,
    Any help?
    No one has any answers here amoungst all this apple knowledge?
    Thank you

  • Oracle TDE - Can multiple databases use the same Oracle wallet?

    Oracle Advanced Security Transparent Data Encryption
    I will have 2 or more databases running under the same Oracle 11.2 home. According to Oracle's documentation, it is preferred to reference the wallet via the sqlnet.ora file. That's fine. My question is if I want to use encryption in each of those databases, then I have no choice but to use the shared wallet then, correct.
    I need to confirm that I have not missed something.
    From Oracle's documentation:
    Specifying a Wallet Location for Transparent Data Encryption
    If you wish to use a wallet specifically for TDE, then you must specify a wallet location in the sqlnet.ora file by using the ENCRYPTION_WALLET_LOCATION parameter.
    Oracle recommends that you use the ENCRYPTION_WALLET_LOCATION parameter to specify a wallet location for TDE.
    http://docs.oracle.com/cd/E18283_01/network.112/e10746/asoappa.htm#i634447
    Oracle Advanced Security Transparent Data Encryption
    ENCRYPTION_WALLET_LOCATION = (SOURCE =
    (METHOD = FILE)
    (METHOD_DATA =
    (DIRECTORY =
    /etc/ORACLE/WALLETS/oracle)))
    thanks!

    Do not do this, follow this http://www.youtube.com/watch?v=Z9odSZxdoGU instead!
    Best, Peter

  • Issue in use of "WITH CLAUSE"

    My DB version is 10.2.0
    One of my query takes long time for execution and here is the Old Query,
    SELECT HD.DATUM DATUM, HA2.GELDEINGAENGE_INSG-NVL(HA3.VERWERTUNGSERLOESE,0)
      GELDEINGANG, HA3.VERWERTUNGSERLOESE
    FROM
    ( SELECT DISTINCT(TO_CHAR(ERFASSDATUM,'YYYY/MM')) DATUM
      FROM TRANS_HIST H1 ,
        (SELECT BUCHUNGSGRUPPE, LFDNR, SICHERHEITBEZUG
        FROM BUCHUNGSSCHL
        WHERE STORNOMM=0) B1
      WHERE H1.ERFASSDATUM >=TO_DATE('01.10'||TO_CHAR(ADD_MONTHS(SYSDATE,-9),'YYYY')||' 00.00.00','DD.MM.YYYY HH24:MI:SS')
      AND H1.BUCHUNGSGRUPPE = B1.BUCHUNGSGRUPPE AND H1.LFDNR = B1.LFDNR
      AND (H1.BUCHUNGSGRUPPE = '8888' OR ( H1.BUCHUNGSGRUPPE > 5999 AND H1.BUCHUNGSGRUPPE < 7100 AND B1.SICHERHEITBEZUG = 1)) ) HD,
      (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM, SUM(BETRAG) GELDEINGAENGE_INSG
      FROM TRANS_HIST H2,
      (SELECT F.GLAEUBIGERNR,F.FORDNR,F.FORDERGNR,A.MAHN_NUM
      FROM FRD_ACCT F,
      (SELECT * FROM ANS_PRCH WHERE RANGMM=1) A
      WHERE F.GLAEUBIGERNR=A.GLAEUBIGERNR (+) AND F.FORDNR=A.FORDNR(+)
      AND F.FORDERGNR=A.FORDERGNR(+) AND NVL(F.INDIVIDUALFLAG,0)=0 ) F1
      WHERE ( (F1.GLAEUBIGERNR= H2.GLAEUBIGERNR AND F1.FORDNR=H2.FORDNR AND F1.FORDERGNR=H2.FORDERGNR) OR
      F1.MAHN_NUM = H2.MAHN_NUM) AND H2.BUCHUNGSGRUPPE = '8888' AND
      H2.ERFASSDATUM >= TO_DATE('01.10'||TO_CHAR(ADD_MONTHS(SYSDATE,-9),'YYYY')||' 00.00.00','DD.MM.YYYY HH24:MI:SS')
      GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM') ) HA2,
      (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM, SUM(BETRAG) VERWERTUNGSERLOESE
       FROM TRANS_HIST H3, (SELECT BUCHUNGSGRUPPE, LFDNR,
      SICHERHEITBEZUG, NACHMIETVERTRAGE
      FROM BUCHUNGSSCHL
      WHERE STORNOMM=0) B3,
      (SELECT F.GLAEUBIGERNR,F.FORDNR,F.FORDERGNR,A.MAHN_NUM
      FROM FRD_ACCT F,
      (SELECT * FROM ANS_PRCH WHERE RANGMM=1) A
      WHERE F.GLAEUBIGERNR= A.GLAEUBIGERNR (+) AND F.FORDNR=A.FORDNR(+)
      AND F.FORDERGNR=A.FORDERGNR(+) AND NVL(F.INDIVIDUALFLAG,0)=0 ) F2
      WHERE ( (F2.GLAEUBIGERNR=H3.GLAEUBIGERNR AND F2.FORDNR=H3.FORDNR AND F2.FORDERGNR=H3.FORDERGNR)
      OR F2.MAHN_NUM = H3.MAHN_NUM)
      AND H3.ERFASSDATUM >=TO_DATE('01.10'||TO_CHAR(ADD_MONTHS(SYSDATE,-9),'YYYY')||' 00.00.00','DD.MM.YYYY HH24:MI:SS')
      AND H3.BUCHUNGSGRUPPE = B3.BUCHUNGSGRUPPE AND
      H3.LFDNR = B3.LFDNR AND H3.BUCHUNGSGRUPPE > 5999
      AND H3.BUCHUNGSGRUPPE < 7100 AND (B3.SICHERHEITBEZUG = 1 OR B3.NACHMIETVERTRAGE =1)
      GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM') ) HA3
      WHERE HD.DATUM=HA2.DATUM (+)
      AND HD.DATUM=HA3.DATUM (+)
      ORDER BY DATUM ASC
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.22       0.22          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1    469.61    1448.30    2874498    3017355          1           9
    total        3    469.83    1448.53    2874498    3017355          1           9
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 62     (recursive depth: 1)
    Rows     Row Source Operation
          9  SORT ORDER BY (cr=3017355 pr=2874498 pw=0 time=1448309418 us)
          9   HASH JOIN RIGHT OUTER (cr=3017355 pr=2874498 pw=0 time=1448309191 us)
          9    VIEW  (cr=1228085 pr=1175604 pw=0 time=906871801 us)
          9     HASH GROUP BY (cr=1228085 pr=1175604 pw=0 time=906871785 us)
       1559      CONCATENATION  (cr=1228085 pr=1175604 pw=0 time=564453620 us)
        233       HASH JOIN  (cr=614043 pr=589377 pw=0 time=562088377 us)
         94        TABLE ACCESS FULL BUCHUNGSSCHL (cr=29 pr=0 pw=0 time=505 us)
    254136        HASH JOIN  (cr=614014 pr=589377 pw=0 time=509476999 us)
    497464         TABLE ACCESS FULL TRANS_HIST (cr=586339 pr=562603 pw=0 time=65783878 us)
    737515         HASH JOIN RIGHT OUTER (cr=27675 pr=26774 pw=0 time=18577731 us)
    372656          TABLE ACCESS FULL ANS_PRCH (cr=6346 pr=5910 pw=0 time=408778 us)
    737515          TABLE ACCESS FULL FRD_ACCT (cr=21329 pr=20864 pw=0 time=2254657 us)
       1326       HASH JOIN  (cr=614042 pr=586227 pw=0 time=520726941 us)
         94        TABLE ACCESS FULL BUCHUNGSSCHL (cr=29 pr=0 pw=0 time=641 us)
    221360        FILTER  (cr=614013 pr=586227 pw=0 time=372791872 us)
    221360         HASH JOIN OUTER (cr=614013 pr=586227 pw=0 time=372570499 us)
    221360          HASH JOIN  (cr=607668 pr=580286 pw=0 time=368077766 us)
    243053           TABLE ACCESS FULL TRANS_HIST (cr=586339 pr=563978 pw=0 time=1425434011 us)
    737515           TABLE ACCESS FULL FRD_ACCT (cr=21329 pr=16308 pw=0 time=8859226 us)
    372656          TABLE ACCESS FULL ANS_PRCH (cr=6345 pr=5941 pw=0 time=1872464 us)
          9    HASH JOIN OUTER (cr=1789270 pr=1698894 pw=0 time=541436637 us)
          9     VIEW  (cr=586667 pr=562439 pw=0 time=213337882 us)
          9      HASH UNIQUE (cr=586667 pr=562439 pw=0 time=213337873 us)
    748717       HASH JOIN  (cr=586667 pr=562439 pw=0 time=104432018 us)
        830        TABLE ACCESS FULL BUCHUNGSSCHL (cr=29 pr=0 pw=0 time=1042 us)
    1241936        TABLE ACCESS FULL TRANS_HIST (cr=586638 pr=562439 pw=0 time=339666777 us)
          9     VIEW  (cr=1202603 pr=1136455 pw=0 time=328097826 us)
          9      HASH GROUP BY (cr=1202603 pr=1136455 pw=0 time=328097809 us)
    695373       CONCATENATION  (cr=1202603 pr=1136455 pw=0 time=324453471 us)
          0        HASH JOIN  (cr=587003 pr=557994 pw=0 time=167168982 us)
    744472         TABLE ACCESS FULL TRANS_HIST (cr=587003 pr=557994 pw=0 time=30622271 us)
          0         HASH JOIN RIGHT OUTER (cr=0 pr=0 pw=0 time=0 us)
          0          TABLE ACCESS FULL ANS_PRCH (cr=0 pr=0 pw=0 time=0 us)
          0          TABLE ACCESS FULL FRD_ACCT (cr=0 pr=0 pw=0 time=0 us)
    695373        FILTER  (cr=615600 pr=578461 pw=0 time=157284464 us)
    695373         HASH JOIN OUTER (cr=615600 pr=578461 pw=0 time=156589072 us)
    695373          HASH JOIN  (cr=609255 pr=572518 pw=0 time=150571393 us)
    744472           TABLE ACCESS FULL TRANS_HIST (cr=587926 pr=556115 pw=0 time=31820718 us)
    737515           TABLE ACCESS FULL FRD_ACCT (cr=21329 pr=16403 pw=0 time=3696334 us)
    372656          TABLE ACCESS FULL ANS_PRCH (cr=6345 pr=5943 pw=0 time=391928 us)I tried fine tuning the query using "With Clause" but landed up with oracle error, which prevents me from using with clause inside a paranthesis.
    SELECT HD.DATUM DATUM, HA2.GELDEINGAENGE_INSG-NVL(HA3.VERWERTUNGSERLOESE,0)
      GELDEINGANG, HA3.VERWERTUNGSERLOESE
    FROM
    ( WITH HIST_VIEW AS (SELECT GLAEUBIGERNR,FORDNR,FORDERGNR,MAHN_NUM,BUCHUNGSGRUPPE,LFDNR,STORNOMM,ERFASSDATUM,BETRAG
                         FROM TRANS_HIST H
                         WHERE ERFASSDATUM >=TO_DATE('01.10'||TO_CHAR(ADD_MONTHS(SYSDATE,-9),'YYYY')||' 00.00.00','DD.MM.YYYY HH24:MI:SS')
                         AND  (H.BUCHUNGSGRUPPE = '8888' OR ( H.BUCHUNGSGRUPPE > 5999 AND H.BUCHUNGSGRUPPE < 7100))),
           FORD_VIEW AS (SELECT F.GLAEUBIGERNR,F.FORDNR,F.FORDERGNR,A.MAHN_NUM
                         FROM FRD_ACCT F,ANS_PRCH A
                         WHERE F.GLAEUBIGERNR=A.GLAEUBIGERNR(+) AND F.FORDNR=A.FORDNR(+)
                         AND F.FORDERGNR=A.FORDERGNR(+) AND NVL(F.INDIVIDUALFLAG,0)=0 AND  A.RANGMM=1)
    (SELECT DISTINCT(TO_CHAR(ERFASSDATUM,'YYYY/MM')) DATUM
      FROM HIST_VIEW H1 ,BUCHUNGSSCHL B1
      WHERE B1.STORNOMM=0  AND H1.BUCHUNGSGRUPPE = B1.BUCHUNGSGRUPPE AND H1.LFDNR = B1.LFDNR
      AND (H1.BUCHUNGSGRUPPE = '8888' OR (H1.BUCHUNGSGRUPPE > 5999 AND H1.BUCHUNGSGRUPPE < 7100 AND B1.SICHERHEITBEZUG = 1))) HD,
    (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM, SUM(BETRAG) GELDEINGAENGE_INSG
      FROM HIST_VIEW H2,FORD_VIEW F1
      WHERE ((F1.GLAEUBIGERNR= H2.GLAEUBIGERNR AND F1.FORDNR=H2.FORDNR AND F1.FORDERGNR=H2.FORDERGNR) OR
      F1.MAHN_NUM = H2.MAHN_NUM) AND H2.BUCHUNGSGRUPPE = '8888'
      GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM') ) HA2,
    (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM, SUM(BETRAG) VERWERTUNGSERLOESE
      FROM HIST_VIEW H3, BUCHUNGSSCHL B3,FORD_VIEW F2
      WHERE ((F2.GLAEUBIGERNR=H3.GLAEUBIGERNR AND F2.FORDNR=H3.FORDNR
      AND F2.FORDERGNR=H3.FORDERGNR) OR F2.MAHN_NUM = H3.MAHN_NUM) AND B3.STORNOMM=0
      AND H3.BUCHUNGSGRUPPE = B3.BUCHUNGSGRUPPE AND
      H3.LFDNR = B3.LFDNR AND H3.BUCHUNGSGRUPPE > 5999
      AND H3.BUCHUNGSGRUPPE < 7100 AND (B3.SICHERHEITBEZUG = 1 OR B3.NACHMIETVERTRAGE =1)
      GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM')) HA3
      WHERE HD.DATUM=HA2.DATUM (+)
      AND HD.DATUM=HA3.DATUM (+)
      ORDER BY DATUM ASC )
    ORA-00907: missing right parenthesis

    If you format your code it makes it far easier to spot mistakes...
    WITH HIST_VIEW AS (SELECT GLAEUBIGERNR,FORDNR,FORDERGNR,MAHN_NUM,BUCHUNGSGRUPPE,LFDNR,STORNOMM,ERFASSDATUM,BETRAG
                       FROM   TRANS_HIST H
                       WHERE  ERFASSDATUM >=TO_DATE('01.10'||TO_CHAR(ADD_MONTHS(SYSDATE,-9),'YYYY')||' 00.00.00','DD.MM.YYYY HH24:MI:SS')
                       AND   (  H.BUCHUNGSGRUPPE = '8888'
                            OR (H.BUCHUNGSGRUPPE > 5999 AND H.BUCHUNGSGRUPPE < 7100)
         FORD_VIEW AS (SELECT F.GLAEUBIGERNR,F.FORDNR,F.FORDERGNR,A.MAHN_NUM
                       FROM   FRD_ACCT F,ANS_PRCH A
                       WHERE  F.GLAEUBIGERNR=A.GLAEUBIGERNR(+)
                       AND    F.FORDNR=A.FORDNR(+)
                       AND    F.FORDERGNR=A.FORDERGNR(+)
                       AND    NVL(F.INDIVIDUALFLAG,0)=0
                       AND    A.RANGMM=1
    SELECT HD.DATUM DATUM
          ,HA2.GELDEINGAENGE_INSG-NVL(HA3.VERWERTUNGSERLOESE,0) GELDEINGANG
          ,HA3.VERWERTUNGSERLOESE
    FROM  (SELECT DISTINCT(TO_CHAR(ERFASSDATUM,'YYYY/MM')) DATUM
           FROM   HIST_VIEW H1
                 ,BUCHUNGSSCHL B1
           WHERE  B1.STORNOMM=0
           AND    H1.BUCHUNGSGRUPPE = B1.BUCHUNGSGRUPPE
           AND    H1.LFDNR = B1.LFDNR
           AND   (  H1.BUCHUNGSGRUPPE = '8888'
                OR (H1.BUCHUNGSGRUPPE > 5999 AND H1.BUCHUNGSGRUPPE < 7100 AND B1.SICHERHEITBEZUG = 1)
          ) HD,
          (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM
                 ,SUM(BETRAG) GELDEINGAENGE_INSG
           FROM   HIST_VIEW H2
                 ,FORD_VIEW F1
           WHERE (
                   (    F1.GLAEUBIGERNR= H2.GLAEUBIGERNR
                    AND F1.FORDNR=H2.FORDNR
                    AND F1.FORDERGNR=H2.FORDERGNR
                 OR
                    F1.MAHN_NUM = H2.MAHN_NUM
           AND   H2.BUCHUNGSGRUPPE = '8888'
           GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM')
          ) HA2,
          (SELECT TO_CHAR(ERFASSDATUM,'YYYY/MM') DATUM
                 ,SUM(BETRAG) VERWERTUNGSERLOESE
           FROM   HIST_VIEW H3
                 ,BUCHUNGSSCHL B3
                 ,FORD_VIEW F2
           WHERE (
                   (    F2.GLAEUBIGERNR=H3.GLAEUBIGERNR
                    AND F2.FORDNR=H3.FORDNR
                    AND F2.FORDERGNR=H3.FORDERGNR
                 OR
                   F2.MAHN_NUM = H3.MAHN_NUM
           AND B3.STORNOMM=0
           AND H3.BUCHUNGSGRUPPE = B3.BUCHUNGSGRUPPE
           AND H3.LFDNR = B3.LFDNR
           AND H3.BUCHUNGSGRUPPE > 5999
           AND H3.BUCHUNGSGRUPPE < 7100
           AND (B3.SICHERHEITBEZUG = 1 OR B3.NACHMIETVERTRAGE =1)
           GROUP BY TO_CHAR(ERFASSDATUM,'YYYY/MM')
          ) HA3
    WHERE HD.DATUM=HA2.DATUM (+)
    AND   HD.DATUM=HA3.DATUM (+)
    ORDER BY DATUM ASC
    ) <--- What's this doing on the end?Remove that last bracket and you should be ok.
    I took the liberty of putting the subquery factoring at the beginning, so see if that works.

  • I am using LR 4 and have a technical issue when using LR with another program.  I was told to re-install LR.  I have a disc for LR 3.  How do I proceed?

    I am using Photo Mechanic with Lightroom 4.  I was asked to re-install Lightroom.  I have a disc for LR3.  How do I proceed?

    Thank you, Jeff.  I just did what you suggested, but the issue was not resolved.  In PhotoMechanic, I select a quantity of images and mark them RED.  When I import them into LR, the RED usually follows the image, so that I know which ones to edit.  Now, perhaps since updating to OS X Yosemite (10.10.1), the color tag is not visible in LR.
    I spent about 8 hrs on the phone with the tech folks at PhotoMechanic.  They think it might have something to do with LR preferences.
    Any thoughts?
    Thanks,
    Jay G

  • Hi There I am Facing Some issues in Using OTM with Open Script Please get all information from following detail.

    Hi There,
    I have created a new Open Script in following way
    File-> New-> Functional-> Oracle EBS Forms
    I have written some code and tried to link the script with OTM. That time OTM is showing script in Directory while linking. It is properly Linked and working correctly.
    Then I have created new script again but Now I have enabled Datatable plugin of script from (Script->Properties->Module->Datatable).
    This time when the Script is "NOT Visible"  in OTM direcotry when I try to link.
    I have wasted my 4 to 5 days to find solution on this .
    Please show me some way. Thanks in advance.

    a8a3425e-7553-42bc-a91a-1e93775a8853 wrote:
    Hi There,
    I have created a new Open Script in following way
    File-> New-> Functional-> Oracle EBS Forms
    I have written some code and tried to link the script with OTM. That time OTM is showing script in Directory while linking. It is properly Linked and working correctly.
    Then I have created new script again but Now I have enabled Datatable plugin of script from (Script->Properties->Module->Datatable).
    This time when the Script is "NOT Visible"  in OTM direcotry when I try to link.
    I have wasted my 4 to 5 days to find solution on this .
    Please show me some way. Thanks in advance.
    Better asked in the EBS forum: E-Business Suite

  • Issue with using xmltable() with xmltype() in plsql--help needed urgent

    HI All,
    I am trying to use XMLTABLE() to get the data from the xmltype(), I used the below query, when I run this, I get the syntax error "ORA-00906: missing left parenthesis--I am struggling to find out which paranthesis I am missing
    00906. 00000 - "missing left parenthesis"
    *Cause:
    *Action:
    Error at Line: 9 Column: 22"
    SELECT
    hours.OpeningTime, hours.ClosingTime, hours.DayOfWeek
    from table1 tab,
    XMLTABLE(XMLNAMESPACES(DEFAULT 'https://xxx.xxx.xx.gov/'),'/ProviderApplicationDTO/ProvOperationHours/WeekHours/KeyValuePairOfFirstDayOfWeekHoursOfOperation'
    PASSING tab.column --this column is of xmltype()
    COLUMNS
    OpeningTime varchar2 PATH '/ProviderApplicationDTO/ProvOperationHours/WeekHours/KeyValuePairOfFirstDayOfWeekHoursOfOperation/Value/OpeningTime',
    ClosingTime varchar2 PATH '/ProviderApplicationDTO/ProvOperationHours/WeekHours/KeyValuePairOfFirstDayOfWeekHoursOfOperation/Value/ClosingTime',
    DayOfWeek varchar2 PATH '/ProviderApplicationDTO/ProvOperationHours/WeekHours/KeyValuePairOfFirstDayOfWeekHoursOfOperation/Key') hours
    Where column = 70;
    <ProviderApplicationDTO>
    <ProvOperationHours>
    <WeekHours>
    <KeyValuePairOfFirstDayOfWeekHoursOfOperation>
    <Value>
    <OpeningTime />
    <ClosingTime />
    </Value>
    <Key>Sunday</Key>
    </KeyValuePairOfFirstDayOfWeekHoursOfOperation>
    <KeyValuePairOfFirstDayOfWeekHoursOfOperation>
    <Value>
    <OpeningTime />
    <ClosingTime />
    <IsOpenAM>AM</IsOpenAM>
    <IsCloseAM>PM</IsCloseAM>
    </Value>
    <Key>Monday</Key>
    </KeyValuePairOfFirstDayOfWeekHoursOfOperation>
    <KeyValuePairOfFirstDayOfWeekHoursOfOperation>
    <Value>
    <OpeningTime />
    <ClosingTime />
    </Value>
    </ProvOperationHours>
    </ProviderApplicationDTO>
    Edited by: 804681 on Jan 7, 2011 8:22 AM

    Interesting... it seems they either changed the comma in between 10g and 11g or there is a bug in the 11g documentation. I think I will report it to the documentation forum. Since the 11g gif description includes the coma. http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/img_text/xmltable.htm
    I guess Michaels found the real bug. You can always count on him when it gets to XML-action.

  • Problem with using sql with page items

    Hi
    I have a simple query that when i enter this works
    SELECT SUGGESTION_ID, SUPERVISOR_ID, OVERVIEW
    FROM PROJECT_SUGGESTION
    WHERE SUPERVISOR_ID = 1;
    But when i enter this doesnt
    SELECT SUGGESTION_ID, SUPERVISOR_ID, OVERVIEW
    FROM PROJECT_SUGGESTION
    WHERE SUPERVISOR_ID = &P12_SUPERVISOR_ID;
    Even though the value of the page item supervisor_id for page 12 is 1.
    Anyone know why this is or another way i can refrence the page item?
    thanks
    Dan

    Instead of &P12_SUPERVISOR_ID
    try
    :P12_SUPERVISOR_ID
    And i think when you used the & you follow it with a period. ie. &P12_SUPERVISOR_ID.
    Just a guess.
    Mike

  • Help needed with using Patterns with Actions

    New to the site and I'm wondering if anyone could give me a little assistance!
    I have jpegs of a LOT of fabric swatches that are to be inserted into a PSD file of a living room as the window blinds and this needs to be achieved via an Action.
    The way they are intended to work is:
    • the fabric swatch is opened
    • a pattern is generated from the swatch
    • a PSD file is opened
    • the relevant layer is selected and a pattern overlay is chosen which makes the swatch appear as if it is used on the blinds
    All well and good. BUT of course when I record the action and create the pattern from one swatch, whenever I run the action with a DIFFERENT swatch it still uses the swatch that was used when I recorded it!
    For example I create the action with olive_swatch.jpeg and it works a charm. But when I open teal_swatch.jpeg it still chooses olive.swatch.jpeg when I apply the pattern to the layer.
    Anyone got any ideas?
    Dave

    There is a Photoshop Scripting Forum:
    Photoshop Scripting
    Come to think of to I am no sure how well Patterns Script …

  • Help with using Iphone with NEW computer

    I have a new computer and want to use my iphone with it. I dont have any songs on the new one and cannot transfer them however i can eventually rebuild my song list. What i want to know is when i sync my iphone to my new computer i no that means it will put whatevers in my library on it but when it comes to settings, applications, photos, sms messages what happens with those, will it just erase everything? Im just a little confused with everything.
    Help would be much appreciated! :-D thanks

    Yep... everything will be gone because the computer will think it's a new iPhone.
    You can download the applications from the AppStore again for free, but your music will be lost. Consider using an application like ifunbox to copy the music from your iPhone to the PC before installing iTunes.

  • Help with using Shuffle with Windows XP

    I have the 30 GB video and a shuffle.
    My wife uses the shuffle and she uses her own user account on XP, but uses my account on Itunes.
    I changed the library my wife uses to the one I use for Itunes, so all our songs are coming out of a same shared library as oppsoed to have two seperate libraries.
    But, when I plug in my wifes shuffle under my account, it asks me my songs are from a different library, and then I have to erase the songs off her shuffle. I have tried exporting her playist, but it too erases some songs I bought from Itunes.
    Do I have a configuration problem here. I want my wife and I to use the IPOd interchangably under different user accounts (She will destroy my computer is she uses an administrator account).
    Once again, all the files are coming out of the same library, but for some reason it says they are different libraries.
    Any thoughts? I hope I explained it correctly.

    Does iTunes appear (in Explore) in both your user account AND your wife's? If so, you should probably delete iTunes from her account. Then the only Library would be the one associated with iTunes in your account.
    Roger

  • Problem with using partialTrigger with af:table

    Hi,
    My use case is search page. I am using two jsf fragments in one page.
    One fragment is to specify the search conditions. I have search command button on that search fragment. And when user clicks on search page the result has to come in another fragment.
    I am displaying the result in a <af:table> and total record in one label. I have bounded the <af:table> with RichTable in the backing bean. I have put partialTrigger on the searchButton of fragment one.
    When i click on search the label of result fragment gets updated. But the table doesn't change or updated.
    I have the frank's example with poll and i have tried putting <af:Table> inisde <af:form> and set the partialTrigger on af:form. But still it doesn't refresh the table.
    Can any body help me on this?
    Thanks in advance.
    Regards,
    Hiren

    Hi Frank,
    I am able to refresh the <af:outputText> which are there with <af:table>.
    So here the problem is RichTable.
    I can observe the following happening inside the ActionListener of Search Button.
    1. I have printed the RowCount of richTable.
    2. I have added two more columns into RichTable.
    2. Then I reduced one element form the List (this list is used as datamodel for Af:table.
    3 Now if after step #2 if I try to print the Rowcount of RichTable then I can see that the rowCount is decreased by 1.
    So after this other components inside page are getting refreshed. And also I can see that two columns are added into af:table.
    But the rows of table are not getting refreshed. It is showing old data only.
    Can anybody provide their input where I am missing.
    Has anyone got the example which refreshes the data of <af:table> bound to RichTable ?
    It will really help me.
    - Hiren

  • Annoyances with using synergy with Mac

    So, I've got an iMac that I'm controlling exclusively with synergy (http://synergy2.sourceforge.net/) from a winXP pc, which is all working nicely. However, there are two things that are not quite right and I was wondering if anyone could help.
    At boot I get a selection screen asking me which hard drive to select at boot. I'm definitely not holding down an alt key for this to occur as there is no keyboard and mouse plugged into the system and synergy doesn't kick in until after that screen, requiring me to find a mouse each time to get past it. If I go to system preferences and set the startup disk, it will boot correctly, however that setting will reset itself at the next boot as well (which seems like an odd behaviour).
    Secondly, I'd also like to disable the "no mouse found"/bluetooth scanning notification window, as I don't want to be informed that I have no mouse plugged in when i have no trouble moving the pointer to close the window.
    Any suggestions would be greatly appreciated!

    Do a PRAM reset and see if that helps.
    Why not turn off BlueTooth until you need it?

Maybe you are looking for

  • Unable to install itunes 64it, on windows 7, stops at "unscheduling apple software update"

    The installation goes on fine, until it begins the "unscheduling apple software update" proccess,  at which point I get a message saying; "There is a problem with this Windows Installer package. A program required for this install to complete could n

  • Printer setting to print in background ?

    Hello, Im using F110 to print cheque and advice . I have set in a way to print the advice on the default PC printer (LOCL) and the cheque on a dotmatrix printer that i have created on SPAD. When i test this advice and cheque using TEST TRANSACTION ,

  • No sound in safari

    suddenly I have no sound in any video playing in safari - any ideas? can't find any sound preferences for safari "media" play iMac 17 G5 2GH 1G 250GB   Mac OS X (10.4.1)  

  • Sorting a two dimensional array

    Hello! I have a twodimensional array that consists of 6 other arrays (like array[0 to 5][0 to 4]). The [4] of each sub-array is a index number that i'd like to use for sorting the array[0][x] to array[5][x] according to their array[x][4]-value. How w

  • How to mass email a newsletter from Pages?

    I will be creating a weekly newsletter for an elementary school & need to mass email it to about 500 recipients.  Can I do that directly from Pages or do I need some sort of service to do it for me (like where people subscribe to receive it)?  Also,