Last active
August 8, 2023 14:27
-
-
Save SaibotFlow/f188e7668811fa3725d20a48267269bc to your computer and use it in GitHub Desktop.
Get SAP system type with description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DATA: lv_category TYPE char1, | |
| lv_category_text TYPE string. | |
| SELECT SINGLE b~ddtext, a~cccategory FROM t000 AS a | |
| INNER JOIN dd07t AS b ON b~domvalue_l = a~cccategory | |
| WHERE a~mandt = @sy-mandt | |
| AND b~ddlanguage = @sy-langu | |
| AND b~domname = 'CCCATEGORY' | |
| INTO (@lv_category_text, @lv_category). |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CCCATEGORY is the key here.
Descriptions depend on the language