[絕對原創] SAP Get User data by User ID
[絕對原創] SAP Get User data by User ID
1, Table
Go to table USR21 and get the person number, then use that person number number go to ADRP
2, View
view V_USR_NAME is a view over the USR21 and ADRP tables
3, Function module
- You can alternatively use SUSR_USER_ADDRESS_READ.
The exporting parameter user_address would have the full name of the user in the field name_text.
DATA: user_address LIKE addr3_val.
CALL FUNCTION 'SUSR_USER_ADDRESS_READ'
IMPORTING
user_name = sy-uname
* READ_DB_DIRECTLY = ' '
EXPORTING
user_address = user_address
* USER_USR03 =
EXCEPTIONS
user_address_not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
write:/ user_address-name_text.
ENDIF.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29829936/viewspace-1482198/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Forgot Password for user id SAP*Go
- AccessToken、for_user、get_token
- SAP Fiori Positive User Experience
- User Get 'Access Denied' with Excel Service WebPartExcelWeb
- Maximum No. Of SAP Session Per UserSession
- Hide the User MenuIDE
- MyBatis-maven-User例子-根據id查詢UserMyBatisMaven
- SAP的使用者出口(User Exits)
- PRVF-4007 : User equivalence check failed for user "grid"UIAI
- Structure of the Data Dictionary : User-Accessible Views (259)StructView
- set up different data screen(masterial master) for different userAST
- JSOM 對User的操作JS
- 2.4、User’s guide (Coroutines)GUIIDE
- (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=download))JDBC
- DBLOGIN ERROR: Failed to open data source for user OGG.ErrorAI
- maridb Error 'Operation DROP USER failed forErrorAI
- OCFS2 user's guideGUIIDE
- oracle user$Oracle
- HANGFG User Guide (Doc ID 362094.1)GUIIDE
- SAP S/4HANA key user tool extensibility原理
- SAP EEM End-User Experience Monitoring Central Note
- Backup And Recovery User's Guide-在還原之前驗證備份GUIIDE
- cannot set user id: Resource temporarily unavailableAI
- EBS11i Pasta User GuideASTGUIIDE
- android tv-Managing User InteractionAndroid
- EVASH Ultra EEPROM Development Board User GuidedevGUIIDE
- Connection to x as user y failed: ERROR: Wrong password for userAIError
- user 和 user profile是聚合的關係嗎
- audit by user by table
- Vue @user 元件Vue元件
- net user命令
- HOW TO USER UNZIP
- 獲取使用者許可權列表(RSSB_GET_AUTH_FOR_USER)
- Oracle:Authid Current_User的使用(轉)Oracle
- Administrative User Accounts Provided by Oracle DatabaseIDEOracleDatabase
- HttpContext.User.Identity.IsAuthenticated 為falseHTTPContextIDEFalse
- [絕對原創] AKM專案逸事之客戶投訴
- oracle 10.2.0.3對USER收回CONNECT及RESOURCEOracle