How to identify the employee who logged-in using a view in peoplesoft?

I have a View in peoplesoft, that says
SUPERVISOR_ID = ' ' somewhere in the SQL. How do I keep this dynamic so that, it will identify the employee who logs into the system and assigns that id to supervisor_id field.
I know we can use %EmployeeID in peoplecode.

Peopletools has this built in out of the box. Add field OPRID to the record and set it as key and not a listitem and Peopletools will automatically add a where clause to the view based on the current user.
After this change the view sql to join to Oprid.
If you do not want to add OPRID field you can use a dynamic view to fill the supervisorid with %employeeid.
If thid is a search record you can also use SearchInit event to set supervisorid to %employeeid.
Al lot of differt possibilities, depends one what you want to use.

Similar Messages

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

  • How to know the employees who have common positions?

    I have all positions list. I want to kknow for eachposition who all r the employees? how to find out that?

    Hi Shakir,
        You can look in table HRP1001 by passing 'S' as OTYPE and sclass as P.
    You can see all the employees coming under particular position in SOBID field.
    Regards,
    Kiran I

  • How to identify the user who has created accounts,lead, Opp in portal

    Hi experts,
    I am working in CRM 5.0 now i want to know the user who has created a particular account, Lead, and opportunity in Portal not in GUI kindly give some inputs regarding this .
    Thanks in advance
    Amar

    Hi Frederic,
    Thanks for your reply.
    But is there any way by which we can make it happen in PCUI.
    The customer is very particular about it. They use only PCUI to create new accounts and they want a facility to view change history in PCUI Account Application itself. They are not interested to go back to GUI to know change history for that BP.
    We have just checked whether any related BSP structures containing change fields are assigned to COMM_BUPA but not successful.
    Kindly help with a possible solution.
    Regards,
    Amar

  • How to identify the version of InDesign application used to produce an InDesign document

    Is there a way to identify the version of the InDesign application(CS/CS2/CS3) where the Document was originally created?
    Can we use InDesign CS3 server to open a CS2 document to do some relinking and save it again as a CS2 document without converting the document to CS3 version? If not, how to identify and not open the documents produced by previous versions of InDesign application?
    Thanks in advance.

    Hi,
    you can test the Creator. In addition however the document must be opened. If it is a CS2 document, closes document again without to save. I did not test it. Would have to function however.
    JavaScript Example:
    try {
    var creator = app.documents.item(0).metadataPreferences.creator;
    catch(e){}
    alert( "The creator = " + creator );
    Greeting Andreas

  • How to change the parameter 'Default Servers To Use For Viewing And Modification' using java api dynamically.

    Hi,
    I need to change the Crystal Reports setting 'Default Servers To Use For Viewing And Modification' to a particular server.this i need to do using java api.
    could you pls provide me the sample code for this.
    Regards
    Srinivas

    The IReport interface extends IViewingServerGroupInfo interface, that allows you to specify the server group. 
    The choice selection for that interface is as follows:  0 = first available, 1 = prefer the selected server group, and 2 =  only use the selected server group.
    The server group selection is by the SI_ID for that server group InfoObject.
    Sincerely,
    Ted Ueda - Developer Support

  • How to add the USER who logged in discoverer desktop to the title

    i want to add the user name on the title above the page body of discoverer desktop next to the &DATE and & TIME in title

    Hi,
    When adding to the title:
    The default available on the Insert menu is the full page item list &PageItems.
    However the undocumented way to add a single page item is to type &PageItemName which in this case will be the calculation item for the USER function.
    For example:
    Calculation TheUser defined as USER.
    Place TheUser on pageitems area.
    Add &TheUser to page title (does not require &PageItems to be present)
    regards
    John

  • How to trace the device who made purchase using my id? The

    Someone close to me(i believe) has hacked my id and purchade hundreds of dollars at itunes. How can i trace the device itself? Is it possible that i can trace the device by referring to the purchase's reference number?

    I do not believe so.  The sale is tied to your ID, which only you should know the password to.  But, you can contact iTunes store support and speak with them regarding the unauthorized purchases.
    Contact iTunes Support
    http://www.apple.com/lae/support/itunes/contact/

  • How to identify the changes happened in Exchange using IMAP

    Hi
    I am writing an IMAP Web client using Javamail.
    I want to know the changes happened in the Exchange Server after my last accessed time.
    The changes could be any of below.
    1.) Marking the message to Read
    2.) Deleting a message
    3.) moving the message from one folder to another.
    Please let me know is there any way to do this.
    Thanks in advance.
    Edited by: Sangaran.81 on Mar 9, 2010 12:07 AM

    Sangaran.81 wrote:
    I am writing an IMAP Web client using Javamail.This forum is for Sun Messaging Server IMAP server software related questions which has nothing to do with MS Exchange or JavaMail.
    If you need help with JavaMail I suggest you ask on that forum:
    http://forums.sun.com/forum.jspa?forumID=43
    Regards,
    Shane.

  • How to identify the variable processing type

    Hi Experts,
    How to find the details of the variable whether it is filling with user exit or replacement path
    Say i have a variable xxx , how to identify the above details.
    Thanks,

    use RSZGLOBV table in VNAM give your variable and VPROCTP will give you processing type

  • Serious Issue - CRM 2007 issue - How to identify the Log in CRM

    Hi Experts,
    How to identify the Billing Account Deletion log. Some billing accounts has been deleted from BUT000 table. We have to find out -who has deleted and when ???
    Please help us to identify the log. I think in SAP log should be maintained somewhere in CRM.
    Thanks & Regards,
    Amit Nanda
    9999795569

    hi,  I remeber the there is a function name like  CRMXXDocumentXXlock  which is be called in standard program to maintain order.
    I can't login a crm server, can't offer you the accurate name, you can do a search in system.

  • How to get the Login Id (UPI) of the user who logged in the system?

    hi,
    I'm having a webdynpro application. In which i want to get the values from the R/3 based on the user who logs in.
    so i need to get the UPI(login id) of the user who logs in. how to get the UPI of the user who logged in??
    please help me out with the detailed procedure.
    Thanks & Regards,
    Suresh

    Hi Suresh,
    Try the following code.
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    I have already used this code for the similar requirement.
    regards
    Anil

  • Send mail to the user who logged the issue

    Hi,
    As it is currently the mail goes to the key user, which is a business partner. That is an organization. However several users are maintained under a business partner.
    So now the mail goes to all these users at a status change. However can we only have the user who logged the issue getting the mail. Can you please advice me on how to get this?
    Thanks loads.
    Keshi

    Hi.. Thanks for all ur replies..
    Yes we hv assigned the key user as a business partner which is an organization,, This is also and requirement,
    But since the mail is activated as to the key user it goes to all the users in that group, under teh business partner.
    But when configuring this came across the Partner, in which we selected it as key user. But there were also other partners as Creator,Reported by etc..
    I tried using both these but again it didnt work. Can anyone suggest anything?
    Yes, when u assign the key user as a business partner and assign several users  to it you can send multiple mails to users
    Any help on this is very much appreciated,.,
    Thanks all for replying once again.
    Keshi

  • Report to identify the contractors who provide services to company for

    Hi,
    I have to generate following report
    Report to identify the contractors who provide services to the company for a amount more than 1000 FC during the year 2003.
    but I m not getting the contractor details, amount, in which tables it is stored?
    Can any one tell me please...
    Thanks

    Hi,
    You need to work out how to identify a Contractor.
    Your contractors need to be setup as Suppliers in Oracle, Suppliers have Classifications (Type) and perhaps your Payables team always use a specific Supplier Type for contractors ... or maybe not!
    If they use a Supplier Type to identify contractors then your query might be something like the following (assuming you don't want to consider tax/freight/etc.):
    set pages 9999
    col vendor_name format a50
    select pv.vendor_name, pv.vendor_id, sum(aid.amount)
    from ap_invoices_all ai
    , ap_invoice_distributions_all aid
    , po_vendors pv
    where ai.invoice_id = aid.invoice_id
    and ai.vendor_id = pv.vendor_id
    and pv.vendor_type_lookup_code = '&Contractor'
    and aid.accounting_date >= to_date('01-JAN-2003','DD-MON-YYYY')
    and aid.accounting_date < to_date('01-JAN-2004','DD-MON-YYYY')
    and aid.line_type_lookup_code = 'ITEM'
    group by pv.vendor_name, pv.vendor_id
    having sum(aid.amount) > 1000;
    Running this in Vision Demo 11.5.10.2 with vendor_type_lookup_code = "Contractor" gets:
    VENDOR_NAME VENDOR_ID SUM(AID.AMOUNT)
    Next Generation Graphix (DBA, Art Wilde) 12 1447238.5
    Gareth
    Blog: http://garethroberts.blogspot.com

  • How to identify the DDL changes ?

    Hi all,
    How to identify the DDL changes done to the database ?
    By triggers only Or we can use Logminer also OR
    SELECT * FROM USER_OBJECTS where object_type = 'TABLE' order by LAST_DDL_TIME desc;
    OR
    is there any other options are available ?
    Thanks in advance,
    Pal

    Something from asktom might help
    tkyte@TKYTE816> create or replace trigger ddl_trigger
    2 after create or alter or drop on SCHEMA
    3 declare
    4 l_sysevent varchar2(25);
    5 l_extra varchar2(4000);
    6 begin
    7 select ora_sysevent into l_sysevent from dual;
    8
    9 if ( l_sysevent in ('DROP','CREATE') )
    10 then
    11 if l_sysevent = 'CREATE'
    12 then
    13 begin
    14 select 'storage ( initial ' || initial_extent ||
    15 ' next ' || next_extent || ' .... )'
    into l_extra
    16 from all_tables
    where table_name = ora_dict_obj_name
    17 and owner = user;
    18 exception
    19 when no_data_found then null;
    20 end;
    21 end if;
    22
    23 insert into log
    24 select ora_sysevent, ora_dict_obj_owner,
    25 ora_dict_obj_name, l_extra
    26 from dual;
    27 elsif ( l_sysevent = 'ALTER' )
    28 then
    29 insert into log
    30 select ora_sysevent, ora_dict_obj_owner,
    31 ora_dict_obj_name, sql_text
    32 from v$open_cursor
    33 where upper(sql_text) like 'ALTER%' ||
    34 ora_dict_obj_name || '%'
    35 and sid = ( select sid
    36 from v$session
    37 where audsid=userenv('sessionid') );
    38 end if;
    39 end;
    40 /

Maybe you are looking for

  • Difference between Implicit and Explicit Commit

    Hi All , Can some one pls let me know the difference between  Implicit commit and Explicit Commit . Thanks in Advance..

  • How to Transfer Rows from one table to another in a different Page

    Hi Friends, My problem is; I need to call a custom page as a popup using Java-Script. ( This is because our business users want the multi-select LOV to look and function differently ). I have a table in the popped-up page from where; upon a button ac

  • Can't get Delete Process to work on Manual Tabular Form

    Help. My insert and update process works just fine. I can't get the delete process to work. I've searched the forum and found a couple of examples on what to do, but I can't get the examples to work. I get an ORA-01403: no data found error. Report SQ

  • Delete a post

    Hi all I know that this page has nothing to do with my question , but i need some of you to guide me please .  How can i delete a post i made in this forum .  Thank you guys Bill David

  • Styles across multiple documents

    HI, Noob question: I have multiple documents that have similar character and paragraph styles. However, every time I open a new document, the missing fonts alert comes up. I've substituted the fonts in one document. How to do the same for the rest of