F110 DME payment file: add a number of lead days to posting and value date

Hello,
For an Italian company, the DME payment file (F110) needs to be checked and approved by an accountant after it is created. This takes 3 to 4 days after which the file is sent to the bank. The bank will reject the file if the value date  is three days late (date which the bank uses to process the file on). For fiscal reasons the accounting clerks need the have the same posting date as the value date
I managed to set the value date in the DME files a couple of days later. The setting I used (FBZP -> bank determination -> value date) adds the number of lead days to the value date on the basis of the posting date as defined by the user in F110. For some reason I cannot set it to 0 days, it always adds up 1 day. Is that a normal effect or have I changed the settings in the wrong way?
I found another setting in customising ("define value date rules") which seems to have the same functionality. In the help function it is said that the setting does not influence the payment program and that the program manages the value date. Is there another setting? Can this problem be solved without the help of a programmer?
Thank you very much!
René
functional consultant
Edited by: ConsultantSAINT-OBAIN on Apr 8, 2010 10:24 AM

Here's a section of code that does exactly that:
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
  EXPORTING
    CORRECT_OPTION                     = '+'
    DATE                               = G_WORKAREA3-CREATEDON
    FACTORY_CALENDAR_ID                = L_S_PLANT-FACTCAL_ID
  IMPORTING
*   DATE                               =
   FACTORYDATE                        = L_FCDATE
  EXCEPTIONS
    CALENDAR_BUFFER_NOT_LOADABLE       = 1
    CORRECT_OPTION_INVALID             = 2
    DATE_AFTER_RANGE                   = 3
    DATE_BEFORE_RANGE                  = 4
    DATE_INVALID                       = 5
    FACTORY_CALENDAR_NOT_FOUND         = 6
    OTHERS                             = 7.
  L_FCDATE = L_FCDATE + L_S_ZLEAD-/BIC/ZLEAD.
  CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE'
    EXPORTING
      FACTORYDATE                  = L_FCDATE
      FACTORY_CALENDAR_ID          = L_S_PLANT-FACTCAL_ID
    IMPORTING
      DATE                         = L_DATE
    EXCEPTIONS
      CALENDAR_BUFFER_NOT_LOADABLE = 1
      FACTORYDATE_AFTER_RANGE      = 2
      FACTORYDATE_BEFORE_RANGE     = 3
      FACTORYDATE_INVALID          = 4
      FACTORY_CALENDAR_ID_MISSING  = 5
      FACTORY_CALENDAR_NOT_FOUND   = 6
      OTHERS                       = 7.
* result value of the routine
  RESULT = L_DATE.

