INCENTIVE FOR Pompt Payment by Customer

Hi Gurus,
Here I have one Issue Related to DM VS FICA(IS –U). Our Client used to give Incentive for Prompt payment. Subject to some Condition.
Condition
No1. Business Partner has to consume more than 75% on Demand.
No 2. He has to make Payment before the Due date.
Even after fulfilling the above two conditions. System should calculate the Incentive but it should not release the Incentive or set off it against the Open item Up to 1 month.
But now what happening is, the system Calculates Incentive as per requirement but Deducted in the two Consecutive months.
How to stop the System, from it is being deducted more than one time.
It is an very urgent issue. Please give Solutions as earlier as Possible.
Thanks in Advance
Regards
S. Babu

Hi Amalan,
I Confirm that it is Plugged with Event 0042 and it is Triggering the following FM. and the Source Code.
I hope this have enough information.
function z_fkk_sample_0042.
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(I_FKKKO) LIKE  FKKKO STRUCTURE  FKKKO
*"     VALUE(I_FKKOP) LIKE  FKKOP STRUCTURE  FKKOP
*"  EXPORTING
*"     VALUE(E_AUGRS_INV) LIKE  BOOLE-BOOLE
"*"Local Interface:
"  IMPORTING
"     VALUE(I_FKKKO) LIKE  FKKKO STRUCTURE  FKKKO
"     VALUE(I_FKKOP) LIKE  FKKOP STRUCTURE  FKKOP
"  EXPORTING
"     VALUE(E_AUGRS_INV) LIKE  BOOLE-BOOLE
*if  i_fkkop-hvorg = '0040' and i_fkkop-tvorg = '0020'.
*    e_augrs_inv = 'X'.
*ENDIF.
*BREAK-POINT.
  types: begin of ty_erdb,
           doc_no type erdb-invopbel,
           prt_do type erdb-opbel,
         end of ty_erdb,
         begin of ty_erchc,
           prt_do type erchc-opbel,
           bil_do type erchc-belnr,
         end of ty_erchc.
  data : t_fkkko type fkkko.
  data : t_fkkop type fkkop.
  data : v_budat type budat.
******* changes by Ateeq ur Rahman, 8th Aprail 2013.
  data: it_dfkkop type table of dfkkop,
        it_erdb type table of ty_erdb,
        it_erchc type table of ty_erchc,
        it_dber type table of dberchz1,
        wa_dfkkop type dfkkop,
        wa_erdb type ty_erdb,
        wa_erchc type ty_erchc,
        wa_dber type dberchz1.
  "Changes on 17/03/2014
*  DATA: lit_dfkkop TYPE TABLE OF dfkkop.
if  i_fkkop-hvorg = '0040' and i_fkkop-tvorg = '0020'.
    e_augrs_inv = 'X'.
endif.
if i_fkkop-hvorg = '0100' and i_fkkop-tvorg = '0025'.
**  LOGIF TO CHECK If AUGBD <= BUDAT+10days
*            v_budat = I_fkkop-budat + 10.
*    IF I_fkkop-augbd LE v_budat.
**  LFI Line Item Type ZA0015 in the Table DBERCHZ1
  e_augrs_inv = 'X'.
*  ENDIF.
endif.
  if i_fkkop is not initial.
    select * from dfkkop into table it_dfkkop
                         where opbel = i_fkkop-opbel
                           and opupw = i_fkkop-opupw
                           and opupk = i_fkkop-opupk
                           and opupz = i_fkkop-opupz.
  endif.
  if it_dfkkop is not initial.
    select invopbel
           opbel from erdb into table it_erdb
                       for all entries in it_dfkkop
                       where opbel = it_dfkkop-opbel.
  endif.
