{"id":7731,"date":"2025-09-03T00:59:16","date_gmt":"2025-09-02T19:29:16","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=dynamic-table-creation"},"modified":"2025-09-03T00:59:16","modified_gmt":"2025-09-02T19:29:16","slug":"dynamic-table-creation","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=dynamic-table-creation","title":{"rendered":"Dynamic Table creation"},"content":{"rendered":"<p>Dynamic Internal Tables are\u00a0tables created at RUN TIME Using Field Symbols. It&#8217;s useful in creating a program where you don&#8217;t know name of table till run time. In other words, it&#8217;s very useful in creating Dynamic Programs.<\/p>\n<p>Dynamic internal tables can be created\u00a0using method <strong>CREATE_DYNAMIC_TABLE<\/strong> in class <strong>CL_ALV_TABLE_CREATE<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/t1.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/t2.png\" \/><\/p>\n<p>The work area gw_line will be accessed by field-symbol &lt;gfs_line&gt; and gw_line1 will be accessed by field symbol &lt;gfs_line1&gt;.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/t3.png\" \/><\/p>\n<p><strong>Populating the dynamic table.<\/strong><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/t4.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/t5.png\" \/><\/p>\n<p><strong>Now the dynamic table has been created and has been populated with the values based on the contents of the initial internal table.<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[158],"question_tags":[],"class_list":["post-7731","question","type-question","status-publish","hentry","question-category-abap"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7731"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7731"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7731"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}