Running an ABAP Query with transaction gives error!

The queries are there (only in production systems), from PHX. When the queries are started from SQ00 they work.
*The question is, if this has to be done for every single query*?

Hi,
When we upgraded, we had only few queries to be generated. Not all the queries were required to be generated...
Hence would depend on case to case..Better regenerate the query. This is similar to activation. Hence will not be an issues for already generated queries.
Hope this helps
Regards
Shiva

Similar Messages

  • Is it possible to run an IdocScript Query with Service GET_SEARCH_RESULTS?

    Hi All,
    I need to run the below query with GET_SEARCH_RESULTS service.
    dDocType <matches> `ArchivePackage` <AND> xSubmissionDate < `10/08/13 11:03 AM`  <AND> xArchiveDocName <EQUALS> dDocName
    Part of this query works fine but when the part in BOLD is also used I get an error, reason being there is nothing like <EQUALS> when using QueryBuilder
    Instead is it possible to run the below idocscript with any service?
    <$ (dDocType like 'ArchivePackage') & xSubmissionDate < dateCurrent(-365) & (XArchiveDocname == dDocname) $>
    I tried it with GET_SEARCH_RESULTS, but got wrong results and no error.
    Is this even possible or should I just change my approach?
    Regards

    I tried to search more info on this one. It is true that in all cases the operator is followed by a constant - see e.g. https://blogs.oracle.com/interactions/entry/ucm_get_search_results_with_full_text_search
    Honestly, I see no reason why a reference to another metadata could not be made, but the parser might just fail on it. If you can, try to get an official answer from support via Metalink. Alternatively, you can decompile the code processing the service and check why parsing fails when non-constants are used.

  • How to create an ABAP Query with OR logical expression in the select-where

    Hi,
    In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
    Please help me on this.. Points will be rewarded.
    Thanks a lot.
    Regards,
    Question Man

    Hi Bhupal, Shanthi, and Saipriya,
    Thanks for your replies. But that didn't answer my question.
    Bhupal,
    You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
    Shanthi,
    Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
    Saipriya,
    Like what I have said, this is a standard SAP code so we can't do your suggestion.
    I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
    Thanks a lot.
    Points will be rewarded.
    Regards,
    Question Man

  • HT201210 When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware
    what is the problem ?

    Error -1 generally indicates a catastrophic hardware failure. 
    You'll need to bring your phone to Apple for evaluation

  • When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    When I Restore My iPhone with itunes gives error -1 will end of the Installing  firmware

    Error 1 means, as the link that Chris gave you says, that your phone is either jailbroken or damaged.
    It can also mean that your antivirus is blocking the update, but this is rare. Try disabling your antivirus if your phone is not jailbroken. If that doesn't resolve the problem you need to get the phone fixed or replaced.
    If the phone IS jailbroken you have just learned why you should not hack an iPhone. And you will have to go somewhere other than an Apple-hosted forum for help.

  • Session keeps running when the query has a syntax error

    I have a weird scenario.
    Take this query for example: select distinct physassignednum from hsi.docdeficiency where delinqlevel> 0 and dfcystatus in (1,6));
    This query has a syntax error as there is an additional bracket at the end. I know that. When I run it on STJOSE database the session keeps running and never returns. Even if I stop it, it does not. I try to disconnect, it says "Connection is currently busy. Try again?" This behavior is pretty consistent on STJOSET. If I run this query on UMASS database it gives me this error (as expected)
    ORA-00933: SQL command not properly ended
    00933. 00000 - "SQL command not properly ended"
    *Cause:   
    *Action:
    Error at Line: 1 Column: 99
    I do not know what is wrong with the STJOSE database connection that causes the session to hang and never return.
    Please help.
    -Nags
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production (both databases)
    SQL Developer Version 3.0.04 Build Main-04.34

    This does not happen in sql*plus. It does not hang. It returns a proper error message.
    HSI@stjose> select distinct physassignednum from hsi.docdeficiency where delinqlevel> 0 and dfcystatus in (1,6));
    select distinct physassignednum from hsi.docdeficiency where delinqlevel> 0 and dfcystatus in (1,6))
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    HSI@stjose>

  • ABAP Query ... syntax error ...... short dump

    Hi,
    I am getting dump when executing ABAP Query..
    Error in the ABAP Application Program
    The current ABAP program "AQL4LA==========ZTST_DATA=====" had to be terminated
    because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "/1BCDWB/SAPLIQ000000000486 " in
    include "/1BCDWB/LIQ000000000486$04 " in
    line 5:
    "A FUNCTION already exists with the name "/1BCDWB/IQ000000000486SSCR"."
    Any help ?
    Giri

    Hello,
    Please refer to SAP note 723577 and implement the recommendations within and regenerate the query.
    Hope this helps.
    Regards,
    David

  • ABAP query issue when logoff error message query not created

    Hi All ,
    I created a ABAP query using SQ01 . I saved it and i'm able to see the output . But , if i logoff from the system and relogin again to system and trying to execute the query , it is showing an error message
    " The query has not been created " Please help me , is there any settings change or i have to do any thing else ?
    Thanks & Regards ,
    Sabu

    Hi ,
    Yes you are right , when i try that way i can see , is it the correct solution ?
    i have one more issue , i created the query , i can display and execute the query , but no one in the same system able to display or execute the query . What should i do .
    Thanks & Regards ,
    Sabu.

  • ABAP Query with Debit/Credit Columns

    Dear All
    I need to develop an ABAP Query in which the user should be able to see Debit and Credit balances seperately . I understand that i will have to include two ( DR and CR ) additional fields and then do some kind of coding to pull info from either BSEG/BSIS  ( which one would be better ? )
    table but i just dont know how. Would appreciate if someone can guide me through .
    Thanks
    Sameer

    Bharath
    In some cases when you need to pull info from other tables like this , you create additional fields and then you give joining conditions to pull the information. My Requirement is that i need to develop a query
    Period Year CoCode  G/L G/L Text    Debit Bal  Credit Bal
    Now you dont have Debit and Credit as fields in any table so you need to create those fields and populate it by using suitable codes. Thats what i am really looking for
    Thanks for your effort though
    Just for your Knowledge goto sq02 and hit on extras you will  see those different options

  • Adobe Updater can be run only by users with administrator rights error on 2003 termianl server

    I just installed the latest security update of 8.1.7 on my two terminal servers. Now when each users logs in, they get the following error.
    Insufficient Rights (title)
    Adobe Updater can be run only by usrs with administrator rights.
    They simply click OK and it goes away but it is very annoying. It seems like every time their is an update to Adobe Reader, something goes wrong.
    Does anybody have any thoughts on how to stop the Adobe Updater from loading when my users login? Thanks,
    Justin

    I ended up finding the solution at this link.
    http://forums.adobe.com/message/1770665
    Erech_Belt said
    5. Aug 14, 2008 7:22 AM in response to: (LeaAnn_Coldren)
    Re: Insufficient Rights Window for non-admins after 8.1.2 successful install
    Here is the solution I found.
    "Renaming %program files%/Common Files/Adobe/updater5 to something else removed the error."
    This seems like a brute force approach, but it does work. I checked the event logs after doing this and don't see any errors in the App or System logs. This folder is the location of AdobeUpdater.exe and all of the Adobe .cer files, so it makes sense that this works, but seems like it should generate other errors...
    This is not how I wanted to solve the problem but it did solve it.
    Justin

  • Weblogic with Hibernate gives error of named queries ? urgent

    I have deployed my application on Weblogic 11g, it gives Hibernate Names query exception.
    My Application uses Hibernate 3.0 and it works successfully on
    Tomcat
    JBOSS
    Glassfish
    But , on weblogic it gives Named query exception .Please any once can help.
    I have put antlr-3.0 jar file in lib folder of Weblogic domain folder , and have added path of it in setDomainEnv.cmd file but still Hibernate gives error of named query.

    You can follow the steps presented here: http://middlewaremagic.com/weblogic/?p=5861
    The reason for the failure is the antlr library, which is already loaded through the system classpath, so you
    need to tell WebLogic which version is should load as Hibernate uses its own implementation of the antlr library.
    Adding it to the domain/lib directory does not help as jar files placed in this directory are added at the end of the system classpath at the end.
    Note that it is not good practice to place jar files in the domain/lib directory.

  • Creation of ABAP Query- with SQ01.

    Dear Friends,
    Please provide the full notes to create ABAP Queries with the T.code SQ01.
    Thanks & Regards
    Sreehari.

    Dear Frind,
    My Mail ID - [email protected]
    Thanks & Regards,
    Sreehari

  • Abap query with constante value

    hello,
    I wish to create several abap query since tables MKPF and MSEG for the inventory mouvements. each query for a type of inventory turnover (101, 501,…), but I should not put the code movement in criteria of selection. it is necessary that the code movement should be fixed in the query. should-I declare the MSEG-BWART as a constante? where I can do it?
    thank you for your assistance.
    cordialy Said

    Hi,
    Variant is a good option. Here is one more stable option.
    Other option is to use following Code.
    RANGES : ran1  FOR MSEG-BWART.
    ran1-sign = 'I'.
      ran1-option = 'EQ'.
      ran1-low = 101.
      APPEND ran1.
    ran1-sign = 'I'.
      ran1-option = 'EQ'.
      ran1-low = 501.
      APPEND ran1.
    Then use ran1 similar to select option.
    Hope this will help you.
    Darshan

  • Query run in Sql prompt correctly but give error in APEX report ORA-01843

    Hi. all APEX user
    Last week I upgrade APEX 3.2 to 4.0.2 . Now i have a problem. PL/SQL reports which are working in APEX 3.2 not working in 4.0.2. Help me.....
    I am working on a mission critical application we have to upgrade there next month.
    Query code is :-
    select * from (
    Select pp.PAYMENT_DATE,pp.PATIENT_ID,p.name as name,pa.Service_Subtype,pp.PAYMENT_RECEIPT_ID,pa.Ward_Type,(pp.TOTAL_CHARGE-pp.discount) as amount ,pa.Service_Booked_By,pp.PAYMENT_COLLECTOR,
    case when pp.discount=0 then 1
    when pp.TOTAL_CHARGE = pp.discount then 3
    else 2
    end payment_status
    from patients p,PATIENT_Payment pp,PATIENT_account pa where p.patient_id = pp.patient_id and pp.patient_id=pa.patient_id and pa.SERVICE_SUBTYPE=pp.SERVICE_SUBTYPE AND pp.SERVICE_REGISTRATION_ID=pa.SERVICE_REGISTRATION_ID and
    (pp.PAYMENT_DATE>=to_date(:P15_date_from,'dd-mon-rr')) AND
    (pp.PAYMENT_DATE<=to_date(:P15_date_to,'dd-mon-rr'))AND
    (pa.GROUP_NAME=:p15_Group or :p15_Group='ALL') AND
    (pp.service_type=:p15_Service_Type or :p15_Service_Type='ALL') AND
    (pp.SERVICE_SUBTYPE=:p15_SERVICE_SUBTYPE or :p15_SERVICE_SUBTYPE='ALL') AND
    (pa.WARD_TYPE=:p15_Ward or :p15_Ward='ALL') AND
    (pp.PAYMENT_COLLECTOR=:p15_Collector or :p15_Collector='ALL')
    )order by pp.PAYMENT_DATE
    ) where payment_status=:p15_status
    order by 1

    In your query, you expect the date to have the format 'dd-mon-rr'. Have you checked if the format of the date-items is of this format?

  • Firefox 6.0 will not run if Zone Alarm is active, gives error: XULRunner, Error Platform Version 6.0 is not compatible with minVersion + 6.0 maxVersion = 6.0

    Windows 7
    If Zone Alarm is disable Firefox runs

    Try to ask in the ZoneAlarm forum.
    *http://forums.zonealarm.com/

