Hi,
I need a blank space at end of header record when transferring data to a file on application server.
Appreciate help.
Code:
wa_header-empty = space. " Length 4 type char
wa_header-rec_type = 'ZREF'. " Length 4 , constant
wa_header-partner_id = '1234' " Length 35 type char
wa_header-i_usr_id = 'COMPANY'. " Length 35 type char
wa_header-p_id_qualf = space. " Length 4 type char
TRANSFER wa_header TO g_out_file.
Desired output: enclosed in brackets.
[ ZREF1234 COMPANY ]
The desired output has 28 trailing space after the text 'COMPANY'.