Select.....EndSelect.
- Select and endselect is acts like loop.
Ex :
Steps :
- Go to transaction code SE38.
- Enter the program name Z or Y<program name>
- Select attribute type as Executable program.
- Click on Save.
Source Code
TABLES : MAKT.
SELECT-OPTIONS : S_MATNR FOR MAKT-MATNR.
SELECT * FROM MAKT INTO MAKT WHERE MATNR IN S_MATNR.
WRITE : / MAKT-MATNR , MAKT-SPRAS , MAKT-MAKTX.
ENDSELECT.
SELECT-OPTIONS : S_MATNR FOR MAKT-MATNR.
SELECT * FROM MAKT INTO MAKT WHERE MATNR IN S_MATNR.
WRITE : / MAKT-MATNR , MAKT-SPRAS , MAKT-MAKTX.
ENDSELECT.
Serkan AKKAVAK
Computer Engineer
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments