HOW TO FIND PREVIOUS BALANCE OF DOCUMENT NUMBER.
Hello Abapers,
I am doing customer statment report in FI.In this i need to find previous cumulative balance of document number and i need to add present balance.
For eaxmple.
Invoice payment Balance Cumulative balance
8000 4000 600 600
8001 4001 500 (600 + 500 ) = 1100
4002 800 (600 + 800) = 1400.
8002 4003 900 (1400+900) = 2300.
4004 1000 (1400+1000) = 2400.
In the above example,I need to find cumulative balnce of 8000(600) and add document(4001,4002) of balance.
This is my case.
How can i achive it.
waiting for u rfavourable replies.
Regards
Maruthi
If I understand you right, the input is restricted to positive integers. (if you allow negative numbers, zero, or fractions, you need to define what results you want).
For positive integers inputs, here's a mathematical solution (but the formatting solutions above are probably simpler).
LabVIEW Champion . Do more with less code and in less time .
Attachments:
CountDigits.png 11 KB
Similar Messages
-
How to find Opening Balance for Cash Book
Hello Friends,
I am Creating one Report for Cash Book.(Means : For Perticuler GL Account)
I have no idea how to find Opening Balance for some Perticuler Date.
Ex.
Current date: 07/06/2007
and i want to find Opening Balance on 26/05/2007
i have Function for Calculating Opening Balance,
Group No: 3006 Business Object General Ledger Account
BAPI_GL_ACC_EXISTENCECHECK Check existence of G/L account
BAPI_GL_ACC_GETBALANCE Closing balance of G/L account for chosen year
BAPI_GL_ACC_GETCURRENTBALANCE Closing balance of G/L acc for curr year
BAPI_GL_ACC_GETPERIODBALANCES Posting period balances for each G/L account
but they show current opening balance, and i want for perticulaer Date..
How to find Opening Balance for Cash Book
please Help me out
Thanks
Gaurav TripathiHi Maruthi,
Opening balance for a cutomer for a given period, u need to first find closing balance of that customer in the previous period. For eg. Suppose u want to find opening balance for customer 'A' for month of Nov'06, then U have to find wot was his closing balance in at end of Oct'06. Hope this solves u r problem -
How to find a cancelled material document - Urgent
Please help me how to find a cancelled material document in a pool of marerial documents.
I am trying to dig in tables MSEG, MKPF,EKBE but not able to get with.
<b>In brief, how will I find a document is cancelled or not?</b>
please hlep me.
Regards,
AnbuDear Anbu,
In table MSEG fields:
SMBLN - Number of Material Document
MBLNR - Number of Material Document.
Regards,
Naveen. -
How to find the related PI document from a material document
Dear All experts,
If I know the materil document number, how to find the related PI document?
Thanks!
XinlingHello Xinling,
You can extract the details from table MSEG.
Regards
Kalpana -
I dont have any Applecare registration number. I bought my Mac a year before and is still under the warranty. I dnt how to find or purchase applecare registration number. Please help
Enter your MBP serial number here and you will then be able to determine the warranty status.
https://selfsolve.apple.com/agreementWarrantyDynamic.do
Ciao. -
tell me how to find my balance in my ipad useing bsnl 3g.....
Logon to the website, check your balance there.
-
How to find the ASUS UX50V Serial Number?
How to find the ASUS UX50V Serial Number?
I have to use the Serial Number to get the WINDOWS 7.
But I don`t know where are they.
Solved!
Go to Solution.Under the battery, there is a barcode. The number printed above the barcode is the serial number.
Adam
Best Buy Community - Retail, Americas
Forum Guidelines | Terms & Conditions | Community Guidelines | Blogging Guidelines
*Remember to mark your questions solved and click the star under the user's name to show your thanks! -
How to get the Next Material Document Number
Hi,
Please let me know How to get the next Material Document Number using Functional Module,
Material Document number are in MSEG table.
Regards,
GaneshHi Ganesh,
if you want the next matrial number then first of all you have to define it as a number range in transaction snro.After creating the number range you have to define the interval.
now you can use your number range by calling the function module
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01' " here you have to give the number range number which you have defined in number range
object = 'ZPRODLOG' " Number Range
IMPORTING
number = wa_prod_error_log-seqnr " sequence number generated,in your case material number field
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
each and every time next number will get generated .
i hope this will help you.
Thanks,
Tanmaya -
How to use Cross Company Code document number as Reffrence.
Hi
Actually user wants to post the same debit credit line items with Editing the amounts which he has posted last month
So i suggested him to use post refference of the previous month document number.
Since that is Cross company document number. There is no source to give in T.Code FBR2. There is a fecility to give only document number of a company code not cross company code.
Assume that there are 3 company's involved in that document.
company X --- 25 line items
company Y -- 75 line items
Company Z -- 100 line items
Since he given in header data X Co code it has generated the Cross company code document number 1000X 08 ( which means 1000 is doc.number X is company code 08 is year. This is sap standard cross company code doc number format)
and individual document number is
X - 1000
Y- 2000
Y- 3000
If he post with the reffrence of X company only 25 lines will come remaining 175 line he as to post manually.
If he take Y Doc number only 75 lines will come
If he take Z Doc number only 100 lines will come
To bring all lines there is no provision to give Cross company Doc number.
Please advice how to use cross company doc number as refference.
Tks
ShivajiHi guru
This is answered
Thanks
shivaji -
How to find whether a material document(MSEG-MBLNR) is reversed or not
Hi All,
How can we identify a material document which is created by MB1B transaction is reversed or not. is there any field like reversal indicator in any material document table.
Regards
RamanaHi Ramana,
Check MBSM Transaction.
If the Material document is reversed, and if their is some linkage between the Material document and its reversal document, you will get in this transaction.
generally only those material document have reversal linkage which are reversed through MBST Transaction.
Say Generated Material Document 12345 was reversed using MBST Transaction and its reversal document number is 12346. then
Check the MSEG Table with the MBLNR value 12346. You will find their is one more field 'SMBLN' which shows your original doc i.e 12345.
Just check it out in your test server.
Regards,
S Anand -
How to find opening balance for customer?
Hello Abapers,
I have a requirement as i need to find opening balance for particualr customer in a company.This is related to FI/CO modules.Please solve my porblem.
Waiting for your favourable replies
Regards
MaruthiHi Maruthi,
Opening balance for a cutomer for a given period, u need to first find closing balance of that customer in the previous period. For eg. Suppose u want to find opening balance for customer 'A' for month of Nov'06, then U have to find wot was his closing balance in at end of Oct'06. Hope this solves u r problem -
How to find my iPhone by serial number
How to find my stolen IPhone if I didn't sign up in FIND MY iPHONE?
If you still have the box, the serial number is on there. I don't know what use having the serial number will be unless the police find it and you can then identify by the serial number but I don't hold out much hope, sorry!
-
HT1657 how to find previously rented movies in itunes
How do I find previously rented movies in Itunes if I can't remember the specific name.
MwilliamswiSettings - iTunes - check for rental
Once you press play you have 24/48hrs (depending on region) to view. Accessing other content or turning the device off will flush the movie, and it will need to reload -
How to find out old tds certificate number for vendors who r asking duplica
Dear Expert,
We have a vendor to whom we have issued tds certifcate in the year 2008 . Now the same party is asking for reprinting duplicate one.
But how to get the old certificate number.
If any table can be informed with document number we can trace the certificate number.
Regards,
AlokHI Alok,
Table : with-item is having data.
Steps:
Se16 table with_item
vendor name : xxxxx
fiscal year 2008
company code : xxxx
exexute.
list of records will displaied.
Certificate Number stored in field called CTNUMBER
Techinical name
with_item-CTNUMBER.
Then use the J1inrep
Regards
Madhu m
Please use the useful links for cin-fi
http://wiki.sdn.sap.com/wiki/x/UgTpCw (RUPEE WORD FORMAT)
http://wiki.sdn.sap.com/wiki/x/8oMEDg (J1INEMIS )
http://wiki.sdn.sap.com/wiki/x/2BAMDg (J1INACKN )
http://wiki.sdn.sap.com/wiki/x/3xAMDg (J1INCCREP)
Edited by: M Madhu on May 23, 2011 4:13 PM -
i lost my ipad and in iClound i did not turn on find me on, how to find it i have serianl number
These links may be helpful.
How to Track and Report Stolen iPad
http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
Reporting a lost or stolen Apple product
http://support.apple.com/kb/ht2526
Report Stolen iPad Tips and iPad Theft Prevention
http://www.stolen-property.com/report-stolen-ipad.php
How to recover a lost or stolen iPad
http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
How to Find a Stolen iPad
http://www.ehow.com/how_7586429_stolen-ipad.html
Apple Product Lost or Stolen
http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
Oops! iForgot My New iPad On the Plane; Now What?
http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
How to Find Your iPad Serial Number
http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
Cheers, Tom
Maybe you are looking for
-
Is there a way to bulk dump email?
Somebody used my email account for spamming and I got about 1000 returns. Do you HAVE to delete one by one before you can empty trash? Or is there a way to highlite the entire inbox, then dump? Thanx. JT
-
Switching to Mac with PC formated Ipod
Do I need to down load a new driver? I have the MP3's backed up on IPOD itself but how do I "convert" or configure my ipod to work on the MAC? Thanks
-
We need to show User's subordinates hierarchy wise in Reports
Hi, In CRM OD report Reporting level shows user's upper hierarchy..But we need Subordinates also.How can that be done in Report.
-
How to limit the size of the main window width according to the line items?
Hi, In my requirement,I created one page with main window....Suppose say main window can accomodate 40 line items. I am getting 5 pages data.And in my last page ( ie 5'th page ) I will have only 20 line items.But for the remaing 20 line
-
TS1424 Download error code err 43
Keep getting err 43 when downloading music from iTunes store, can't complete download