How to find a certain Requst?

Hello experts,
I cannot activate an DSO because I first have to set an older Delta-Request in PSA to status red in order to activate the latest Delta-Request. But when I look into the DataSource-Administration I can't find that Request in the PSA!
Any suggestions?
Hiza

HEllo,
is it so that when you are trying to activate the DSO, its failing. IF so  then i dont think soo it has to do anything with PSA. The request your talking about migh have been deleteed from the PSA.
Check whether in manage of your DSo do you have any red request. IF you have any then you need to rectify or delete it to get the DSo activated,
What is the exact errror message you get.
Regds,
Shashank

Similar Messages

  • How to find if certain record exists from stored procedure

    Hello
    I am not an expert in this and am trying simple thing. I want to find if certain record exists in a table and if so set some boolean variable.
    create or replace procedure findit(param)
    AS
    return_group boolean;
    BEGIN
      myflag := false;
    --here goes my question
    -- say I have SELECT WHATEVER FROM TABLE WHERE BLA = param
    --if it returns at least one record set myflag to true;
    END;Any idea?

    THanks Satyaki_De,
    However, when I put simple SELECT statement in the body of my procedure it does not compile. Actually I should have said that before. So here is my code and where it breaks:
    create or replace procedure close_subjects(study_id varchar2)
    AS
    return_group boolean;
    BEGIN
    dbms_output.enable(1000000);
    FOR current_group IN(
       SELECT DISTINCT group_id from groups WHERE study_id=study_id
    ) LOOP
       FOR current_subject IN(
          SELECT individual_id from groups WHERE group_id=current_group.group_id AND study_id=study_id
       ) LOOP
          return_group := true;
          SELECT INDIVIDUAL_ID FROM ASSIGN WHERE DATE_TIME_ASSIGNED = ( SELECT MAX(DATE_TIME_ASSIGNED) FROM ASSIGN WHERE INDIVIDUAL_ID = current_subject.individual_id ) AND                            ASSIGN_STATUS_ID = 'A';
         IF SQL%RowCount = 0 THEN
           return_group := false;
             dbms_output.put_line(current_subject.individual_id);
          END IF;
       END LOOP;
    END LOOP;
    END;
    /If I comment out SELECT statement and leave dbms_output for testing purposes it works well. As I said I am faaaar from expert and seems to me that I cannot have SELECT in procedure BODY?

  • How to find a certain class in all "JARs" on my partition ?

    Is there a way/tool which helps me to find out in which of all the JARs on my partition a certain class exists ?
    Example: I want list all JARs (with path) which contain the Class
    cmpack.mypack.mayclass234
    Note that not only JARs in my CLASSPATH should be investigated but ALL JARs!

    Look at all files on the partition, check whether they're JARs (-->FileFilter), feed them to an UrlClassLoader and try to load that class. If that works, it's in there.

  • How to find a certain usage of a specific value inside an SSIS package

    Hi,
    In T-SQL, there are many tools to search for instances of a specific value in all the objects such as tables and SPs.
    The only way I can think of in SSIS, is to search for a value in the XML of the DTSX, but it is not that user friendly.
    Are there any existing tools or other ways for a value search that can assist ?
    Thanks,
    Dani

    Since a package is just a plain text XML file thus  you are able to perform a text search in the file.
    http://sqlblog.com/blogs/jamie_thomson/archive/2012/06/12/using-find-replace-with-regular-expressions-inside-a-ssis-package.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to find out where I have used a certain Global/Local Variable

    Hi Friends
    I want to track how and where the shared variable's  value has been
    changed/Read when I try to debug the program. Anyone
    here had the expenrience on how to find a certain shared variable in
    the Block Diagrams/VIs. I will very appreciate you help.
    Cheers!

    Hi All
    I have tried the  ctr+F to find a certain shared variabl, but the result came out is looks all the shared varibales. How can I focus on 1 certain shared variable. I am using labview8.2.1.
    And I have tried the Find shared variables VI  from the link Ben showed me. It can not work properly. It showed an error when I try to search, which says: Error 1057 as attached. Could anyone tell me why. Thanks.  
    Attachments:
    Error 1057.JPG ‏66 KB

  • How to find out which sequence a certain column used?

    you konw column C in table T is created by a sequence.
    How to find out which sequence column C is using?

    In the meantime I think it ought to becompulsory to
    only assign sequence values in triggers.
    Why? I can see no good reason for this. I think it's a good idea to have stuff like this
    coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
    "naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
    Thats what code reviews are.
    " there is also the special case of one sequence populating more than one table...."
    This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
    Unfortunately I have to live with a system which does this.
    and I appreciate we can't all have code reviews, etc.

  • How to find part number on Motherboard?

    Hi all - I've got a G4 MDD dual 1g mac that I fear has a bad motherboard. I have done some preliminary research into buying a replacement board, which leads me to my question (2-parter):
    1. Can anyone tell me how to find the part number or identify the motherboard in this computer? (so I don't buy the wrong thing)
    2. Other than eBay, can someone recommend a good source for finding a replacement board?
    Any info would be MUCH appreciated. Thanks in advance!

    G4ce,
    The part number is at the end of PCI card slot 5. It will say "APPLE COMPUTER 820-nnnn 2002" (or 2003).
    820-nnnn is the part number, it'll always be 820 in the first part, but the last 4 digits can be different depending on model and manufacture date. Typical values are 1308, 1440, 1445.
    If you're planning to re-use your existing processors, the new board number should match exactly.
    I say"If" because you may find a complete MDD or one sold without certain parts a lot easier than the exact model number board.

  • How to find a query name from report name

    I have a report in my system with the name AQICMM==========P2============ . I believe this was created from a query. How to find the query corresponding to this report ? I need to change the logic for certain columns of the report. How to know if this was created from SQVI or SQ01 or any other transaction.
    THanks.

    Found it..Query name is P2. It was in a different query area..Standard area and not custom area where I was initially looking at.
    Edited by: Shareen Hegde on Aug 22, 2008 5:14 PM

  • How to find which users only have a single and a specific responsibility

    Hi,
    I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
    Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.
    For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
    As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?
    select usr.user_name, res.responsibility_name
    from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
    where usr.user_id=usrrep.user_id
    and usrrep.responsibility_id=res.RESPONSIBILITY_ID
    and usr.end_date is NULL
    group by usr.user_name,res.responsibility_name
    Any suggestion, idea will be very much appreciated.

    Hi,
    I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
    Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.Use the same update statement in $FND_TOP/sql/AFCPEXPIRE.sql and include/exclude the usernames you want.
    For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
    As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?See (How To Find Out Which Responsibility Was Granted To A Specific User? [ID 304687.1]).
    Or, see old threads for similar topic (you will find many queries which should be helpful).
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Users+responsibilities+query&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    select usr.user_name, res.responsibility_name
    from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
    where usr.user_id=usrrep.user_id
    and usrrep.responsibility_id=res.RESPONSIBILITY_ID
    and usr.end_date is NULL
    group by usr.user_name,res.responsibility_nameTry this query ..
    SQL> select fu.user_name, count(frvl.responsibility_name)
    from fnd_user_resp_groups_direct furgd, fnd_responsibility_vl frvl, fnd_user fu
    where furgd.responsibility_id = frvl.responsibility_id
    and fu.user_id = furgd.user_id
    and (to_char(furgd.end_date) is null
    or furgd.end_date > sysdate)
    group by fu.user_name
    having count(frvl.responsibility_name) = 1;Thanks,
    Hussein

  • How to find a specific activity done by a particular user in the database

    How to find who (a specific user) does what (activities) on a specific date/time to certain Objects in a database instance. If similar posting and/or resources are available, please advise.
    Thanks.

    I have got the same problem. My operation steps is below:
    1. create one dictory
    mkdir /usr/local/dbs
    chown oracle:oinstall /usr/local/dbs
    2. modify the paramter
    alter system set utl_file_dir='/usr/local/dbs' scope=spfile;
    3. restart database
    4. create the logmnr file:
    BEGIN
    dbms_logmnr_d.build(
    dictionary_filename => 'logminer_dict.dat',
    dictionary_location => '/usr/local/dbs');
    END;
    5. add the online redo log file:
    execute dbms_logmnr.add_logfile(options =>dbms_logmnr.new,logfilename =>'/u01/app/oracle/oradata/orcl/redo01.log');
    execute dbms_logmnr.add_logfile(options =>dbms_logmnr.addfile,logfilename =>'/u01/app/oracle/oradata/orcl/redo02.log');
    execute dbms_logmnr.add_logfile(options =>dbms_logmnr.addfile,logfilename =>'/u01/app/oracle/oradata/orcl/redo03.log');
    6. start logmnr
    BEGIN
    dbms_logmnr.start_logmnr(
    dictfilename => '/usr/local/dbs/logminer_dict.dat');
    END;
    7. check the result
    select sql_redo FROM v$logmnr_contents;
    I got error message at the step:
    ORA-01306:dbms_logmnr.start_logmnr() must be invoked before selecting from v$logmnr_contents
    Could anyone help about this?

  • How to Find out who is login into the Portal.

    Hi Friends ,
    I have one doubt  Now I have one Requirement. i.e.
    How many members (users) login in to the Portal?
    In what time they login into the portal?
    How many times hits the iView in  Portal?
    Who is last login into the portal?
    I have find out these details by using these details I will create one Iview.
    How to find these details. By using these details I will created one iView. Kindly  let me know.
    Could you tell me those
    1.     Is it creating Portal Activity Report iView in Portal?
    2.     By using WDJ Application we can create one Application. By using this application we can create iView?
    Regards
    Vijay Kalluri

    Hello Vijay,
    If you are interested in a 3rd party application with all the stats you need and more, check out Click Stream by Sweetlets. Easy to download and user friendly with many key reports quickly accessible. It also answers some of the questions you had above a whole lot simpler than anything else out there or any other route you had in mind.
    In the very near future Click Stream will also have iView recording to monitor iViews, telling which iViews have been clicked, etc. Also, the one you were looking for, "who the last login into the portal", will soon be added.
    Click Stream uses the Usermanagement (UME) API to get more information about the user, groups, roles, LDAP attributes etc. and offers you the ability to use such information for filtering within any report.
    Click Stream also uses the PCD API to get information about the pages your users are visiting.
    Here are some reviews on the SAP EcoHub from people who have used it: http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream
    Please just let me know if you have any question or if you are open to test drive Click Stream. We will certainly help as best as we can.
    Good luck.

  • How to find out which jobs are connected to the user

    Hello, i have a question, but i was unable to find the answer. The problem is that our internal consultant left the company, and there are certain jobs that run under his account. We want now to switch this jobs to other accounts. The problem we are facing is how to find out what jobs, or job steps are connected with his account, so we can safely demote his account, so that no other jobs will be run under his account. Thank you very much
    Sincerely,
    Luka Prijic

    the only reliable way to do this is by scanning table TBTCP using the person's userID in field AUTHCKNAM and filtering by job statuses: scheduled, released, ready and active (sorry I can't remember the code#'s off top of my head, something like P=scheduled, S=scheduled...you have to look it up).   When you search SM37 it only permits you to scan by the userID who created the job, but it won't tell you if a different userID is defined in a job step.  That's why you need to scan TBTCP.  Don't forget that you should also check for a user's open Workflow items before deletion.
    I noticed some posts in this forum that suggest a userID should never be deleted, only locked, added to a special user group, and all role assignments removed.  However I've never worked somewhere that does this.

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • How to find out if I navigate out of the page

    Dear gurus,
    I need to replicate ‘Warn about changes’ functionality in a certain case.
    In my case page A displays view object VO1 in a tabular form, each record having a link in column ‘type’ that takes navigation to page B.
    On page B the user changes the type to a new value using a pick list and submits a page B, then clicks Apply button that takes him back to page A with the new value for type brought from page B.
    Now page A has a new value for type. Not committed yet. I need to show a warning popup message (similar to seeded ‘Warn about changes’ message) if a user navigates out of page A now.
    I am thinking about using javascript to show the popup message. I will use the condition whether VO1 is dirty or not. But I don’t know how to track the fact that I navigated out of page A. Does anybody know how to find out is navigation out of the current page did occur?
    Thank you
    Anatoliy

    Hi,
    as there are links on the table from where you are navigating...set the fireaction property to fire an event say
    "click". grab that event in contoller.
    Controller code:
    String name = (String)pageContext.getParameter("event");
    if("click".equals(event))
    this means you are navigating out of page A.
    now invoke a method in AM to check if VO is dirty or not and if it dirty then throw an exception on page rather than pop_up.
    String check = (String)am.invokeMethod("checkvodirty");
    if("dirty".equals(check))
    throw new OAException("The Transaction is dirty",OAException.ERROR);
    else
    navigate to page B using pageContext.setForwardurl().
    In AM you can write :
    public String checkvodirty()
    sapeEAAddressesVOImpl addr = getsapeEAAddressesVO1();
    String test = "";
    if(addr.isDirty())//this checks that VO is dirty
    test = "dirty";
    else
    test = "notdirty";
    return test;
    Thanks,
    Gaurav

  • How to find the most matched values in the set of map?

    Hi friends!
    I have two vectors
    vector<int> V1; vector<int> V2;
    and a map<int, set<int>> M1;
    I want to select common values from both V1 and V2 and check those values with the set in the map M1.
    For example:
    V1 contains;
    2  4  6  8  9
    V2 contains;
    4  5  6  9  10 
    M1 contains;
    1=>1  2  5  9
    2=>4
    3=>5   10
    4=>2  4  8
    5=>4   9
    6=>4   6
    7=>9  12
    When we select the common values of V1 and V2 it is 4, 6, 9.
    And we search for all 4, 6, 9 from the values of M1 which give more appropriate.
    But, no all values in the set of map.
    Then, we delete any value from 4, 6, 9, then remaining values would match any values from the map.
    From the example, if we delete 6, then remaining 4, 9 will match with 5=>4  9, or if we delete 9, then 6=>4   6. Any one of the keys can be selected.
    I know how to select the common values from V1 and V2, but I do not know how to match with the values and select the appropriate key from M1.
    Could anyone help me to solve this?

    This is not the question you asked, except perhaps in the subject. The subject is not the right place to put key features of the question. It is also important to use the body to ask just the question you want
    answered. For example your real question has nothing to do with V1 and V2, just the common vector V (e.g. 4 6 9).
    One way to solve your problem would be to create a new map
    map<int, set<int>> M2;
    with the same keys as M1. Each set of M2 should contain the elements of V that are
    not in the corresponding set of M1.
    Then pick the key of M2 that has the smallest set. If that set is empty, then the whole of V can be used. Otherwise the smallest set tells which elements of V have to be removed, and which is the desired key of M1.
    In your example, key 5 of M2 will contain just 6, so you should remove 6 from V and select key 5.
    Yes fine. I tried the following code and it creates the map M2 (NewMyMap in my code). But how to find the smallest set starting from size 1?
    #include <vector>
    #include <algorithm>
    #include <iostream>
    #include <map>
    #include <set>
    using namespace std;
    typedef vector<int> IntVec;
    typedef set<int> IntSet;
    typedef map<int, IntSet> SetMap;
    bool IsValueNotInSet(int value, IntSet& S);
    SetMap CreatNewSetMap();
    IntVec IVec; //This vector is for selecting certain keys from mySet map.
    IntVec myVec;
    SetMap mySet;
    SetMap NewMyMap;
    int main()
    IVec.push_back(3); IVec.push_back(4); IVec.push_back(5); IVec.push_back(6);
    myVec.push_back(4); myVec.push_back(6); myVec.push_back(9);
    IntSet tempS;
    tempS.insert(1); tempS.insert(2); tempS.insert(5); tempS.insert(9);
    mySet.insert(make_pair(1,tempS));
    tempS.clear();
    tempS.insert(4);
    mySet.insert(make_pair(2,tempS));
    tempS.clear();
    tempS.insert(5); tempS.insert(10);
    mySet.insert(make_pair(3,tempS));
    tempS.clear();
    tempS.insert(2); tempS.insert(4); tempS.insert(8);
    mySet.insert(make_pair(4,tempS));
    tempS.clear();
    tempS.insert(4); tempS.insert(9);
    mySet.insert(make_pair(5,tempS));
    tempS.clear();
    tempS.insert(4); tempS.insert(6);
    mySet.insert(make_pair(6,tempS));
    tempS.clear();
    tempS.insert(9); tempS.insert(12);
    mySet.insert(make_pair(7,tempS));
    cout<<"MYVEC\n";
    cout<<"-------------\n";
    for(IntVec::iterator itv = myVec.begin(); itv != myVec.end(); ++itv)
    cout<<(*itv)<<" ";
    cout<<"\n\n";
    cout<<"\nMYSET\n";
    cout<<"-------------";
    for(map<int,set<int>>::iterator its = mySet.begin(); its != mySet.end(); ++its)
    cout << endl << its->first <<" =>";
    for(IntSet::iterator sit=its->second.begin();sit!=its->second.end();++sit)
    cout<<" "<<(*sit);
    cout<<"\n\n";
    NewMyMap= CreatNewSetMap();
    cout<<"\nNEWMYSET\n";
    cout<<"-------------";
    for(map<int,set<int>>::iterator its1 = NewMyMap.begin(); its1 != NewMyMap.end(); ++its1)
    cout << endl << its1->first <<" =>";
    for(IntSet::iterator sit=its1->second.begin();sit!=its1->second.end();++sit)
    cout<<" "<<(*sit);
    cout<<"\n\n";
    return 0;
    bool IsValueNotInSet(int value, IntSet& S)
    IntSet::iterator it=find (S.begin(), S.end(), value);
    if (it!=S.end())
    return false;
    return true;
    SetMap CreatNewSetMap()
    IntSet TSet;
    for(IntVec::iterator it = IVec.begin(); it != IVec.end(); ++it)
    SetMap::iterator its = mySet.find(*it);
    if (its != mySet.end())
    TSet.clear();
    int key = its->first;
    IntSet& itset = its->second;
    for(IntVec::iterator itv = myVec.begin(); itv != myVec.end(); ++itv)
    if(IsValueNotInSet((*itv), itset))
    TSet.insert(*itv);
    NewMyMap.insert(make_pair(key,TSet));
    return NewMyMap;

Maybe you are looking for