SP for Blocking Payment Entries in Negative Cash Account

Hi Guys,
I want to Block  the users while posting the Payments in Cash Accounts(Some Particular Accounts).
If the Balance in the Cash Account is in negative then the system needs to show an Error Message and it should not allow the users to post the entry.
Is it possible to do such thing by any Query or an SP.
Pls provide me  a SP for that...
Regards,
Vamsi.

Hi Istvan,
I tried Executing the SP .
But when i add an outgoing payment  related to that G/L account  which has negative balance in the cash account , SP  not showing any error message and its allowing to add the document..
Actually the Scenario is ,
I am going to add an outgoing payment  for some travel expenses for an amount of Rs 1000 /-  and
in the Payment means tab i will select the Cash Account which is in Negative balance .
While adding the document it  should not to allow the user to add the document.
But while i executed the above SP it is allowing me to add  the document .
Pls provide me some solution.
Regards,
Vamsi

Similar Messages

  • Cash Account

    Hello,
    My Client want to if Cash account not have amount(<0) then account person not make outgoing payment it is working by SP.
    but he also want if any ledger have -Ve balance then nature by default change means Asset Have negative balance then it should be change as liability drower
    I also try Financial template but not get result.
    So it is posible
    Thanks
    Edited by: Manvendra Singh Niranjan on Jun 27, 2011 12:49 PM

    Hi Manvendra Singh Niranjan,
    Check this link.
    Block Cash Account Entries
    SP for Blocking Payment Entries in Negative Cash Account
    I think this help you.
    Thanks,
    Srujal Patel

  • 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

  • Need reasons for blocking Purchase requisition and service entry sheet.

    Hi All,
    I need reasons for blocking service entry sheet and purchase requisition.
    Also want the reasons for reversing the approval of service entry sheet.
    Its urgent ......

    Hi Nilesh,
    It is not possible to block a service entry sheet as such. You could only revoke a service entry sheet. Some of the possible reasons are, you are not satisfied with the quality of service provided by the vendor. Or it could also be due to change in the services to be performed or it could even be as simple as erronous entry of services in the entry sheet.
    However from ERP 2005, it should be possible to return the services by marking the returns indicator.In case of materials, it is possible to put a materials PO on hold. But in case of services, the hold option does not arise as a service cannot be performed/completed till all the approvals are received.
    Hope this answer helps you.

  • How to configurel advance payment to vendor in  cash journal

    Hi,
    This is thiyagarajan,
    My client wants  to pay the advance to vendors through cash journal
    How to configure this one . its urgent please help me out..
    if u have any document pls send to my mail id   [email protected]
    Regards
    Thiyagarajan......
    91-9916082477

    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.
    Pls reward points if you find this helpful.
    Regards,
    Chirag

  • Payment entry

    Dear friends,
    I want to know tcode for payment entries in order to control check lot series.
    One i know is f58 which is used for vendor open item payment.Similarly i want to know same for down payment to vendor and GL account payment.In both the case system should pick up check number automatically as it picks up in f58.
    Immediate reply will be appreciated.
    Regards,
    Greeshma

    You will need to maintain the following before you record the transaction
    1. TDS is maintained for advance Payment in Vendor Master.
    2. Maintain Spl GL Indicator for Advance as well as for Down Payment Request.
    Steps involved
    1. In F-47 choose the Vendor and Spl GL Indicator for Advance and save the request. Here itself the system will prompt for TDS
    2. Go to F-58 . Here give the Spl GL Indicator for Down Payment Request and process open items. The down payment request created through f-47 will appear as open item.Choose the same and make Payment
    Hope this helps you.

  • Automatic programme for  Down payments and  Credit memos & pratial payment

    Hi Guysis
    vendor credit memo is 5000rs when i  Excute the Automatic programme for the APP it asks enter payment method for the Incoming payments.
    how to slove this error.
    vendor down payments Automatic payment programme is possible or not
    please give sollution Immdieatly.
    with regards
    srinivas

    Hi,
    rao
    i understood your problem
    we can do it in a different way.
    i think you have a due amount and one credit memo..
    if it is ok
    then in F110
    GO to proposal change and select first the invoice document and REALOCATE then change the bank details
    for ex.
    payment method      M
    bank                        SBI
    account                  curr
    and press shift+F1
    and go back
    select second one that is credit memo
    and REALOCATE
    there you can find the bank
    select that and shift+F1
    thus you do the payment
    this can solve your problem
    thank you
    Shankarchitupolu

  • Post Payment not Clarify but on Account for payment batch

    Hi,
    this is FI-CA account current.
    My customer processes distribution batches. The Clearing control finds the account but not an open item with same due date. Now the payment is posted for clarification.
    In clarification we can set a flag to post it on account.
    We would like to do this automatically during payment batch processing.
    Thanks for any idea - hope I'm right here.
    Regards,
    Clemens
    Edited by: Clemens Li on Oct 18, 2011 5:43 PM

    Well,
    it is more complex than expected, but now solved:
    A functional guy told me that for the payment batches the posting on account was generally switched off - no way to accomplish it.
    Only payments with all selection values exactly matching an open item resulted in clearing this item. Whenever a settlement run for the account  had cleared open items due and a payment came later, the processing could not find the open item.
    So what dis we do: We allowed posting on account generally. Now, in FI-CA exit 111, the standard IS-U creates a payment-on-account. We extended the exit, search for a cleared item with exact selection criteria. If it exists, OK, post on account. If not, we destroy the on-account information and the payment goes to clearance.
    But this is very special situation for special requirements in German deregulated energy market, so probably not of much interest.
    Regards,
    Clemens

  • Cash account with nagative balance shows an alert message

    Hi All,
    when user  create  any type of  Outgoing Payment , Incoming Payment, deposits , Journal Entry with the Cash account which is active accounts and the account balance is less than ZERO so system gives an alert message  on the screen I want this type any query or any store procedure.

    Hi ,
    As far as i  am understanding your query this may be for outgoing payment.
    Do you want to stop a outgoing payment from cash account? if balance in this account is zero.
    Clerify your question.
    Thanks
    Ashutosh

  • How to block negative cash balance ?

    Dear Experts,
    I want to block -ve balance to all of my cash accounts i.e. no credit balances to cash accounts. How can i achieve this?
    What i am thinking is about a stored procedure on outgoing payment and journal entry.
    Please help me out.
    Thanks in Advance
    Best Regards
    Ashutosh T

    Hi Gorden,
    Even this code is not working, I am doing all the steps correctly. My cash account balance is 'zero' but still  i am able to make outgoing payment with payment means 'CASH'.
    Istvan ! I have putted Mr. Gorden's code under '[dbo].[SBO_SP_TransactionNotification]' as follows..
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --     ADD     YOUR     CODE     HERE
    IF (@object_type = '46' AND @transaction_type in (N'A', N'U') )
    BEGIN
    IF EXISTS
    (SELECT T0.CashSum FROM OVPM T0 INNER JOIN VPM4 T1 ON T1.DOCNUM=T0.DOCENTRY
    INNER JOIN OACT T2 ON T2.AcctCode = T1.AcctCode
    WHERE T0.CashSum > T2.CurrTotal AND T1.AcctCode in ('102000030010001','102000030010001')
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @error =1, @error_message = ' Cash Balance must be Greater then Zero'
    END
    END
    -- Select the return values
    select @error, @error_message
    end
    Please guide me where I am doing wrong
    Best Regards
    Ashutosh

  • Bapi for vendor payment with details of tunover and blocked payment

    Dear all
    I want to know whether any BAPI available for the details of vendor payment made and the open item with  blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
    The client want to get the output as mentioned below.
    e.g...
    PO no : 45629810
    Inv.No : 73409 (Vendor's Invoice no.)
    Payment : Paid amt with date and details
    Payment : Outstanding (Due and Over Due with no.of days)
    Blocked Payment : Amt with the reason for blocking the payment.
    Turn Over : Total turn over for that fiscal year.
    This is an urgent req. from my client,i will be very grateful if any one can  help me over this issue ..............
    Appreciate for any relevant answers and suggestion ...........
    I am in ECC 6.0
    Regards
    Praveen

    Hello Raj,
    Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
    Please have a look at the following Easy-Access-path:
    SAP Menu
    -> Accounting
      -> Bank Applications
       -> Loans Management
        -> Environment
         -> External Data Transfer
    Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
    prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
    "Help   > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
    Thanks Amber

  • How to generate a single Journal Entry for multiple Payments

    Hi All
    When creating a payment batch with 2 notes for example, would be possible in the accounting GL batch summarize only the line of Cash?
    Thanks

    Hi
    I made the settings below:
    1º Journal Line Type
    Merge Matching Lines = No
    Transfer to GL = Summary
    for all lines type of Event Class: Payments
    2º Accounting Setup Manager
    Update Accounting Options for Applications Payables
    General Ledger Journal Entry Summarization = Summarize by GL Period
    Redid the Lot Payment with two notes from two different suppliers to verify XLA_AE_LINES not summarized lines CASH accounting class code.
    Is it not possible to summarize the lines of CASH?

  • Accounting Entry for Outgoing Payment

    Dear experts,
    I am currently doing PLD for outgoing payment.  Just want to know how I can include in the disbursement voucher I am doing the accounting entries for this.,  Example:
    Accounts Payable (Control Account)         20,000.00
         Cash in Bank MBTC  (GL account of the chosen Bank account)    20,000.00
    Thanks
    Sandra

    You may check this thread to have a reference:
    Re: Branch Code in a bank transfer summary report
    Thanks,
    Gordon

  • Cash Payment /557  with negative values.

    Dears,
                 Good Day ,
                 i depend on wage type /557 'cash payment' on run and posting the payroll
                 as example
                but when using deduction WT on IT 0267 and run payroll
                the payroll appear as below without /557 wage type and that cause a lot of problems
    so what the possibility for WT /557 to accept negative values
    Best Regards,

    Hi Waleed,
    Cash payment term is related to Payment on cash. That means that if employee does not have the bank account then you can make his payment through cash payment mode. Which will trigger to another G/L account in the FI balance sheet and from there FI team is issueing a cheque for that employee.
    But i cound not understand both of the screen details linkage. You are paying to employee as a cash advance then why it's showing negative sign in the RT table.
    Check once and reply.
    Regards,
    Sankarsan

  • Scheme of Entries for vendor payment under EBS system

    Hello Friends,
    I am setting below the scheme of entries as I think is appropriate for making a vendor payment. The scenario is that we will make a payment to the vendor where the payment will be released through BACS (we are working for a UK based client). After the payment run is made the payment is not actually made for some reasons and are returned. Then we make the payment again and this time the payment run goes through smoothly.
    I would request you to please let me know if I am wrong in the scheme of entries and if yes, what would be the proper scheme.
    1.
    When Invoice is raised (FB60)
    GR/IR a/c        Dr        100
    VAT a/c          Dr          20
        To Vendor a/c Cr            120
    At this point there is one open item that is created in the vendor account.
    2.
    When payment run is made (F110)
    Vendor a/c                          Dr              120
          To Unclear BACS a/c     Cr                     120
    At this point the entries in the vendor account are cleared by entry no 1 and 2 and there are no open items.
    3.
    When Bank returns the payment as unsuccessful and we clear the entry (F-03)
    Return BACS a/c             Dr          120
        To Vendor A/c             Cr                     120
    At this point there is one open item that is created in the vendor account
    4.
    When payment is once more made and this time successfully
    Vendor a/c                       Dr             120
       To Unclear BACS a/c    Cr                       120
    At this point entries 3 and 4 clears the open items in the vendor account and there remains no other open items.
    Can someone please confirm if the sequence is correct or is there an additional step involved for resetting of any document after entry 2 when the payment run fails?
    Regards,
    Suvarghya Dutta

    Hello,
    When you have done step 2, immediately you will not come to know that your cheque is failed, only when you receive the bank statement.
    In that case I would not expect you to post to a different account "Return BACS a/c". I do not see any reason for this account. I would expect you to debit to the same account "Unclear BACS a/c", which has been used in order to make the payment.
    If you are using a different account for reversal, then you have to take two accounts for reconciliation purpose.
    MIRO
    GRIR Account Dr
      To Vendor Account
    F110
    Vendor Account Dr
      To Bank Sub-account (In your case Unclear BACS a/c)
    FF67 or FF.5
    If successfully paid
    Bank Sub Account Dr
      To Bank Main Account
    If returned or unsuccessful (*)
    Bank Sub Account Dr
    To Vendor Account
    If you are posting the entry (*) through bank statement, then no need to use FBRA.
    Use FBRA immediately once you run F110 and you know that you have paid the vendor erronously. But once it reached bank and bank has issued bank statement, I would not expect you to run FBRA, but I would like to use FF67 process.
    Regards,
    Ravi

Maybe you are looking for