Similar Messages

  • DME payment file to be exported automatically

    Hello
    We currently generate a payment medium in the form of a text file in different formats according to the payment method. This file is created when the last step of the payment run is carried out, and then the relevant person goes to DME administration FDTA and exports the file to a folder in the network. This file is afterwards imported into the bank system.
    The problem we have is from the point of view of security and auditing since the file can be edited once exported and before being imported into the bank system.
    For that, we are trying to automate the export of the payment medium. I have tried using the "file name" in the output control but although the log tells me that the output was transferred successfully, this is not happenning. However if I go again to FDTA and export the file (the system tells me that this was already exported although I can not find the file in the specified folder), then this is exported correctly (to the same specified location)
    Can anyone tell me what we may be doing wrong? Also, does anyone know of a way of making the output file non-editable?
    Or any other possible solutions to this issue?
    thanks a lot

    Diego - Here I have just corrected the spelling mistake in the above posting:
    If you use DMEE (payment medium workbench) then in the variant, which you define in OBPM4 and assign it to a specific house bank and account ID, you specify the file name and path.
    e.g./usr/sap/interfaces/R3Q/out/common/CGS_OUT_TAXACH
    Here '/usr/sap/interfaces/R3Q/out/common' is the path to the SAP server and CGS_OUT_TAXCH is the file name. The path is case sensitive and typically you use lowe case letters.
    When you run print program, the files get created and stored in the SAP server as per the above path. SAP also adds a 4 digit number to the file name and the file will be CGS_OUT_TAXACH0163. The four digit number is incremented every time a new file is created, something similar to our FI document number,  to prevent the old file being overwritten by a new file.
    After the file is created you can access the file using T-code AL11. In this screen " SAP Directories", you can then drill down to the final destination where the file is stored. So first you will see '/usr/sap/interfaces' (which will be at the bottom of this AL11 scree). Double click on this. Then you will see R3Q (which is the SAP system in this case Quality. In Production it will probably R3P). Like this keep double clicking on each sub directory 'R3Q', then 'Out' and then 'Common' and you will find the file which was created by your print program.
    In order to prevent people from changing/editing this file, nobody (except the administrator) gets access to this directory. There will be a batch job (which is event driven and it will be kicked off as soon as this file is saved in this directory) which will pick up this file, encrypt it using PGP encryption program and send this file to the bank using FTP program. So nobody ever handles the file manully.
    When the bank receives the file they can decrypt the file (based on the keys or passwords given by you) and then they can read the file and process.
    We can also ask the bank to send a confirmation. This confirmation will contain total no. of wires in the file and the amount. Once we get the confirmation we can cross check the total with the number of wires sent by us and the total amount. All this - the process of encryption, FTP to bank, receiving confirmation and checking the confirmation sent by bank within SAP - requires custom program. SAP also has a standard product called Bank Communication  which is a
    add-on product with a separate licence fee etc.
    Hope the process is clear. By this process you can ensure that no user ever handles the fie manually.

  • Issue in Turkey DME payment file

    Hello Gurus,
    We have an issue in F110 payment file. We have configured DMEE for "GARANTI BANK" for Turkey country.  we have encountered an issue while creating payment file in F110.  System is not considering into the payment file if a vendor is having multiple bank accounts in the vendor master and invoices are posted with different partner bank type. We are not facing any issue for mutiple invoices paid for same vendor with same vendor bank account.  The below example will give clear picture.
    1) Vendor-1075847 having two different bank accounts in vendor master with partner bank type-0001 & 0002
    2) Total three invoices are due for payment out of these, two invoices are posted with bank type-0002 and remaining invoice is with bank type-0001
    3) When I run F110 for all three invoices, invoices gets cleared but in payment file to be sent to bank showing only one invoice amount which was posted with bank type-0001.
    4) I believe that I need to do some changes in DMEE tree configuration to get all invoices information in the payment file but no idea that in which segment & tag to be done.
    It woudl be great if any one shares their ideas/experiences in this regard.
    Thanks in advance

    Hello Friends,
    We have come to the conculsion that whenever line items are splitting in F110 as shown in the attached screen shot, system not picking up the entire amount into the payment file which was cleared in the payment run. This issue is encountering only when payments are dividing into line items for that particular vendor.
    For above example: first line item having two invoices to be cleared consiting of amounts 258,00 & 129,00(partner bank type-0001) and second line item having only one invoice(amount-119,00) related to same vendor(with partner bank type-0002). Because of this split at F110 level..., payment file which is sending to bank getting only first line item invoices amount-387,00(258,00+129,00) instead of whole amount-506,00.
    This issue might be resolved by combining these two line items into one line item or by making changes in the payment medium workbench format(DMEE tree). I have considered & tried all possible field in FBZP & vendor master and unluckly nothing workedout.
    Please share you inputs. It deliberately need at this point of time.
    Thanks in advance

  • DME payment file Citibank Paylink

    Does any one have experience with payment file generated in tx F110 in format that Citibank uses, called Paylink?
    Before I start to program myself in ABAP maybe there are ways to save time and money to get the payment orders (open items with vendors) extracted from SAP.
    Thanks for your attention!

    Thank you.
    The sum and the number of credit lines (payment to the Vendor) was available. I wasn't sure how to get the debit line info, as it is our information, as to how much payment has been made from our bank account.
    To ease the process, we will just hardcode the number of debit line items as "1" and then aggregate the Amount fields for both total Debit and Credit sum.
    Thank you for your information. It was helpful.

  • Perform unicode to UTF-8 conversion on F110 bacs payment file in ABAP

    Hi,
    I am facing a conversion issue for the UK BACS payment files.
    The payment run tcode F110 creates a payment file but the file when created on the application server has soem sort of code conversion. If I removed the # value, i can read most of the data.
    The data example is as below-
    #V#O#L#1#0#0#1#5#8#8# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #2#4#3#3#0#9#
    #H#D#R#1#A#2#4#3#3#0#9#S# # #1#2#4#3#3#0#9#0#0#0#0#0#2#0#0#0#1#0#0#0#1# # # # # # # #1#0#1#1#2#
    #H#D#R#2#F#0#2#0#0#0#0#0#1#0#0# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    #U#H#L#1# #1#0#1#1#3#9#9#9#9#9#9# # # # #0#0#0#0#0#0#0#0#1# #D#A#I#L#Y# # #0#0#0# # # # # # # #
    This is then transferred to the bank via the FTP UNIX Script but after the conversion which is happening as-
    #Perform unicode to UTF-8 conversion on bacs file
    $a = "iconv -f UNICODE -t UTF-8 $tmpUNI > $tmpASC";
    The need going forward is to bring the details via the interface and then make an uplaod.
    The ABAP code should be able to make the conversion, remove the additional chracters and then send the file across.
    I have searched everywhere but I am not able to find out how to make the same conversion in ABAP.
    We are on ECC6.
    Can someone please help me?
    Regards,
    Archana

    Hi Archana,
    can  you please check SAP notes 1064779 and 1365764 (including the attachment) and see if this helps you ?
    Best regards,
    Nils Buerckel
    SAP AG

  • Dme payment File for invoice & Credit Memo

    Dear Sapients,
    I have created a DME Tree structure for PAYM. This structure contains header & line items. Header will contain the vendor bank master data inputs  & Total payment payable by the bank per vendor for each payment run. The line items contain both invoices & credit memos details & their corresponding amounts.
    Issue is getting the total value of all the invoice credit memo's in the header Field payment.
    Currently, it sum-up the values without any sign in the payment file.
    Below are the structure screen shots. Really appreciate quick response.
    Structure
    Header Field payment
    Using Aggregation of Ref AMOUNT from line item
    Line item reference field Amount
    Structure field value of line item payment.
    Kindly help to achieve this summation field value for the header.
    regards
    PBB

    Dear Friends,
    Can anyone shed some light on this topic ?
    Many thanks
    PBB

  • Windows 7 - Files missing from network share after trying to burn and no data cached to be burned

    I ran into an issue trying to burn some file from a network share using Windows 7 Home Professional.  I was trying to burn some .jpg files from a mapped network share drive using explorer.  Every time I would drag the files to be burned from
    the share drive to the explorer screen to be burned, the files would disappear from the share.  To make things worse the files would not show up in the screen to be burned.  I was unable to locate any of the files on either of the systems when performing
    a search after this took place.  I verified that the steps that I was taking to burn the files were the same as outlined on the Microsoft site.  No matter what I did to burn these files, they were deleted from the mapped network drive. 
    Below are the steps that I took that both resulted in the files being deleted as well as what I had to do to finally burn the disc.
    Steps that resulted in files being deleted:
    1. Insert blank CD into drive. 
    2. From prompt select burn using explorer (Mastered Format)
    3. Enter title and select with CD/DVD, click Next.
    4. Open a second explorer window, navigate to mapped network drive with files to be burned and snap next to explorer to be burned.
    5. Drag and drop the files from the share drive to CD.
    This where the train would fall off the tracks every time.  I would receive a message that the file(s) no longer exist and if I wanted to continue.  From here the files would be deleted from the share drive.  The best part is that the files
    would also NOT be locally stored to be burned. 
    Steps to burn share files WITHOUT delete:
    Follow steps outlined above, but instead of just dragging and dropping the files as outlined in step 5 select the files from the network share location, right mouse select copy.  Then right mouse select paste in the explorer window to be burned.
    I have tested this many times and every time ended up with the same problem.  At this point I am sure that there is a problem with the way that Windows 7 is performing the burn.  The system that I was using to burn is Windows 7 Home Professional
    with all the patches and updates loaded.  The remote system is Windows XP Professional with all the patches and updates loaded.
    Thanks in advance

    Yes, the problem is still continuing. However, after looking into as much of it as I can, I can confirm something that r.p.b_ started stumbling on. The files are deleted IF AND ONLY IF a user is using the built-in Windows 7 disc burning utility AND is dragging
    and dropping the files to the drive from a network share; this doesn't happen locally. If you watch what happens in the native folder, the files are literally scrubbed from the drive as they are processed and added to the image. However, if you Right Click
    on the files and copy them, then Right Click->Paste onto the drive, they remain. (The keyboard shortcuts also worked.) Also, 3rd party disc burning utilities function they way the should. (In other words, they don't delete the files.)
    My speculation is that there's a bug in the coding that sees the network share as a temporary buffer file while the image is being prepared. Then, as the files are processed in what ever way is needed, the "temporary buffer" is being deleted. The result:
    lost files on a network share. But, this is just speculation.

  • Payment Files - Irish Stdrd 18 for HSBC - 'Hub' account

    Hello,
    I'm working on config to enable us to send payment files to HSBC Net in the Irish standard 18 format.
    HSBC have a requirement to transmit to them only a 6 digit account number; referred to as their HUB account number.
    I have created a house bank & am able to generate the files ok, but this 6 digit account number is giving me problems. 
    Although I only enter a 6 digit account number on the house bank, the output file adds in two additional leading or trailing '0'. 
    I thinking that I will probably have to make a change to the program that creates the file, but was wondering if it is possible to acheive by the way the account number is formatted alone.
    Has anyone come across this 'HUB' account number for HSBC Net themselves & if so can you offer any advise as to how you got the file to output in their required format?
    Thanks
    Steve

    Louise,
    For HSBC Net we are using two payment formats.  MT103 & Irish Standard 18.
    For both types I had to use T-CODE DMEE to create the two formats.
    These are then linked to payment methods & are then used when generating a payment through F110.  There are a number of things to setup to make these work & it took me a lot of playing around, testing & then fixing & trying again to get it right.  there's not a lot of help out there for DMEE, I found looking at some existing formats helped, so you can see how they were built.
    Steve

  • Change batch header of out bound ACH payment file??

    Hi all,
    Currently in the batch header of settlement file for all processed ACH transactions, we are using PPD(Prearranged Payment and Deposit Entry) as standard entry class code for all type of CA's(residential and business)
    we need to change in the batch header of the out bound ACH payment file as....PPD for residential customer and CCD(Cash Concentration & Disbursement) for commercial  customer...
    The batch is consisting of the programs SAPFKPY3  and RFKPYL00_MASS.
    please suggest how can we change the batch header of the out boun file.
    Any help appreciate..

    Srinivas-
    That field in company batch header with record type is called "effective entry date". Please look at the attached thread.
    Effective Entry Date
    Shail

  • Number of the day in the year

    Hi,
    I have a requirement to add the number of the day in the year to the message and concatenate with HHMM as shown below
    like this :1205001...12:HH,05:MM; 001(1st day of the year)
    ex2: 0204365...02:HH;04:MM;DDD:365(last day of the year)
    ex3: 0209236..02:HH;09:MM;DDD:236:(236th day of the year)...
    How can i achieve this? any standard functionality?
    please advise.
    Regads

    Hi ,
                 Is it the current system date you wanna concatenate?  Anyways this can be achieved by message mapping using standard functions
    input--------------------------------------------------------------------\
                                                                                concat()--------> target field
    currentdate()--->Transformdate(yyyy/MM/dd,hh:mm:DDD)----------------------/
    If its not system date then you can input any field like "2012/01/02"  or change the format of input date transformdate (the first field).
    Regards
    Anupam

  • ABAP - Function module to get the number of working days between 2 days

    Hi gentlemen,
    I have been asked to produce a report that gives the number of working days between 2 days, based on a calendar.
    I didn't find anything...
    Has any of you already written a function module to get this ?
    A great thanks in advance.
    Jacques Lagrif

    Hi ,
    you can try this ,
    when you require the number of working days between D1 and D2
    Total No of Days will be
    D2 - D1
    No of holidays between D1 and D2 , use the FM HOLIDAY_GET
    Pass the From date , to date , and the factory calendar to get the of Holidays
    Total no of days - Number of Holidays will your Working days
    Regards,
    Sathya

  • Flat file should have source field name and value

    Hi Friends
    I have a scenario of Idoc to Flat file , where in the target structure the field name and value should be present, generally only the value is available in a flat file.The target structure is as below:
    for e.g RECTYPE is the Field Name and A is the value.
    RECTYPE,A
    DATEH,20111101
    TIMEH,173125
    RECTYPE,B
    ORDNUM,4500054536
    ORDITM,150
    SUPDAT,20090218
    PLNQTY,000000006
    MATNR,14B300
    BATCH,5697
    PLANT,3026
    DELIVTYPE,PO
    SUPPLIER,0000023305
    SUPNAME,Deutsche BP AG
    SUPADRS,Erkelenzer Strasse 20
    SUPCITY,Monchengladbach
    SUPPOST,41179
    SUPCOUN,DE
    TRUCK_NBR,7589
    BOND_FLG,X
    STG_LOC,PLCL
    LINE_ACTION,CRE
    RECTYPE,B
    ORDNUM,4500056721
    ORDITM,10
    SUPDAT,20090218
    PLNQTY,000000013
    MATNR,116703
    BATCH,6589
    PLANT,3026
    DELIVTYPE,PO
    SUPPLIER,0000023380
    SUPNAME,DOW Belgium NV
    SUPADRS,Havenlaan 7
    SUPCITY,Tessenderlo
    SUPPOST,3980
    SUPCOUN,BE
    TRUCK_NBR,7589
    BOND_FLG,X
    STG_LOC,PLCL
    LINE_ACTION,CHG
    RECTYPE,X
    DATEH,20111101
    TIMEH,173125
    RECORDS,3

    Hi,
         NameA.addHeaderLine
    Specify whether the text file will have a header line with column names. The following values are permitted:
    ■       0 u2013 No header line
    ■       1 u2013 Header line with column names from the XML document
    ■       2 u2013 As for 1, followed by a blank line
    ■       3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied
    ■       4 u2013 As for 3, followed by a blank line
    This specification is only permitted if exactly one structure is defined.
    regards,
    ganesh.

  • Number of working days in customer exit?

    Hi, this is actually an extension to the following thread.
    How to calculate number of working days
    I have very similar requirement. Determine the number of working days (excluding weekends and holidays) from 2 given dates. But the <b>difference here</b> is that, one of the date in the calculation is the<b> current date.</b>
    1: Creation Date - this is present as infoobject in the ODS.
    2: Current Date - this is 'today''s date.
    And, No. of Working days(Zworkdays)  = Current Date - Creation Date.
    So, as mentioned in the thread 305257 speaks about including the logic in the update rules, I can use system variable sy-datum to get the current date in update routine. But if the load is not scheduled for every day (say,once in 2 days), then when i report this infoobject Zworkdays on Day2, then it will hold Day1 calc rite?
    PLease correct me if I am wrong.
    Could you please help me with other approachs I can follow. One I can think is Customer Exit in Bex for the same.... but I am not sure how to do the same (i am new to Bex and Customer exit). Could any one of you please guide me how to achieve the same. I Have 0CalDate in the ODS also. 
    Any other ideas/inputs is greatly appreciated.
    Thanks in advance
    Ramya

    Hi,
    search for virtual key figures.
    Rgds.
    Juergen
    P.S. Thanks for assigning points
    Message was edited by:
            Jürgen Hemelt

  • Ueser Exit - Payment file duplication- F110

    Hi All
    Payment file duplication in target system.
    Wherein since the Print Job was scheduled twice by user, the duplication of payment had taken place.
    The payment medium program u201CRFFOAVIS_FPAYMu201D is use to control the generation of duplicate payment file at automatic payment run program(F110).User needs an warning message if print job is schedule twice on same date and same identification number.Has any one implemented such a scenario.Any user exit/ BADI for this scenario.
    Thanks!

    Hi,
    Take a look on the following:
    FDTAX001            Enhancement to Transaction FDTA (event after the download)
    FEDI0002            Function exits for EDI DOCS in FI - Incoming pyt adv.notes
    FEDI0003            Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004            Function exits for EDI docs in FI - particular events
    FEDI0006            Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003            Frame for user exit RFFOX003 (in program RFFOM100)
    Hope it helps.
    Regards
    Rajesh Kumar

  • Payment file duplication in target system in F110 Transaction

    Hi All
    Payment file duplication in target system. Wherein since the Print Job was scheduled twice by user, the duplication of payment had taken place.The payment medium program u201CRFFOAVIS_FPAYMu201D  is use to control the generation of duplicate payment file at automatic payment run program(F110).User needs an warning message if print job is schedule twice on same date and same identification number.Has Any one  implemented such a scenario.
    Thanks!

    Hi Vikram,
                Please set up the validation with the help of your abaper in T.Code OB28  with message type E along with message variables co.code and header level tables.
    Regards,
    Srinivas Muthyala

Maybe you are looking for

  • The Iphone available in france on appel store?

    Hello, (I'm sorry, I don't speak english very well, because I'm french) According Appel, the Iphone would only be available in France on November 29. But visiting the site, we saw the french could buy from this page: http://store.apple.com/Apple/WebO

  • Why are my pictures porer quality ?

    Hi , I was running out of memory on my computer and decided to put over a thousand photographs onto discs , however now that have an external hard drive ( 1 TB) I have decided to transfer them back from the discs to iPhoto and I am rather upset at th

  • How can I create write-able images

    The problem I have is that when I create imagges through aperture and export, then burn to cd, when I put them in my other computer I can't edit the images as they are locked and 'read only'. Is this an Aperture export preference or is it somewhere i

  • Af:form cause NullPointerException

    I am using JDeveloper 11g and ADF. I use dynamic region with page fragments to view different pages. I am trying to make a submit form, but jdeveloper throws NullPointerException as soon I add af:form to my jsff. java.lang.NullPointerException      a

  • Merging Cells in  JTable

    I want to merge cells of JTable. I searched on net about this and found that there is no direct API available for doing this. After visiting many forums I found that jp.gr.java_conf.tame.swing.table package is needed to merge cells. Where will I get