Skip to Content
0
May 07, 2007 at 03:08 PM

Reg. Do Varying f from f2 next f3 range f5

59 Views

Hi All,

I have coded the below code and executed it is giving dump. I could not under stand what is the excat use of Range in the statement.

Please kindly let me know if any one have used this statement.

I would like excat use of the statement.

DATA : begin of g_s_vbak_vbap,

field1 type c value 'A',

field2 type c value 'B',

field3 type c value 'C',

field4 type c value 'D',

field5 type c value 'F',

end of g_s_vbak_vbap,

char1 type c.

start-of-selection.

do varying char1 from g_s_vbak_vbap-field1 next g_s_vbak_vbap-field3

range g_s_vbak_vbap.

write char1.

enddo.

Regards

Anil Kumar K