[ABAP] ABAP SQL WITH
WITH Syntax WITH +cte1[( name1, name2, ... )] AS ( SELECT subquery_clauses [UNION ...] ), [hierarchy] [associations][, +cte2[( name1, name2, ... )] AS ( SELECT subquery_clauses [UNION ...] ), [hierarchy] [associations], ... ] SELECT mainquery_clauses [UNION ...] INTO|APPENDING target [UP TO ...] [OFFSET ...] [abap_options]. ... [ENDWITH]. Addition: ... ( name1, name2, ... ) Effect The ABAP SQL k..
[ABAP] PMATSTKBKDATE1
TYPES : BEGIN OF ty_s_disp. TYPES : matnr TYPE mard-matnr, maktx TYPE makt-maktx, werks TYPE mard-werks, lgort TYPE mard-lgort, tstock TYPE pmatstkbkdate1-matlwrhsstkqtyinmatlbaseunit, tvlaue TYPE mbew-stprs, meins TYPE matdoc-meins, stock1 TYPE matdoc-menge, stock2 TYPE matdoc-menge, stock3 TYPE matdoc-menge, stock4 TYPE matdoc-menge, stock5 TYPE matdoc-menge. TYPES : END OF ty_s_disp. TYPES : ..