Bank ID in ACH PPD

Dear SAP Experts,
I checked the ACH PPD file format after running the payment with F110 and send it to the bank for test.
But they say the file is in very good format.  The only change I'd recommend is BANK ID from 021001011 to 022000555.  This ID appears on record 1 at position 4-13 and record 5 position 80-87.
I don't know from where it should pull this ID from. But 021001011 is our Bank Key. We didn't define 022000555 anywhere in the system.
What I need to do....
Regards,
Paul

Hi Paul,
There are two things..
1) May be this Bank Key is entered in the Bank Details of the Business Partner of the General Data.
2) The Bank Key entered in the House Bank may not be correct. So change the Bank Key to 022000555 in your House Bank Configuration.
Hope this helps
Regards
Mahendra

Similar Messages

  • ACH PPD Bank ID

    Dear SAP Experts,
    I checked the ACH PPD file format after running the payment with F110 and send it to the bank for test.
    But they say the file is in very good format.  The only change I'd recommend is BANK ID from 021001011 to 022000555.  This ID appears on record 1 at position 4-13 and record 5 position 80-87.
    I don't know from where it should pull this ID from. But 021001011 is our Bank Key. We didn't define 022000555 anywhere in the system.
    What I need to do....
    Regards,
    Paul

    All,
    I am using the same format ACH PPD and use PMW.
    I sent the file to the bank for testing but failed due to different reasons.
    1.  We need to have the vendor number (Individual ID) in postion 40-54 on Record 6.
    2.  The Originating DFI ID in position 80:87 of Record 5 and Record 8, and the Trace Number in position 80:94 need to be the middle eight digits of the Origin Number from the File Header Record.
    3.  We have the word "DIRECT DEPOSITION" in postion 5:20 of Record 5.
    Can you please let me know how to add the vendor number from #1 above, how to get the middle digits of the original number for #2 above and where does that "DIRECT DEPOSIT" come from?
    We have Go-Live in 3 more days so I really appreciate it if you can response very soon.
    Thanks,
    Sang

  • How to modify ACH PPD format?

    Hi experts:
    I was hoping somebody could give me a few pointers in how to modify this
    I believe the name of the Payment medium format for ACH PPD is ACH_FG_BULK.
    Thanks,

    Hi Rios,
    Could you share what were the steps you followed after enhancing the Function Modules.
    Actually i was doing the same scenarion in which i need to hardcode some characters at some positions in the file. So i have copied the function modules FI_PAYMEDIUM_ACH_20  and FI_PAYMEDIUM_ACH_30 to ZFI_PAYMEDIUM_ACH_20 and ZFI_PAYMEDIUM_ACH_30. And both have been assigned to different Function Group.
    And these both are placed in ZACH format, which is assgined to 'T' to trigger the same to generate the file. Do the data flow from the standard ones to the ZFMS.
    OR WHAT WOULD BE THE CORRECT WAY TO DO IT.
    Regards,
    Vivek

  • ACH Payments

    Dear FI Experts,
    We currently using F110 for checks, we now want to use it for ACH, I already configure FBDZ, I have house bank, I already enter the bank information into the vendor master.
    I used F110 to pay a test vendor via ACH, it appears that it created teh posting, but When I go to the check register to see the information fo rthe ACH it sys nothing found fo rthe payment method.
    What else do I need to do to sussesfully be able o send payment via ACH to teh bank, we already have a process in place for checks, and I thought they will appear on same report.
    Also does anyone know the difference between ACH (PPD) and ACH (CTX) in SAP?
    Your help will be greatly appreciated

    Frank
    Okay the job says:
    System reads house banks and checks if they are allowed
    House bank is selected ...
    No suitable bank can be selected for comp.code YMMC pmnt meth. T curr. USD
    No permitted payment method exists
    information re. vendor E992791 / paying company code YMMC ...
    .. payment not possible because of reported error
    May sure you have specified a House Bank in the vendor master record or line item.  You can do this but to simplify the problem by eliminating this possibility.
    Then if this is not the issue then your config in FBZP is where the error lies.  SAP is reading that configuration (especially the Bank Determination - Ranking Order) to determine whether payment method T can be used.   Ranking Order, Bank Acocunts, Available Amounts and Value Date all must be configured for payment method T and the house bank you are using for the EFTs.
    Also check your house bank configuration (check the g/l accounts assigned and currency).  Be sure that YMMC is the paying company code and the sending company code (assuming this is how you are setup).  Make sure the payment method T is assigned to the company code.
    Check your minimums for outgoing payments too but this would have appeared in the log.
    Check the payment method for company code config and make sure you are using the Classic Payment Medium Programs.
    If you have flagged Bank details required then make sure the vendor has bank details.  Again this would have  been logged but check anyway.
    Check permitted currency USD has been specified.

  • Does the RFFOEDI1 program has any implication on the ACH direct deposit?

    Hi all,
    Can any one please explain the use of RFFOEDI1 program. Is this
    program used just to generate I-Doc?
    Scenario: For Check payment method(C)
    Once F110 run is successful, then we have to run RFFOUS_C program to
    generate checks. Once this program is complete, checks will be
    generated and the check info will be available in PAYR table.
    Scenario: For ACH-CCD payment method (D)
    Once F110 run is successful with payment method D, The payment details
    will hit BSAK table.
    Now, I don't want to generate the SAP standard I-Doc with RFFOEDI1, do
    I still need to run RFFOEDI1 program???
    For the check payment, RFFOUS_C program triggers the generation of
    checks after which the check info will be available in PAYR table
    Likewise, does the RFFOEDI1 program has any implication on the ACH
    direct deposit?
    To my understanding, If you do a payment using payment method, ACH
    direct deposit in SAP, we don't generate any check numbers ???!!!
    Do we get any reference number or anything when the direct deposit is
    done??? This reference number could be used to trace the invoice
    against which this ACH payment was done!
    If it is the case, where do we get/ when do we generate the reference
    number to trace the invoice????.....any inputs?
    If we are not going to run RFFOEDI1 program, (if we are not interested
    in generating IDoc) then are we DONE with the ACH direct deposit, once
    we are done with payment run(F110)???
    Where do we get the reference number which specifies the ACH payment?
    Sorry, I have poured in lot of question at one place!
    Any inputs/ solutions/ suggestions are greatly appreciated!
    Thanks a lot!

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • ACH direct deposit

    Hi,
    I am trying to implement ACH direct deposit of expense claims. I am not able to create the payment stub(advice) and the file to be sent to bank. The following is the proposal log from F110.   
    Job started                                                                         
    Step 001 started (program SAPF110S, variant &0000000000069, user ID SANNEPU)        
    Log for proposal run for payment on 03/26/2007, identification S3261                
    End of log                                                                          
    Step 002 started (program SAPFPAYM_SCHEDULE, variant &0000000000046, user ID SANNEPU)
    Step 003 started (program RFFOUS_T, variant &0000000000036, user ID SANNEPU)        
    Program RFFOUS_T: No records selected                                               
    Job finished                                                                        
    I am not sure what the problem is? Can anyone help? 
    Thanks,
    Sobhan.

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • Payment Method in IT0009 Bank Details

    Hi All,
    We are having some issues in settign up ESS portal for Bank Details infotype. Which table the drop down values for Payment Method under IT0009 Bank Detail is coming from ? The drop down value for country US (in PA20 or ESS Portal) doesnt not match the configuration table  V_T042ZL. I want to remove option "Cash Payment" from the drop down Payment method in portal under Bank details. However in  V_T042ZL the option Cash payment is not listed. It has only :
    C     Check
    D     Bank transfer (ACH CCD)
    P     Bank transfer (ACH PPD)
    T     Bank transfer (ACH CTX)
    I will really appreciate if you help me figuring out how to make this change happen.
    Thanks
    Sanghamitra

    Sanghamitra,
    A Transparent table typically starts with T and can be viewed via SE16. the associated maintenance view is accessed via SM30 or the appropriate transaction code or IMG node and there we can maintain entries in the table. The Maintenance view typically starts with V and typically contains the table name tacked on after the V. I assumed you would know all this  so I just mentioned the table name.
    So please go ahead and attempt to maintain the view using SM30 and see if it resolves your problem
    Actually it could be V_T042ZL. Just go through the IMG Node IMG> Accounts Receivable and Accounts Payable>Business Transactions> Outgping Payments> Automatic Outgoing Payments>Set Up Payment Methods per Country for Payment Transactions
    Edited by: Harish T K on Oct 7, 2010 5:14 PM
    Edited by: Harish T K on Oct 7, 2010 5:21 PM

  • ACH Edi  error report

    I am currently working on setting up ACH process for a client using the SAP's standard IDOC process. Once the bank receives the ACH Idoc, if there any errors such as vendor account number missing, they send an edi error file back. Client is asking if there a way to set up SAP to automatically reverse the payment for that particular vendor upon receiving the error file from the bank.
    Please advice if anybody has experience with this scenario.

    user3045615 wrote:
    Returns: Error report - Connection reset by peer: socket write error when executing SQL script in an Oracle 12.1.0.2.0 Enterprise Edition database (residing on a remote Microsoft Windows x86 64-bit) user schema (datamart).
    Initially, the error occured when the script attempted to compile a PL/SQL package body (1125 lines of code). Another script successfully compiled 4 larger PL/SQL package bodies (all exceed 1125 lines of code) in a different user schema (staging).
    Now, the error occurs in staging user schema when calling a PL/SQL package.
    Ray
    Is GOOGLE broken for you?
    sockets - What does "connection reset by peer" mean? - Stack Overflow
    I am not convinced that your error has much, if anything, to do with Oracle.
    In the future use COPY & PASTE so we can really see what you actually do & what the complete response is.

  • GL account issue with Electronic Bank Statement

    Hi Gurus,
    I need your help and advice with the following issue. We are using ECC 6.0 and have implemented electronic bank statement. It is working fine but we havea new requirements.
    Presently all the incoming ACH (ACH in) are being posted to one GL account set- up for such payments +++++++++1. Going forward, we want to post customer incoming ACH payments to seperate GL account and all the other incoming ACH's should keep on posted to the old account +++++++++1. I do not have exposure to configuring EBS and not sure how should I configure this.
    I would really apreciate if you can guide me with step by step details to do this set-up.
    Thanks,
    Best Regards,
    Shalu

    Usually ACH in or outgoing, the corresponding bank will send you a code.
    so once you get into the config item for EBS
    1. you create account symbols( ACHPAY and ACHPAY2) and assign accounts (++++1 and a debit account ++++2) respectively
    2. Create posting keys, usually this is mimicked with a Z attached to the bank code for ACH payments (EX: 675 is the BAI code for ACH, create a posting key with Z675)
    3. create rules for the same posting keys like debit and credit account symbols, doc types, what kind of postings it should post( clearing entry or posting to GL)
    4. Create a transaction type and in the following step create external transaction types (usually bank BAI codes) and map them to posting rules and the processing types
    5. finally map bank accounts to transaction types

  • ACH Company ID - Eletronic Payments

    We are on R12, I setup our internal bank account for ACH payments and created a new payment document for bank in the NACHA format. There is field on the "Format Payment Instructions with Text Output" which is by default the LE Registration Number.
    The bank is unable to validate this output as they want the ACH Company Id (given by the bank) in the place of LE Registration number. How do i achieve this? Is there any where I can include the ACH Company id in the setups somewhere...
    Thanks,
    Munna

    Not sure what field you are referring but company id is actually being used by NACHA Payment format (10 characters??).
    Normally, the Company ID should be that of the Tax Reporting ID - (M) Setup:Tax:Reporting Entities.
    Initial digit code can either be 1, 3 or 9 (depends i.e. for IRS EIN="1") + the first 9 digit of tax id.
    (Depending on your setup) Tax ID can also be checked in the Alternate Account Holder field of the Bank Accounts window (Disbursement bank account).
    Hope this helps.

  • ANSI 820 US ACH Tax Payments

    Hi Experts,
    Does any one implemented ANSI 820 US ACH Tax Payments outbound interface.
    I am looking for SAP field mappings or process.
    Any help on this top greatly appreciated.
    Regards,
    Harish

    Hi Harish
    I am currently creating flat files for transmission to the bank to do ACH payments....I am using the standard NACHA format to generate the flat file.  You could use IDOCS I suppose ....but I am not sure what you are looking for...
    You can email me your number on my email address [email protected] & maybe I can call you & we can talk...
    Thanks
    Morgan

  • RFFOEDI1

    Hi all,
    Can any one please explain the use of RFFOEDI1 program. Is this program used just to generate I-Doc?
    Scenario: For Check payment method(C)
           Once F110 run is successful, then we have to run RFFOUS_C program to generate checks. Once this program is complete, checks will be generated and the check info will be available in PAYR table.
    Scenario: For ACH-CCD payment method (D)
            Once F110 run is successful with payment method D, The payment details will hit BSAK table.
    Now, I don't want to generate the SAP standard I-Doc with RFFOEDI1, do I still need to run RFFOEDI1 program???
    For the check payment, RFFOUS_C program triggers the generation of checks after which the check info will be available in PAYR table
    Likewise, does the RFFOEDI1 program has any implication on the ACH direct deposit?
    To my understanding, If you do a payment using payment method, ACH direct deposit in SAP, we don't generate any check numbers ???!!!
    Do we get any reference number or anything when the direct deposit is done??? This reference number could be used to trace the invoice against which this ACH payment was done!
    If it is the case, where do we get/ when do we generate the reference number to trace the invoice????.....any inputs?
    If we are not going to run RFFOEDI1 program, (if we are not interested in generating IDoc) then are we DONE with the ACH direct deposit, once we are done with payment run(F110)???
    Where do we get the reference number which specifies the ACH payment?
    Sorry, I have poured in lot of question at one place!
    Any inputs/ solutions/ suggestions are greatly appreciated!
    Thanks a lot!

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • Payment methods for Wire transfers

    Hello,
    I want to decide which payment method to configure for wire transfer out of the standard SAP methods:
    D     Bank transfer (ACH CCD)
    P     Bank transfer (ACH PPD)
    T     Bank transfer (ACH CTX)
    What is the difference between each of these transfer types, if someone can pls suggest will appreciate that.

    Win:
    CCD:       
    Cash Concentration or Disbursement
    Cash Concentration or Disbursement can be either an ACH credit or debit where funds are transferred between corporate entities.
    The format can support a limited amount of payment related data with the funds transfer while also being capable of a stand-alone funds transfer.
    PPD:
    Prearranged Payment and Deposit Entry
    Direct Deposit - Direct Deposit is a credit program that transfers funds into a consumer's account at the Receiving Depository Financial Institution. The amount deposited can be from a variety of products, such as payroll, interest, pension, dividends, etc.
    Pre-Authorized Bill Payment - Preauthorized payment is a debit program enabling companies with billing operations to collect funds from consumers thorough the electronic transfer of bill payment entries.
    The consumer grants the originating company authorization to collect periodic charges to his or her account as bills come due. This concept has been successful in both recurring bills of regular amounts (mortgage payments) and variable amounts (utility bills).
    CTX:
    The Corporate Trade Exchange format supports transferring of funds, either credits or debits, within a trading partner relationship utilizing a full ANSI ASC X12 message or when payment related UN/EDIFACT information is sent with the funds transfer.
    Multiple addenda records contain the ANSI or UN/EDIFACT information.
    More info on
    http://www.treasurysoftware.com/ach_file_format.html
    http://en.wikipedia.org/wiki/Automated_Clearing_House
    Assign points if info helps
    Vj

  • Parsing an EDI file and populating the data into database table

    Hi ,
    Please help me in parsing an edi file and getting the required columns.
    we get an EDI file from a bank. I need to parse that file and populate the db table with the required columns.
    the file is '*' delimited and every line ends with '\'.
    The record starts with 'ST*' and ends with 'SE*'.
    sample edi file is
    ISA*00*          *00*          *ZZ*043000096820   *ZZ*2156833510     *131202*0710*U*00401*000001204*0*P*>\  ignore first 2 lines                                                                                                                                                                                              
    GS*RA*043000096820*2156833510*131202*0710*1204*X*003020\                                                                                                                                                                                                                                                  
    ST*820*000041031\                                                                                                                                                                                                                                                                                     
    BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\                                                                                                                                                                                                                  
    TRN*1*101036661273032\                                                                                                                                                                                                                                                                                    
    DTM*007*131202\                                                                                                                                                                                                                                                                                           
    N1*1U*BPS\                                                                                                                                                                                                                                                                             
    N1*BE*MICHAEL    DRAYTON*34*159783633\                                                                                                                                                                                                                                                                    
    N1*PE*BPS*ZZ*183383689C2 ABC\                                                                                                                                                                                                                                                          
    N1*PR*ABC  TREAS 310\                                                                                                                                                                                                                                                                                     
    SE*9*000041031\ ST*820*000041032\                                                                                                                                                                                                                                                                                         
    BPR*X*686*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\                                                                                                                                                                                                                  
    TRN*1*101036661273034\                                                                                                                                                                                                                                                                                    
    DTM*007*131202\                                                                                                                                                                                                                                                                                           
    N1*1U*BPS\                                                                                                                                                                                                                                                                             
    N1*BE*SAMIA      GRAVES*34*892909238\                                                                                                                                                                                                                                                                     
    N1*PE*BPS*ZZ*184545710C5 ABC\                                                                                                                                                                                                                                                          
    N1*PR*ABC  TREAS 310\                                                                                                                                                                                                                                                                                     
    SE*9*000041032\
    Below is the procedure I am trying to use for parsing that file. but the logic is not working. can you please help me in doing this. its very urgent requirement.
    CREATE OR REPLACE package body p1 is
    Function parse_spec(p_str varchar2) return t_str_nt is
    begin
          return regexp_replace(p_str,'\\$',null);
    end;
    procedure edi( is
    l_out_file              utl_file.file_type;
    l_lin                 varchar2(200);
    field1            number(9);
    field2                varchar2(10 byte);
    field3           varchar2(15 byte);
    field4               varchar2(15 byte);
    field5              varchar2(20 byte);
    field6             varchar2(20 byte);
    field7              varchar2(20 byte);
    field8                  varchar2(9 byte);
    field9              varchar2(15 byte);
    field10             varchar2(5 byte);
    l_item_nt             t_str_nt:=t_str_nt();
    begin
       l_out_file  := utl_file.fopen (file_path, file_name, 'r');
       IF utl_file.is_open(l_out_file) THEN
        LOOP
          BEGIN
           l_item_nt:= utl_file.get_line(l_out_file, l_lin);
            IF l_item_nt IS NULL THEN
              raise no_data_found;
            Else
              for k in 1..l_item_nt.count loop
                  case
                   when l_item_nt(k) like 'ST*%' then
                           field1:= ltrim(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),0);
                   when l_item_nt(k) like 'BPR*X*%' then
                           field2 := regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
                    when l_item_nt(k) like 'TRN*1*%' then
                             field3:= regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
                    when l_item_nt(k) like 'DTM*007*%' then
                            field4:= regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3);
                    when l_item_nt(k) like '%*BE*%' then
                            field5 := regexp_substr(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),'[^ ]+', 1, 1);
                            field6 := regexp_substr(regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,3),'[^ ]+', 1, 1);
                             field7  := regexp_substr(parse_spec(l_item_nt(k)),'[^*]+',1,5);
                    when l_item_nt(k) like '%*PE*%*ZZ*%' then
                            field8:= regexp_substr(regexp_substr(parse_spec(line),'[^*]+',1,5),'[^ ]+',1,1)
                            field9 := regexp_substr(regexp_substr(parse_spec(line),'[^*]+',1,5),'[^ ]+',1,2);
                     when l_item_nt(k) like 'SE*%' then
                                                         insert into t1(field1,field2,field3,field5,field6,field7,field8,field9)
                                --  values(field1,field2,field3,field5,field6,field7,field8,field9);
                     else
                            dbms_output.put_line ('end of line');
                         end case;
                end loop;
            end if;
    end loop;
                         utl_file.fclose(l_out_file);
    exception
       when no_data_found then
                   dbms_output.put_line('No data found');
       end;

    I would not use regular expressions for parsing as it is CPU intensive - and standard string processing suffices.
    I would break the EDI up into lines. I would tokenise each line. I then have 2d array that can be referenced to find a specific field. E.g. line x and token y is field abc.
    Basic approach:
    SQL> create or replace type TStrings as table of varchar2(4000);
      2  /
    Type created.
    SQL> -- create a parser that tokenises a string
    SQL> create or replace function Tokenise(
      2          csvLine varchar2,
      3          separator varchar2 default ',',
      4          enclosedBy varchar2 default null
      5  ) return TStrings is
      6          strList         TStrings;
      7          str             varchar2(32767);
      8          i               integer;
      9          l               integer;
    10          enclose1        integer;
    11          enclose2        integer;
    12          encloseStr      varchar2(4000);
    13          replaceStr      varchar2(4000);
    14
    15          procedure AddString( line varchar2 ) is
    16          begin
    17                  strList.Extend(1);
    18                  strList( strList.Count ) := Replace( line, CHR(0), separator );
    19          end;
    20
    21  begin
    22          strList := new TStrings();
    23
    24          str := csvLine;
    25          loop
    26                  if enclosedBy is not null then
    27                          -- find the ennclosed text, if any
    28                          enclose1 := InStr( str, enclosedBy, 1 );
    29                          enclose2 := InStr( str, enclosedBy, 2 );
    30
    31                          if (enclose1 > 0) and (enclose2 > 0) and (enclose2 > enclose1) then
    32                                  -- extract the enclosed string
    33                                  encloseStr := SubStr( str, enclose1, enclose2-enclose1+1 );
    34                                  -- replace the separator char's with zero char's
    35                                  replaceStr := Replace( encloseStr, separator, CHR(0) );
    36                                  -- and remove the enclosed quotes
    37                                  replaceStr := Replace( replaceStr, enclosedBy );
    38                                  -- change the enclosed string in the big string to the replacement string
    39                                  str := Replace( str, encloseStr, replaceStr );
    40                          end if;
    41                  end if;
    42
    43                  l := Length( str );
    44                  i := InStr( str, separator );
    45
    46                  if i = 0 then
    47                          AddString( str );
    48                  else
    49                          AddString( SubStr( str, 1, i-1 ) );
    50                          str := SubStr( str, i+1 );
    51                  end if;
    52
    53                  -- if the separator was on the last char of the line, there is
    54                  -- a trailing null column which we need to add manually
    55                  if i = l then
    56                          AddString( null );
    57                  end if;
    58
    59                  exit when str is NULL;
    60                  exit when i = 0;
    61          end loop;
    62
    63          return( strList );
    64  end;
    65  /
    Function created.
    SQL>
    SQL>
    SQL> declare
      2          ediDoc  varchar2(32767) :=
      3  'ISA*00*          *00*          *ZZ*043000096820   *ZZ*2156833510     *131202*0710*U*00401*000001204*0*P*>\GS*RA*043000096820*2156833510*131202*0710*1204*X*003020\ST*820*000041031\BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\TRN*1*101036661273032\DTM*007*131202\N1*1U*BPS\N1*BE*MICHAEL      DRAYTON*34*159783633\N1*PE*BPS*ZZ*183383689C2 ABC\N1*PR*ABC  TREAS 310\SE*9*000041031\ST*820*000041032\BPR*X*686*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202\TRN*1*101036661273034\DTM*007*131202\N1*1U*BPS\N1*BE*SAMIA        GRAVES*34*892909238\N1*PE*BPS*ZZ*184545710C5 ABC\N1*PR*ABC  TREAS 310\SE*9*000041032\';
      4
      5          lines   TStrings;
      6          tokens  TStrings;
      7  begin
      8          -- split EDI string into lines
      9          lines := Tokenise( ediDoc, '\' );
    10
    11          -- process line and extract fields
    12          for i in 3..lines.Count loop
    13                  dbms_output.put_line( '***********************' ) ;
    14                  dbms_output.put_line( 'line=['||lines(i)||']' );
    15                  tokens := Tokenise( lines(i), '*' );
    16
    17                  for j in 1..tokens.Count loop
    18                          dbms_output.put_line( to_char(j,'00')||'='||tokens(j) );
    19                  end loop;
    20          end loop;
    21  end;
    22  /
    line=[ST*820*000041031]
    01=ST
    02=820
    03=000041031
    line=[BPR*X*270*C*ACH*PPD*01*101036669***9101036669**01*031000053*DA*00000008606086714*131202]
    01=BPR
    02=X
    03=270
    04=C
    05=ACH
    06=PPD
    07=01
    08=101036669
    09=
    10=
    11=9101036669
    12=
    13=01
    14=031000053
    15=DA
    16=00000008606086714
    17=131202
    line=[TRN*1*101036661273032]
    01=TRN
    02=1
    03=101036661273032
    <snipped>

  • How to generate checks when executing Automatic Payment Program (F110)

    Is it possible to generate checks automatically when I execute the automatic payment program? Will reward points to any suggestion. Thanks!

    hi patrick
    try this.....ur problem may solve.....
    Create Automatic Payment Transactions (F110)
    Purpose
    Use this procedure to generate checks proposals or ACH proposals and then subsequently issue checks or set up ACH files to be transmitted to the bank.
    Trigger
    Perform this procedure when through either an ACH or a check, a creditor of the University needs to be paid.
    Prerequisites
    Open invoices with reached due dates have to be present in the SAP system.
    Menu Path
    Use the following menu path to begin this transaction:
    ·         Select Accounting  Financial Accounting  Accounts Payable  Periodic processing  Payments to go to the Automatic Payment Transactions: Status screen.
    Transaction Code
    F110
    Business Process Information
    The automatic payment process will be centrally managed in the Accounts Payable Office. The automatic payment program will be executed each day for all open invoices (across vendors) in the system. There will be separate payment run execution corresponding to each payment method category:
    Check payments: clears the open invoices and issues a check output
    ACH payments: clears the open invoices and issues an ACH file output
    Foreign currency payments: clears open invoices but no output is issued
    State/Grant payments: clears open invoices but no output is issued
    The process steps executed during the automatic payment program are:
    Enter Payment Parameters
    Edit/review Payment Proposal
    Post Payments
    Generate Payment Medium (print checks or create ACH payment file)
    Generate Positive Payment File
    The payment parameters are entered in order to limit the open invoices and credits selected for payment. It is important to note that the payment terms that are defined on the invoice will drive whether a invoice is due for payment during the current payment run. During the payment program execution, the invoices that are due for payment will be presented to the user on a payment proposal list.
    The payment proposal is a list of expected payments grouped by vendor account. Invoices that are due for payment but cannot be paid due to some kind of accounting or system error are listed as exceptions. Examples of typical exceptions are missing banking information (for ACH payments) and blocked invoices. Some payment exceptions will be resolved at the Accounts Payable Office. However the Department must resolve some exceptions. When these types of exceptions appear on the payment proposals, the Accounts Payable Office will inform the Department of the blocked payment in order to get a resolution. Key personnel in the Accounts Payable Office will be the only resources to have access to the editing function of the payment proposal processing. Typically, there is no business reason the edit or change a payment proposal. Editing options for a payment proposal includes: changing the default disbursing bank account information or changing the payment method.
    After the payment proposals have been reviewed and edited, the proposals are posted as payments. It is important to note that any open credit on the vendor's account is also taken in consideration when creating the vendor's payment. The payment method supplement defined on the invoice will drive the check sorting.
    In addition to the printed check output, the payment program run produces an ACH file and a Positive Pay file. Both files are sent to the bank for further processing. The ACH file contains the vendor's payment and banking data. The Positive Pay file contains the check data (check processed, voided, etc) and is used for confirmation of payments.
    Helpful Hints
    ·         The R/O/C column in the field description tables below defines whether the field is required (R), optional (O), or conditional (C).
    ·         On certain screens you may have to scroll to view some data entry fields.
    ·         Click the  tab to view the current overall status of the payment process by viewing the informational messages.
    Procedure
    1. Start the transaction using the menu path or transaction code.
        Automatic Payment Transactions: Status
    2. As required, complete the following fields:
    ·         Run date
    ·         Identification
    3. Click the  tab.
    The payment program parameters are used to limit the program's selection of open invoices and credits.
        Automatic Payment Transactions: Parameters
    4. As required, complete/review the following fields:
    ·         Posting date
    ·         Docs entered up to
    ·         Company codes
    ·         Pmt meths
    ·         Next p/date
    ·         Vendor
    5. Click the  tab.
    Free selection criteria are extended parameter selection criteria used to limit the open invoices and credits selected in the payment run.
        Automatic Payment Transactions: Free Selection
    6. Perform any of the following:
    If You Want To
    Then
    Select data by a particular field value; use the match code on the Field Name field to obtain the required field
    Enter the required field value to be considered in the payment program selection of open items. The field value is entered in the Values field
    Payment selection can be based on fields on the invoice or credit memo document or fields on the vendor master.
    Example: A (AP payment block)
    Exclude the open items that match your field value
    Select  to the left of Exclude values.
    Include only those open items that match your field value
    Deselect  to the left of Exclude values.
    7. Click the  tab.
    This information is used to expand the information that is automatically recorded in the payment run log. The payment run log is used to diagnose any program errors during the payment run.
        Automatic Payment Transactions: Additional Log
    8. Perform the following:
    If You Want the Payment Program Log to Record
    Then
    Information on due date check
    Select  to the left of Due date check.
    Activate this option.
    Any payment method selection data
    Select  to the left of Payment method selection in all cases.
    Activate this option.
    Line item information the payment documents generated upon posting the payment proposal
    Select  to the left of Line items of the payment documents.
    Activate this option.
    9. As required, complete/review the following fields:
    ·         Vendors (from)
    ·         Vendors (to)
    Enter the same vendor account number range for Accounts required section of the transaction.
    10. Click the  tab.
    The specifications defined in this section of the transaction inform the payment program the correct form to use for check printing and the correct payment file format to use for ACH payments.
        Automatic Payment Transactions: Printout and DME
    11. As required, complete the following fields:
    ·         RFFOAVIS
    ·         RFFOUS_C
    12. Click the  tab.
        Exit editing
    13. Click  to save the data.
    If you want to delete the payment program parameters entered, select Edit  Parameters  Delete.
        Automatic Payment Transactions: Status (2)
    The system displays the message, "Details have been saved for the run on XX/XX/XX XXXX."
    14. Click  .
    If you want to refresh the screen in order to view the current status (processing step) of the payment program click  at any time.
        Schedule Proposal
    15. Perform one of the following:
    If You Want To
    Then
    Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
    Select  to the left of Start immediately.
    Activate this option.
    Designate a target computer
    Enter the name in the Target computer field.
    16. Click  to process the payment parameters and create a payment proposal.
    While the payment program is selecting and processing data, the status will display the message, "Proposal is running." When the payment proposal has completed and is ready for review/edit, the system will display the message, "Payment proposal has been created."
        Automatic Payment Transactions: Status (3)
    The system displays the message, "Proposal run has been scheduled."
    17. Click  .
        Automatic Payment Transactions: Status (4)
    The system updates the status, "Payment proposal has been created."
    18. Perform one of the following:
    If You Want To
    Then
    Go To
    Execute the payment run
    Click  .
    Step 19
    Edit the payment proposal
    Click  .
    Step 43
    Display the payment proposal
    Click  .
    Step 54
    Display the payment proposal run log
    Click  .
    Step 57
    Delete the proposal
    Select Edit  Proposal  Delete.
    Step 60
    Display the proposal list in a printer friendly format
    Select Edit  Proposal  Proposal List....
    Step 62
    Display only the exception (error) invoices or credits
    Select Edit  Proposal  Exception List....
    Step 67
    Exit this transaction
    Step 72
        Schedule Payment
    19. Perform the following:
    If You Want To
    Then
    Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
    Select  to the left of Start immediately.
    Activate this option.
    Designate a target computer
    Enter the name in the Target computer field.
    20. Click  to process the payment proposal and post the payment documents.
    While the payment program is selecting and processing data, the status will display 'Payment is running'. When the payment proposal posted the status will display 'Payment run has been carried out. Posting orders X generated, X completed. (X will represent the total number of checks produced).
        Automatic Payment Transactions: Status (5)
    The system displays the message, "Payment run has been scheduled."
    21. Click  .
        Automatic Payment Transactions: Status (6)
    The system updates the status, "Payment run has been carried out." If you click  after seeing the status update, "Payment run has been carried out", the system will display an update to the status, "Posting orders: XXXX generated, XXXX completed."
    22. Perform one of the following:
    If You Want To
    Then
    Go To
    Review the payments posted
    Click  .
    Step 23
    Display the payment proposal
    Click  .
    Step 26
    Display the payment proposal run log
    Click  .
    Step 29
    Display the payment list in a printer friendly format
    Select Edit  Payments  Payment List.
    Step 32
    Display only the exception (error) invoices or credits
    Select Edit  Payments  Exception List.
    Step 36
    Print the payment run information
    Click  .
    Step 40
    Exit this transaction
    Step 72
        Job Log Entries for F110-XXXX-XXXX / XXXX
    23. Review the displayed information.
    24. Click  .
    25. Return to Step 22.
        Display Payment Proposal: Payments
    26. Review the displayed information.
    27. Click  .
    28. Return to Step 22.
        Job Log Entries for F110-XXXX-XXXX-X / XXXX (2)
    29. Review the displayed information.
    30. Click  .
    31. Return to Step 22.
        List Variant
    32. Click  .
        Payment list
    33. Review the displayed information.
    34. Click  .
    35. Return to Step 22.
        List Variant (2)
    36. Click  .
        Payment list (2)
    37. Review the displayed information.
    38. Click  .
    39. Return to Step 22.
        Schedule Print
    40. As required, complete/review the following fields:
    ·         Start date
    ·         Start immediately
    ·         Start time
    ·         Target computer
    ·         Job name
    41. Click  .
    42. Return to Step 22.
        Accounting clerk
    43. Click  .
        Edit Payment Proposal: Payments
    44. Review the displayed information.
    45. Perform one of the following:
    If You Want To
    Then
    Go To
    Continue with the payment process
    Click  .
    Step 18
    Review/edit invoice information for the payment (invoice numbers, discounts, payment amounts, etc).
    1. Click on the line you want to select.
    2. Click  .
    Step 46
    Change the key payment information (payment method, house bank, payee name and address, etc.)
    1. Click on the line you want to select.
    2. Click  .
    This option does not work for lines that have exceptions.
    Step 51
        Edit Payment Proposal: Open Items
    46. Double-click on the line you want to choose.
        Change Line Items
    47. As required, complete/review the following fields:
    ·         Payment block
    ·         Discount amount
    ·         Cash discount %
    48. Click  .
    49. Click  .
    50. Return to Step 45.
        Change Payment
    51. As required, complete/review the following fields:
    ·         Payment method
    ·         Pmt meth.supl.
    ·         Due date
    52. Click  .
    53. Return to Step 45.
        Display Payment Proposal: Payments
    54. Review the displayed information.
    55. Click  .
    56. Return to Step 18.
        Job Log Entries for F110-XXXX-XXXX-X / XXXX (3)
    57. Review the displayed information.
    58. Click  .
    59. Return to Step 18.
        Delete proposal
    60. Click  .
        Automatic Payment Transactions: Status (7)
    The system displays the message, "Data and log deleted."
    61. Go to Step 72.
        List Variant (3)
    62. As required, complete the following field:
    ·         Variant
    63. Click  .
        Payment list (3)
    64. Review the displayed information.
    65. Click  .
    66. Return to Step 18.
        List Variant (4)
    67. As required, complete the following field:
    ·         Variant
    68. Click  .
        Payment list (4)
    69. Review the displayed information.
    70. Click  .
    71. Return to Step 18.
    72. Click  until you return to the SAP Easy Access screen.
    73. You have completed this transaction.
    Result
    You have executed a payment proposal, executed and posted a payment run and printed checks.
    reward me points.......dont forget

Maybe you are looking for

  • How to change the price in sales order copying from contract?

    Hi All, I am creating a sales order with reference to contract & the same prices in the contract are flowing. But the validity of prices are expired & I am unable to edit the prices in the sales oerder level. Please suggest what configuration need to

  • How to change an apple id on an idevice when I cannot access the previous apple id?

    Dears, I am trying to change the apple id on my father's iphone.  He has NO idea what the previous password was, OR his email password (that is why I registered him a new email) OR what the recovery email address was.  I am trying to delete his iclou

  • What is the sync notes setting in iTunes?

    In the "info" tab that is listed in iTunes, under my iPhone when the iPhone is connected, there is a category called "Other".  In this category there is a chek box for an option referred to as "sync notes with".  If I select this option, what informa

  • Event making change in another file component (Help)

    Hi there: My situation is this: I have a tab with a jPanel, and the jPanel has a button click which will have the same tab displaying a new jPanel instead the old one having that button, I have all these jPanels in individual files. I found it always

  • Monitoring info package groups

    hi,   How can one monitor info package groups ....   any docs ....   mail id : [email protected] Thanks in advance Regards Snigdha