Internal Tables in ABAP

Definition:

data: p_data(18),
countitems type i,
countlines type i,
countships type i,
countshipl type i,
fcode(20),
showopen(1),
vbeln like vbbe-vbeln,
sav_vbeln like vbbe-vbeln,
vbeln1 like vbbe-vbeln,
o_vbeln like vbbe-vbeln,
vbelv like vbfa-vbelv,
bol like likp-bolnr,
screen_200(1),
loadlines(1),
loadship(1),
webcode(1),
numlines type i,
s_month(2),
s_day(2),
s_year(4),
message(80),
* Search fields
s_vbeln like vbcom-vbeln,
s_bstnk like vbcom-bstnk,
s_audat like vbcom-audat,
s_audat_bis like vbcom-audat_bis,
s_matnr like vbcom-matnr,
s_vbelv like vbbe-vbeln,
po_ebeln like ekes-ebeln,
po_eindt like ekes-eindt,
po_vbeln like ekes-vbeln,
inpcnt type i,
ordertotal like zlistprice-KBETR_YPL,
shipped like lips-lfimg.

Internal Table definition

data: begin of oo occurs 100,
orderc(10),
added like vbak-erdat,
otype like vbak-auart,
shiptype like vbak-vsbed,
shiptypet like tvsbt-vtext,
cpo like vbak-bstnk,
bezei like tvakt-bezei,
bstkd like vbkd-bstkd,
end of oo.

Create duplicate table with an extra field
data: begin of boo occurs 1,
order like vbak-vbeln.
include structure olines.
data: end of boo. Return to ABAP help


[Our portfolio] [A history of Computers and Networks]
[Perl help] [ABAP help] [MySQL help]
[TCP/IP troubleshooting] [HTML help] [Feedback] [Humor]
Advertise on Golden Ink's Georgia Network


In Association with Amazon.com