*  DATA:   BEGIN OF wa_fkkop,
*          hvorg TYPE fkkop-hvorg,
*          tvorg TYPE fkkop-tvorg,
*          END OF wa_fkkop.
  t_fkkko = i_fkkko.
  t_fkkop = i_fkkop.
  if it_erdb is not initial.
    select opbel belnr from erchc into table it_erchc
                                  for all entries in it_erdb
                                  where opbel = it_erdb-prt_do.
  endif.
  if it_erchc is not initial.
    select * from dberchz1 into table it_dber
                           for all entries in it_erchc
                           where belnr = it_erchc-bil_do
                             and belzart = 'ZA0015'
                             and tvorg = '0025'.
  endif.
          if sy-subrc is initial.
            v_budat = wa_dfkkop-budat + 10.
            if wa_dfkkop-augbd le v_budat.
              wa_dfkkop-augrs = '8'.
              e_augrs_inv = 'X'.
           else.
              e_augrs_inv = ''.
            endif.
          endif.
*LOOP AT it_dfkkop INTO wa_dfkkop.
*IF wa_dfkkop-hvorg = '0100' and wa_dfkkop-tvorg = '0025'.
* v_budat = wa_dfkkop-budat + 10.
*  IF wa_dfkkop-augbd LE v_budat.
**     wa_dfkkop-AUGRS = '8'.
*     e_augrs_inv = 'X'.
*  ENDIF.
* ENDIF.
****************************BEGIN OF CHANGES BY MOHD FAROOQ***********************
*         E_AUGRS_INV = 'X'.
****************************END OF CHANGES BY MOHD FAROOQ*************************
*    else.
*              e_augrs_inv = ''.
*        ENDIF.
*      ENDIF.
*    ENDIF.
*  ENDIF.
*ENDLOOP.
endfunction.

