Usual ABAP class with example using static method.
Usual ABAP class with example using instance method.
1. Goto SE24.
2. Give class name and click on create and give short description and click on save.
5. Save and activate.
6. Click on source code.
method DISPLAY.
SELECT SINGLE
BUKRS
BSTYP
BSART
SPRAS
FROM EKKO
INTO (PBUKRS, PBSTYP, PBSART,PSPRAS)
WHERE EBELN = PEBELN.
endmethod.
7. Save and activate and execute.
Input
Output
**************************Thank You**********************
Comments
Post a Comment