Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Appending u a new line

Former Member
0 Kudos

Hi All,

for Automativ payment transactions tcode F110 we assigned a prg RFFOUS_T with variant ACH. so it is genrating a file in the following format


101 073900085 12345678 0809250422A094101SECURITY NATIONAL BANK TERRA INT INC ADMIN            
5200TERRA INT INC ADDIRECT DEPOSIT      1185296396CCD                080917   1073900080000001
622011302920987654444        0047056900               PROFESSIONAL POOL & SP  0073900080000001
6220210000891254558589       0005555500               GLACIER LAKES TECHNOLO  0073900080000002
6220210000891254558589       0001234500               GLACIER LAKES TECHNOLO  0073900080000003
62202100008932312502         0010000000               BURLINGTON NORTHERN SA  0073900080000004
62202100008932312502         0001222200               BURLINGTON NORTHERN SA  0073900080000005
62202100008932312502         0000005000               BURLINGTON NORTHERN SA  0073900080000006
82000000060011630332000000000000000065074100                                   073900080000001
9000001000001000000060011630332000000000000000065074100                                       

Now requirement is i need to append a new line after all the 6 type records with 6 and total amount of above accounts ..

Any ideas how to do it ....

Regards,

Sunil Kumar Mutyala

4 REPLIES 4

Former Member
0 Kudos

Hi you can write code as.

Loop at itab where type = '6%'.

if sy-subrc <> 0.

insert itab from itab.

exit.

endif.

endloop.

0 Kudos

Hi Swathi,

It is a standard program and more over it is writing the file on the application server.....

Former Member
0 Kudos

Hi Sunil,

Find any user exit in that prog (sh be one after creating file ) and Change the file as required.

Rhea.

0 Kudos

Thanks for you people help No need. I will try my self and try to solve this problem...