Skip to Content
0
Former Member
Dec 14, 2009 at 10:06 AM

how to read data from appl server

18 Views

i am having doubt regarding reading data from appl server.

OPEN DATASET p_applup FOR INPUT IN TEXT MODE.

DO.

READ DATASET p_applup INTO wa.

IF sy-subrc NE 0.

EXIT.

ENDIF.

MOVE wa+0(5) TO w_prgstatus-chrgback.

APPEND w_prgstatus TO t_prgstatus.

ENDDO.

CLOSE DATASET p_applup.

my doubt is length of field chrgback in appl server is 5 but in data type it is 10 , so which length should i take.