Prevent Petty Cash Account Balance to be negative
Hi all,
We've some Petty cash Accounts. It is observed that during the entries related to this cash accounts sometimes inbetween the day the cash balance becomes negative ( Due to the inappropriate order entry ).
To force the Cash entries in exact order I want to put the check for cash account balance can't be negative.
How to achive this ?
Hi Naimish,
You can use the following program to find the user exits in a transaction. Create this prog in your development as a local program.
Just put the Tcode you are using in the selection screen and run it. It will list all the user eixts that are present . Do a trial and error till you get the exact user exit.
Pls reward if useful.
Laxman Nayak.
*& Report ZAK_FIND_USEREXIT *
REPORT ZAK_FIND_USEREXIT no standard page heading.
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
*---End of Program
Similar Messages
-
Restrictions for cash account not to turn negative
dear all
Is there any configuration setting so that the cash account does not allow postings which makes the cash account balance into credit.
please adviceHi,
SAP provides a system called validation. By this you can restrict the balance of cash account from going negative. There you have to give a check for the GL account balance field.
The T-code is OB28 for accounting documents.
There you need to specify your Company code and create a validation rule which is a step by step procedure.
Go to Environment the create a validation. There u specify the prerequisite, the a check and the message u want to display. Message can be error, info, or warning.
Try this. If helpful award points
thanx'
alok -
Currency Exchange for petty cash account?
Hi,
We got an issue here:
We have CNY(Chinese Yuan) and USD account here, but we sometime need HKD and AUD. So we will exchange the CNY into HKD from bank. So that is Credit the CNY bank account, and Debit the HKD petty cash account.
May I ask do SAP have standard process for this process? Debit HKD petty cash account, and Credit CNY bank account. And what T-code it is?
Thx very much~!Hi
Cash journal is currency dependent,I really wonder if the functionality you have asked is available.
For each currency we will have to create separate cash journal.
Good Luck
Hari -
Transfer from Cash in hand account to Petty cash account in FBCJ
Dear Experts,
I want to transfer some amount from Cash in hand HO (Head Office) account to Petty Cash HO account. Both these G/L accounts are maintained with "Post automatically only" indicator. I am not able to post the entry in Cash Journal. Any clues on how to post this entry.
Entry is as follows:
Petty Cash HO A/C Dr --- 50000
Cash in hand HO A/C Cr --- 50000
Business transactions for payment are - Expense, Payment to other branches, Bank deposit etc
Business transactions for receipts are - Bank withdrawal, opening balance, other receipts etc
Thanks in advance for your inputs.
Regards
Komal
Edited by: Komal Raj on Nov 1, 2011 6:37 AMHi,
As per your issue details i guess these are not only a cash gl accounts but also two different cash journals. If this is the case, then you can maintain one cash transfer account for these kind of transaction. Here you can record the payment and receipt entry in this account and thus the balance will be nil and also cash book will tally with gl account balance. If you are making direct gl account entry your cash book balance and gl balance will have a difference.
Regads -
How to make cash account balance Zero at the end of the year
Hi,
We have one account 200180 with 1000 Company code( Germany), and document currency is HKD(Hong kong Dollor), but LC is Euro and it is a cash account. At the end of the year, this account shows 0 balance in HKD, and 10,000 in Euro. I understand that it is because of difference in exchange rates every month. Shall I include this account in foreign currency valuation ? Any other way to make the balance is 0 in Euro?
RKHi men,
I think tcode F-05 can solve your problem. You should make some adjustment by using this tcode.
Good luck. -
In House Cash account balance did not reduce after executing F111
Hi,
This is regarding external payment via IHC.
Subsidiary 3000 with IHC account 3000010 is paying Vendor A.
3000 execute F110 payment run and AP open item is cleared.
Payment order is generated and posted. Payment request is created.
IHC 3000010 account balance decrease by the payment amount.
IHC 1000010 account balance increase by the payemnt amount.
Company code 1000 with IHC account 1000010 execute F111 to pay the external payment.
After payment request is executed. Balance in 100010 does not decrease.
Why is it so?
I dont think this is correct. Appreciate your response and assistance.
Cheers.Hi,
This is regarding external payment via IHC.
Subsidiary 3000 with IHC account 3000010 is paying Vendor A.
3000 execute F110 payment run and AP open item is cleared.
Payment order is generated and posted. Payment request is created.
IHC 3000010 account balance decrease by the payment amount.
IHC 1000010 account balance increase by the payemnt amount.
Company code 1000 with IHC account 1000010 execute F111 to pay the external payment.
After payment request is executed. Balance in 100010 does not decrease.
Why is it so?
I dont think this is correct. Appreciate your response and assistance.
Cheers. -
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 -
SP_Transaction notification for Cash account non negative value
Hi I wrote the following SP_Transaction notification when cash account is going negative in outgoing payment.its working fine in 2005B.
But it is not working in 2007B.pl any one help me.
IF @transaction_type IN (N'A', N'U') AND (@Object_type = N'46')
BEGIN
if Exists ( select t0.currtotal from oact t0 inner join ovpm t1 on t0.AcctCode=t1.CashAcct
where t0.currtotal <=0 and t1.docentry=@list_of_cols_val_tab_del)
BEGIN
SELECT @Error = 1, @error_message = 'Cash account should not be negative!'
END
END
Edited by: ArulPrakasan P on Nov 21, 2008 1:42 PMNo , ia m not getting any error message in 2007B.
then i tried the following... I restored the 2005B database to 2007B.then it got upgraded to 2007B,then i tried to add the out going payment with the above SP_transactionnotification.
now i got the following error msg...
[microsoft] [sql native client] [sql server] : conversion failed when converting the varchar value '@list_of_cols_val_tab_del' to datatype int
Edited by: ArulPrakasan P on Nov 24, 2008 9:14 AM
Edited by: ArulPrakasan P on Nov 24, 2008 9:15 AM -
System should allow to post to bank account with the available cash for cash account in fbl3n
Hi Friends,
User is posting Bank account Dr to
Cash account Cr
If cash account balance is 40000 in FBL3N, and if user posting more than that amount, then system should not allow to post
in F-02 and FB50 transactions.
Pl help me out
Thanks,Hi Mahesh,
I think we cannot go for cash Journal, because for the below entry i should make the cash account
settings as post automatically only in FS00 transaction.
Bank account Dr to
Cash account Cr
If that is the case then we cannot post manually to the cash account.
I think we need to go for some exit in validation.
correct me if iam wrong.
Thanks -
Negative Balance in Petty Cash General Ledger
Dear Experts,
There is cash journal (USD-Currency), Posting are there from 2008 onwards and as of now the balance it is showing local currency (PKR) in Negative balance and below is the example of same.
Our user send us like : As per trial balance 1110A, Cash in hand GL 11100064 showing negative
balance amounting Rs. 65,034.34/- where as there is positive balance USD
2,296/- in subledger of petty cash. i believe this might be Forex
revaluation impact G.L is 11315000 (Bank Foreign Currency Revaluation)
How could we link relevant entries to kncok off so that we could get
positive balance in PKR Currency. which is physically available in
Foreign currency petty cash.
Can any body please explain me how to rectify the negative balance to rectify in the FBL3N.
Thanks,
Siva ReddyHi,
Check Account balance window of the the Cash Account G\L and the column Cumulative Balance. When the cumulative balance is negative, the Cash Account have gone below zero.
If you want only those specific days, then you have to query using the SQL tables.
Kind Regards,
Jitin
SAP Business One Forum Team -
Negative balance in Cash Account
Is there any way to view only Negative balances in Cash Account???
Hi,
Check Account balance window of the the Cash Account G\L and the column Cumulative Balance. When the cumulative balance is negative, the Cash Account have gone below zero.
If you want only those specific days, then you have to query using the SQL tables.
Kind Regards,
Jitin
SAP Business One Forum Team -
Negative Balance with cash account not allowed
Dear Expert,
I want to stop transaction with negative cash balance in Cash account.
How do I do it? Please help me.Hello sujankjana ,
Please try this in SP_Transactionnotification procedure.
IF @transaction_type = 'A' ANd @object_type ='46'
Begin
Declare @Amount decimal(10,3)
Set @Amount = (Select T3.CurrTotal from OACT T3 where T3.AcctCode = (Select CashAcct from OVPM where DocEntry = @list_of_cols_val_tab_del ))
if @Amount < 0
Begin
Select @error = 17 ,@error_message =N'We have not sufficiant Cash Amount '
end
end
if any query kindly revert back.
Thanks & Regards
Manvendra Singh Niranjan -
In cash journal petycash gl account balance and fbcj balance is diference
HI experts,
i cash journal balnce is (fbcj) is 15000 in pettycash gl account balance is -10000
i want match the balnce were is the mistake posibilities.
Please give me the solution.
Thank you!
Best Regards,
Pradheep.Hi
Check all the cash Journals under petty GL Account.
Regards
Edited by: Dublin on Oct 28, 2009 6:00 PM -
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 -
Negative Sign for Asset G/L Account balance
hi
I m having one problem....I created the sales invoice for a customer "ABC" of total INR 63000.00 and when the customer paid the amount for that invoice thru "Cheque" .Banking -
>Incoming Payments and i selected the BP code "ABC" and the invoice related to him get displayed and i choose the related invoice and went to "Payment Means" -
>"Check" tab
G/L Account -
> 124563 ( Initially this account balance is 0.00)
I entered all the Cheque details and its amount and added that incoming payment.
After adding when i check the account balance 124563 its showing the balance as -63000.00 , the amount is shown in negative sign
Company Details
Display Credit Balance with Negative Sign is unchecked
Please anyone help me out in making the balance with positive sign
Edited by: Rajeswari Palaniyappan on Nov 25, 2008 10:00 AMHi Rajeswari
This is a common error that consultants make when implementing SAP Business One. There is no quick fix for this and the best is to create a new database and re-import all the transactions and masters. Make sure this time that the Display Credit Balance with Negative Sign is ticked.
Unfortunately this one tick affects the way amounts are posted to the journal tables & others and cannot be fixed manually. You could try raising a support message with SAP but I am sure they will tell you the same thing I have.
Kind regards
Peter Juby
Maybe you are looking for
-
How to setup background color in the options of JOptionPane
Hi I need to highlight the background of options of JOptionPane in different colors. Ex. 1~5 options in green and 6~10 options in red color. Does any one know how to do it? Thanks in advanced.
-
My ipod cassic no longer out puts sound from either usb port or headphone jack.
I have done a full reset. Other than that it works fine. Plays movies plays songs just no sound.
-
Best way of creating request for a query
hi, what will be the best process to create the request for the query. 1.go to rsa1-> transport connection -> select query -> select BEx bus-> create the request, then change the query and save
-
Ls shows ??.html after creating file with arabic name using java applicatio
Hi, I have a java application which is taking attachments and saving to the file system. when somebody attaches any file with the file name in arabic, the ls command shows ??.html , ????.html etc. The application is also not able to find the file lat
-
I used to have a HP Inkjet 932C and All-In-One 2170 and the HP software that came with it allowed you to print multiple size photo prints on a 8.5"x 11". For example, I want to print out three (3) 5"x7" photo prints on an 8.5"x11", or ten (10) wal