04-14-2011 5:59 PM
Hi all,
I am working with some of the Customized t-codes.
I see that some of the T-codes are not present in the TSTC table, but I can find the T-codes in some of the roles.
Any thoughts and suggestions as to how the T-code will be present in the role and not in the system.
Thanks
Vidyar
Edited by: Julius Bussche on Apr 14, 2011 10:49 PM
Please use meaningful subject titles.
04-14-2011 6:13 PM
> Any thoughts and suggestions as to how the T-code will be present in the role and not in the system.
Those may be old transaction codes or a profile copied from another system.
Markus
04-14-2011 8:44 PM
Markus,
Thank you for the answer,
As I keep checking , there are a huge number of such T-codes,
I downloaded the TSTC table and the AGR_TCODES table and did a manual (Vlookup ) compare.
Is there a better way of finding through the application, as to what all T-codes are assigned to roles and not present in TSTC.
Thanks
Vidyar
04-14-2011 9:49 PM
Are you sure that it is infact a transaction code in the menu of the role?
You can also add other objects such as links, function modules, web services, etc etc etc... to the menu of a role or favourites.
Cheers,
Julius
04-15-2011 2:05 PM
04-15-2011 8:26 AM
>
Any thoughts and suggestions as to how the T-code will be present in the role and not in the system.
-->add a (for instance) report to the role menu->a t-code is generated. If you use $tmp as dev-class or don't transport that t-code together with the role, the role will contain a t-code, that does not exist in the target system of the role transport.
b.rgds, Bernhard
04-15-2011 10:02 AM
Which system is it? For instance, in BI system many role will contain reports, query, workbook etc....
Regards,
Arpan Paik
04-15-2011 2:07 PM
Arpan,
This is ECC 6.0 system.
They are T-codes that were custom built.
Vidyar
04-16-2011 3:24 PM
Hi
Bernhard's comment about transporting the custom transaction sounds good - do the transactions exist in QAS, can you run them on a tst user or another user in DEV then QAS and /or PRD?
Regards
David
04-18-2011 7:59 AM
So in which system you have found this? Dev/prod? Mean if this is in prod...are they present in dev system. Sometimes what happen coaches moves faster than engine. I faced few issues like this. Transaction still with developer in development system but business urges to move security role 1st to production system.
Another thing, may those transactions was there earlier and now been deleted. However I am not sure if in that case the transaction should go from role automatically or security need to remove manually.
Regards,
Arpan Paik
04-21-2011 2:59 PM
Hi David,
Getting back late sorry,
Yes, we can execute the T-codes on QAS, DEV and PROD.
Question:
Is there a better way of finding through the application, as to what all T-codes are assigned to roles and not present in TSTC.
Presently I am doing it manually, which is time consuming.
Thanks
Vidyar
04-21-2011 3:03 PM
Hi Arpan,
Got back late, Sorry,
Yes these are present in DEV,QA and PROD.
T-codes are same on all the three environments.
Is there a better way of finding through the application, as to what all T-codes are assigned to roles and not present in TSTC.
Presently I did it manually, but this process is time consuming.
Thanks
Vidyar
04-23-2011 11:02 AM
Hi Vidyar
Thanks for coming back to us, I can't help any further to be honest as I don't have access to SAP for a few weeks to go digging around. Are any of your custom transactions in TSTC(T) and if so, is there a pattern as to which are in and which are not?
Regards
David
04-25-2011 8:30 PM
Hi David,
Yes, Custon T-codes are in TSTC,
Yes there is a kind of patteren on the ones that are out ( in roles.)
Probabally because we have multiple roles with different ORG values, they are repeating.
Thanks
Vidyar
04-26-2011 2:58 PM
I don't believe transactions are deleted from roles unless on the authorization tab you select "Expert mode for profile generation."
The typical "Change Authorization Data" is the default and it typically edits old status. Whereas the Expert mode allows you to choose from Edit Old status, DELETE AND RECREAT PROFFILE AND AUTHORIZATION, or Read old status and merge with new data.
Also, they may be deleted from the menu of the role - but if the menu is not REread it may still appear to be there.
04-26-2011 10:36 PM
Hi RANDA
Yes, we can execute the T-codes on QAS, DEV and PROD.
The transactions are available across the landscape, are in the roles but not in table TSTC (I have never checked this before for my clients) so the issue is why they are not in TSTC.
There appears to be a pattern to in/out but this is not clear to me as to what the parameters are.
Regards
David
Edited by: David Berry on Apr 26, 2011 10:36 PM
04-26-2011 10:48 PM
Some customers and SAP applications create "launch pads" for transactions, which do not check S_TCODE. See transaction ABABDOCU for keyword "call transaction".
Optionally you can use SE97 to create "couples" of trusting transactions if the called tcode checks this (see function module AUTHORITY_CHECK_TCODE).
From a developer perspective you can generate target objects "on the fly" and then call them, but the use-case is suspect and of course difficult to build roles for...
If this is a SAP standard scenario generating transaction code contexts, then I would report it to SAP via the the Service Market Place ( https\service.sap.com/notes ).
The same problem exists with WebServices in CRM generation scenarios - here you cannot even range easily as it is a generated hash value.
Cheers,
Julius