How to find T.Code in user Role
Dear Experts,
How to check transaction code maintained for user Role.
For Example I have one User X who have Authorization of T. Code J1ID
is it possible to find out T. Code J1ID is maintained in which role, User have No of Roles in his ID I dont want to search it by open each and every Role. is there any short way to search T. Code.
Thanks,
JA
Hi Javeed,
There are many ways to do it.
Go to SUIM>> Roles> Complex Selection Criteria>
Enter the User ID: USERX
In the Objects enter: S_TCODE (Press Enter)
Enter the Tcode as the field value of this object.
Then click on execute, you will get the list of roles assigned to this userX having above mentioned Tcode. Let me know if you need any more information on this.
Similar Messages
-
How to find T-codes from which roles
Hi
Can any body tell me how can I find from which all role a user getting access to a Transaction code.
For example : I want to remove a access of a particular Transaction for User XYZ. For this I want to find out from which all roles assigned to him , he is getting access to that Transaction
Thanks in advanceHi there,
this is how I would do it. Forget the lookups etc, though maybe this would be useful for later analysis. Instead, run a report with complex selection criteria
SUIM->Roles-> Roles by complex selection criteria
(transaction S_BCE_68001425)
Enter in role name
Enter in User ID (in selection according to user assignments)
Enter in transaction code, if the transaction is in the role menus
OR
Enter in S_TCODE under selection according to authorization values, then click 'entry values' then enter the transaction under transaction code.
Execute and voila.
Hope this gives you want you need.
Cheers,
Di -
hi
In which table can we find release codes assigned against user. We know how to check in su01 in user roles. This is for a new report purpose.Hi
This table has releasecodes and release strategy details: T16FS.
To check users for a particular role
Go to SUIM
User--Users by Complex Selection Criteria--
Users by Complex Selection Criteria
Enter the authorization object M_EINK_FRG
And click on entry values
enter the release code and release group and execute the report -
How to find function code for buttons on toolbar in oops alv
Hi experts,
I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALVHi Prakash,
-->First you have to set the pf status in your alv program by,
{FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS}
-->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
i_callback_pf_status_set = 'PF_STATUS'}
*-->Then doble click on that pf status,
From the menu bar, select Extras->Adjust Template->List Viewer,
This will give you the existing statndard gui status of the program*
->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
i_callback_user_command = 'COMM'
And make a subroutine of the name 'COMM'i.e,
FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA: okcode TYPE sy-ucomm.
okcode = ucomm.
CASE okcode.
WHEN 'REF'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'MANSI'
txt1 = 'CREATED BY'
txt2 = SY-UNAME
TXT3 = ' '
TXT4 = ' '
endcase.
Hope it helps you
Regrds
Mansi -
How to find the number of users connected to database from OS level(Linux)
Hi All,
Could anyone know , how to find the number of users connected to database without connecting with sql*plus
is there any command to find it?
example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
oracle version:- 10g,11g
Operating System:- OEL4/OEL5/AIX/Solaris
any help will be appreciated.
Thanks in advance.
Thank you.
Regards,
Rajesh.Excellent.
Tested, works as long as you set the ORACLE_SID first ( to change databases )
ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
Thanks!
select OSUSER
from V$SESSION
where AUDSID = SYS_CONTEXT('userenv','sessionid')
and rownum=1;Best Regards
mseberg -
How to find maximum number of users we can assign for Hyperion Planning.
HI,
How to find maximum number of users we can assign for Hyperion Planning.i.e., how to find license limit in hyperion planning 11.1.2.1.
In Essbase propreties, the system is showing maximum planning users could be 65535.
what would be the number for concurrent scenario?
Thanks
Giri
Edited by: Giriprasad on Jun 18, 2012 2:18 AMThe number of users would be based on your license agreement with Oracle, the system is not aware of your license agreement so it is up to you to stick to it.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to find Transaction code from Report/program name ?
Dear all,
How to find Transaction code if i know Report/program name ?Hi,
In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
if any transaction is created for the program u can find it under the transaction folder.
revert back for further queries.
Regards,
Sravanthi -
How to find acount code in R12
Hi,
How to find account code details in R12? Which table contains account code details?
ThanksThanks Sanjay, I would like to know account code and their name and active status also. do you think there is another table also.
-
How to find bar codes and mails to send clients in smartforms
HI friends,
How to find bar codes in smartforms and also how to send mail to the client. I have developed one object in smartforms, but i don't know how to send maill to the client. Pls help me........................
Thanks in Advance.
Saradhi.Hi!
Here is the code to send the Smartform to mail as PDF attachment.
*& Report ZTEST_PDF_MAIL
REPORT ZTEST_PDF_MAIL.
Internal Table declarations
DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
WA_OBJHEAD TYPE SOLI_TAB,
W_CTRLOP TYPE SSFCTRLOP,
W_COMPOP TYPE SSFCOMPOP,
W_RETURN TYPE SSFCRESCL,
WA_DOC_CHNG TYPE SODOCCHGI1,
W_DATA TYPE SODOCCHGI1,
WA_BUFFER TYPE STRING, "To convert from 132 to 255
Variables declarations
V_FORM_NAME TYPE RS38L_FNAM,
V_LEN_IN LIKE SOOD-OBJLEN,
V_LEN_OUT LIKE SOOD-OBJLEN,
V_LEN_OUTN TYPE I,
V_LINES_TXT TYPE I,
V_LINES_BIN TYPE I.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZTEST'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
W_CTRLOP-GETOTF = 'X'.
W_CTRLOP-NO_DIALOG = 'X'.
W_COMPOP-TDNOPREV = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = W_CTRLOP
OUTPUT_OPTIONS = W_COMPOP
USER_SETTINGS = 'X'
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I_OTF[] = W_RETURN-OTFDATA[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = V_LEN_IN
TABLES
OTF = I_OTF
LINES = I_TLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
LOOP AT I_TLINE.
TRANSLATE I_TLINE USING '~'.
CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
ENDLOOP.
TRANSLATE WA_BUFFER USING '~'.
DO.
I_RECORD = WA_BUFFER.
APPEND I_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH: I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR WA_OBJHEAD.
I_OBJBIN[] = I_RECORD[].
Create Message Body Title and Description
I_OBJTXT = 'test with pdf-Attachment!'.
APPEND I_OBJTXT.
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'smartform'.
WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
Main Text
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'smart'.
I_OBJPACK-OBJ_DESCR = 'test'.
APPEND I_OBJPACK.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = '[email protected]'.
I_RECLIST-REC_TYPE = 'U'.
APPEND I_RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
WRITE:/ 'Error When Sending the File', SY-SUBRC.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF.
If you want to send some text as Body of the Mail then follow this once
when u r callin the FM'SO_NEW_DOCUMENT_ATT_SEND_API1'.. points to remember
1.u have to pass the body of content in table CONTENTS_TXT(ia m using I_OBJBIN) (each line a record) then. suppose i have appended 11 records to the table CONTENTS_TXT .
2.PACKING_LIST(iam usign I_OBJPACK) table u ahve to append a redord as follows
I_OBJPACK-TRANSF_BIN = ' '.
I_OBJPACK-HEAD_START = 000000000000001.
I_OBJPACK-HEAD_NUM = 000000000000001.
I_OBJPACK-BODY_START = 000000000000002
I_OBJPACK-BODY_NUM = 000000000000010.
I_OBJPACK-DOC_TYPE = 'RAW'.
append I_OBJPACK-.
by the above code system treat the first line in table I_OBJBIN as header and the 2nd line to 10 lines tread as body.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
Regards
Tamá -
HT4061 how to find puk code to iPad
how to find puk code to iPad
It is located on the card that held your sim, if you do not have that, you need to contact your carrier.
-
How to find a autorization object and roles for paricuu00F6llar documetytpe(DMS
Hello,
I have a question,Its urgent ..#
For a particular document type (for example PPN)..
How to find a authorization object and roles...Please let me know.
In the DIS which autority object and roles they use it for this.
<b><REMOVED BY MODERATOR></b>
Regards
preethi
Message was edited by:
Alvaro Tejada GalindoThis issue seems to be resolved since jDeveloper/ADF 11.1.1.3.
Am I true? -
How to find a autorization object and roles for paricuöllar documetytpe(DMS
Hello,
I have a question,Its urgent ..#
For a particular document type (for example PPN)..
How to find a authorization object and roles...Please let me know.
In the DIS which autority object and roles they use it for this.
Reward with full points
Regards
preethiThis issue seems to be resolved since jDeveloper/ADF 11.1.1.3.
Am I true? -
How to find company code using sales doc. No
Hi,
I need to print company code, how to find company code using sales doc no. I don't find it VBAK.
Cheers
SenthilDear Senthil
You can find in table VBAK itself - Field BUKRS_VF
thanks
G. Lakshmipathi -
How to find out if a user is disabled in xpress code?
I have an active sync form and I'm trying to determine as one of my checks if a user is disabled. I've tried using waveset.disabled, but that always returns null. I also tried waveset.organization to see if the user is in the 'terminate' organization, but it only always returns 'Top' and not 'Top:Terminate'
Any ideas how I can find out if a user account is disabled?
Thanks for any info!Hi,
These two attributes you can only get in userview.
waveset.disabled (this is always null if user is not disble else return true if user is disble)
waveset.organization (will give you the whole org path like Top:xyz)
take a dump of your userview and see what you are getting there.
Use below code in you form/WF to see the userview on console
<block trace='true'>
<invoke name='toXml'>
<ref>userview</ref> // user your userview object name
</invoke>
</block> -
How to find document attached to user and Company code?
Hi all,
Requirement: Select a list of Business documents ( Sales order/PO....) created or changed by <b>specific users</b> which belong to a <b>Specific Company code</b>.
ie,To develop a report which lists the Documents created/updated/changed based on specified date and users.
I think we can find from CDHDR & CDPOS tables. But i need to filter these documents or pick documents based on a Specific Company code.
ie.,from the list of records obtained from CDHDR table....how to filter these documents based on Company code......
valuable inputs needed.
Thanks,
SubbaHi
Most of the application document Heade tables(VBAK,EKKO etc ) will have the field CRETAED by like ERNAM. and all these tables will have BUKRS field also in them
So compnay code wise User created documents list you will get.
Only problem is the Changed/Modified list by user with related Company code.
Anyhow you will get the User who changed the documents from CDPOS table.
But for linkthem to Company code I feel You need the
help of HR related Tables .
with the UNAME which you get from CDPOS table go to PA0105 infotype and get the PERNR linked with that user.
And get the attached BUKRS Company code from PA0001 infotype.
Hope this will solve your problem.
reward points if useful
regards
Anji
Maybe you are looking for
-
My iPad will no longer connect to my wireless sony speaker after installing IOS 7.0.4. I have reset the speaker and reinstalled through NS Setup but still no joy. Any advice would be most welcome. Thanks.
-
How to restore from Time Machine onto an external drive
Hi all, I am a backup freak, and I don't feel entirely safe with Time Machine taking care of backing up my system unless I can test every now and then that I would be able to do a full restore. I've had problems in the past with .Mac/MobileMe's Backu
-
2008 - How to make the SATA drives run full speed with Bootcamp and XP ?
Has anyone found a way - after all this time - of repairing a 2006 install of Windows XP SP2 - or in someway fixing the rather slow SATA drive problems? I have not upgraded to 10.5 - but would if the new Bootcamp somehow (via new drivers??) fixed the
-
[PCK] No adapter types selectable
Hey, I installed Web AS 7 and PCK (NW2004s SP11). Everything seems to work fine, but I am not able to select an adapter type while configure a communication channel. Any ideas how to debug this? Could it be that I did something wrong during installti
-
Restore Accidentally deleted songs
I accidentally deleted a whole Genre and many songs, rather then delete one duplicate song, which is what i wanted. Most songs not from ITUNEs store but from disks, whihc i no longer have. As a result, i've deleted many fav. songs. I cannot find in I