{"id":1065,"date":"2018-11-23T14:04:52","date_gmt":"2018-11-23T07:04:52","guid":{"rendered":"http:\/\/www.todsapon.com\/story\/?p=1065"},"modified":"2019-12-04T10:20:12","modified_gmt":"2019-12-04T03:20:12","slug":"abap-program-report-find-user-exit-transaction-code","status":"publish","type":"post","link":"http:\/\/www.todsapon.com\/story\/programmer\/abap-program-report-find-user-exit-transaction-code","title":{"rendered":"ABAP Code:\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)"},"content":{"rendered":"<div id=\"attachment_985\" style=\"width: 680px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/sap-abap.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-985\" class=\"size-full wp-image-985\" src=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/sap-abap.jpg\" alt=\"ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)\" width=\"670\" height=\"320\" srcset=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/sap-abap.jpg 670w, http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/sap-abap-300x143.jpg 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><p id=\"caption-attachment-985\" class=\"wp-caption-text\">ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)<\/p><\/div>\n<p style=\"text-align: center;\">\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e21\u0e2d\u0e1a\u0e2b\u0e21\u0e32\u0e22\u0e43\u0e2b\u0e49\u0e41\u0e01\u0e49\u0e1b\u0e31\u0e0d\u0e2b\u0e32 \u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02 Serial number \u0e43\u0e19 VA02 \u0e02\u0e2d\u0e07 User \u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e01\u0e32\u0e23\u0e04\u0e37\u0e19\u0e02\u0e2d\u0e07 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e21\u0e35\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e15\u0e32\u0e21\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23 SO \u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19\u0e01\u0e32\u0e23\u0e08\u0e30\u0e41\u0e01\u0e49\u0e44\u0e02\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49 \u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23 \u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 Serial number \u0e0b\u0e36\u0e48\u0e07\u0e1c\u0e21\u0e08\u0e30\u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e44\u0e14\u0e49\u0e01\u0e47\u0e15\u0e49\u0e2d\u0e07\u0e1e\u0e36\u0e48\u0e07 User exit\u00a0\u0e41\u0e25\u0e49\u0e27 User exit \u0e02\u0e2d\u0e07 VA02 \u0e08\u0e30\u0e2b\u0e32\u0e17\u0e35\u0e48\u0e44\u0e2b\u0e19 \u0e2a\u0e34\u0e48\u0e07\u0e41\u0e23\u0e01\u0e17\u0e35\u0e48\u0e1c\u0e21\u0e04\u0e34\u0e14\u0e44\u0e14\u0e49\u0e04\u0e37\u0e2d Google \u0e41\u0e25\u0e30\u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e1e\u0e1a\u0e27\u0e34\u0e18\u0e35\u0e2b\u0e32 User exit \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report zuserexit<\/p>\n<p style=\"text-align: center;\">\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e32\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report zuserexit<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_1066\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit00.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1066\" class=\"size-full wp-image-1066\" src=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit00.png\" alt=\"ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)\" width=\"500\" height=\"125\" srcset=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit00.png 500w, http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit00-300x75.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-1066\" class=\"wp-caption-text\">ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)<\/p><\/div>\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e1b\u0e49\u0e2d\u0e19 T-CODE \u0e08\u0e30\u0e42\u0e0a\u0e27\u0e4c \u0e23\u0e32\u0e22\u0e0a\u0e37\u0e48\u0e2d User exit \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e43\u0e19 T-CODE \u0e17\u0e35\u0e48\u0e1b\u0e49\u0e2d\u0e19<\/p>\n<div id=\"attachment_1067\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit01.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1067\" class=\"size-full wp-image-1067\" src=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit01.jpg\" alt=\"ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)\" width=\"500\" height=\"345\" srcset=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit01.jpg 500w, http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit01-300x207.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-1067\" class=\"wp-caption-text\">ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)<\/p><\/div>\n<p>\u0e16\u0e49\u0e32\u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e0a\u0e37\u0e48\u0e2d User exit \u0e08\u0e30\u0e16\u0e39\u0e01\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e44\u0e1b\u0e22\u0e31\u0e07<\/p>\n<div id=\"attachment_1068\" style=\"width: 395px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit02.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1068\" class=\"size-full wp-image-1068\" src=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit02.png\" alt=\"ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)\" width=\"385\" height=\"395\" srcset=\"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit02.png 385w, http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit02-292x300.png 292w, http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/user-exit02-45x45.png 45w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/a><p id=\"caption-attachment-1068\" class=\"wp-caption-text\">ABAP \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report \u0e04\u0e49\u0e19\u0e2b\u0e32 User exit \u0e08\u0e32\u0e01 Transaction Code(T-CODE SAP)<\/p><\/div>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nREPORT zuserexit NO STANDARD PAGE HEADING.\r\nTABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.\r\nTABLES : tstct.\r\nDATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.\r\nDATA : field1(30).\r\nDATA : v_devclass LIKE tadir-devclass.\r\nPARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.\r\n\r\nSELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.\r\nIF sy-subrc EQ 0.\r\nSELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'\r\nAND object = 'PROG'\r\nAND obj_name = tstc-pgmna.\r\nMOVE : tadir-devclass TO v_devclass.\r\nIF sy-subrc NE 0.\r\nSELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.\r\nIF trdir-subc EQ 'F'.\r\nSELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.\r\nSELECT SINGLE * FROM enlfdir WHERE funcname =\r\ntfdir-funcname.\r\nSELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'\r\nAND object = 'FUGR'\r\nAND obj_name EQ enlfdir-area.\r\n\r\nMOVE : tadir-devclass TO v_devclass.\r\nENDIF.\r\nENDIF.\r\nSELECT * FROM tadir INTO TABLE jtab\r\nWHERE pgmid = 'R3TR'\r\nAND object = 'SMOD'\r\nAND devclass = v_devclass.\r\nSELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND\r\ntcode EQ p_tcode.\r\nFORMAT COLOR COL_POSITIVE INTENSIFIED OFF.\r\nWRITE:\/(19) 'Transaction Code - ',\r\n20(20) p_tcode,\r\n45(50) tstct-ttext.\r\nSKIP.\r\nIF NOT jtab[] IS INITIAL.\r\nWRITE:\/(95) sy-uline.\r\nFORMAT COLOR COL_HEADING INTENSIFIED ON.\r\nWRITE:\/1 sy-vline,\r\n2 'Exit Name',\r\n21 sy-vline ,\r\n22 'Description',\r\n95 sy-vline.\r\nWRITE:\/(95) sy-uline.\r\nLOOP AT jtab.\r\nSELECT SINGLE * FROM modsapt\r\nWHERE sprsl = sy-langu AND\r\nname = jtab-obj_name.\r\nFORMAT COLOR COL_NORMAL INTENSIFIED OFF.\r\nWRITE:\/1 sy-vline,\r\n2 jtab-obj_name HOTSPOT ON,\r\n21 sy-vline ,\r\n22 modsapt-modtext,\r\n95 sy-vline.\r\nENDLOOP.\r\nWRITE:\/(95) sy-uline.\r\nDESCRIBE TABLE jtab.\r\nSKIP.\r\nFORMAT COLOR COL_TOTAL INTENSIFIED ON.\r\nWRITE:\/ 'No of Exits:' , sy-tfill.\r\nELSE.\r\nFORMAT COLOR COL_NEGATIVE INTENSIFIED ON.\r\nWRITE:\/(95) 'No User Exit exists'.\r\nENDIF.\r\nELSE.\r\nFORMAT COLOR COL_NEGATIVE INTENSIFIED ON.\r\nWRITE:\/(95) 'Transaction Code Does Not Exist'.\r\nENDIF.\r\n\r\nAT LINE-SELECTION.\r\nGET CURSOR FIELD field1.\r\nCHECK field1(4) EQ 'JTAB'.\r\nSET PARAMETER ID 'MON' FIELD sy-lisel+1(10).\r\nCALL TRANSACTION 'SMOD' AND SKIP FIRST\u00a0\u00a0 SCREEN.\r\n\r\n<\/pre>\n<p>\u0e17\u0e35\u0e48\u0e21\u0e32 http:\/\/www.sap-img.com\/ab038.htm<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e21\u0e2d\u0e1a\u0e2b\u0e21\u0e32\u0e22\u0e43\u0e2b\u0e49\u0e41\u0e01\u0e49\u0e1b\u0e31\u0e0d\u0e2b\u0e32 \u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02 Serial number \u0e43\u0e19 VA02 \u0e02\u0e2d\u0e07 User \u0e43\u0e19\u0e01\u0e23\u0e13\u0e35\u0e01\u0e32\u0e23\u0e04\u0e37\u0e19\u0e02\u0e2d\u0e07 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e21\u0e35\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e15\u0e32\u0e21\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23 SO \u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19\u0e01\u0e32\u0e23\u0e08\u0e30\u0e41\u0e01\u0e49\u0e44\u0e02\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49 \u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23 \u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 Serial number \u0e0b\u0e36\u0e48\u0e07\u0e1c\u0e21\u0e08\u0e30\u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e44\u0e14\u0e49\u0e01\u0e47\u0e15\u0e49\u0e2d\u0e07\u0e1e\u0e36\u0e48\u0e07 User exit\u00a0\u0e41\u0e25\u0e49\u0e27 User exit \u0e02\u0e2d\u0e07 VA02 \u0e08\u0e30\u0e2b\u0e32\u0e17\u0e35\u0e48\u0e44\u0e2b\u0e19 \u0e2a\u0e34\u0e48\u0e07\u0e41\u0e23\u0e01\u0e17\u0e35\u0e48\u0e1c\u0e21\u0e04\u0e34\u0e14\u0e44\u0e14\u0e49\u0e04\u0e37\u0e2d Google \u0e41\u0e25\u0e30\u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e1e\u0e1a\u0e27\u0e34\u0e18\u0e35\u0e2b\u0e32 User exit \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report zuserexit \u0e2b\u0e19\u0e49\u0e32\u0e15\u0e32\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Report zuserexit<\/p>\n","protected":false},"author":1,"featured_media":985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[250,384,251],"tags":[331,313,315,314,316],"class_list":["post-1065","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programmer","category-archive-blog","category-sap-abap","tag-abap-code","tag-report","tag-transaction-code","tag-user-exit","tag-zuserexit"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"http:\/\/www.todsapon.com\/story\/wp-content\/uploads\/2018\/11\/sap-abap.jpg","jetpack_shortlink":"https:\/\/wp.me\/p5sZE6-hb","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/comments?post=1065"}],"version-history":[{"count":2,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1065\/revisions"}],"predecessor-version":[{"id":1106,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1065\/revisions\/1106"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/media\/985"}],"wp:attachment":[{"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/media?parent=1065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/categories?post=1065"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/tags?post=1065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}