Schlagwort: parameters

geschachtelter Select-Befehl

REPORT YZSM0005 . PARAMETERS: L_NR LIKE EKKO-IHREZ, L_ANT LIKE EKKO-LIFNR, MAT_NR LIKE EKPO-MATNR. TABLES: EKKO, EKPO. SELECT * FROM EKKO WHERE IHREZ = L_NR AND LIFNR = L_ANT. SELECT * FROM EKPO WHERE MATNR = MAT_NR AND EBELN = EKKO-EBELN.

Veröffentlicht in ABAP Getagged mit: , , , , , , , , , , , , ,

Taschenrechner

REPORT YZSM0004 . PARAMETERS: PAR1 TYPE I, OPERATOR TYPE C, PAR2 TYPE I. DATA: RESULT TYPE P DECIMALS 2. CASE OPERATOR. WHEN ‚+‘. RESULT = PAR1 + PAR2. WHEN ‚-‚. RESULT = PAR1 – PAR2. WHEN ‚*‘. RESULT = PAR1

Veröffentlicht in ABAP Getagged mit: , , , , , , , , , , , ,