Optimized sql not properly generated when using SAP tables

Hi Experts
We are using BODS 4.1 sp2.
We have a simple dataflow where we pull data from SAP r3 using direct download and push it in our database.
Basically its like this:
SAP Table-->Query Transform-->Oracle Database
Inside query transform,we have applied some conditions in where clause,which are combinations of 'or' and 'and' operator.
However when we are generating optimized SQL for the same,we observe that the conditions in where clause are not being included in the optimized query.
But if we replace all conditions by only 'or'  or by only 'and' condition,the optimized sql query with condition  is generated.
Somehow the optimized sql with conditions is not generated if where clause has mixer of 'and' and 'or' conditions.
The issue is only observerd for SAP Tables
However the same dataflow in bods 4.0,generates an optimized sql containing the mixed conditions of 'and' and 'or' in where clause.
Please help me on this.

Dear Shiva
We e
Let me explain this in detail to you:
We have a simple dataflow where we push data from the sap table directly into our oracle database.
The dataflow has a query transform where we have some conditions to filter the data.
The method used to pull data from R3 is direct download.
System Used:
BODS 4.2 SP1
SAP R3 620 release(4.7)
The where clause has mixed 'and' and 'or' operators.The problem is that this where clause is not getting pushed in the Optimized sql.
Eg: Table1.feild1=some value and Table1.feild2=some value or Table1.feild3=some value.
If this is the condition in  where clause,the where clause does not appear in optimized sql.
Also the condition in where clause is from same table.
However if all the condition in where clause are either all 'and'  or either all 'or',the condition gets pushed and appears in optimized sql.
But if their is mixed 'and' and 'or' it fails.
The same was not the case when we used BODS 4.0 with R3 620(4.7).
We investigated further and used R3 730 with BODS 4.2.With R3 720,we the where condition was getting pushed into optimized sql for mixed 'and' 'or' predicated.
SAP support too confirmed the same.They were able to reproduce the issue.
We will use ABAP dataflow and see if if resolves the issue.
Regards
Ankit