Maybe you are looking for

  • All drum loops in LE 8 are greyed out and Apple loops utility 'can't be installed'

    Hi I installed Logic Express 8 and have loads of loops missing, especially the drum loops. Even the Apple loops utility is giving me problems. It looks like the Apple loops utility was installed (because I have the icon for it now), but everything in

  • Combining Archive PDFs

    Hello, I've been archiving the responses to my distributed form after I import 50 applications at a time (I'm expecting over 2000+ applications). Eventually I would like to merge my separate archive pdf's into one massive pdf file and I want to be ab

  • Case insensitive XPATH

    Hi, I have the following XMLs stored in a column. <root> <abc>abc</abc> <def>def</def> </root> <root> <ABC>abc</ABC> <DEF>def</DEF> </root> Is there someway to use a case insensitive search in my extractValue so that I don't have to write it twice? e

  • Where to include Text Files?

    I have am creating a j2me application that requires data access from a text file. I am using netbeans 5.5.1 mobility pack. So can anyone help me out as to where or which folder in the project directory should i store the text files so that i can acce

  • Z22-Everything Went Wrong

    I bought a Palm z22 and tried to install it on my Pavillion running Vista Home Edition 64-bit.  No drivers available for the 64-bit machines.  I contacted the Palm chat technicians and they told me "Most users use 32 bit vista operating system and Pa