Tuesday, 9 August 2016

Example for Standard Internal Table

Steps

  • Go to Transaction Code SE38.
  • Enter the program name which start's with Y or Z < program name > and click on Create Button.
  • Enter the Title.
  • Select the Attribute Type as Executable Program.
  • Click on SAVE button.

Source Code




data it_makt type standard table of makt with header line.

select-options s_matnr for it_makt-matnr.

select from makt into table it_makt where matnr in s_matnr.

loop at it_makt .

write / it_makt-matnr it_makt-spras ,it_makt-maktx.

endloop.



  • Save-> Check -> Activate.
  • Execute ( F8 ).

Input

  • Enter the input values.
  • Execute ( F8 ).

Output





No comments:

Post a Comment