Skip to Content
0
Former Member
Jul 04, 2007 at 06:03 AM

Hello all ( i am getting out put in text file , i want in CSV format. )

11 Views

hello all ,

Presently with the below code i am getting out put in text format , but presently user wants out put in CSV format.

CONCATENATE p_file '.TXT' INTO v_filename.

OPEN DATASET v_filename FOR OUTPUT IN TEXT MODE

ENCODING NON-UNICODE MESSAGE v_msg_txt.

IF sy-subrc = 0.

LOOP AT vit_name.

TRANSFER vit_name TO v_filename.

ENDLOOP.

LOOP AT vit_itab2.

TRANSFER vit_itab2 TO v_filename.

ENDLOOP.

please can any one help me.

Thank you in advance

Prem