cancel
Showing results for 
Search instead for 
Did you mean: 

Blank space at the end of the TXT file using FDTA (T.code)

0 Kudos

We have created payment runs in Quality Client as follows:

1. Payment Run ID MSA01 Run Date: 24.02.2011

2. Payment Run ID MSA11 Run Date: 24.02.2011

The resulting DME Files are as per our attachment.

The file got rejected by the bank due to an extra white space on the last

line of the DME File. The file should end immediately after the last

character in the fle. We have not done any thing to the DME File structure.

The connection to SAP CQ1 is now open and your user id and password are

in the secure area.

Thanks.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Is the file downloaded through standard or through custom programs?

0 Kudos

Hi,

thank you very much for your immediate response.

We are using standard transaction code for download DME file (FDTA).

It was working fine befor upgrading with support packs SAPKH60307 level 0007 from 0004.

Thanks & Regardsm

Y.Kiran Babu.

Former Member
0 Kudos

Hi Kiran,

Maybe check the following note to see if this addresses your problem:

[1514624 - Extra CR (carriage return) in DME file created by RFFOGB_T program when run on AIX (unix system) |https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3135313436323426]

Kind regards,

Robert

PS. unable to see in this note to which support package and release the note pertains.

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you ever resolve this problem? The note only refers to multiple carriage returns.

I've looked at the code and a char(255) has to be passed to TEMSE_SCHREIBEN (Can't pass a variable string or it crashes). I've tried making sure that the rest of the chars in the char string have a binary null value but that hasn't resolved the problem. It seems that even if the data is sitting in the buffer with null values for the rest of the line, the action of downloading the data converts the nulls to spaces.

Former Member
0 Kudos

Ps. I eventually resolved this way back when by checking string length and building specially sized character type lines dynamically.