Skip to content

Instantly share code, notes, and snippets.

@SaibotFlow
Last active August 8, 2023 14:27
Show Gist options
  • Select an option

  • Save SaibotFlow/f188e7668811fa3725d20a48267269bc to your computer and use it in GitHub Desktop.

Select an option

Save SaibotFlow/f188e7668811fa3725d20a48267269bc to your computer and use it in GitHub Desktop.

Revisions

  1. SaibotFlow renamed this gist Aug 8, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. SaibotFlow created this gist Aug 8, 2023.
    9 changes: 9 additions & 0 deletions abap
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    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).