This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android.practiceset2; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.widget.TextView; | |
public class MainActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT somename. | |
SELECTION-SCREEN BEGIN OF BLOCK A WITH FRAME TITLE TEXT-500. | |
PARAMETERS : V_DATE LIKE SY-DATUM, | |
V_DAYS TYPE I. | |
SELECTION-SCREEN END OF BLOCK A. | |
INITIALIZATION. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM SFLIGHT. | |
write: / SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE, SFLIGHT-PLANETYPE, SFLIGHT-SEATSMAX, SFLIGHT-SEATSOCC. | |
ENDSELECT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TABLES SCARR. | |
SELECT * FROM SCARR. | |
SELECTION-SCREEN BEGIN OF BLOCK A WITH FRAME TITLE TEXT-002. | |
PARAMETERS: V_CARR LIKE SCARR-CARRID. | |
SELECTION-SCREEN END OF BLOCK A. | |
SELECT SINGLE * FROM SCARR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001. | |
PARAMETERS: operator TYPE c. | |
SELECTION-SCREEN END OF BLOCK a. | |
DATA: inta TYPE i, intb TYPE i, | |
counter TYPE i VALUE 1, | |
result TYPE i, | |
INDEX TYPE SY-INDEX. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*&---------------------------------------------------------------------* | |
*& Create a Ranked List for Highest Sales | |
*&---------------------------------------------------------------------* | |
REPORT ZAKPROG18. | |
tables: sflight. | |
SELECTION-SCREEN BEGIN OF BLOCK AK WITH FRAME TITLE TEXT-005. | |
PARAMETERS: V_CARR LIKE SFLIGHT-CARRID. | |
SELECTION-SCREEN END OF BLOCK AK. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT Zakitab. | |
TABLES: scarr. | |
TABLES: sflight. | |
TYPES: BEGIN OF ty_sflight, | |
carrierid TYPE sflight-carrid, | |
END OF ty_sflight. | |
TYPES: BEGIN OF ty_scarr, | |
carrieridd TYPE scarr-carrid, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT ZAKITAB2. | |
TABLES: sflight. | |
TYPES: BEGIN OF ty_sflight, | |
carrierid TYPE sflight-carrid, | |
connectid type sflight-connid, | |
flightdate type sflight-fldate, | |
paymentsum type sflight-paymentsum, | |
END OF ty_sflight. | |
DATA: t_sflight TYPE STANDARD TABLE OF ty_sflight, wa_sflight TYPE ty_sflight, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* prog 27 | |
TABLES: kna1. | |
TYPES: BEGIN OF t_kna1, | |
v_name1 LIKE kna1-name1, | |
v_name2 LIKE kna1-name2, | |
v_land1 LIKE kna1-land1, | |
END OF t_kna1. | |
SKIP 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT ZINNERJOIN. | |
TABLES: spfli, sflight. | |
* | |
TYPES: BEGIN OF t_table, | |
v_carrid LIKE spfli-carrid, | |
v_connid LIKE spfli-connid, | |
v_cityfrom LIKE spfli-cityfrom, | |
v_cityto LIKE spfLi-cityto, |
OlderNewer