Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Step 11: Now enter the Package name in the ‘Package’ Attribute and click on the button.

Step 12: Select the TR and click on it.

Now ABAP Editor will open, here write the code given below for the report.

REPORT zalvexample9.
*Table Declaration.
TABLES : vbak, vbap.
*Type-Pools
TYPE-POOLS: slis.

*Type Declaration

TYPES: BEGIN OF ty_vbak,

vbeln TYPE vbak-vbeln,


erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
auart TYPE vbak-auart,
vkorg TYPE vbak-vkorg,
vtweg TYPE vbak-vtweg,
spart TYPE vbak-spart,
vkgrp TYPE vbak-vkgrp,
kunnr TYPE vbak-kunnr,

END OF ty_vbak,

BEGIN OF ty_vbap,

vbeln TYPE vbap-vbeln,


posnr TYPE vbap-posnr, 
matnr TYPE vbap-matnr,

You might also like