Google Search - Blog...........

ABAP - Sample Program On FIELD SYMBOLS.

field-symbols: .
data: begin of it_vbrp,
vbeln like vbrp-vbeln,
posnr like vbrp-posnr,
brgew like vbrp-brgew,
ntgew like vbrp-ntgew,
end of it_vbrp.
data: begin of it_vbrp2,
vbeln like vbrp-vbeln,
posnr like vbrp-posnr,
brgew like vbrp-brgew,
* ntgew like vbrp-ntgew,
end of it_vbrp2.
select vbeln
posnr
brgew
ntgew
from vbrp
into corresponding fields of it_vbrp
where vbeln between '0090059462' and '0090060327'.
assign it_vbrp to .
write:/ .
move to it_vbrp2.
clear .
endselect.

No comments:

Post a Comment