How to exclude a result from a PreQuery

Hello,
is it possible to exclude a result from a PreQuery in another Query? If yes please let me know.
If not, is there another way to exclude a result from one query in another?
Thanks,
Benji

Hi
It is not possible to use pre queries in a structure (Row or column) but only in the fiter section of a query. As per a SAP error message when i tried the exact same thing.
Hope this helps.
Regards
Stephen

Similar Messages

  • How to exclude salary arrears from pension deduction?

    I have setup a pension retro element and its calculating the retro amount correctly.
    However, its using sum of salary arrears (say,arrears for the month of March and April) and adding that to May salary and deducting pension on the total sum.
    (we do not want this, we want only May salary to be considered for pension retro element)
    Does anyone know how to exclude salary arrears from pension deduction element? Is there any obvious step, which I am missing in while defining the element?

    Hi,
    While doing retro for arrears, it will give at a time in one payroll only, no standard for installment payments.
    2nd option:
    Calculate the Total Arrears amount and divide it by four installments and through IT 0014 with New wage type and give for 4 months as start and end date.
    * you have to create a new wage type which is taxable and assigned to IT 0014.
    * add this new wt in Remuneration form in Earnings side.
    Regards,
    Praneeth kumar

  • How to import payroll result from 3rd party system to SAP

    Hi Experts,
    May i know how to import payroll result from legacy system / 3rd party payroll system into SAP.
    i need to import the payroll result from Jan - April (from 3rd party payroll system) and system go live on May. I using payroll malaysia.
    Thanks.

    check this link
    http://help.sap.com/saphelp_40b/helpdata/en/91/80e9087834d111a4620060b03c3b0e/content.htm

  • How to exclude some tables from schema level replicatio????

    Hi,
    I am working on oracle10g stream replication.
    My replication type is "Schema Based".
    So can anyone assist me to undersatnd, how to exclude some tables from schema based replication.
    Thanks,
    Faziarain

    You can use rules and include them in the rule set, lets say you dont want LCR to be queued for table_1 in schema SALES, write two rules one for DDL and another for DML with NOT logical condition.
    DBMS_RULE_ADM.CREATE_RULE(
    rule_name => 'admin.SALES_not_TALBE_1_dml', condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
    ' :dml.get_object_name() = ''REGIONS'') AND ' ||
    ' :dml.is_null_tag() = ''Y'' ');
    DBMS_RULE_ADM.CREATE_RULE(
    rule_name => 'admin.hr_not_regions_dlll',
    condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
    ' :ddl.get_object_name() = ''table_!'') AND ' ||
    ' :dsl.is_null_tag() = ''Y'' ');
    just go through this document once, http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#i1017376
    Edited by: user8710159 on Sep 16, 2009 5:21 PM

  • How to exclude schema name from exported files (PL SQL Developer)

    Dear all,
    Just one question: I am using PL SQL Developer. My goal is to export some data (as .sql and .dmp files) from one database and to import them into the another database (both databases have identical structure - test database and production, just different database names and names of schema. In order to make it possible, I need to exclude schema name from generated export file. I believe that it is possible to do it automatically by setting up parameters of PL SQL Developer. How?
    Thank you in advance,
    Kindest regards,
    Dragana

    In the meantime, I have found the answer on my previous question:
    Actually, the initial idea (how to exclude schema name from exported files) was wrong. No need for any intervention.
    Trick is: Schema name can be changed during the import of exported files (PL SQL Developer during import gives possibility: From User (old schema) To User (new schema) .
    Hope that this will be useful info for others.
    Dragana

  • How to exclude Web App from search results

    Hi
    Search results link to a unstyled Web App instead to the actual page it resides in.
    Please do this:
    1. go to: http://kinship.businesscatalyst.com/
    2. search for "Michael" on the top global search
    3. on the search results page click on the name (link).
    4. you will see Michael's web app item not the actuall page it resides in (http://kinship.businesscatalyst.com/About/the-team)
    How to avoid getting web app results in search?
    Thanks
    Micha

    Hi Micha
    Just add “&OT=35 “ at the end of the action in your search form:
    Ex:
    <form name=”xxxx” method=”post” action=”/Default.aspx?SiteSearchID=3566&amp;ID=/results&OT=35”>
    <div class=”search-box”><input type=”text” class= ............../>
    <input type=”submit” class=”cat_button” value=”search” />
    </div>
    </form>
    Here are the rest of the content types IDs, should you come across similar situations in the future:
    Web Pages = 1
    Literature = 6
    Announcements = 7
    FAQs = 9
    Forums = 43
    Blogs = 55
    Web Apps = 35
    Catalogs = 26
    Bookings = 48
    You can exclude multiple areas from a search, simply list them with commas: &OT=35,1,6

  • How to exclude particular IPC from Rebates

    Dear SDN Team,
    Customer want to create some rebate in order to pay later on a promotional basis for the particular IPC.
    But they want to apply accruals on all IPC but by excluding particular IPC from Rebates, How to exclude the particular IPC from Rebates.
    Because customer want to exclude one IPC of the rebates calculation for only one rebates -
    Any Idea.
    For the above request i have suggested below solution - But it does not resolve their problems. But User is expecting further any other idea in order to resolve the above requirement.
    First Solution:
    In order to exclude the IPC for Ecopia from the rebates calculation- this can be done by setting the Material group in the Material Master - Basic Data1 view and you can exclude these IPC's while creating the condition records in the Rebate Agreement type.  By doing this we can exclude the rebates for the Ecopia tyres.
    Second alternative:  If you have already created the Rebate condition record for the Ecopia tyres then you can set the deletion indicator flag in the rebate condition for the particular IPC.
    Can you suggest any ideas in order to resolve this problem.
    Looking for your feedback.
    Thanks and Regards,
    Jana

    Dear,
    even if was not clear about the type of material you were reffering to, I analysed your request and I consider that you may proceed as follow.
    To achieve this result you do NOT have to modify the material master.
    Assumptions taken:
    A- you have to exclude only one material from the rebate calculation for only one rebate
    B- all other rebates do not have to be impacted by this exceptional rebate configuration
    C- material nr1 is the material to exclude
    D- material nr1 has a product hierarchy 00X (Line X)
    Procedure to achieve the objective:
    1) create a promotional rebate (RebateA) for the full Line X and set it relevant for accrual (define a percentage for accrual)
    2) create a promotional rebate (RebateB) for the single material nr1 and set it NOT relevant for accrual (no percentage for accrual)
    3) set the same percentage to pay or amount to pay to the customer in both rebates (A & B)
    4) set the same validity start-to for both rebates (A & B)
    5) define a percentage of accrual only for the first rebate (A only)
    The second rebate created (RebateB) will help in order to pay the right amount to the final customer.
    In order to perform a final settlement you will have IDEALLY simply subtract the values: RebateA - RebateB.
    There is no standard way to exclude single material from a single rebate without impacting the other active rebates.
    Of course, modify the material master is not the solution. Any change in material master will impact also open rebates and future rebates.
    For these reasons here above there is a business scenario you may apply to achieve the objective and it will not take a lot of time to maintain it.
    In case of questions or doubts to not hesitate to post your answer back to this post.
    Regards,

  • How to get save result from EXECUTE from a dynamic SQL query in another table?

    Hi everyone, 
    I have this query:
    declare @query varchar(max) = ''
    declare @par varchar(10)
    SELECT @par = col1 FROM Set
    declare @region varchar(50)
    SELECT @region = Region FROM Customer
    declare @key int
    SELECT @key = CustomerKey FROM Customer
    SET @query = 'SELECT CustomerKey FROM Customer where ' + @par + ' = '+ @key+ ' '
    EXECUTE (@query)
    With this query I want get col1 from SET and compare it to the column Region from Customer. I would like to get the matching CustomerKey for it.
    After execution it says commands are executed successfully. But I want to save the result from @query in another table. I looked it up and most people say to use sp_executesql. I tried a few constructions as sampled and I would always get this error: 
    Msg 214, Level 16, State 2, Procedure sp_executesql, Line 12
    Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
    So the output should be a list of CustomerKeys in another table.
    How can I save the results from EXECUTE into a variable? Then I assume I can INSERT INTO - SELECT in another table. 
    Thanks

    CREATE TABLE Customer
    (CustomerKey INT , Name NVARCHAR(100));
    GO
    INSERT dbo.Customer
    VALUES ( 1, N'Sam' )
    GO
    DECLARE @query nvarchar(max) = ''
    declare @par varchar(10) = 'Name',
    @key varchar(10) = 'Sam'
    CREATE TABLE #temp ( CustomerKey INT );
    SET @query =
    insert #temp
    SELECT CustomerKey
    FROM Customer
    where ' + @par + ' = '''+ @key+ ''' '
    PRINT @query
    EXEC sp_executesql @query
    SELECT *
    FROM #temp
    DROP TABLE #temp;
    DROP TABLE dbo.Customer
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • How to export the result from executing sql statement to excel file ?

    HI all,
    Great with Oracle SQL Developer, but I have have a trouble as follwing :
    I want to export the result from executing sql statement to excel file . I do easily like that in TOAD ,
    anyone can help me to do that ? Thanks so much
    Sigmasvn

    Hello Sue,
    I just tried to export to excel with the esdev extension and got java.lang.NumberFormatException. I found the workaround at Re: Windows Multi-language env, - how do I set English for application lang?
    open the file sqldeveloper\jdev\bin\sqldeveloper.conf and add the following two lines:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=USyet now my date formats in excel are 'american-style' instead of german. For example 01-DEC-01 so excel does not recognize it as date and therefore I can not simply change the format.
    When export to excel will be native to 1.1 perhaps someone can have a look at this 'feature'
    Regards
    Marcus

  • How to exclude tablespace UNDOTBS1 from backup in OEM

    I use OEM to backup our database (11.2 on Redhat 2.6.18-92.el5 ). It take quite a bit time and disk space (32gb) to backup the UNDOTBS1 table space. I do not think that we need undo tablespace for a recovery. If this is correct how can I excludeit from the backup. OEM allow to exclude data tablespace from backup but not UNDOTBS1.
    Thanks

    To create a physical standby you need the entire database. Not just parts of it. The only thing at the standby system that will be different is the controlfile (it will be a standby controlfile) and the spfile. Everything else will be exactly the same. Locations of the files can differ of course if you set the appropriate parameters.
    Please make sure you have read Chapter 3 "http://download.oracle.com/docs/cd/E11882_01/server.112/e10700/create_ps.htm#i63561" of the Data Guard Concepts and Administration manual.
    You can use the RMAN qualifier FROM ACTIVE DATABASE to the DUPLICATE FOR STANDBY command to avoid the need for interim storage for the backup. That method streams the backup from the Primary directly into the standby server. Refer to Chapter 2 of our book "Oracle Data Guard 11g Handbook (http://www.amazon.com/Oracle-Guard-Handbook-Osborne-ORACLE/dp/0071621113)" for details.
    Since you are using OEM, make sure you are using 10.2.0.4/5 Grid Control. The Data Guard standby creation wizard has a new option to use this RMAN option. It is the first selection on the type of backup page. (To get to the DG pages select your Primary database from the Database Targets page and then select the Availability tab, and then under Data Guard select the Add Standby Database link).
    As for block change tracking, since we all thought you were just doing a backup and did not realize you were trying to create standby BCT can help make it faster. However it does not apply in this case.
    Larry

  • How to send query results from BW to R/3 abap program

    Hi,
    I have to bring in query results from BW into a abap program written in R/3...can anyone help me on how to accomplish this(BW to R/3) please...i was thinking if reporting agent or broadcasting should help but i dont know how to get started.
    Please help.
    Thank you so much.

    Hi Vijay,
      As i know, you can send data from BW to Flat file or into any table in BW or to BW application server only.
      You need 3rd party to send data to different server.
    You can use
    1. Tcode : RSCRM_BAPI to download query values/results into a table or into a flat file. OR
    2. You can use Infospokes to generate files from ODS/CUBE/master data objects to flat files(local/application server) or to a table.
    3. Using information broadcasting we can send mail(dont know much options), but i dont think generation of file possible.
      You need to trnasfer generated file from BW to R/3 and load into R/3 using BDC or LSMW(if data is low).
      I think, you can also use RFC function modules to read data from BW to R/3, plz check with ABAPer.
    Hope it Helps
    Srini

  • How to exclude a task from ETL container

    Hi
    I am running Full ETL load for Oracle Financials R12.1.3 Vision instance, where one of the task is failing and due to that some 86 subsequent tasks are also failing.
    The task name is SDE_ORA_ProductDimension.
    I an suggested by Oracle Support to exclude that task from EP.
    Can someone tell me that how to exclude that from available Container, EP?
    OBIA release is 7.9.6.4 and Informatica 9.1
    You can find the details log of error here http://pastebin.com/hZRHJssi
    Thanks
    Naeem Akhtar
    Edited by: Naeem Akhtar Khan on Feb 28, 2013 8:44 PM

    Hi,
    do you make a copy of a predefined container ?
    You cannot modify objects in the predefined source system containers either through the DAC Client or directly through SQL statements to the DAC repository. You must make a copy of a predefined container in order to make any changes to it.
    You could see how to create a copy of a predefined container in the Oracle DAC documentation : http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e14849/dacquickstart.htm#BABJIIBB
    Hope it helps,
    Benoit

  • How to exclude certain playlists from being shuffled?

    I have Video IPOD and would like to know how to exclude certain play lists from being played when the "shuffle song" function is on?
    Appreciate your help.

    Going back to the beginning I think I misinterpretted your original question. I thought you wanted to be able to turn on the Shuffle Songs function of the iPod and when you played any playlist it would shuffle normally but you wanted to have some playlists that would play without shuffling without having to turn off that function.
    Now I think what you wanted to say was you want to shuffle song when playing your library on the iPod but if certain songs exist in your "do not shuffle" playlist, they would be skipped, right?
    If that is the case, you can do it with some Smart playlist manipulation. First create the "Do Not Shuffle" playlist and put everything in there that you do not want to show up when you are shuffle playing your library. Now create a new Smart Playlist where the rules are "Playlist IS NOT [do not shuffle]". Make that the only rule, check live updating and only checked songs. What will happen is that playlist will contain your entire library EXCEPT the ones you don't want shuffle played.
    Now when you listen to your iPod, you can use the Shuffle Songs option turned ON and play that smart playlist which will basically let you hear anything and everything in your library shuffled EXCEPT for those songs you designated to not include.
    Patrick

  • Siebel RecordMerge: How to exclude some entities from merging to the winner

    Hi all,
    I want to merge 2 accounts using Edit -> Merge Records.
    However, I don't want one of the related BCs (let's say contacts) to be merged to the Winner. I only want to transfer the rest like activities, opportunities etc. How do I exclude a child BC from the record merge?
    Should be fairly easy, but I can't find any related information.
    Thanks!

    I have the similar problem. I have ORA- in the Critical threshold and I just want to exclude ORA-00060 from critcial threshold. What will be the syntax for that? I do not want to filter it. I still want to recieve it as warning.
    Thanks
    Rinky
    Edited by: user11991081 on Oct 15, 2009 3:20 PM

  • How to dispatch the result from test cases to the function that loads

    Hi ,
         I am currently working on writing a test case and i ant to execute the test case and the result of the test cases needs to be returned to function that loads the swf file using loader.
    Below is the structure
    1) Project A
             Has a action script file that has a loader which inturn loads the swf file.
    public function testRunner():void {
                loader = new Loader();
                loaderDispatcher = loader.contentLoaderInfo;         
                sharedEvents = loaderDispatcher.sharedEvents;
                parentURL = loaderDispatcher.loaderURL;
                parentDomain = URLUtil.getServerNameWithPort(parentURL);
                parentScheme = URLUtil.getProtocol(parentURL);
                load("http://localhost:8000/abc.swf");
        var callback:Function = addAsync(onMessage, 30000, {}, handleTimeout);
        sharedEvents.addEventListener("message", callback);
        /*Listener added to receive message event*/
        sharedEvents.addEventListener(MessageEvent.MESSAGE, onMessageEvent);
            private function load(location:String):void {
                // create SWF loader
                loaderDispatcher.addEventListener(Event.OPEN, onOpenEvent);
                loaderDispatcher.addEventListener(Event.INIT, onINIT);
                loaderDispatcher.addEventListener(HTTPStatusEvent.HTTP_STATUS, onStatus);
                loaderDispatcher.addEventListener(Event.COMPLETE, onComplete);
                loaderDispatcher.addEventListener(IOErrorEvent.IO_ERROR, onError);
                loaderDispatcher.addEventListener(Event.UNLOAD, onUnload);
                loaderDispatcher.addEventListener(Event.CLOSE, onClose);
                var request:URLRequest = new URLRequest(location);
        //request.idleTimeout = 8000;
        try{
    loader.load(request);
    _subMovie.addChild(loader);
           catch (error:Error)
                     trace("Unable to load URL: " + error);
                // listen for DISPATCH events
                sharedEvents = loader.contentLoaderInfo.sharedEvents;
        sharedEvents.addEventListener(DISPATCH_EVENT_TYPE, handleDispatch);
    2) Project B
          Project B has the test cases written and teh swf file for this project is abc.swf.
    test.mxml
    public function go():void {
    var core:FlexUnitCore = new FlexUnitCore();
    core.addListener(new TestCaseListener());
    core.run(ABCTest);
    var messageEvent:MessageEvent = new MessageEvent("message","action test","action testing");
    //loaderInfo.sharedEvents.dispatchEvent(messageEvent);
    When I load abc.swf file this inturn call the mxml file which runs the testcases by using the FlexUnitCore .
    What I am looking for is dispatching the result that is available in TestcaseListener to the call of loader ie; in Project A
    public class TestCaseListener extends RunListener  {
    public override function testRunFinished(result:Result):void {
    trace("testRunFinished invoked 1 ::");
    trace("failureCount::"+result.failureCount);
    trace("failures::"+result.failures);
    trace("successful::"+result.successful);
    Is there any way in which i can dispatch the result from testcaselistener to the call where this swf file is loaded .

    Hello Sue,
    I just tried to export to excel with the esdev extension and got java.lang.NumberFormatException. I found the workaround at Re: Windows Multi-language env, - how do I set English for application lang?
    open the file sqldeveloper\jdev\bin\sqldeveloper.conf and add the following two lines:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=USyet now my date formats in excel are 'american-style' instead of german. For example 01-DEC-01 so excel does not recognize it as date and therefore I can not simply change the format.
    When export to excel will be native to 1.1 perhaps someone can have a look at this 'feature'
    Regards
    Marcus

Maybe you are looking for

  • Text editor in Score module agonizingly clunky!  Fix?

    When creating scores from midi regions, the text editor drives me nuts when adding lyrics: The word/character positioning is different between text edit/create mode and what appears on the screen after editing, and different again between that and wh

  • My external hard drive doesn't appear in disk utility

    I've been using a western digital my book (500gb) external hard drive connected to my Airport Extreme for TIme Machine Backups.  For no apparent reason, it stopped backing up a few days ago.  I've plugged the drive directly into my MBP, and it doesn'

  • Spry menu bar not working in Contribute

    I have created a site in Dreamweaver which my client will edit in Contribute. However when i view the site in Contribute - the Spry menu bar doesn't show up like it did in Dreamweaver. instead it shows up like a text list. Has anyone run into this is

  • Inspection setup maintained while stock in quality inspection

    Dear Consultants, While having stock in quality inspection we were still able to maintain the inspection setup in QM view of that material in that plant. Actually the system should have thrown error "To activate QM, the inspection stock for the mater

  • Total newbie with questions

    Hi, I've just started trying to create forms with Designer 7.0. I have managed to import a Word document and have found it easy to tweak the appearance and add different types of fields, but I have a couple of questions that I just can't figure out.