Posting the opening balance of Assets in GL account through OASV
Hi,
When we are entering the opening balance in assets GL account through OASV , system gives error
" Document number is 1000000000 is already assigned to company code with document type 01"
Asset GL account is alreay having some balances.
Pl let us know that how can we increase the number ranges for 01 document type.
thanks
harish
Hi!
Check this links
Re: Opening Balance
Opening Balance
Opening Balance
Re: Question regarding Opening Balance
Similar Messages
-
How to query the opening balance for an specific account for an spec. date
Hi all,
for my user query I need to calculate the opening balance for an cash account for an specific date.
Any ideas, how can I do this?
Or may be you know a field in an SBO table that already contains information I need...
Best Regards,
InnaHi Inna,
to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :
Symptom
How to find the opening balance of a business partner or G/L account.
Other terms
Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One
Reason and Prerequisites
Consulting
Solution
There are several possible approaches:
Approach 1 - Business Partner Opening Balance:
1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner
2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
Approach 2 - Business Partner Opening Balance:
1. Go to Business Partners -> Business Partner Master Data.
2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.
Approach 3 - G/L Account Opening Balance:
1. Go to Financials -> Chart of Accounts -> click on the account name once.
2. Click on the orange link arrow next to the field 'Balance'.
3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
4. Click on the button 'Refresh'.
5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
Approach 4 - Business Partner and/or G/L Account Opening Balance:
1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.
2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.
3. Ignore the red system message in the bottom of the screen.
4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.
5. Copy the query below:
SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1] T0 WHERE T0.[TransType] = '-2' and T0.[ShortName] = '[%1]'
6. Click on 'Save' and give the query an appropriate name and select the appropriate category.
7. Click on 'Execute'.
8. Click on 'Existing Values'.
9. Select the G/L account or the Business Partner name from the list and click on 'OK'.
10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.
All the best,
Kerstin -
Dear All,
I am using SAP 2007 B PL 13. Please help me out as to how to upload the opening balancs for excise duties so that the same can be shown in RG 23 A Part II or RG 23 C Part II.
Regards,
RahulHi Rahul,
Through Goods receipt you can give the opening balances of RM in RG 23 A part I and the amount of excise duty (RG 23 A part II) on this material you can post to excise account through JV only.
Which excise register you are using? (XL or Custmise in crystal)
Regards,
Datta Kharat -
FBCJ - change the opening balance value
Hi Guys,
How can I change the opening balance value in FBCJ transaction?!
Thanks
Daniel DortaHi !!
You have to options to do here
1. Reveres the receipt entry which was passed wrongly by some other Tcode
2. The difference amount found in FBCJ & FBL3N, post in Receipt side of FBCJ & Post the same amount as an expenses from FB01
This adjustment entry will work as a reversal for the previous entry which was made by mistake
You problem will be solved
Regards
Shamulheq -
To caluclate the opening balances
I want to calulate the opening balances and closing balances for each month in the result like this :
Month uom Opening Closing
Apr
May
Jun
Jul
Aug
sep
Oct
Nov
Dec
Jan
Feb
Mar
SELECT UOM,
SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
SUM(INQTY) INQTY, SUM(INVAL) INVAL,
SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
FROM
SELECT
UOM, ITEM_CODE, ITEM_NAME,
ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
FROM
SELECT
ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
IU_CONV_FACTOR CNV,
IU_MAX_LOOSE_1 ML
FROM OM_ITEM,OM_ITEM_UOM
WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
SELECT
SL_ITEM_CODE OP_ICODE,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
FROM OS_STK_LEDGER
WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
GROUP BY SL_ITEM_CODE
SELECT
SL_ITEM_CODE TX_ICODE,
SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL
FROM OS_STK_LEDGER
WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
GROUP BY SL_ITEM_CODE
WHERE ITEM_CODE = OP_ICODE(+)
AND ITEM_CODE = TX_ICODE(+)
AND ITEM_CODE LIKE 'R%'
--AND ITEM_CODE LIKE :P249_ITEMCODE
ORDER BY ITEM_CODE
GROUP BY UOM
The below given query gives me the opening and closing balances, for the date range entered by me.
For ex. if I enter the date in TO_DATE(:P249_DATE1,'DD-MM-YYYY') field as '01-04-2008', then i get the opening balance for the month April. The SL_DT is the date column in the table.
Kindly guide me for this to solve..There seems to be a problem with your query formatting. I've formatted it and the ORDER BY clause is not needed in the In line view. Remove it. I have added new GROUP BY column.
SELECT UOM,
SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
SUM(INQTY) INQTY, SUM(INVAL) INVAL,
SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
FROM ( SELECT UOM, ITEM_CODE, ITEM_NAME,
ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
FROM ( SELECT ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
IU_CONV_FACTOR CNV,
IU_MAX_LOOSE_1 ML
FROM OM_ITEM,OM_ITEM_UOM
WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
( SELECT SL_ITEM_CODE OP_ICODE,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
FROM OS_STK_LEDGER
WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
GROUP BY SL_ITEM_CODE
( SELECT SL_ITEM_CODE TX_ICODE,
SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL,
trunc(SL_DT, 'MM')
FROM OS_STK_LEDGER
WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
GROUP BY SL_ITEM_CODE, trunc(SL_DT, 'MM')
WHERE ITEM_CODE = OP_ICODE(+)
AND ITEM_CODE = TX_ICODE(+)
AND ITEM_CODE LIKE 'R%'
--AND ITEM_CODE LIKE :P249_ITEMCODE
GROUP BY UOM;Cheers
Sarma. -
How to get the opening balances for lessthan selected date in cubes.
Hi All,
my task is to get the opening balances for the selected date.
Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
in sql:
select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
BankTable BankTrans
BankId BankId
balance
transdate
BankTable (records):
SCB
BankTrans(records):
a) SCB, 15000, 10-02-2013
b) SCB, 20000, 31-01-2014
c) SCB, 50000, 21-09-2012
If I select date as 31-01-2014, I should get the value as 65000
If I select date as 10-02-2013, I should get the value as 50000
Date will be dynamic selection from years months days hirearchy ( time dimension)
How can i achieve this?
any help is much appreciated.
Thanks,
RakeshDear David,
I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
CREATE
MEMBER
CURRENTCUBE.[Measures].[OPENBALANCE]
AS
Sum({Null:[Time].[Years
Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
FORMAT_STRING
= "Standard",
VISIBLE
= 1
can you plz check the above once and guide me.
Thankyou,
Rakesh -
Where to find the Opening Balance Of a Profit Center
Hi,
Which report can i use to check the opening balance of a profit center which is carried forward from last year for a balance sheet account?In period 0, Balance Carried Foward program ( TA 2KES ) is run in PCA. Note that this carried forward balance will only be updated in GLPCT and not GLPCA. Thus, in period 0, the opening balanes are stored. You may create report painter or SAP query to find out these balance.s
-
Passing the Opening Balance for the 1st peroid of the quater
HI ,
Passing the Opening Balance for the 1st peroid of the quater: The report format is as follows
Code-Desc-Amount
1001-AAAA-1000
1002-BBBB-2000
1003-CCCC-3000
The output is based on quaterwise. If I enter the first period of the particular quater, it will show the reports for the whole quater. I created the report and working fine.
But the problem is that, if it is AAAA, i need to pass only first period of that quater else total of the quater.
Can you please, explain me how to do this....
Thanks and Regards
RajeshHi Pooja,
RSA3 only shows records in setup table, which is collected by MCNB.
by MCNB, you could only get the current opening stock, and in order to calculate the open stock in previous month,
you'd have to load the history movement via 2lis_03_bf.
Thanks & B.R.
Vince -
When to enter the Opening Balance.
Dear All,
I have to enter the Opening Balance today. As of now today's date is 25/09/08. So from which date i should enter the Opening Balance in G/L Accounts, Business Partners and Initial Stock.
Please guide me.
Regards
HiteshCheck this document
[https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008899402004E] -
Initialize the opening balance.
How can I specify the opening stock date when i Initialize the opening balance in Transaction MCNB, and doed the Initializing the opening balance mean that the first time extract data records into setup table, then can do full update for opening balance?
Denny,
we need to load data once for BX. where it is asking for date. are yo talking abt termination date? that should be any future date.
let me know if i miss some thing.
Regards,
Nagesh Ganisetti. -
Sales Order Revenue Calculation for the opening balance
Hi
Using SLA tables I wrote the following function to calculate the opening balance for the given period for gieven sales order. The problem is that is is very slow. How do I achieve the same result using the AR Interface Tables?
CREATE OR REPLACE FUNCTION APPS.REV_OPENING_BAL(period_in varchar2,so_number_in varchar2)
RETURN NUMBER IS
rev_open_bal NUMBER:=0;
BEGIN
rev_open_bal:= 0;
SELECT nvl(sum(xdl.UNROUNDED_ACCOUNTED_dr),0) - nvl(sum(xdl.UNROUNDED_ACCOUNTED_cr),0) into rev_open_bal
FROM gl_code_Combinations c, xla_events xe, xla.xla_transaction_entities xte,
xla_distribution_links xdl, XLA_AE_LINES xal, xla_ae_headers xah
WHERE xah.AE_HEADER_ID = xal.AE_HEADER_ID
AND xal.AE_HEADER_ID = xdl.ae_header_id
AND xal.AE_LINE_NUM = xdl.ae_line_num
AND xdl.event_id = xe.event_id
AND xe.entity_id = xte.entity_id
AND xe.application_id = xte.application_id
AND xte.source_application_id = 222
AND c.code_combination_id = xal.code_combination_id
AND to_date( period_name, 'MON-RR' ) <= to_date( period_in, 'MON-RR' )
AND accounting_class_Code in ('REVENUE','UNEARNED_REVENUE')
and (SELECT interface_header_attribute1
FROM ra_customer_trx_all
WHERE customer_trx_id = source_id_int_1) = so_number_in;
RETURN rev_open_bal;
EXCEPTION WHEN NO_DATA_FOUND THEN
rev_open_bal := 0;
RETURN rev_open_bal;
END APPS.REV_OPENING_BAL;
/Did you figure this out?
I am trying to write a report to reconcile the sub-ledgers to GL as part of a conversion from 11 to R12 and would like to be able to dynamically go against the various sub-ledger tables without writing a new script for each sub-ledger.
Or some easier way.
Any thoughts on this?
Thanks, -
Uploading Opening Balances for GL, Vendor & Customer Accounts
Hi Gurus,
We are currently on the verge of going live for a client and we need to upload the opening balances.
I am really not sure how to uploaded the opening balances...
Can anyone guide me in process/procedure to be followed... Request you to provide if you have some data template....Hi,
The upload of GL Balances have to split into several steps:
1. Normal GL Accounts: In this case line items are not required and totals are to be updated in SAP. This can be done using GL fast entry if the number is not too high.
2. Open Item Managed GL Accounts: All the open line items are required to be uploaded in SAP from Legacy in order to clear them. Hence, a LSMW / BDC program has to be developed to upload the line items.
BAPI_ACC_DOCUMENT_POST - for GL/AP/AR
BAPI_ACC_INVOICE_RECEIPT_POST - for AP
BAPI_ACC_GL_POSTING_POST - for GL
GL Balance
F-02 or RFBIBL00 or BAPI
Dr GL a/c Credit Data migration Account or Clearing Account
3. Customer & Vendor Open Items: All open line items in Customer and Vendor Accounts have to be brought in into SAP. For this also a LSMW / BDC program needs to be developed and upload the line items.
Vendor Balances
F-02 or RFBIBL00 or BAPI
Credit Vendor a/c (individually) and Dr Data migration Account or Clearing Account
Customer balances
F-02 or RFBIBL00 or BAPI
Dr Customers a/c (individually) and Cr Data migration Account or Clearing Account
4. Asset Accounting: In case asset accounting is implemented the individual balances of each asset (Gross Value and Accumulated Depreciation) have to be uploaded using transaction AS91. For this also you need to develop a LSMW / BDC program. Further, you also need to update the GL Accounts related to Asset Accounts with totals for each asset class T.Code OASV.
For uploading the Assets
AS91 -> for uploading assets in AA
OSAV --> for uploading assets in GL entry Dr Asset (individually) Cr Data migration Account or Clearing Account
You can use LSMW for uploading all these things
After uploading all, your data migration account will become zero
Thanks,
Rau -
How to get opening balance of a g/l account using query ?
Dear all,
I'm developing consolidated g/l accounts debit,credit totals month wise with opening & closing balances thru query based report,
i'have got expected results except opening balance g/l account,
How to get opening balance of a g/l account based on date as conditonal parameter ?
Any one throw light on this ?
JeyakanthanHi ,
Please kindly help me on this.I don't know how to calculate opening bal and closing bal over a period of time by Quarter, and how to generate the reprot using crystal reports and please suggest me on this how to go ahead with this report.
Here you can go through the reprot requirement , and also an attachment of my Report template.
we have "Category of Investment" , "Income On Investment" ,"Gross yield" and "Net yield" are report fields.
1)"Category Of Investment " is Hardcoded.
2)In this we have to get "Investment" column from VTBFHAPO(BZBETR Field) table Database based on
Flow type(SFHAZBA) in VTBFHAPO table ='0100' for bonds category.
3)"Income on Investment" also we will get from DB using the following formula.
Income On Investment= "Interest IncomeAmortizationCapitalgain"
4)With the Date field(Making Date dimension based on date(DCRDAT) field in VTBFAHPO table.
By Current Quarter,Year to Date,Last year)
5)Opening bal---Investment
Purchase--Flowtype=0100
Meturity/Sales--Flowtype=0200
Closing balance=Opening bal+(Investment or Purchase)-(Meturity or Sales)
'0100' '0200'
Here '0100' and '0200' are Flow types based on this i need to get value from the same Field.
we need to Calculate "Gross yield" .
The bellow are formulas to evaluate "Gross yield "
Ist Qtr .Gross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balance+June closing balance)/2))/3)
Ist qtr. Year to date Gross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balance+June closing balance)/2))/3)
Investment income=interest incomeamortisationcapital gain
Iind Qtr.Gross yield=Investment income/(((July opening balanceJuly closing balance)/2)((Aug opening balanceAug Closing Balance)/2)((Sept. opening balance+Sept. closing balance)/2))/3)
Iind Qtr. Year todateGross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balanceJune closing balance)/2))((July opening balanceJuly closing balance)/2)((Aug opening balanceAug Closing Balance)/2)((Sept. opening balance+Sept. closing balance)/2))/6
This data should display over a period of time. based on "Current Quarter","YearToDate" and "Last year"
The quarter starts from April,i,e FY, I Like this i need to generate the report.
Thanks in advance. -
To display the opening balances of the customer in detail and A/R invoice open status document
hi every one
i want a report
for the below code i am getting only the documents that are posted from 01/04/2014. But for some customers and vendors i have entered opening balances using J/E so in this report i want to display the detailed split of the BP Account Balance which i have entered in J/E
SELECT
T0.[CardName][Customer Name],
T0.[DocNum][Document Number],
T0.[DocStatus][Status],
T0.[DocDate][PostingDate],
T0.[DocDueDate][DueDate],
T0.[DocTotal][Total],
t1.SlpName,
DATEDIFF(DAY, T0.DocDueDate, GETDATE( )) AS 'Days Over Due'
FROM dbo.OINV T0 INNER JOIN OSLP T1 ON T0.[SlpCode] = T1.[SlpCode]
WHERE DocStatus = 'o'I'm not sure if this will work but you can have a try good luck
select TOP 100 convert(nvarchar(10),j.refdate,101) [Posting Date] ,(case j.transtype when 24 then 'RC' when 13 then 'IN' when 14 then 'CN' when 30 then 'JE' when 321 then 'JR' else j.transtype end) Origin ,convert(nvarchar(max),j.baseref) [Origin No.] ,j.contraAct [Offset Account] ,convert(nvarchar(max),j.LineMemo) [Details] ,OJ.loctotal [C/D(LC)] ,(j.BalDueDeb - j.BalDueCred) [Balance Due(LC)]
,'' [C/D(FC)]
,'' [Balance Due(FC)]
,j.Debit [Debit(LC)]
,j.Credit [Credit(LC)]
FROM jdt1 j
left join ORCT R on j.baseref = R.docnum
left join OINV I on j.baseref = I.docnum
left join ORIN C on j.baseref = C.docnum
left join OJDT OJ on j.transid = OJ.transid
where j.shortname in (Select CardCode FROM OCRD) and i.DocStatus = 'O'
order by j.transid DESC
Note: you can removed the TOP 100 to show all the transactions.
to show only the invoice transaction you may want to add the filtering for J.TransType = 13
Regards,
Jim -
Autopayment Proposal Selection by user id who posted the open item.
Dear Gurus,
I want to select the open items by the user name who posted the document. I checked the free selection. But it shows no field USNAM by BKPF or BSEG. Any other way I can select the user name?
Thank you
EmmaCreate a substitution rule in which user name from the header is substituted to any of the fields in vendor line item. (assignment, text etc). After this you can use this for APP.
Tarun
Maybe you are looking for
-
5.1 to home theater receiver thru Optical Out not working; Fatality Platinum
I tried connecting the Optical Out on the front to my receiver's optical in. Made sure everything was set to 5. in both the Creative and receiver settings, and the receiver gets optical 5. just fine with my Play Station version 3 and X-box version 36
-
How to count the total lines of the file (including the file header)
Hi all, I am working with Idoc to file scenario(FCC). I need to map one of the field with a recound count ie.., count of the total lines of the file (including the file header). Eg:Record Count-- mapping area:Total number of records in the file inclu
-
BED,CESS not get ubdated when creating excise invoice
Hi experts, When i create excise invoice with reference to commertial invoice,BED,CESS notget ubdated in excise utilization tab "DEEMED is in blue color.How can i this into "NOBAND" I have done the CIN Customizing Please correct me ASAP..............
-
HT201365 Where is the search feature on iOS 7?
can't find the search feature on iPad iOS 7.
-
Hello, What are the tools (list of tools) that can be used to begin the java mail and the necessary packages for beginning?