Kenzuke

Flugdaten

Jan 26th, 2020
442
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DATA:
  2.   count TYPE i VALUE 0,
  3.   sc    TYPE scustom,
  4.   sb    TYPE sbook.
  5.  
  6. * ???
  7. TOP-OF-PAGE.
  8. * Zeile ganz oben
  9.  ULINE (140).
  10.   WRITE: /  '|', (10)'Kunden ID',       '|', (15)'Kunde',
  11.             '|', (14)'Strasse',         '|', (12)'Postleitzahl',
  12.             '|', (14)'Ort',             '|', (12)'Buchungs-Nr.',
  13.             '|', (16)'Fluggeselschaft', '|', (10)'FLugnummer',
  14.             '|', (9)'Flugdatum',        '|'.
  15.   ULINE /(140).
  16.  
  17. START-OF-SELECTION.
  18.   SELECT * FROM  scustom INTO sc.
  19.     SELECT * FROM sbook INTO sb
  20.              WHERE customid = sc-id.
  21.       WRITE: /  '|', (10)sc-id,       '|', (15)sc-name,
  22.                 '|', (14)sc-street,   '|', (12)sc-postcode,
  23.                 '|', (14)sc-city,     '|', (12)sb-bookid,
  24.                 '|', (16)sb-carrid,   '|', (10)sb-connid,
  25.                 '|', (9)sb-fldate,    '|'.
  26.     ENDSELECT.
  27.     IF sy-dbcnt > 0.
  28.       count = count + 1.
  29.     ENDIF.
  30.  
  31.   ENDSELECT.
  32.  
  33. END-OF-SELECTION.
  34.   ULINE /(140).
  35.   WRITE: / '|', 'Anzahl der Kunden: ', count, (104)' ', '|'.
  36.   ULINE /(140).
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×