Behaviour of * in S_tcode object

Hello,
        does anyone knows the behaviour of * in S_tcode aothorization object.
1) If i assign ME* in S_Tcode in role manually.do i will get auth ME00 and ME01 tcode execution rights.
but in my case i am not able to execute ME01.
Regards
Nilesh

If you give ME* - ME21 then you will get all tcodes starting with ME as you have given a values that supersedes ME21 (ME*)
If you are reporting via SUIM then it is possible that it is reporting transactions that are entered in the menu or evaluating the complete tcodes it sees in object S_TCODE.
I don't have a system in front of me to check right now, but every system I have used will give you access to pass the auth check against S_TCODE for all tx starting with ME if you enter ME* into the S_TCODE object.

Similar Messages

  • S_TCODE object is not coming in role after adding profile of another role.

    Dear Gurus,
    I have added profile of a existed role to a newly created role in pfcg (edit->insert authorisation-> from profile), but I can't see the S_TCODE object of that role of the added profile.
    For some roles, it appears, but for some, it don't come.
    Please let me know the reason behind this, so that I can go forward.
    Regards,
    Nilutpal.

    Hi,
    S_TCODE will be added in your authorization profile when you add some T-Codes in Menu Tab of that role in PFCG.
    This may be the case for your role.  In this case it will not be copied with profile. It will be added only if you add the T-Code in Menu Tab.
    The other case is if you directly insert it in bthe authorization objects. In this case it will be copied with profile.
    Please revert.
    Regards,
    Jaya

  • Tcode in S_TCODE Object Error

    Hi Experts,
    When we are searcing for "Y" Tcode in Menu Tab in "XXX" Role in PFCG,It was not there in menu Tab.
    But it was there in S_TCODE Object.S_TCODE Object is maintained one.It was not added manually.
    Ex:When I am searcing for SM59 in menu tab,it was not showing any output.But when I given RFC(in find) it displaying all tcodes with RFC name(including SM59 which was not shown when I searched as SM59 ).But it is showing as Service in the place of tcode.
    But SM59 was there in S_TCODE Object & it was showing in SUIM & SE16 dump.
    Kindly help to solve the above issue.
    Regards,
    Karthika

    I've just noticed you mentioned 'Service' below in your original posting?
    "But it is showing as Service in the place of tcode"
    (Haven't worked out how to do a quote on here yet   so I apologise for the crude entry
    Is this on the menu tab that you are seeing the transaction called service please? If so then this would have been added via the authorisation default button instead of the insert transaction button. This can be used to 'hide' a transaction from view of the user (a bit flakey but a final resort sometimes!)
    The transaction will have a hand holding a green card icon next to it instead of the usual three-D box.
    Table AGR_BUFFI holds this info and not AGR_TCODES or AGR_1251 - are you using SUIM or SE16(N) to search?
    Standard SUIM will return the 'SM59' fine but SE16(N) won't.
    See you have solved it but I'm not clear what happened yet so I'll keep digging 0;0
    Edited by: David Berry on Sep 20, 2010 7:49 PM

  • Standard S_TCODE object showing Yellow trafic light

    Hi All,
    Recently I have noticed standard s_tcode object is showing Yellow traffic light (Not fully maintained) in one of the role in ECC6 system. I have tried to maintain by clicking on change button which usually doing with other objects and got succeeded to do modifications.
    I have downloaded that role and uploaded in to another ECC6 system and observed that s_tocde is in green color and not allowed me to modify it as usual.
    As per my knowledge standard s_tocde object is not modifiable but we can modify manually inserted s_tcode object.
    Please advice.
    Regards,
    Sri Vandan.

    Hi,
    What happens if you delete the role in your original system and re-upload and generate?
    I have tried that one also but getting same problem.
    propably the SU24 entries have been changed (for field S_TCODE) since the last mergeing of authorization data....
    Bernhard, can you please elaborate on this.
    Regards,
    Sri Vandan.

  • Statndard S_TCODE object in unmaintained (yellow) status

    Hi Experts,
    I came across a role in which standard S_TCODE object is in unmaintained(yellow) status.
    Is there any limit to number of Tcodes which can be added under S_TCODE object?
    Please help me out to find the reaon.
    Thanks,
    Mohit

    Hi Julius,
    Its new to me too Thanks for sharing the notes. I didn't guess and hence said as per my knowledge Limiting the guess to my knowledge.
    Thanks agian!!
    Rgds,
    Raghu

  • Implementing First In First Out Behaviour Using PL/SQL object types

    Hi Friends,
    I have a Integer Array of type Varray, I want to implement first in first out behaviour using Pl/SQL object type.Please provide me some idea that i can proceed. If you can provide me any sample code or any documentation,i will be very much thankful to you.Eagerly waiting for your reply.
    Thanks

    basically i have to implement a queue using pl/sql object types to traverse a tree as we can implement stack (LIFO).
    I can give an example of Stack implementation...
    CREATE or replace TYPE IntArray AS VARRAY(50) OF INTEGER;
    CREATE or replace TYPE IntStack_O AS OBJECT (
    maximalSize INTEGER
    ,top INTEGER
    ,position IntArray
    ,MEMBER PROCEDURE initialize
    ,MEMBER FUNCTION full RETURN BOOLEAN
    ,MEMBER FUNCTION empty RETURN BOOLEAN
    ,MEMBER FUNCTION getAnzahl RETURN INTEGER
    ,MEMBER PROCEDURE push (n IN INTEGER)
    ,MEMBER PROCEDURE pop (n OUT INTEGER)
    CREATE or replace TYPE body IntStack_O AS
    MEMBER PROCEDURE initialize IS
    BEGIN
    top := 0;
    -- Call Constructor und set element 1 to NULL
    position := IntArray(NULL);
    maximalSize := position.LIMIT; -- Get Varray Size
    position.EXTEND(maximalSize -1, 1); -- copy elements 1 in 2..50
    END initialize;
    MEMBER FUNCTION full RETURN BOOLEAN IS
    BEGIN
    RETURN (top = maximalSize); — Return TRUE when Stack is full
    END full;
    MEMBER FUNCTION empty RETURN BOOLEAN IS
    BEGIN
    RETURN (top = 0); — Return TRUE when Stack is empty
    END empty;
    MEMBER FUNCTION getAnzahl RETURN integer IS
    BEGIN
    RETURN top;
    END;
    MEMBER PROCEDURE push (n IN INTEGER) IS
    BEGIN
    IF NOT full
    THEN
    top := top + 1; — Push Integer onto the stack
    position(top) := n;
    ELSE
    –Stack ist voll!
    RAISE_APPLICATION_ERROR(-20101, ‘Error! Stack overflow. ‘
    ||’limit for stacksize reached.’);
    END IF;
    END push;
    MEMBER PROCEDURE pop (n OUT INTEGER) IS
    BEGIN
    IF NOT empty
    THEN
    n := position(top);
    top := top -1; — take top element from stack
    ELSE
    –Stack ist leer!
    RAISE_APPLICATION_ERROR(-20102, ‘Error! Stack underflow. ‘
    ||’stack is empty.’);
    END IF;
    END pop;
    END;
    Now if i run this..i will be getting the following output...
    DECLARE
    stack intstack_o := intstack_o(NULL,NULL,NULL);
    a INTEGER;
    BEGIN
    stack.initialize;
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1111);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1112);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1113);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    END;
    Output...
    Anzahl: 0
    Anzahl: 1
    Anzahl: 2
    Anzahl: 3
    Anzahl: 2
    1113
    Anzahl: 1
    1112
    Anzahl: 0
    1111
    Above is the Stack (Last In First Out) Implementations of integer array.Now my Requirement is Queue(First In First Out) Implementation of Integer array.

  • Changed behaviour when handling Oracle Objects in SQL Developer 3.1

    In version of SQL Developer before (and including) 3.0, when one executed - F5, run script, not F9, run query - a query that included an SDO_GEOMETRY (oracle object) object the object's elements where displayed in the output text form.
    In SQL Developer 3.1 that has changed. Now, one only gets [MDSYS.SDO_GEOMETRY] as a placeholder.
    Many spatial users prefer the former behaviour.
    Has something changed in 3.1 that causes this?
    Is there a way that I can get the previous behaviour back?
    I program the GeoRaptor SQL Developer extension. GeoRaptor has an Addin that allows it to reformat SDO_GEOMETRY objects in a result set on the fly.
    Does one need to do something similar now in SQL Developer 3.1?
    If so, can you provide an example.
    Finally, are there any plans to release Javadoc for the SQL Developer jar files that an extension developer needs to use when constructing an extension?
    regards
    Simon

    >
    In SQL Developer 3.1 that has changed. Now, one only gets [MDSYS.SDO_GEOMETRY] as a placeholder.
    >
    Yes - there has been some history re SDO_GEOMETRY in particular.
    See Gary Graham's reply in this thread
    Re: Query result window doesn't show contents of collection types
    >
    There is some history behind this change. It started with a performance issue populating the grid for SDO_GEOMETRY objects:
    Re: SQLD 3.1EA -  Fails to render resultset output containing SDO_GEOMETRY

  • Strange behaviour of data element  object

    Dear Gurus,
    I have incremented the field length of a z table's field from 5 (type DEC)  to 8 by increasing the corresponding domain length . But the internal tables that refer to this field still refer to the old value 5, though the table is accepting values for this field with 8 length through 'Create Entries' in SE11.
    The problem seems to be in the runtime object of the corresponding data element which shows
    database length = 5 
    abap length = 5
    BUT dictionary length = 8.
    Could anyone pls help diagnose this strange behaviour as even if I create new domains with new data elements for this table field ,it gives the SAME RUNTIME OBJECT STATUS as mentioned above.
    Rewards are awaiting the right answer.
    Thanks in advance.
    Shweta.

    Hi,
    For these kind of problems, you can use the Database utility tool (SE14), give the table name press enter, click Adjust and Activate Database table also select save data radiobutton. After this Re-Run the Program, it works fine, also cross-check in the Debugging screen.
    Cheers...
    Santosh.
    Mark Usefull Answers.

  • Report S_BCE_68001398 and Object s_tcode

    Hi Guys
    When running report S_BCE_68001398 with tcode suim i.e
    Tcode suim >>> Users>>> Users by complex selection criteria .. By transaction authorizations and Insert a tcode. I get a list of tcodes that are being used by users.
    When I do the same thign from another point i.e Tcode Suim>>Roles >>> By transaction assignment (rsusr070) .. Insert tcode that i am working with..I get a list of roles that supposedly should have the tcode inside it.
    The list seems to be different.
    The reason for this is that it looks as  when the role was created they did not add the tcode in the i.e tcode pfcg >>> under the menu tab but rather went into the authorization tab and added the object s_tcode and add the transaction.
    Is there a way to pick these roles up from the  User information system when runnign reports on where a specific code is being used.
    Hope this makes sense
    Thanks

    Moods,
    Yes there is a difference in the way the reports check the tcodes.  One just looks at the tcodes in the menu (AGR_TCODES table) and the other looks at the S_TCODE object within the role.
    To find all the transactions at the S_TCODE object level in the SUIM reports run a report by complex selection criteria (either users or roles) then fill in the authorization object S_TCODE and hit enter or "entry values" then enter the tcode in the field.  Execute...
    Cheers,
    Ben

  • Strange behaviour of Calendar Objects

    Hello folks, you may not believe it but I had a really strange behaviour in my Calendar Objects:
    I have 2 GregorianCalendar Objects, one instantiated by getInstance() for holding a reference for today and a second a user can pick which may or may not lie in the past. With some of my date fields it is allowed to have a past date, with others it is not, that is why I hold the reference for today.
    Then, for getting to know if the picked date is in the past I set the hours, minutes, seconds and milliseconds to 0 before comparing because I was just interested in the day not the time.
    And now comes what I cannot comprehend nor what I was able to fix:
    In the morning hours of the day I programmed this worked great. I gave it to our testers, and some days later I got it back on my desk, it would not work. I tested again in the morning, and it workd. I was confused, let it lay around a few days and tested again, this time in the afternoon. And it worked not ... now I was really confused. Just I had no time to fix it asap and put it aside for the next morning ... when it worked again ... ???
    So I started deep debugging ... and since I already got an idea it could have something to do with the daytime I worked on it in the evening.
    The debugging told me that the milliseconds of the 2 Calendar objects had exactly the same time and date, just different milliseconds in the evening and in the afternoon, but not in the morning. I cannot understand why, maybe one of you?
    I solved it by kicking the millisecond compare and compared year, month and day, so now it works. But it still confuses me why the milliseconds could have differed at all and why not in the morning but just in the afternoon and evening (both Objects are of the same time zone, I checked this, too).
    Rommie.

    I set the hours, minutes, seconds and milliseconds to 0...And you get different results in the morning and the afternoon? Okay, go to the API documentation and read about what the constant Calendar.HOUR means. Look just below it for another constant called Calendar.HOUR_OF_DAY and consider whether you should be using that instead.
    PC²

  • Null and empty string not being the same in object?

    Hello,
    I know that null and empty string are interpreted the same in oracle.
    However I discovered the strange behaviour concerning user defined objects:
    create or replace
    TYPE object AS OBJECT (
    value VARCHAR2(2000)
    declare
    xml xmltype;
    obj object;
    begin
    obj := object('abcd');
    xml := xmltype(obj);
    dbms_output.put_line(xml.getStringVal());
    obj.value := '';
    xml := xmltype(obj);
    dbms_output.put_line(xml.getStringVal());
    obj.value := null;
    xml := xmltype(obj);
    dbms_output.put_line(xml.getStringVal());
    end;
    When creating xml from object, all not-null fields are transformed into xml tag.
    I supposed that obj.value being either '' or null will lead to the same result.
    However this is output from Oracle 9i:
    <OBJECT_ID><VALUE>abcd</VALUE></OBJECT_ID>
    <OBJECT_ID><VALUE></VALUE></OBJECT_ID>
    <OBJECT_ID/>
    Oracle 10g behaves as expected:
    <OBJECT><VALUE>abcd</VALUE></OBJECT>
    <OBJECT/>
    <OBJECT/>
    However Oracle 9i behaviour leads me to the conclusion that oracle
    must somehow distinguish between empty string and null in user defined objects...
    Can someone clarify this behaviour?
    Thus is it possible to test if object's field is empty or null?

    However Oracle 9i behaviour leads me to the conclusion that oracle
    must somehow distinguish between empty string and null in user defined objects...
    Can someone clarify this behaviour?
    Thus is it possible to test if object's field is empty or null?A lot of "fixes" were done, relating to XML in 10g and the XML functionality of 9i was known to be buggy.
    I think you can safely assume that null and empty strings are treated the same by Oracle regardless. If you're using anything less than 10g, it's not supported any more anyway, so upgrade. Don't rely on any assumptions that may appear due to bugs.

  • Facing probolem in s_tcode

    hi,
    after running su53 i am getting missing authorization of in object s_tcode and when i am trying to insert the same tcode it is showing, tcode does not exists.
    please let me know why i am not able to add that tcode even though it is there in missing authorization.
    regards,
    Tarun Chandel,
    SAP Basis Security Consultant
    <telephone_number_removed_by_moderator>
    Edited by: Julius Bussche on Aug 28, 2008 9:40 AM

    >
    Sneha Kulkarni wrote:
    > Try this method :-
    >
    > You can add missing tcode manually in S_TCODE authorization objects in authorization tab of the role.
    >
    > Hope this will work !!
    > Thanks,
    > Sneha
    Do not do this!
    Why do you think that in later releases SAP has locked S_TCODE from manual updating (unless you manually insert another instance of S_TCODE object)?
    We need to find the root of the problem before deciding what to do.  It may be that this additional t-code be added into SU24 for the original transaction or alternatively configuring SE97 depending on the situation....there are plenty of option depending on the actual cause.

  • TCD field in display mode in S_TCODE

    Hello,
    I have a requirement to remove t-codes from TCD field under S_TCODE object in the role itself and NOT from the role menu.However when I go to PFCG>Change>Auth.Data Tab>Change auth.data>, the field TCD is DISPLAY only and hence removal of t-codes cannot be done.
    Why is this and what would be the workaround.
    Thanks.
    Mani

    Thanks Debmalya.
    The issue is - why the change is possible for certain roles and only for this role, Would not a PFCG Change function allow you to 'Change' field level values.
    Also as Diego has suggested , I have verified that this role is not part of a customizing project.
    This requirement is from one of a remote customer my organization supports.
    Mani

  • S_TCODE cannot be modified ?!

    Hello,
    I have a profil which includes the well-known auth. obj S_TCODE, but it is the first time this one appears in grey. That means I cannot maintain it manually.
    I have used the 3 ways to generate a new profil to get rid off that unmodifiable s_tcode, but without success.
    By the way, if I insert manually this object I can maintain it.
    Any clue guys?
    Regards

    Hello Julien,
    It seems that you are trying to change S_Tcode object in authorization tab. But when a Tcode is added in Menu tab of a role then you cant remove that Tcode from S_Tcode object but you need to remove from Menu of the Role.The Tcodes can be added in 2 ways , in the Menu where u add the Tcode or at authorization object level in S_TCODE object.When added in Menu the Tcode is visible in S_TCODE object but is greyed out.
    **Reward points accordingly
    Junaid

  • S_TCODE..TCD..FROM..TO

    When in the role maintence, if we do a search for the S_TCODE object we hit it. no wwhen we double click we get the box which states the tcodes executable. my question is :
    1. What does the From and To coloumns  mean?
    Is it a range of tcodes? does ti differ if I give one below the other?
    Thanks

    Do you mean
    From  -  To
    AC05  - AS00
    AS03  - F-01
    If yes then it means All tcodes falls under this range will be included.
    eg
    1. AC05, AC06, .... ACZZ, AD01, .... ADZZ, ..... AR00,....,ARZZ, and AS00
    2. AS03, AS04,..... ASZZ,AT00,...ATZZ, AU,...AZ,B....... E and F-01
    So from Rance AC05 to F-01 excluding AS01 and AS02.
       ***Rewarad the points if it is helpful****
    -Pinkle

Maybe you are looking for