Similar Messages

  • "Given final block not properly padded" when using wrong secretKey

    Hello guys, I browsed the questions in this forum regarding my problem, but somehow couldn't find a solution to this.
    I generated two SecretKey key1 and key2. Now I'm using the Cipher class to encrypt a message to key1. If I try to decrypt it with key1, everything works fine. But if I try key2 I get the "Given final block not properly padded"-message in my exception backtrace instead of just unreadable stuff, which I excepted (using the wrong key). This happens regardless of the symetric algorithm I use.
    Can you help me?
    Thanks,
    Sebastian

    Most symmetric algorithms work on data of a given block-size. If your data isn't a multiple of that size, it's padded. This removes a clue that a cryptanalyst can use to try and break your encryption. At decrypt time, the Cipher expects to see padding-related bits at the end of the stream, so it knows how many pad-bits were stuck on to begin with. When the end of the stream doesn't match the expected padding-protocol, you get the exception noted.
    Now - if you decode with the wrong key, you get junk. The chances of that junk ending with a valid padding-indicator is...small. So you're more likely to see "BadPadding" than a valid (if incorrect) plaintext.
    You could use "NoPadding" on both ends, and do your own manipulation of the bit-stream to make the Cipher happy. Then, you wouldn't get BadPadding exceptions. But you'd have to write some pretty fiddly code on each end.
    Anybody else want to double-check me on this? I'm away from my books at the moment. Floersh? Euxx?
    Good luck,
    Grant

  • Ora-00933 sql not properly ended.

    Dear members,
    I have the following query in Report Builder 10g,
    select a, b, c
    from table1
    where a=12
    &p_whr_fy &p_whr_supp &p_whr_bt &p_whr_mat_spec &p_whr_lc_num &p_whr_cotton &P_WHR_LOC_ID
    union all
    select a, b, c
    from table2
    where a=12
    &p_whr_fy &p_whr_supp &p_whr_bt &p_whr_mat_spec &p_whr_lc_num &p_whr_cotton &P_WHR_LOC_ID
    here I used lexical parameters, and with spaces in lines its ok but when try to edit the query / remove the spaces in lines it gives the error.
    ora-00933 sql not properly ended
    Regards:

    Hi,
    Check your default values for substitution variables, at least one of them is not empty and causes an error.
    kikolus

  • Commenting a Line in ABAP Editor when using SAP GUI for java

    Hi,
    In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.

    Hello Kedar,
    please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
    Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
    Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
    Best regards
    Rolf-Martin

  • Profit Center Document not getting generated when direct FI doc is posted

    Dear Experts,
    Profit Center Document not getting generated when direct FI doc is posted. However CO Document is generated for Line Item 1 mentioned below.
    Accounting Entry
    Line 1 -Debit Expense ( Cost Center) 1000
    Line 2 - Credit Bank                             1000    
    Advance Thanks
    Sanjai

    Hi,
    Pls check profit center configuration.... Some config might have missed.....
    Use the t.code 1KE1 For analysing the profit center configuration.
    Regards,
    RAM
    Edited by: Ram000 on Oct 7, 2011 10:45 AM

  • Error when using SAP authentication for Designer

    my error is:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(The
    secSAPR3 DLL could not be found or does not exist(hr=#0x80042a01)
    can you help me?
    regards

    hi,
    pls refer the link
    Error when using SAP authentication for Designer
    try re-installing BOE and check
    hope it helps,
    sundar

  • [svn:bz-trunk] 20976: bug fix BLZ 602 IPv6 address isn' t properly resolved when used in dynamic url in the proxy service

    Revision: 20976
    Revision: 20976
    Author:   [email protected]
    Date:     2011-03-28 09:20:34 -0700 (Mon, 28 Mar 2011)
    Log Message:
    bug fix BLZ 602 IPv6 address isn't properly resolved when used in dynamic url in the proxy service
    checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/messages/HTTPMessage.java

    Firstly, there's no such thing as Apache 9.3, there's Apache 1 (and subversions) and Apache 2 (and subversions). Your error message -
    Oracle-HTTP-Server/1.3.28Shows you're using Apache 1.3.28
    Secondly, I'm confused by your comment -
    I do not have Apache 9.3 or higher but I think oracle should offer this in its companion CDOracle does offer the Apache server, if you're saying you didn't get it from Oracle then where did your Apache server come from?
    Thirdly, I notice from your config file -
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"That you're piping the logs through rotatelogs, are you sure the logfiles haven't just been renamed?

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • After updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid

    after updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid good money for this mack, I feel calm

    Hi Buterem,
    I'm sorry to hear you are having issues with your MacBook Pro since your recent Yosemite update. I also apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having intermittent but persistent responsiveness issues with your mouse or trackpad, you may want to try using Activity Monitor to see if these incidents correspond to occupied system resources, especially system memory or CPU. You may find the following article helpful:
    How to use Activity Monitor - Apple Support
    If the entire system hangs or locks up (for example, if the system clock freezes and stops counting up), you may also be experiencing some variety of Kernel Panic. If that is the case, you may also find this article useful:
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Regards,
    - Brenden

  • RPC Server not Available error when using Windows Fax & Scan under Windows 7

    RPC Server not Available error when using Windows Fax & Scan under Windows 7

    Hi,
    On current situation, please remove the old fax account and re-add a new fax account in Windows Fax and Scan, then check if this issue sill exist. For more details, please refer to following similar thread and artilces.
    RPC Server not Available error when using Windows Fax & Scan
    under Windows
    The local fax account is inaccessible after you rename a Windows Vista-based computer
    Cannot send fax from Windows Vista/Windows 7 PC with “RPC Server not Available” error message
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.
    If any update, please feel free to let me know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.

    I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.  I have looked thru this forum and I don't see anyone else having this problem. (unless I missed it).  The recording works in Notes, but not when I open Webcam and try to record from there. video recording works fine. I have had this computer less than a month and I am having a couple of problems with it. Still loving it though.

    Hello schae731: Welcom to HP Forum and your new Touchsmart. You need to contact HP Direct Support on line your Touchsmart comes  with one year warranty so use it why you can. You can contact them through your HP Support Assistant or on line. They will help you with trouble shoot the web-cam software. Goto your computers model and make support web-site. They will also help you with your other issues as well.
             I am using the older version software so I won't be much help. Please repost if HP direct support is un able to help you resolve your issues. While you are chatting with them have them check out your computer do it before your 1 year warranty expires. Have fun with your new computer.

  • "access restrictions" did not work sometimes when using 3-tier DeskI.

    My customer found that "access restrictions" did not work sometimes when using 3-tier DeskI.
    But this issue can be solved by logging on from another machine, or restarting the DeskI.
    For I can reproduce this issue, so I just want to know that:
    1.What is it probably related to?
    2.If this issue happens again, what can I suggest my customer for tracking it?
      For example, get some log files from servers etc.
    Thanks!

    Hi Sarah,
    Also you can try the following solution.
    1. Import the universe.
    2. Go to manage access restrictions
    3. Remove the restriction .
    4. Again create the rescrition and unchecked the " limit size of result set to"
    5. Now assign it to the unlimited results group ( this is the name of
    the group we have given to those users who should be able to retrieve
    more than X rows)
    6. Now we save the universe. (Dont export the universe).
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • Post Moved Galaxy-Note-dropping-Wifi-when-using-...

    Pot moved http://community.bt.com/t5/Other-BB-Queries/Galaxy-Note-dropping-Wifi-when-using-HH3/td-p/671308
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    I think I found the answer to my own question (no thanks to Verizon)!
    I found this article online which was written recently (2012) and explains the WIFI - Bluetooth interference pretty well. Here is the link:
    http://www.ecnmag.com/articles/2012/03/wi-fi-and-bluetooth-coexistence
    The way it has been explained is that if the WIFI & BT radios are on the same chip and using the same antena to send and receive, they WILL interfere no matter what. Having them on two different chips is the best way. But Frequency Isolation (Adaptive Frequency Hopping (AFH)) is a way to reduce interference when they are both on the same chip (as it is in Galaxy Note 2 & S3 - they have Broadcom BCM4330 for wifi/bluethooth/FM) which I guess needs to be addressed in a software update (or may be it already has and is not working well). The last solution is to use 5GHz band for WIFI.
    There you have it. But please let me know what you think and if you have found out anything else.
    Thanks

  • clientValidater s when used in tables

    The thread UIX <clientValidater> elements when used in <tables> - problem in the JDeveloper forum gave me a solution to using client validaters on repeating fields in a <table>. I've got this to work fine but have noticed in the log (I've set debug=true in uix-config.xml) that when the page is rendered I get the message 'The id nnn is used more than once' for each of the fields in a row. I can see why it's doing this and am just curious as to whether it could cause me any problems. I don't (currently) make any use of the id other than for this situation.
    Cheers
    Ian

    It shouldn't cause any major problems. It would affect
    PPR if you tried to use PPR to individually replace
    single table cells.
    If you use <messageTextInput>, we'll automatically
    generate unique IDs per row in the table, and this'll
    get client validaters to work just fine. Unfortunately,
    <bc4j:messageTextInput> doesn't support ID generation
    for some arcane but nasty-to-untangle reasons.

  • Classic report ORA-00933 SQL command not properly ended when enabling sort

    Hi,
    Oracle 11g r2, APEX 4.1.1.00.23.
    I have some reports of type SQL Query (PL/SQL function body returning SQL query), so the source is like the following :
    begin
      return points_ui.get_points_query(:P0_FILTER_TYPE);
    end;Without any sort option, the report is rendering successfully.
    But I got the following error when a try to enable the sort option for a column :
    ORA-00933: SQL command not properly endedI read about this error on Oracle forums, and I saw it was a bug in a previous release, but I thought it was fixed in 4.0.2...
    Any help would be much appreciated.
    Thanks.
    Yann.

    OK indeed I had to remove the order by clause from the query, I should have tested this...
    I thought there were some checks in the internal APEX process to "merge" the order by clauses, but it seems it is not the case...
    Thank you for your help.
    Yann.

Maybe you are looking for