In my pgm am using the contatnete stmt and moving as a word file into a server.I want to concantenate more than 15 fields out of which 5 are currency fields.For the currency fields part am getting error.How to correct it.Its not accepting currency only characters is accepted.
this can be handled easily using field-symbols:
LOOP AT p_final_table ASSIGNING <fs_record>. DO. ASSIGN COMPONENT sy-index OF STRUCTURE <fs_record> TO <fs_comp>. ....... ...... ... ENDDO. CONCATENATE lf_line co_line_feed INTO lf_line. APPEND lf_line TO p_output_file. CLEAR lf_line. ENDLOOP.