Similar Messages

  • Creation of DPR for advance payment to be made to customer

    Hi Experts
    Can I create DPR for advance payment to be made to Customer (thru Customer Code) thru tocde F-37 or any other way ? I understand tcode f-37 is used for advance payment to be received / received from customer. Tried by changing config thru FBKP but it creates DPR for advance payment received only.
    Whether this is possible ?
    Regards
    Vimal

    I want to make Loan Payment / Shares Application Money Payment from Parent Company to Subsidiary Company. Treating subsidiary copmany as customer.
    Actually want to know whether DPR for advance payment to customer is possible or not ?
    Regards
    Vimal

  • Report  for "record payment history"  for customer ?

    Report  for "record payment history"  for customer ?
    Please send it.

    Dear Goutam
    Through <b>FBL5N</b>, you have to select "<b>Cleared items</b>" with "from to date" and execute.
    You will get a list which can then be downloaded as excel by selecting "List" on top left followed by "export" and "spreadsheet".
    Thanks
    G. Lakshmipathi

  • DTW for PO's and Customer payments applied to oldest invoices.

    Hi everyone in this forum, I'm so glad that there is a community like this one so we can request to expert and not so expert SAP users.
    This thread is made with the intention of request help in the following matter: The company I started recently to work with, wants to upload all Purchase Orders via Excel (with information sent by our suppliers) as well as apply customer payments with information of our bank accounts.
    And I have read a lot about the DTW (Data Transfer Workbench) and I know that it works for importing information; I know for PO's is possible but not sure about application of payments received.
    Does someone out there knows if it's possible to use this functionality DTW for this.
    And also guide me in how to fill up the templates, for example how will the records will be match, through the DocEntry field?
    What happens if i enter the header manually in SAP, assigning a Document number and providing it to our supplier so we can import only the lines. In the Lines template where can I enter this number so the lines are created automatically without importing the header.
    Thanks in advance for your help,

    Hi Israel,
    This is possible, but you would need to run the uploads in several steps.
    Once you have uploaded the Purchase Orders, you would need to convert these to AP Invoices for making payments against (Purchase Orders are non financial documents).
    You will need the docentry field from the PO to be created in order to link the invoices to the PO. Then, once you have the doc entry of the AP Invoices you can create vendor payments & link them to the invoices, and a method of payment.
    It may be easier to use the SAP function "Payment Wizard" to generate payments based on invoices rather than DTW

  • Clearing Customer down payment for down payment amount not equal to Customer Invoice amount

    Dear All,
                   Below process are posting Customer transaction directly via FI without SD cycle.
                Customer down payment = 102 INR
                Customer Invoice = 103 INR
    While doing Customer clearing w.r.t Invoice system has cleared the down payment document but posted an open item in Customer account with clearing document number  of value Rs 102  .
    Concern:-
                   1) How 1 INR difference will be countered , via receipt payment from customer from bank account ?
                   2) In case we have defined tolerance limit of 5% for Customer and this come to be > 1 INR ,does SAP provide clearing Customer items
                       automatically via any Standard Customer clearing process based on rule defined  ?
    Pls suggest
    Regards
    MJ

    Hi,
    the information of the exchange rates used for down payments, is
    stored in table TCURR ( exchange rates)
    For the request down payment the actual exchange rate of table TCURR
    or the rate of document header is taken.
    When this down payment request is payed, also the exchange rate of
    the actual day (TCURR) is taken.
    That´s why the amount in the bank posting in local currency result
    from translating the foreign currency amount at the current rate,
    instead of resulting from the total of the local currency amounts
    from the settled items.
    Regards,
    Attila

  • How to create print document for payment to customer through cash journal

    Dear Sirs,
    I have a problem with print document from cash journal. I enter a payment to customer (when I turn the money to customer) and the system makes right posting, but when I try to print this point, system printing document for incom from customer. I'm using business transaction for customer posting in cash journal. I would like to know how I have to manage this posting - payment to customer, or incoming from vendor (returnes advances from emploee)?

    Hi,
    please check whether the two solutions below work:
    1. create a contract with milestone billing plan where there are only down payment billings, so that on the basis of the contract you can generate down payment requests and then relevant down payments, release the contract to a sales order which can then be delivered and billed, manually clear the billing document with the down payments
    2. from FI module, create down payment requests via t-code F-37 directly, and then down payment posting, generate sales order directly, and then deliver and bill, manually clear the billing document with the down payments

  • Using of cash journal for advance payment to vendor or from customer.

    using of cash journal for advance payment to vendor or from customer.please give advice?

    Hi,
    Set up a new transaction for "Advance Payment to Vendor" in Cash Journal IMG. The menu path in IMG is Financial Acct --> Bank Accounting --> Business transction --> Cash Journal --> Create, Change, Delete Business Transactions. Transaction Code for this configuraiton activity is FBCJC2.
    Enter Company Code, Business Transaction Type as "K" and Cash Journal Business Transaction as "Advance Payment to Vendor". This will work if you are paying to Vendor from Petty Cash.
    Check Receipt from Customer is supported if you take it in Cash Journal and then later deposit to Bank. But check payment to Vendor should be handled trhough either automatic payment program or outgoing payment transaction.
    Hope this helps,
    Reagrds
    CSM Reddy

  • Payment program Customizing steps(for the program RFFOUS_T )

    Hello all, we are planing to generate ACH file for the Remitanace advice, when we run the payment program( F111 - to pay payment orders)
    I dont know the required customizing that i need to do in FBZP, to get ACH file when we generate payments for a specific payment method(say ACH).
    Could please some help me with the step by step approach to get ACH file from payment program.
    Iam aware that i will generate from the program RFFOUS_T but i dont know the required customizing to get that.
    any help will be greatly appreciated.
    Thanks.

    Hi,
    Goto FBZP t.code and do required configuration for ACH payment method.
    1.All company codes
    2.Paying company codes
    3.Payment methods in Country.
    4.Payment method in Company code.
    5.Bank determination
    6.House Bank.
    once you done with configuration in FBZP.
    goto your vendor(testing) FK02 or XK02 .
    Assign ACH payment method and assign Bank account no and routing in vendor master.
    you create variant in F110 t.code for ACH payment method using RFFOUS_T  program.
    Thanks,
    Rau

  • Configuration for automatic payment inwards from customer using F110

    Hi
    Can someone help me with the configs reqd to be maintained in F110 for processing payments received from Customers. Appreciate if some document could be attached in this regard
    Thank you for your early replies
    Rgds
    Sameer Drolia

    Hi Sameer,
    You need to maintain the payment menthod for Incoming payments in FBZP. You need to set up payment methods per country and per company code.Assign these payment methods to the customer master data as required.
    Execute F110. If you have the document numbers against which the payment has been received, you can mention them in the Free selection tab of F110.
    Payemnt receipt/Clearing documents will be generated automatically.
    Please check and revert.
    Thanks and Regards,
    Anit

  • Custom dynamic names for outbound payment files in R12

    I have asked this on a couple of forums, but somehow missed this one.
    We are upgrading from 11i to R12 and require custom dynamic file names for the Payments output files (cheques, advices, efts). I see that you can create a custom prefix and extension through payment profiles, but the functionality is very limited (i.e. no date stamp). I am thinking that others must have come across this before, and am wondering how you have handled such a requirement. Is it possible to add custom steps to the seeded payment process? Can the payment process be run as part of a request set and then a custom step added which grabs the output file and renames it based on information obtained from the batch and the process profile. Our goal is a fully automated payment process where batches are scheduled, processed and files renamed and sent out to banks and a 3rd party printer with no user interventation.
    Any advice/tips would be appreciated.
    Thanks.
    Tam.

    Hi Tam,
    Could you please let me know if you got the solution as we have a similar requirement of renaming the output file as perthe business needs fro which we need custom program.
    Thanks,
    Manas

  • Customized program for format payments doesn't work in all operating unit

    I would like to ask for your help with the issue I’m having right now with the customized program I’ve created.
    Background:
    A customized program using XML was created for check payments. This check format is used when printing Payment Batches. I tried to register this program in two operating unit, one is EMR AP SuperUser-EPT-APDUS and the other one is EMR AP SuperUser-EPT-APDMX. The program completes successfully in EMR AP SuperUser-APDUS but not in EMR AP SuperUser-EPT-ADPMX. The set up was the same for both OU. In every time I tried to run the program by:
    1. Create a batch name in Payment Batches.
    2. Enter the Invoice Batch Name
    3. Assigned the Bank Account and Document type
    4. Save and hit the Actions..1 button
    5. Then Select the Format Payments - I've entered the same program for both OU
    The program errors out including the Payment Process Manager in APDMX OU but not in APDUS. Please help me fix this issue as this is a very high priority task.
    I would greatly appreciate any help that you could give.

    See https://support.mozilla.com/en-US/questions/799388

  • Is there a way to let the customer update their own credit card details for site payment?

    Is there a way to let the customer update their own credit card details for site payment?

    Only when BC tries to bill the card and can not. Admin will be locked out and when they try to go to the admin the form requesting payment appears and they can add their new details in there.

  • Key Fields for Vendor as a Customer

    Hi experts,
    I have to develope report for vendor payment, my senario is as follows
    - vendors which are also our customers,
    - payments done at every 15 days
    - I have to develope the payment summary report for this please tell me which are the key fields to be used for vendor as a customer to develope this report.
    - some deductions are carried out in MM side and some are carried in SD side
    Regards
    Amol

    HI,
    Vendor Number - LIFNR
    Customer Number - KUNNR
    These are from table LFA1.
    Also from the finance side use tables for payment details regup and reguh
    also please check on bsad bsas bsed bseg bses bsik bsis tables.
    Thanks& Regards,
    Kiran

  • Background Journal entry for Incoming payment

    Dear Experts,
    Would you please help me in how to get the journal entry for an incoming payment entered as "payment on account".
    The relationship map does not show this, but I can see the credit entry for the customer is passed.
    same happens for incoming payment made for specific AR invoices.
    SAP Doc says...
    Result
    An incoming payment document is created.
    A journal entry that credits the customer and the tax accounts (if tax is involved), and debits the receivable account, is created.
    The journal entries of the incoming payments and the paid invoices are reconciled.
    The paid invoices are closed; they no longer appear in the Open Items list and in the Incoming Paymentswindow as documents for payment.
    So how to check the journal entries for incoming payments.
    Regards
    Message was edited by: Suman Roy

    Hi,
    To see journal entry, drill down arrow at transaction no of incoming payment window.
    Thanks & Regards,
    Nagarajan

  • Report to display Average time taken for processing payments".

    Hi,
    I have been asked to develop a report for "Report to display Average time taken for processing payments".
    Could any one guide me technically what are the different tables i need to take to generate the report. Treat this is very urgent. Pls provide sample code too....
    Thanks in advance....

    Given below is the set up for credit card payment processing:
    Set Up Credit Control Areas:
    Define Credit Control Area
    Transaction: OB45 
    Tables: T014
    Action: Define a credit control area and its associated currency.  The Update Group should be ‘00012’.  This entry is required so the sales order will calculate the value to authorize
    Assign Company Code to Credit Control Area
    Transaction: OB38
    Tables: T001
    Action: Assign a default credit control area for each company code
    Define Permitted Credit Control Area for a Company
    Code
    Transaction: 
    Tables: T001CM
    Action: For each company code enter every credit control area that can be used
    Identify Credit Price
    Transaction: V/08
    Tables: T683S
    Action: Towards the end of the pricing procedure, after all pricing and tax determination, create a subtotal line to store the value of the price plus any sales tax.  Make the following entries:
    Sub to:  “A”
    Reqt:  “2”
    AltCTy:  “4”
    Automatic Credit Checking
    Transaction: OVA8
    Tables: T691F
    Action: Select each combination of credit control areas, risk categories and document types for which credit checking should be bypassed.  You need to mark the field “no Credit Check” with the valid number for sales documents.
    Set Up Payment Guarantees
    Define Forms of Payment Guarantee
    Transaction: OVFD
    Tables: T691K
    Action: R/3 is delivered with form “02” defined for payment cards.  Other than the descriptor, the only other entry should be “3” in the column labeled “PymtGuaCat”
    Define Payment Guarantee Procedure
    Transaction: 
    Tables: T691M/T691O
    Action: Define a procedure and a description. 
    Forms of Payment Guarantee and make the following entries Sequential Number  “1” 
    Payment Guarantee Form “02”
    Routine Number   “0”    Routine Number can be used to validate payment card presence.
    Define Customer Payment Guarantee Flag
    Transaction: 
    Tables: T691P
    Action: Define a flag to be stored in table. 
    Create Customer Payment Guarantee = “Payment Card Payment Cards (All Customers can use Payment Cards)”.
    Define Sales Document Payment Guarantee Flag
    Transaction: 
    Tables: T691R
    Action: Define the flag that will be associated with sales document types that are relevant for payment cards
    Assign Sales Document Payment Guarantee Flag
    Transaction: 
    Tables: TVAK
    Action: Assign the document flag type the sales documents types that are relevant for payment cards.
    Determine Payment Guarantee Procedure
    Transaction: OVFJ
    Tables: T691U
    Action: Combine the Customer flag and the sales document flag to derive the payment guarantee procedure
    Payment Card Configuration
    Define Card Types
    Transaction: 
    Tables: TVCIN
    Action: Create the different card types plus the routine that validates the card for length and prefix (etc…) 
    Visa , Mastercard, American Express, and Discover 
    Create the following entries for each payment card 
    AMEX  American Express ZCCARD_CHECK_AMEX Month
    DC  Discover Card  ZCCARD_CHECK_DC  Month*****
    MC  Mastercard  ZCCARD_CHECK_MC  Month
    VISA  Visa   ZCCARD_CHECK_VISA  Month
    The Routines can be created based on the original routines delivered by SAP. 
    *****SAP does not deliver a card check for Discover Card. We created our own routine.
    Define Card Categories
    Transaction: 
    Tables: TVCTY
    Action: Define the card category to determine if a
    payment card is a credit card or a procurement card.
    Create the following two entries
    Cat Description  One Card  Additional Data
    CC Credit Cards  No-check  No-check
    PC Procurement Cards No-check  Check
    Determine Card Categories
    Transaction: 
    Tables: TVCTD
    Action: For each card category map the account number range to a card category.  Multiple ranges are possible for each card category or a masking technique can be used.  Get the card number ranges from user community.  Below is just a sample of what I am aware are the different types of cards. 
    Visa Credit  Expires in 7 days. 
        400000   405500
        405505   405549
        405555   415927
        415929   424603
        424606   427532
        427534   428799
        428900   471699
        471700   499999
    Visa Procurement  Expires in 7 days.
        405501   405504
        405550   405554
        415928   415928
        424604   424605
        427533   427533
        428800   428899
    Mastercard Credit Expires in 30 days
        500000   540499
        540600   554999
        557000   599999
    Mastercard Procurement Expires in 30 days
        540500   540599
        555000   556999
    American Express Credit Expires in 30 days
        340000   349999
        370000   379999
    Discover Card Credit Expires in 30 days
        601100   601199
    Set Sales Documents to accept Payment Card Information Transaction: 
    Tables: TVAK
    Action: Review the listing of Sales Document types and enter “03” in the column labeled “PT” for each type which can accept a payment card
    Configuration for Authorization Request
    Maintain Authorization Requirements
    Transaction: OV9A
    Tables: TFRM
    Action: Define and activate the abap requirement that determines when an authorization is sent.  Note that the following tables are available to be used in the abap requirement (VBAK, VBAP, VBKD, VBUK, and VBUP).
    Define Checking Group
    Transaction: 
    Tables: CCPGA
    Action: Define a checking group and enter the
    description.  Then follow the below guidelines for the remaining fields to be filled.
    AuthReq Routine 901 is set here.
    PreAu  If checked R/3 will request an authorization for a .01 and the authorization will be flagged as such. (Insight does not use pre-authorization check).
    A horizon This is the days in the future SAP will use to determine the value to authorize
    (Insight does not use auth horizon period).
    Valid  You will get warning message if the payment card is expiring within 30 days of order entry date. 
    Assign Checking Group to Sales Document
    Transaction: 
    Tables: TVAK
    Action: Assign the checking group to the sales order types relevant for payment cards
    Define Authorization Validity Periods
    Transaction: 
    Tables: TVCIN
    Action: For each card type enter the authorization validity period in days.
    AMEX American Express 30
    DC Discover card  30
    MC Master card  30
    VISA Visa   7
    Configuration for clearing houses
    Create new General Ledger Accounts
    Transaction: FS01
    Tables: 
    Action: Two General Ledger accounts need to be created for each payment card type.  One for A/R reconciliation purposes and one for credit card clearing.
    Maintain Condition Types
    Transaction: OV85
    Tables: T685
    Action: Define a condition type for account determination and assign it to access sequence “A001”
    Define account determination procedure
    Transaction: OV86
    Tables: T683 / T683S
    Action: Define procedure name and select the procedure for control.  Enter the condition type defined in the previous step.
    Assign account determination procedure
    Transaction: 
    Tables:
    Action: Determine which billing type we are using for payment card process.
    Authorization and Settlement Control
    Transaction: 
    Tables: TCCAA
    Action: Define the general ledger accounts for reconciliation and clearing and assign the function modules for authorization and settlement along with the proper RFC destinations for each.
    Enter Merchant ID’s
    Transaction: 
    Tables: TCCM
    Action: Create the merchant id’s that the company uses to process payment cards
    Assign merchant id’s
    Transaction: 
    Tables: TCCAA
    Action: Enter the merchant id’s with each clearinghouse account

Maybe you are looking for

  • My iPod touch 3rd gen is stuck on apple logo

    My iPod touch 3rd gen is stuck on the white apple logo. It will not manually restart/restore if I hold the power and menu button. It does auto restart about every 15 minutes on its own. If I plug it into my computer, both my computer and iTunes will

  • Looking for female to male auxiliary cable

    I have a 2008 jetta se with the ipod dock built in but the rattles around and causes skipps. Is there a female 30pin ipod connecter to male auxiliary cable that i could hook up and still use the ipod.

  • How to edit/change data type on report that was selected by mistake

    Hello there I created a report in APEX and one column is giving error because the data type of one column supposed to be a varchar2 but somehow the report was created with a Date data type. I want to change the data type without recreating the whote

  • My bookmarks keep disappearing, even after they are restored

    I can not get Firefox to stop deleting my bookmarks. I have to restore from an older file to get them back. If I quit the software and restart, sometimes the bookmarks are there and other times they are not. After getting them back yet again and then

  • Corrupted iPhoto File?

    I'm getting some very erratic behavior when employing the 'Adjust' settings: noise filling up the screen incrementally in rectangular patches. Here's a link to a screenshot: http://s1098.photobucket.com/albums/g367/swiftyj/ I'm wondering if the 'iPho