{"id":210,"date":"2024-01-23T10:49:51","date_gmt":"2024-01-23T10:49:51","guid":{"rendered":"https:\/\/sapabap.dwimansolution.com\/?p=210"},"modified":"2024-01-23T10:49:51","modified_gmt":"2024-01-23T10:49:51","slug":"sap-abap-ggb0-custom-exit-routines-for-roles","status":"publish","type":"post","link":"https:\/\/sapabap.dwimansolution.com\/index.php\/2024\/01\/23\/sap-abap-ggb0-custom-exit-routines-for-roles\/","title":{"rendered":"SAP ABAP &#8211; GGB0 &#8211; Custom Exit Routines for Roles"},"content":{"rendered":"\n<ol>\n<li>Copy program RGGBR000 to ZRGGBR000 (No need to copy the standard includes) <\/li>\n\n\n\n<li>go to tcode GCX2<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"708\" height=\"288\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-12.png\" alt=\"\" class=\"wp-image-211\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-12.png 708w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-12-300x122.png 300w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<ol start=\"3\">\n<li>Inside the ZRGGBR000 , create custom routines like below\n<ul>\n<li>Create Definition &#8216;ZXX01&#8217; inside subroutine &#8220;get_exit_titles&#8221;<\/li>\n\n\n\n<li>Create Implementation with name based on definition (in this case &#8216;ZXX01&#8217; )<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p><strong>DEFINITION<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  exits-name  = 'ZXX01'.                  \"matrix validation:\n  exits-param = c_exit_param_none.       \"complete data used in exit.\n  exits-title = TEXT-900.                 \"Validation 001\n  APPEND exits.<\/code><\/pre>\n\n\n\n<p><strong>IMPLEMENTATION<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FORM ZXX01 CHANGING b_result.\n  b_result = b_true.\n  IF 1 = 2.\n    b_result = b_false.\n  ENDIF.\nENDFORM.<\/code><\/pre>\n\n\n\n<ol start=\"4\">\n<li>Now you can check in GGB0 , your exits should be exists and can be used normally. Cheers<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"872\" height=\"555\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-13.png\" alt=\"\" class=\"wp-image-212\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-13.png 872w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-13-300x191.png 300w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-13-768x489.png 768w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-13-850x541.png 850w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>ADDITIONAL TIPS<\/strong><\/p>\n\n\n\n<p>If you copy your GGB0 using SCC1N or SCC1 to another client, then you should run report RGUGBR00 to generate the validation program. You can choose specific application area and callup point , or you can fill it with * * to run it all. Check all the checkbox like below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"836\" height=\"406\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-14.png\" alt=\"\" class=\"wp-image-213\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-14.png 836w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-14-300x146.png 300w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/01\/image-14-768x373.png 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>DEFINITION IMPLEMENTATION ADDITIONAL TIPS If you copy your GGB0 using SCC1N or SCC1 to another client, then you should run report RGUGBR00 to generate the validation program. You can choose specific application area and callup point , or you can fill it with * * to run it all. Check all the checkbox like below.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts\/210"}],"collection":[{"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":1,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts\/210\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}