Advertisement
Guest User

Knobelaufgabe

a guest
Aug 29th, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ABAP 0.45 KB | None | 0 0
  1.   select distinct
  2.       dd02t~tabname,
  3.       t002~spras,
  4.       case when spras = ddlanguage then 'X'
  5.       end as translation_exists
  6.   from dd02t
  7.   join t002
  8.     on 1 = 1
  9.    where dd02t~as4local = 'A'
  10.      and dd02t~tabname in @s_table
  11.    group by tabname, spras, ddlanguage
  12.   into table @data(table_translations).
  13.  
  14.   delete adjacent duplicates from table_translations comparing tabname spras.
  15.   move-corresponding table_translations to ct_data.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement