【Enhancement】--How to Find a Screen Exit for T-code
2009-10-29 14:18
591 查看
TABLES: modsap, modact, tstc. PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ', input2 LIKE modsap-typ DEFAULT ' '. DATA: search1(6), search2(3), search3 LIKE modsap-member. DATA : first_row VALUE 'Y'. CONCATENATE: '%' input1 '%' INTO search1,'%' input2 INTO search2. SELECT * FROM tstc WHERE tcode LIKE search1. first_row = 'Y'. CHECK tstc-pgmna NE space. CONCATENATE '%' tstc-pgmna '%' INTO search3. SELECT * FROM modsap WHERE typ LIKE search2 and MEMBER LIKE search3. SELECT SINGLE * FROM modact WHERE member = modsap-name. IF first_row EQ 'Y'. WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name. first_row = 'N'. ELSE. WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name. ENDIF. CLEAR : modsap, modact. ENDSELECT. IF sy-subrc NE 0. WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'. ENDIF. CLEAR tstc. ENDSELECT. END-OF-SELECTION. CLEAR:search1, search2, search3.
相关文章推荐
- Enhancement--How to Find a Screen Exit for T-code
- Enhancement--How to Find a Screen Exit for T-code
- Enhancement--How to Find a Screen Exit for T-code
- Enhancement--How to Find a Screen Exit for T-code
- Enhancement--How to Find a Screen Exit for T-code
- How to Find a Screen Exit for T-code
- Report to Find User-Exit for Transaction Code
- ABAP code to find all the User Exits and BADIs for any transaction
- How to find MATLAB Source Code And Tools
- How to do code coverage test for windows service
- How To Find Where The Memory Is Growing For A Process (Doc ID 822527.1)
- How to stop looking for someone perfect and find someone to love
- How to Find Bapi for Particular Transaction in SAP
- How To Scan QRCode For UWP (1)
- How to hide credential providers from Login Screen for Windows 7
- How to find code and file
- How to change the generated method stub code for C#
- How to get Mokee Android N source code for Oneplus One Bacon device?
- How to find the relation between role and user, t-code, profile
- ld: 18 duplicate symbols for architecture i386 .linker command failed with exit code 1 (use -v to see invocation)_