Application Development and Automation 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: 
Read only

F110 - DME file format

Former Member
0 Likes
2,348

Hi All,

I am creating a DMF file in F110 through custom program.

File is creating correctly but format is not correct.

First line and second line is coming in same line with one extra character # in between these two lines.

Please suggest how can I separate this line in two different lines.

I need to remove # from file and data after # should come in 2nd line.

Wrong format :

HABC99957001x1030020      MT1030000967325             2014/02/0512:10:40 P     #:20:00290000975

Correct format:

HABC99957001x1030020     MT1030000967325              2014/02/0512:10:40 P

90000975

Thanks and Regards:

Anugrah

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,844

Hi Anugrah,

Are you looking for MT013 file format if yes in sap we have standard which is fit to as per bank.

recently i have done this developement without changing standard program.

Regards,

Raman

Hi All,

I am creating a DMF file in F110 through custom program.

File is creating correctly but format is not correct.

First line and second line is coming in same line with one extra character # in between these two lines.

Please suggest how can I separate this line in two different lines.

I need to remove # from file and data after # should come in 2nd line.

Wrong format :

HABC99957001x1030020      MT1030000967325             2014/02/0512:10:40 P     #:20:00290000975

Correct format:

HABC99957001x1030020     MT1030000967325              2014/02/0512:10:40 P

90000975

Thanks and Regards:

Anugrah

8 REPLIES 8
Read only

Former Member
0 Likes
1,844

Hi All,

Correction :

Second line should be :20:00290000975

Thanks:

Anugrah

Read only

kiran_k8
Active Contributor
0 Likes
1,844

Anurag,

You need to pass the delimiter in your DMEE structure so that it recognises end of the line.

Try with cl_abap_char_utilities=>NEWLINE or CR_LF

K.Kiran.

Read only

Former Member
0 Likes
1,844

Hi K.Kiran,

Where do I need to use cl_abap_char_utilities=>NEWLINE ?

Please suggest.

Thanks and Regards:

Anugrah

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,844

I am creating a DMF file in F110 through custom program.

What do you mean by this? Are you using the payment medium workbench to create the DME file?

Read only

Former Member
0 Likes
1,844

Hi Suhas,

I copied the standard program RFFOM100 and created a custom program ZRFDA_RFFOM100  and added header and footer.

Now header and first line is coming in single line.

Thanks and Regards:

Anugrah

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,844

Hello,

Which SAP Release are you working on? I think DME Engine & Payment Medium Workbench are available from ECC 5.0 & you can create your own DME tree to suit the payment file format.

Payment Medium Workbench (SAP Library - Documentation)

I never like the idea of copying the standard program to fix your payment files. I did it (a lot) prior to ECC 5.0

BR,

Suhas

Read only

Former Member
0 Likes
1,845

Hi Anugrah,

Are you looking for MT013 file format if yes in sap we have standard which is fit to as per bank.

recently i have done this developement without changing standard program.

Regards,

Raman

Read only

0 Likes
1,844

Hi All,

Issue is resolved.

I changed the code as below.

*     l_crlf   type x value '0D0A'.

l_crlf type char2 value CL_ABAP_CHAR_UTILITIES=>CR_LF.

Thanks all of you,

Regards:

Anugrah