{"id":1097,"date":"2018-11-28T10:59:52","date_gmt":"2018-11-28T03:59:52","guid":{"rendered":"http:\/\/www.todsapon.com\/story\/?p=1097"},"modified":"2019-12-03T17:26:47","modified_gmt":"2019-12-03T10:26:47","slug":"abap-codefunction-convert-spool-job-in-to-internal-table","status":"publish","type":"post","link":"http:\/\/www.todsapon.com\/story\/programmer\/abap-codefunction-convert-spool-job-in-to-internal-table","title":{"rendered":"ABAP Code:Function Convert Spool Job in to Internal Table"},"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 Code:Function Convert Spool Job in to Internal Table\" 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 Code:Function Convert Spool Job in to Internal Table<\/p><\/div>\n<p>\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\u0e02\u0e2d\u0e41\u0e19\u0e30\u0e19\u0e33 Function \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a convert Spool Job \u0e21\u0e32\u0e40\u0e01\u0e47\u0e1a\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a Internal Table<br \/>\n<!--more--><\/p>\n<p>\u0e1e\u0e23\u0e30\u0e40\u0e2d\u0e01\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e04\u0e37\u0e2d <a href=\"http:\/\/www.todsapon.com\/story\/programmer\/abap-codefunction-convert-spool-job-in-to-internal-table\">Function RSPO_RETURN_ABAP_SPOOLJOB<\/a><\/p>\n<p>\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 Function \u0e15\u0e31\u0e27\u0e19\u0e35\u0e49\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35 \u0e40\u0e25\u0e02 Spool Request Number\u00a0\u0e41\u0e25\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07 Internal Table \u0e21\u0e32\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32<\/p>\n<p><!--more--><\/p>\n<p><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 Code \u0e07\u0e48\u0e32\u0e22<\/strong><\/p>\n<ol>\n<li>\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07 Internal Table \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e21\u0e32\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32<\/li>\n<\/ol>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n* I N T E R N A L\u00a0\u00a0 T A B L E S ( gt_ )\r\n\r\nDATA: BEGIN OF gt_spool OCCURS 0,\r\n\r\ntext255 TYPE text255,\r\n\r\nEND OF gt_spool.\r\n\r\n<\/pre>\n<ol start=\"2\">\n<li>\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e08\u0e32\u0e01\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32 Spool Request Number<\/li>\n<\/ol>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n* S E L E C T I O N\u00a0 S C R E E N\r\n\r\nPARAMETERS: p_spool LIKE tsp01-rqident.\r\n\r\n<\/pre>\n<ol start=\"3\">\n<li>\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49 Function RSPO_RETURN_ABAP_SPOOLJOB<\/li>\n<\/ol>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n* S T A R T - O F - S E L E C T I O N\r\n\r\nSTART-OF-SELECTION.\r\n\r\nCALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'\r\n\r\nEXPORTING\r\n\r\nrqident\u00a0\u00a0\u00a0 = s_spool-low\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &quot;Spool Request Number\r\n\r\nfirst_line = 1\r\n\r\nTABLES\r\n\r\nbuffer\u00a0\u00a0\u00a0\u00a0 = gt_spool.\r\n<\/pre>\n<ol start=\"4\">\n<li>\u00a0\u0e17\u0e33\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07 Spool \u0e17\u0e35\u0e48\u0e16\u0e39\u0e01 Convert \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a Internal Table<\/li>\n<\/ol>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n* E N D - O F - S E L E C T I O N\r\n\r\nEND-OF-SELECTION.\r\n\r\nLOOP AT gt_spool.\r\n\r\nWRITE:\u00a0 gt_spool-text255.\r\n\r\n<\/pre>\n<p>\u0e1b\u0e25. \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e41\u0e2a\u0e14\u0e07\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e08\u0e30\u0e21\u0e35\u0e25\u0e31\u0e01\u0e29\u0e13\u0e30\u0e04\u0e25\u0e49\u0e32\u0e22\u0e01\u0e31\u0e1a \u0e01\u0e32\u0e23\u0e2a\u0e31\u0e48\u0e07\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e1c\u0e48\u0e32\u0e19\u0e15\u0e31\u0e27 spool \u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32 SM37 \u0e40\u0e1e\u0e35\u0e22\u0e07\u0e41\u0e15\u0e48\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e35<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49\u0e02\u0e2d\u0e41\u0e19\u0e30\u0e19\u0e33 Function \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a convert Spool Job \u0e21\u0e32\u0e40\u0e01\u0e47\u0e1a\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a Internal Table<\/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,338,256,254],"class_list":["post-1097","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programmer","category-archive-blog","category-sap-abap","tag-abap-code","tag-convert-spool-job-in-to-internal-table","tag-function","tag-sap"],"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-hH","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1097","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=1097"}],"version-history":[{"count":3,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1097\/revisions"}],"predecessor-version":[{"id":1100,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/posts\/1097\/revisions\/1100"}],"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=1097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/categories?post=1097"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.todsapon.com\/story\/wp-json\/wp\/v2\/tags?post=1097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}