{"id":243,"date":"2024-03-07T09:55:30","date_gmt":"2024-03-07T09:55:30","guid":{"rendered":"https:\/\/sapabap.dwimansolution.com\/?p=243"},"modified":"2024-03-07T09:55:30","modified_gmt":"2024-03-07T09:55:30","slug":"sap-abap-get-text-attributes-of-material","status":"publish","type":"post","link":"https:\/\/sapabap.dwimansolution.com\/index.php\/2024\/03\/07\/sap-abap-get-text-attributes-of-material\/","title":{"rendered":"SAP ABAP &#8211; Get Text Attributes of Material"},"content":{"rendered":"\n<p>Bismillah..<\/p>\n\n\n\n<p>When you have to get or set text object, then you have to know ID, OBJECT, NAME, LANGUAGE of that text object. How do we know? This is my way to get text attributes <\/p>\n\n\n\n<p>In this example, let&#8217;s open material master tcode -> <strong>MM03<\/strong> , and go to any tab that have text object inside.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image.png\" alt=\"\" class=\"wp-image-244\" width=\"713\" height=\"574\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image.png 713w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-300x242.png 300w\" sizes=\"(max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n\n\n<p>And then go to SE37 , set breakpoint at the first line of statement of function module READ_TEXT<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"666\" height=\"233\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-1.png\" alt=\"\" class=\"wp-image-245\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-1.png 666w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-1-300x105.png 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/figure>\n\n\n\n<p>Back to your MM03, and click any tab until the screen has changed, and then click again the previous tab.<\/p>\n\n\n\n<p>Debug screen should be popping up to your screen. Let&#8217;s take a look at variable ID , LANGUAGE , NAME, OBJECT .<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"441\" src=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-1024x441.png\" alt=\"\" class=\"wp-image-246\" srcset=\"https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-1024x441.png 1024w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-300x129.png 300w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-768x331.png 768w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-1536x662.png 1536w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2-850x366.png 850w, https:\/\/sapabap.dwimansolution.com\/wp-content\/uploads\/2024\/03\/image-2.png 1609w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>And there is it how you can get the text attributes. <\/p>\n\n\n\n<p>I think that&#8217;s all. Thank you for reading.<\/p>\n\n\n\n<p>See you<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bismillah.. When you have to get or set text object, then you have to know ID, OBJECT, NAME, LANGUAGE of that text object. How do we know? This is my way to get text attributes In this example, let&#8217;s open material master tcode -> MM03 , and go to any tab that have text object&#8230;<\/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\/243"}],"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=243"}],"version-history":[{"count":1,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/posts\/243\/revisions\/247"}],"wp:attachment":[{"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sapabap.dwimansolution.com\/index.php\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}