06-11-2017 6:48 PM
Hi,
To meet the banks NACHA flat file requirements we have created a new Payment medium format which is a copy of ACH payment medium format provided by SAP.
We are not using the "Mapping using DME engine". The flat file generated comes with the CR/LF for every line. The bank is not able to process the file with CR/LF.
Please let me know how to remove CR/LF.
Thanks,
Vishal
06-12-2017 6:38 AM
Vishal,
You need to find out where in the code is CR/LF getting added at the end of every line.Debugging or code walk through will help you get that.
Caution: If the same program is being used for other banks and other Payment Methods with different file formats where CR/LF is required then you need to be cautious before doing any changes.
K.Kiran.
06-12-2017 7:45 AM
You say "You are not using the ...", then the main question is what are you using?
06-12-2017 8:03 AM
As Sandra says - if you don't tell us how you are generating it we can only guess at an answer.
06-12-2017 9:40 AM
Sandra/Richard,
As he is not using DMEE and still talking about Payment Files and File Format,then most probably OP might be using a Custom program which runs after Payment Run or a Custom logic (in standard prog-ENH) to create a Payment File while doing the Payment Run.
K.Kiran.
06-12-2017 9:53 AM
So, assuming that he is using cl_gui_FrontEnd_Services for the download, the Gui_Download has a parameter 'WRITE_LF' which is an optional parameter defaulting to Abap_True. This should be provided in the method call with a value of 'Abap_False'. (Or am I wrong to assume this ???)
Rich
06-12-2017 10:12 AM
Hi Guys,
Firstly thank you all for looking into this issue.
I followed the steps listed in the link below to generate a NACHA flat file.
Since the file generated, was meeting all NACHA spec, I didn't see any reason why I should use "Mapping using DME engine". According to the steps above, I made a copy of standard "ACH" Payment medium format and linked it to the payment method. The file looked good when opening up in Note pad. But it started showing CR/LF when I display it in the payment medium section of the payment program.
06-12-2017 10:18 AM
Vishal,
You are saying you are not using DMEE then what are these " events " ?
Kindly share what these events are and where you are linking FM,EVENTS to the Payment Run.
K.Kiran.
06-12-2017 10:21 AM
I am extremely sorry I shared the wrong link. This is the link that I followed to configure.
06-12-2017 10:24 AM
06-12-2017 10:34 AM
I haven't configured anything via transaction code DMEE. I have followed the steps mentioned in the link and made a copy of ACH format.
06-12-2017 1:08 PM
Vishal,
Even I am new to DMEE but did a bit of analysis and sharing the info so that you can get some lead.
Go to DMEE
Choose the Tree Type as PAYM
Choose the Format Tree and click on DISPLAY to view the ACTIVE VERSION
Check the settings of each of the NODES
Along with that you can also check the Function modules in "Event Modules for Payment Medium Formats" using OBPM1.
I strongly recommend you get in touch with any person within your team who is much familiar with Configuring DMEE rather than going by trial and error method.
K.Kiran.