How to find which user is in the planning book XYZ?

Hallo,
we are using SCM APO 5.0. and have defined "key-figure-specific Lock" as our locking logic.
I need a program to get all users who are in a special planning book. Normally I can read this information from lock entry list (SM12). But with this locking logic the entry list looks quite different. Has someone an idea?
Thanks in advance
Yong

Yong,
There is a macro ACT_USER() which returns the user in a particular planning book. You can make it as a directly executable macro and schedule it using mc8e.
Hope this works.
Regards,
Abhi

Similar Messages

  • How to find which user is using the index?

    Hi All,
    I have an index named 'CTXT_ITEM_CODE' . The Index _type is Domain. When i try to drop this index its telling ORA-00054: resource busy and acquire with NOWAIT specified error
    now i need to find out which session is using this index, so that i can kill it and drop the index.
    Thanks

    SELECT c.owner,
           c.object_name,
           c.object_type,
           b.SID,
           b.serial#,
           b.status,
           b.osuser,
           b.machine
      FROM v$locked_object a, v$session b, dba_objects c
    WHERE b.SID = a.session_id AND a.object_id = c.object_id
    AND c.object_name='CTXT_ITEM_CODE';
    ALTER SYSTEM KILL SESSION '<sid, serial#>'

  • How to find which function module write the relevant idoctype?

    Dear All,
    how to find which function module write the relevant idoctype?

    Hi,
    Generally the function modules of the idoc types are having a naming convention as IDOC_INPUT for inbound processing and IDOC_OUTPUT for outbound processing followed by the idoc type name
    for example : For IDOC type ORDERS
    the inbound function module will be IDOC_INPUT_ORDERS and for outbound IDOC_OUTPUT_ORDERSP
    In this way you can find the function module for a particular IDOC
    P.S: Hope this is what you have asked for
    Regards
    Sarves

  • 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 which users has used external scripting

    I want to find out the users who used the scripting for doing any mass changes activity.

    Hi Murphy;
    Please check which user has which forms open? and Re: how to determine which forms are currently open?
    Hope it helps you in your issue
    Regard
    Helios

  • How to find which user submitted concurrent request

    Dear all,
    How to find out which user has submitted concurrent request with concurrent id. There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?
    Regards,
    Charan

    How to find out which user has submitted concurrent request with concurrent id. https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_concurrent_requests+AND+fnd_user&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?Yes.
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

  • How to find which user has killed a particular job in CPS?

    Hi All,
    I am new in CPS. I want to find the user who has killed a particular job in CPS?
    Thanks in Advance.
    Avdhesh

    Hi  Gerben,
    Thanks for the reply.
    But I noticed when I  killed a job and checked in the  last modified by option I didn't  find my user name there. It was displaying the user who had modified that job definition last time.
    Thank you
    Avdhesh

  • How to find which user has access to Discoverer Reports?

    I need to find users having access to Discovered reports using a script. How can I do that?

    Hi,
    You need to give more details...
    Are you using oracle applications? are the users database users?
    If you use oracle application you can use the following:
    SELECT DISTINCT Disco_Docs.Doc_Name "Discoverer Workbook"
    ,Trunc(Disco_Docs.Doc_Created_Date) "Workbook Create Date"
    ,CASE
    WHEN Instr(Disco_Docs.Doc_Created_By
    ,'#') = 0 THEN
    Disco_Docs.Doc_Created_By
    WHEN Instr(Disco_Docs.Doc_Created_By
    ,'#') > 0
    AND Instr(Disco_Docs.Doc_Created_By
    ,2) = 0 THEN
    (SELECT Fu.User_Name
    FROM Fnd_User Fu
    WHERE Fu.User_Id = Substr(Disco_Docs.Doc_Created_By
    ,2
    ,5))
    ELSE
    NULL
    END "Workbook Owner/Creator"
    ,Disco_Users.Eu_Username
    ,CASE
    WHEN Instr(Disco_Users.Eu_Username
    ,'#') = 0 THEN
    Disco_Users.Eu_Username
    WHEN Instr(Disco_Users.Eu_Username
    ,'#') > 0
    AND Instr(Disco_Users.Eu_Username
    ,2) = 0 THEN
    (SELECT Fu.User_Name
    FROM Fnd_User Fu
    WHERE Fu.User_Id = Substr(Disco_Users.Eu_Username
    ,2
    ,5))
    ELSE
    (SELECT Resp.Responsibility_Name
    FROM Fnd_Responsibility_Tl Resp
    WHERE Resp.Responsibility_Id =
    Substr(Disco_Users.Eu_Username
    ,2
    ,5))
    END AS "Shared Name / Responsibility"
    FROM Eul_Us.Eul5_Documents Disco_Docs
    ,Eul_Us.Eul5_Access_Privs Disco_Shares
    ,Eul_Us.Eul5_Eul_Users Disco_Users
    WHERE Disco_Docs.Doc_Id = Disco_Shares.Gd_Doc_Id(+) AND
    Disco_Users.Eu_Username(+) NOT IN ('EUL5', 'PUBLIC') AND
    Disco_Users.Eu_Id(+) = Disco_Shares.Ap_Eu_Id
    Tamir

  • How to find which files are in the library

    Hi there,
    I keep almost all of my library as referenced files on external hard-drives because of the small hard-drive that my MBP has. BUT over time I've added some pictures here and there that are stored in my Aperture library. I would like to relocate these pictures, but I don't know which ones they are.
    I can go picture by picture and find them, but I would like an easier way.
    Is there a way to find all the pictures that are stored in the aperture library?

    Bring up the entire Library, for instance by clicking on the All Photos Album.
    Open the search HUD and use the 'plus' button to add a search by File Status.
    You now have a choice of searching by online/offline and managed/referenced.
    Ian

  • How to find which user added adhoc approver in a Shopping cart

    Hi Gurus,
    We all know that its possible for the approvers in the SC approval chain to add ad hoc approvers.However i need to know , how we can trace the user  who added  this adhoc approver in the shopping cart..
    Thanks in advance

    To be frank, i donot know about ADHOC agent means..But cannot we get Log of Workflow.
    Yes. We can get log of the workflow. Please think, in that direction.
    I think, your issue will get resolved.
    Balaji.T

  • How to find which user using Grid?

    Grid contril 10.2.0.5
    I have over 50 users in Grid, how can I figure out who is online?

    Run the below queries to see all connected users in the Grid database...
    set lines 100 pages 999
    col ID format a15
    select username
    , sid || ',' || serial# "ID"
    , status
    , last_call_et "Last Activity"
    from v$session
    where username is not null
    order by status desc
    , last_call_et desc
    --See the users current sql
    Select sql_text
    from v$sqlarea
    where (address, hash_value) in
    (select sql_address, sql_hash_value
    from v$session
    where username like '&username')
    --Time since last user activity
    set lines 100 pages 999
    select username
    , floor(last_call_et / 60) "Minutes"
    , status
    from v$session
    where username is not null
    order by last_call_et
    Hope this helps...
    Regards,
    http://www.oracleracexpert.com
    Click here to [Click here to remove parameter from spfile|http://www.oracleracexpert.com/2009/09/create-spfile-from-pfile.html]
    Click here to learn [SPFILE and PFILE in Oracle|http://www.oracleracexpert.com/2009/11/oracle-spfile-and-pfile.html]
    Click here for [Using UTL_MAIL in Oracle 10g |http://www.oracleracexpert.com/2009/11/send-email-using-utlmail-in-oracle-10g.html]

  • How to manually enter forcast/demand in SNP Planning Book

    Hi experts,
    Kindly help me there are two questions on my mind. First
    1. How to create manually forecast in SNP planning book? and also in RRP3? (if the product is in house it automatically creates planned order, if externally procured PREQ but how about forecast using product view?
    2. If the forecast is in the past but I want to upload that in the SNP Planning book?
    Even if I change the period structure date it does not reflect the past dates in the planning book.  Since the planning book of SNP is standard how am I be able to change the planning book time bucket start date.
    Thanks and Best Regards!!!!

    Hi,
    in /SAPAPO/SJKTST04 you set the type of order FCST, then you planning area and version, keyfigure to populate (your forecast keyfigure, probably 9ADFCST), the order type (usually FA)
    In the details you set product, date to start, in horizon - the number of orders to create, if you set 10, you'll get 10 orders starting from your start date).
    Unfortunately through here, you gan create orders with fixed quantity only and also for only one product/location combination.
    If you already have DP available, even for testing I find it more easy to release forecast from there.
    For your second question - at least for 4.1 (I don't have a 5.0 system to check) you cannot have past dates in a column other than "Initial"
    Hope that helps,
    br,
    Mikhail

  • How to find which instance in the RAC cluster the application is connected

    How to find which instance in the RAC cluster the application is connected to ?
    Raees

    well if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
    select inst_id,sid,serial#,program,username from gv$session where username is not null;
    Thanks
    Gaurav

  • How to know which user shutdown the server

    Hi,
    Is there a way to check which user has shutdown the server in windows server 2012.
    I know Event Id : 1076,1074,6008 gives information about system shutdown.but want to know which user did that ?
    thanks

    Steps to see which user shutdown the system:
    1. Go to event Viewer
    2. Right click on system and -> Filter Current Log
    3. For User Shutdowns, click downward arrow of Event Sources -> Check User32.
    4. In <All Event IDs> type  1074 -> OK
    This will give the list of Power off and restart events. It will have the date and time as well as Username.

  • How to find out user exits of t-code va03

    hi all
       how to find out user exits of any t-code .
    regards
    deepak

    Hi Deepak,
    <b>Try this code.</b>
    *& Report  Z_USEREXIT                                                  *
    REPORT  Z_USEREXIT
    NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    <b>plz reward points if helpful or if it solves ur query.</b>
    Thanks
    Chinmay

Maybe you are looking for