How to find previous manager who has approved ?

Hello experts,
I am using process controlled wokrflow using BRF. I have created a shopping cart which works till 4 levels. At 5th level I want to get exact approver from previous level. How should I achieve that ? In fourth level I am just selecting all managers using select zmanager from ztable appeending ...... query. There are 3 manager let's say (ABC,PQR and XYZ). That approval is approved by XYZ. I can see that using get_current_process_level (). Now I want to bring that XYZ at 5th level. Therefore I used
* Determine document owner and his manager 
  lt_document_responsible = get_document_responsible(
    iv_document_guid        = is_document-document_guid
    iv_document_type        = is_document-document_type
CALL METHOD /SAPSRM/CL_WF_APV_FACADE=>RETRIEVE_PROCESS_HISTORY
    EXPORTING
      IV_DOCUMENT_GUID = lv_guid "is_document
      IV_AGENT_ID      = lv_agent
      IV_LANGUAGE      = sy-langu
    IMPORTING
      ES_PROCESS       = ES_PROCESS
in get_area_to_item_map method. Now what exactly should be done in the query of  get_responsible_approvers where I am writing select statement. How could I pass this reference there ? I need to add where condition in that. In z table it contains serial no and zmanager fields only. What should be done in order to get previous approvers here ? PLease adivse. Thank you.
Best regards.

Is there any clue for this ? Or should I need to change logic ? I am using rr manage of manger now. But I don't know how pass reference from one to other. PLease advise or suggest.
Thank you.

Similar Messages

  • How to find the user who has changed a field in a table

    Hello
        Someone has changed a field  cost center in my table so i need to find the user who hav changed it.Can anyone tel me how to find it.
    Regards

    HI ,
    Create a Z test program using the particular table and filed .
    Now goto SE38 and execute the program " RSDEPEND "
    give the ur test program and then execute . u will get the list of the last  change of ur program
    ( table and fields used inthis program)
    Another way :
    for data element :
    refer table 
      DD04L and get the user name
    for domain
    DD01L
    Edited by: shambhu sharan pandey on Nov 13, 2009 5:49 AM

  • How to find the users who has done the manual blockings in F110?

    I would like to knw the users who has blocked the inoice in F110 and even who has re-allocated the payment method/bank details in F110

    Hi,
    You can open the TC F110. Give the run dates and identification numbers then go to menubar systems- status.
    Which user has been blocked the invoice displayed.
    I hope it will help to you.
    Thanks,
    Venkat

  • How to check who has approved the PO or PR?

    Hi,
    Can someone tell, how to check who has approved the PO or PR?
    Regards.

    Go to PO display ME23N go to enviornment data and see for header changes here you can see the person who has release the PO at what dat with time, user id and T-code used for release.
    Else if version management is activated in your client then check at the version tab at the header level of PO here also you will find the required details.
    For PR you can check the item details.
    Regards
    Sujoy
    Edited by: Sujoy on Apr 9, 2009 1:18 PM

  • How to find the user who deleted the contents of DSO.

    Dear friends,
    Can u please tell me ,how to find the user who deleted the contents of the DSO.
    The user has deleted the complete contents of the DSO. We need to find the user ,date and time.
    regards,
    Vijai

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • How to find the userid who created the Datasource?

    hi experts,
    How to find out which user has created or generated the Data source based on PLANNING AREA in APO?
    when i replicate the data source it is showing my name, but the issue is i would like to know the Person (USER) who had generated or created the Data source Based on Planning Area?
    Give me ur inputs plz.
    Regards
    venuscm

    Hi Venu ,
    Please find list of tables for datasources :
    1.ROOSOURCE Header Table for SAP BW DataSources (SAP Source System/BW System)
    Check fields TSTPNM ,TSTPDAT ,TSTPTIM
    2.RODELTAM BW Delta Procedure (SAP Source System)
    3.RSOLTPSOURCE Replication Table for DataSources in BW
    *Check fields TSTPNM ,TIMESTMP
    These tables only store information who changed it last .
    Hope this will be helpful.
    Regards,
    Jaya

  • Please tell me the way to find the person who has booked the conferenceroom

    HI All,
    When i am trying to book a conference room. it was showing the status a s busy in zimbra.But i am not able to find the person who has booked the room ?? how do i know the person who has booked teh conference room??if i can know that person i can negiotate with him abt the room.
    please tell me the way to find the person who has booked teh conference room ?????
    Thanks in advance
    Venugopal

    Hi Venugopal,
    If you add approvers using beekeeper for that resource AND that you use Outlook, you can see who is 'in charge' of that resource, ie the person that will hand over the keys to that room when you need them. That person is the only one who may be able to tell you who has booked the resource, you can then go and 'negociate' ;o)
    In Zimbra (1.5.1.5) you can't see the contacts..
    hth
    David

  • How to find a customer who does not have any activity in the last 5 years

    HI all,
       How to find a customer who does not have any activity in the last 5 years.
    Thanks & Regards,
    Moderator message: not directly related to ABAP development, please have a look in the respective functional forum.
    Edited by: Thomas Zloch on Jan 3, 2011 2:20 PM

    Post Author: tzinser
    CA Forum: Formula
    Okay, I left off a lot of important information...
    I'm using two tables
    TWDATA
    EVENT
    From TWDATA I'm pulling the fields TWDATA.OrderNumber and TWDATA.DisbursementDate
    From EVENT I'm pulling the fields EVENT.EventCode and EVENT.CompletedDate
    The two tables are linked by OrderNumber.

  • How to find a user who created message in satelite system ?

    hi all,
    Does anybody know how to find a user who created message in satelite system, but when there is no business partner created for him in Solman ? In tx crm_dno_monitro, crmd_order or dnotifwl  there isn`t any information. Is there any Tx or something where i can check it ?
    Regards,
    M.

    Hi,
    BP should ne maintained for the user in satellite system as a identification in solman system.
    how you are trying to create a message in satellite system..
    if you are using help-> create support message then, you can get the message log details on the table BCOS_PROT.
    please update us
    Thanks,
    Jansi
    Edited by: shivjansi on Jan 25, 2012 7:44 PM

  • How to find the users who r assigned to profile sap_all through su01

    how to find the users who r assigned to profile sap_all through su01

    you can get into SUIM-->where used lists, check for users with profile SAP_ALL you can get a list of users who have
    it. and you can get into SUIM through SU01 from user information system link.
    you can execute RSUSR002 from SA38/SE38.
    RSUSR002  is the report which gets you the whereused list for profiles within roles, users.
    you can get it from transaction SECR ofcourse you are executing the same report.
    you can get from UST04 table and obviously USR04 also because sometimes you  miss some details from UST04 because of sync problems.

  • How to find the user who approved the workitem.

    Hi experts,
    I have created a parking/posting workflow.
    When the user Approves, parked document is posted and BKPF table is updated with WF-BATCH as user name.
    Now I need to find the actual user who approved the workitem for posting.
    My plan is:
    1. Find the workitem id using the BOR, company code, document no, year, task no.
    2. Find the user who processed the above obtained worktem id.
    Please let me know the tables for the above points 1 and 2.
    Or let me know if there is any other way to find the actual user.
    Regards,
    Karthik

    Hi,
    To get the workitem ID with respect to a specific business object instance make use of the FM SAP_WAPI_WORKITEMS_TO_OBJECT
    To know who processed the determined workitem either you can make use of the FM SAP_WAPI_GET_WORKITEM_DETAIL or directly read the table SWWWIHEAD and you can find the actual agent WI_AAGENT this is the field which says who has executed the workitem.
    Regards
    Pavan

  • How to find out which user has the permission to execute startsap ?

    Hi All
    How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
    Thank you.!
    Vincent Lo

    Well to me this is really weird question..
    <b>noone un-authorized should have access to OS on your system</b>
    If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
    In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
    But to answer the question - to me this is question just of access control (but really never tried that myself):
    <a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
    Please award points for useful answers.
    Thanks

  • Windows Server 2008 R2 File in Use - How to find the computer that has it in use

    Lately we've been having an access database go into read only mode on our file server. When i go into the manage open files screen on the file server, it show the file being used by a functional account and the open mode is set to read. Which confuses
    me how the file can get set in read only mode when the only person who has it open has it open in read mode. Anyway, when i kick the user out of the file then the database is not read only mode anymore.  Since this is getting accessed by a functional
    account, I'm not sure who is opening it up. Is there a way to find the IP address of this person?

    To get the source IP address, you will need to enable File Share auditing: http://technet.microsoft.com/en-us/library/dd772690%28v=ws.10%29.aspx
    Otherwise, you can simply disconnect the user session.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • How to look as to who has deleted the Delivery note

    Hi
    I have a issue from one of my customers who mentioned in his problem that he needs to find out as to who has deleted a Delivery note. He has mentioned the Delivery note number.
    I have tried looking at SM21 & tables CDHDR and CDPOS but I could not find. I tried to simulate the similar issue in my development environment by deleting one of the deliveries and checking in Transaction SM21if it displays my name, but it did not.
    Please help me in this issue or at least let me know how to approach this problem.
    Thanks

    Hi,
    You can find the Information from the CDHDR table
    Goto the table in SE16 and ehter the details for the table like
    OBJECT CLASS   As   LIEFERUNG
    OBJECT ID    As   DELIVERY DOCUMENT NUMBER ( It should be 10 digits)
    Now execute.
    It will all the information on who deleted.
    regards,
    santosh

  • How to find the user who dropped the tables

    Hi All,
    Some one has dropped 5 tables in the production database that has caused a SEV1 but thankfully we are having those tables in recyclebin and we are restored those with out data loss.
    But I want to know who has dropped those tables and want to know who has connected to database at that time. Can you please guide me in this how to find out....
    Database version: 11.2.0.2 version
    Thanks
    Kk
    Edited by: 908098 on Jan 18, 2012 4:23 AM

    Or you can use this kind of audit (i had used this some time ago)
    -is pretty detailed but is good for auditing purpuse.
    hope this helps
    CREATE TABLE AUDITORIA_ESQUEMA (
    operation VARCHAR2(30),
    os_user VARCHAR2(30),
    obj_owner VARCHAR2(30),
    object_name VARCHAR2(30),
    object_type VARCHAR2(30),
    sql_text     VARCHAR2(64),
    attempt_by VARCHAR2(30),
    attempt_dt DATE,
    Ip_adress VARCHAR2(15));
    CREATE OR REPLACE TRIGGER AUDITORIA_ESQUEMA
    BEFORE CREATE OR ALTER OR DROP OR RENAME or alter
    ON DATABASE
    DECLARE
    oper varchar2(200);
    sql_text ora_name_list_t;
    i      PLS_INTEGER;
    BEGIN
    SELECT ora_sysevent
    INTO oper
    FROM DUAL;
    i := sql_txt(sql_text);
    IF oper IN ('CREATE', 'DROP','RENAME','ALTER') THEN
         INSERT INTO AUDITORIA_ESQUEMA
         SELECT ora_sysevent,(select sys_context('USERENV','OS_USER') from dual)
    , ora_dict_obj_owner,
         ora_dict_obj_name,ora_dict_obj_type, sql_text(1), USER, SYSDATE,
         (select SYS_CONTEXT('USERENV', 'IP_ADDRESS') from dual)
         FROM DUAL;
    ELSIF oper = 'ALTER' THEN
         INSERT INTO AUDITORIA_ESQUEMA
         SELECT ora_sysevent,(select sys_context('USERENV','OS_USER') from dual)
    , ora_dict_obj_owner,
         ora_dict_obj_name,ora_dict_obj_type, sql_text(1), USER, SYSDATE,
         (select SYS_CONTEXT('USERENV', 'IP_ADDRESS') from dual)
         FROM sys.gv_$sqltext
         WHERE UPPER(sql_text) LIKE 'ALTER%'
         AND UPPER(sql_text) LIKE '%NEW_TABLE%';
    END IF;
    END AUDITORIA_ESQUEMA;

Maybe you are looking for

  • Handle exception on server side and display a customized jsp error page

    Hi, I am developing a java/j2EE web application using servlet, jsp, ejb3 with JBOSS and ECLIPSE. Two cases can occur on the server side : 1) either I have not an expected result in a method and in this case I want to display an error page (a JSP page

  • Illustrator CC freezing and un-responsive.

    HELP PLEASE! Ive recently(last november) installed the CC Suite (most programmes). And have been using them fine ever since. However, as of 2 days ago Illustrator has become very un-responsive and freezes when opening files. It will open the file, an

  • Workflow triggered via SWUE does not complete

    Hello, On an ECC6 system, I have a workflow linked to the BUS2009.RELEASESTEPCREATED event. As long as the event is triggered upon upon purchase requisitions creation, the linked workflow starts and finishes fine. However, in case I trigger the event

  • Time Machine backing up fine but the app won't launch

    Hi all, I've been able to set up Time Machine with an external WD 120GB FW disk, and it appears to be backing up fine - the 'backupdb' folder exists on the HD and the TM system preference pane shows last backup date etc. However, try as I might I can

  • Error in RSMO:Record 1745 :Value '43351 20k ' (hex. '0034003300330035003100

    Hi,   we have reconstructed the stocks cube 0IC_CO3 by filling setup tables in R/3 ,We then pulled the data till PSA level as the amount of data was huge(14 Million records).I schedule the IP to push data from PSA to Data target,I am encountering an