BAPI_PR_CREATE requires fix asset
Hello Gurus,
I wonder if someone can help me to solve this problema, I have this error from the BAPI
I am doing this:
wa_praccount-asset_no. = '006703934334'
This is how I call the bapi.
CALL FUNCTION 'BAPI_PR_CREATE'
EXPORTING
prheader = wa_header
prheaderx = wa_headerx
IMPORTING
number = pw_pr_number
TABLES
return = t_return
pritem = t_item
pritemx = t_itemx
pritemsource = t_itemsource
praccount = t_praccount
praccountx = t_praccountx
pritemtext = t_itext
EXCEPTIONS
OTHERS = 1.
When this section finished, the field praccount is diferente because the field fix asset is empty again,in spite I have already fill it with a value lines before.
Thanks.
Thanks Lalit Mohan, the asset already created and exist in the company. After long troubleshooting and debugging the code, my problem already fixed.
Solution:
Passing parameter for asset should be exactly similiar with SAP asset no (Char 12) stored in table.
here is my pieces code (JAVA) to fix the issue.
assetNo ="660000765"; //asset value returned from other function.
Plant="1000";
ASSETNO = "000"+assetNo; //Add "000" in front
SUBNumber= "0000"; // Previous code subNumber ="0";
Other BAPi that useful for displaying asset : BAPI_FIXEDASSET_GETDETAIL
My problem solved..
tq
-Masri
Similar Messages
-
Hai Experts,
My report requirement is to get list of Fixed Asset by date wise. Now i am using BAPI_FIXEDASSET_GETDETAIL.
This BAPI is giving output by year (Fiscal year).
Please help me is there any other BAPI or Function Module to solve my issue. Also tell me the alternative solution for this.
Thank you,check these
BAPI_FIXEDASSET_CHANGE Changes an Asset
BAPI_FIXEDASSET_CREATE Creates an Asset
BAPI_FIXEDASSET_CREATE1 Creates an Asset
BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
BAPI_FIXEDASSET_GETLIST Information on Selected Assets
BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
AMFA Fixed asset posting BAPIs
Thanks nd Regards,
Karthik -
Fixed Asset Sale through SD & AA Module
Dear All,
While selling the fixed asset, carried out the following procedure. Is it correct?
In India, we need to pay excise. Due to this, the asset which is required to be sold, needs to be created as a material.
Following steps are carried out -
a) Material code created under Material Type Finished Goods with Sales View. Value of the asset which is to be sold is put in as a Standard Price.
b) For sale, created inventory of the Finished Goods ( which is created for the asset) by way of Initial upload.
Accounting Entry - Finished Goods -
Dr 25000
To Initial Upload -
25000
c) Now, through SD , created PGI i.e.Post Goods Issue.
Accounting Entry -
FG COGoods Manufactured -
Dr 25000
(Exp Account)
To Finished goods 25000
d) Billing Document Created
Accounting Entry -
Customer Account -
Dr 17996.16
To Sales Offsetting A/c 15000
To Cenvat Suspense 2400
To Cenvat Suspense 48
To Cenvat Suspense 24
To CST Payable 524
Excise Document Created
Cenvat Suspense A/c -
Dr 2472
To BED Payable 2400
To E.Cess Payable 48
To Hr E.Cess payable 24
e) Now carried out Asset Accounting Transaction
ABAON - Asset Sale Without Customer
Accounting Document created
Sales Offsetting Account -
Dr 15000
Loss on Sale of Asset Dr 9996
Accumulated Depre Dr 4
To Asset Account (sold asset) 25000
I m not sure on the initial upload & FG COGM effects. Whether I carried out correct process? Whether the accounting effects are correct?
Pl help. this is very urgent
Thanks in advance,
Gov.Rakshith,
You are using Asset Sale Clearing Account for credit istead Non-valuated material. Your the Asset is your "stock material".
please also check:
Sale Of Fixed Assets from SD
Sales Order For Asset Sale
regards -
Purchase Order and Fixed Asset Module.
Hi all,
I want to print my purchase order of fixed asset for record purposes. But the thing, I can't link purchase order or any of A/P documents to my fixed asset.
Meaning, if A/P invoice has been added into the system, it will not update my fixed asset master data.
Therefore, I have to use PO for printing, since there's no way to print Fixed Acquisition as a document. By doing this, i need to maintain both Item Master Data and Fixed Asset Master Data with Fixed Asset items, which i find tedious.
Is there a solution for this, like perhaps there's a way to copy info from PO to FA acquisition, or Posted A/P Invoice that contains Fixed Asset item will be linked to FA Acquisition, or perhaps there's a way to print FA Acquisition (like a PLD) that i am not aware of?
Please do help.
Thanks upfront!
Rgrds,
Kevin
Edited by: Kevin Lau Sieh Huo on May 20, 2008 7:25 AMHi Kevin,
I am afraid to inform you that the print layout function is not
supported for Fixed asset transactions such as acquisition.
As you mentioned, if you want to use it as PO document, you will need to create PO in business one since no integration is realized between Purchasing in business one and acquisition in Fixed asset addon.
If you think this will have critical impact on your business process, please post your requirement in our SAP Business One Product Development Collaboration.
/community [original link is broken]
Please refer to SAP Note 1028874
https://service.sap.com/sap/support/notes/1028874
Regards,
Ivy Zhang
SAP Business One Forums Team -
Question on fixed asset reports
Hello all,
I work in the real estate accounting department of a large retailer. At quarter/year end we are required to prepare a set of workpapers to support the fixed asset ledger and related P&L accounts. Currently, we are using the following reports:
To support asset account activity:
S_ALR_87011967 Asset balances by site
S_ALR_87012050 Asset acquisitions
S_ALR_87012052 Asset retirements
S_ALR_87012054 Intracompany asset transfers
To support P&L account activity:
FBL3N G/L account line items
The problem we are running into is that, for example, impairment losses are processed by retiring all the assets of the company and reacquiring them at the new fair market value. The net difference is the loss on impairment. Unfortunately, it shows up in our reports as a very large retirement followed by a very large acquisition. These need to be netted together on our schedules for the auditors. The problem right now is that we dont have a good detail report to find impairment retirements/acquisitions, for when we select list assets in the retirements or acquisitions report it gives a hierarchical style report, which is almost impossible to export and process in Excel.
So, my question is really twofold. Firstly, is it possible to turn off the hierarchical setting of a retirements or acquisition report when list assets is selected? Ideally, I'd like to see all the same data on a single row.
Secondly, my real dream report would be more of a standard general ledger with a beginning balance, activity, and ending balance for the period that I could use for all my balance sheet and P&L accounts. Ive tried using the FBL3N report for the balance sheet accounts and it works okay, but I havent been able to figure out how to get it to show the transaction types from the fixed asset ledger. I read something in another post that talked about using the BWASL field to show the transaction types, but I wasnt able to locate it in the available fields list. Do I need to do something special when I run the report?
Thank you so much!Hi Andreas,
Thanks for getting back to me so quickly!
I thought a custom query would probably be best. I'll need to request access to the transaction before I can try it out, but I'm sure I'll have a bunch more questions to bug you with when I do!
Thanks again,
William -
I have created Fixed assets Report , but our auditors would like to see separate Prior YTD Depr in separate column and current book Depr in separate column , right now Prior year YTD depr amd Currrent year depr showing in column Amount Curreny column,
but I would like to show that amount in net column and Current book depr by each to accum and show in where I have $ 710.95 amount , can some one help me how can I change my query to come up what I am looking for, I really need to fix this for
our auditors, and donot to show the details by each month, any help will be really appreciated, you guys are so good, I wish I know more about Sql,
my Query is below
SELECT ASSETTABLE.NAME, ASSETTABLE.ASSETTYPE, ASSETTABLE.QUANTITY, ASSETTABLE.UNITOFMEASURE, ASSETTRANS.TRANSTYPE, ASSETTRANS.ASSETID,
ASSETTRANS.TRANSDATE, ASSETTRANS.DIMENSION2_, ASSETTRANS.AMOUNTMST, ASSETTRANS.ASSETGROUP, ASSETTRANS.DATAAREAID,
ASSETTABLE.UNITCOST
FROM ASSETTABLE INNER JOIN
ASSETTRANS ON ASSETTABLE.ASSETID = ASSETTRANS.ASSETID
WHERE (ASSETTRANS.DATAAREAID = N'AR1') AND (ASSETTRANS.TRANSDATE >= @Paramfromdate) AND (ASSETTRANS.TRANSDATE <= @Paramtodate)
thanks in advanceI don't think I understand exactly what the ask is. What field allows you to distinguish between prior year and current depreciation? TRANSTYPE?
I think your data is fine. I would suggest using a Matrix instead of a table. Just set the column group to group on the field that distinguishes between current and prior year depreciation. Add all of the rest of your column outside the column group so they
are only scoped by your row group(s). You can add those columns either before or after your column group columns.
If you have a lot of work into your report already and don't want to create a new matrix which will require you to recreate the work already done on your table. you can convert the existing table to a matrix as described in this technet wiki article:
http://social.technet.microsoft.com/wiki/contents/articles/21184.ssrs-converting-between-tablix-controls-matrix-table-list.aspx
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
Error Message of - APERB023 during Revaluation of Fixed Assets- AR29N
Hello Experts
I would like to carry the revalution of fixed assets for certains assets w.e.f. 01.04.2011 (our financial year is April to March).
Last Depreciation Run we did is March'2011
Our Fiscal year variant is April'2011 to March'2012
We are carrying the revaluation run through T.Code AR29N under "New Valuation of an Asset".
We have choosen the apporpriate Transaction Type and choosen "with depreciation written back" option.
Also, we have choosen the revaluation area " from start of fiscal year - 01.04.2011"
While exeuction of AR29N, we are getting the following error
Revaluation data does not agree with date of depreciation posting
Message no. APERB023
Diagnosis
You want to execute the revaluation posting in period 001/2011. This requires that this period was the last period posted by the depreciation posting run. No other period may be posted after that. The posting run for this period is also not allowed to be still outstanding. According to the log table, the last run posted was 012/2010.
System Response
Posting is not possible.
Procedure
Correct the revaluation date
Is it necessary to carry the April'2011 deprecaition run, if we wish to carry the revaluation run for the month of Apr'2011
Kindly revert
Regards
Anil KumarHello Experts..
SAP system is demanding, the Depreciation Run (AFAB) for the month of Apr'2011 before carring the revalution (T.Code AR29N) with posting date as 01.04.2011
However i am being unable to find any SAP documentation / FAQ's, where the pre-requisites of AR29N.
Kindly share your experience, if any configurations points, that i need to check in order to avoid the error.
Regards
Anil Kumar -
Modify fixed asset master data thru migo
Hi experts,
I make PO with account assigment 'fixed asset'. This asset is created during the PO creation. When materials arrive more fields of that fixed asset master data are known (ie serial number). I'd like to have a way to save those data in asset during the GR without using 2 different transactions.
In MIGO t/c i see the fixed asset number and double clicking on it i access to display asset: master data (as i was on AS03 tc).
Do you think a way to call AS02 (change asset master data) thru MIGO exists?
Best regards,
RubenHi Ruben,
Did you find a solution to your problem? I have a similar requirement.
I was planning on using the user-exit MBCF0005 to call a pop-up screen where the user can input the serial number and from there calling the BAPI to update the asset.
Cheers
Wayne -
Transfer of a fixed asset to a WBS
Hello Everybody ,
I need your help.
A new scenario has come over here and i am not getting how to implement it in
SAP .
Scenario is :
1. We have a fixed asset at cost center .
2. Now the asset is need to be replaced .
3. We settled new asset at that cost center .
4. Old asset needs to be used in a project.
Problem is :
Client is required that old asset that was replaced, should be transferred to a new project or WBS where the asset final cost
(including depreciation) should consume the budget from the WBS .
Example:
Asset cost along with depreciation is say Rs 50000.
We transferred an Asset to a new WBS where budget is defined 80000.
So as asset gets transferred , remaining WBS budget value should be 80000 - 50000 = 30000 means old asset value should get expensed by WBS .
Then later on we can settle the asset along with the AUC of WBS.
Conclusion:
We need to transfer an fixed asset that is not in anymore used in that defined cost center and need to be replaced and after replacement it should get transferred to a WBS where WBS budget value would be reduced equal to asset value along with depreciation and later on we could transfer it to a cost center where asset is required.
Thanks,
Jagjeet SandhuHi Sunil.
Thanks for your valuable response .
But issue is bit different
Scenario is :
We dont have to make asset as an scrap.
Ex:
We have to take the same asset to another WBS without making scrap and the current asset value should be expensed from the defined WBS budget .
How the asset at cost centre would be transferred to WBS and should be capitalised again at new WBS .
Kindly share the procedure .
Thanks & Regards -
How to clear all fixed assets in SAP Business One
Client wants to clear all fixed assets and create new ones. What is the best way to do it.
Thanks.Hi,
My assumption is that your customer is using 9.0, is it?
I assume that the reason is because there was a mistake during the implementation, meaning that assets created using the application or using import fixed assets master data from excel are not what the user wanted.
The existing rule is that only assets in status 'new' can be removed, and this is a consistency requirement, both technical and from accountancy point of view.
So if the asset is not in status 'new' , it cannot be removed.
What you can do is cancel all transactions generated for the asset, acquisitions, retirements, etc, starting from the last, transaction, until you cancel the first.
Then you execute again depreciation run, to ensure any automatic posted depreciation is reverted.
This way the asset will remain in the system, but with no value. And you can eneter the new assets that will substitute them.
Jose -
Message no. GLT2001, New general ledger, Down payment request Fixed asset
Hi,
I have posted down payment request with target special gl indicator for fixed asset.
When I run payment program in proposal there is a mistake:
Message no. GLT2001
Diagnosis
The online document splitting is active in your system. Here, each document is assigned to a accounting transaction variant and each document row to an item category.
You determine for each business transaction variant which item categories can or must be posted here.
The following error occurred for the document you entered:
Item category 07000 in accounting transaction 1000, variant 0001 is not allowed.
Please help me with this issueI guess you want document splitting.
So now you need to check the GL account you have, that you are trying to post to. You need to check your automatic posting settings, so do you require a BA, PC or Segment as standard in document splitting?
Whatever is required the system requires. So for example you need to make sure a default value can be worked out.
You can do this by using constants or having default entries per GL account.
Please award points if useful. -
Best Practice for Impairment Of Fixed Assets
Dear friends,
I have seen lots of thread about impairment of fixed assets. However, lots of it have different solutions and some resulted in need to use different depreciation area too.
Since IFRS is so common to all countries nowadays, I believe SAP should have a standard solution for treatment of impairment for fixed assets. Basically, it should affect only depreciation area 01 so that asset history sheet will show all movement of fixed assets in one sheet, show reduced the depreciation calculated IMMEDIATELY (not only in new fiscal year when using unplanned depreciation), and also be able to reverse that impairment accordingly subjected to limitation of earlier impairment value and what taken out via reduced depreciation.
What is the BEST standard practice that all consultants can use as long as that country follow IFRS? Other packages already have a fixed solution but in SAP, we are still disputing which is the right one.
Thanks,
Stephen SiewHi Stephen,
How you set it up is based on your bussiness requirements, (paralel ledgers, currencies,...) In the most cases you have more depreciation area's some are creating posting other ones are statistical.
I think in the most cases you will have a minimum from 3 depreciation areas
01 Local books Real-on that create postins
02 Tax book Based on the local tax rules
10 IFRS Create postings or not
When you use IFRS you have to think about the transaction AR29N - Post Revaluation and New Valuation (see the help there).
With this transaction you can upload (new) values from am excel file Search on this forum with AR29N, Marcus give some tips about it
You can use idexes to for doing the revaluation -
Hello,
Module : Fixed Assets
We are trying to fetch the assets for a report depending on the periods['From Period' & 'To Period'] given to SQL query,but we are not getting count of assets as expected.
And so the count isn't matching with 'CIP Details Report' which is a seeded oracle report.Here is the query that we tried,
SELECT fadd.asset_id, fadd.asset_number,
fak.segment1 || '.' || fak.segment2 asset_key, fadd.tag_number,
fadd.description asset_description,
fadd.attribute_category_code asset_category,
fb.date_placed_in_service, gp.start_date, gp.end_date
FROM fa_additions fadd,
fa_asset_keywords fak,
fa_books_v fb,
gl_periods gp,
fa_deprn_periods fdp,
fa_asset_history fah,
fa_transaction_headers fth
WHERE fadd.asset_key_ccid = fak.code_combination_id
AND fadd.asset_id = fb.asset_id
AND fah.asset_id = fadd.asset_id
AND fth.asset_id = fah.asset_id
AND fth.transaction_header_id = fah.transaction_header_id_in
AND fah.asset_type = 'CIP'
AND fdp.book_type_code = fb.book_type_code
AND fdp.period_name = gp.period_name
AND fdp.book_type_code = :p_book_type_code --'KV US CORP BOOK'
AND fdp.period_counter =
(SELECT MAX (fdp.period_counter)
FROM fa_deprn_periods fdp
WHERE 1 = 1
AND fdp.calendar_period_open_date BETWEEN (SELECT start_date
FROM gl_periods
WHERE period_name =
:p_period_from) = -- 'JUL-12-F13'
AND (SELECT start_date
FROM gl_periods
WHERE period_name =
:p_period_to)) -- 'DEC-12-F13'
AND fth.transaction_date_entered
BETWEEN (SELECT calendar_period_open_date
FROM fa_deprn_periods --gl_periods
WHERE period_name = :p_period_from -- 'JUL-12-F13'
AND book_type_code = :p_book_type_code) --'KV US CORP BOOK'
AND (SELECT calendar_period_close_date
FROM fa_deprn_periods --gl_periods
WHERE period_name = :p_period_to -- 'DEC-12-F13'
AND book_type_code = :p_book_type_code)
GROUP BY fadd.asset_id,
fadd.asset_number,
fak.segment1 || '.' || fak.segment2,
fadd.tag_number,
fadd.description,
fadd.attribute_category_code,
fb.date_placed_in_service,
fb.deprn_method_code,
fb.life_in_months,
gp.start_date,
gp.end_date
ORDER BY 1
The query returns the assets which have the 'transaction date entered' between the periods submitted.
But what about the assets who's 'Beginning Year Balance' is not zero [in the periods submitted in the query], those assets should also get displayed in the report.[and seeded report 'CIP Detail Report' shows assets who's 'Beginning Year Balance' is not zero along with the assets which have the transaction date entered between the periods submitted]
Any inputs / help / suggestions on this ?
Thanks !This is a strange requirement, depending on the columns you have and what are optional in them, one way is to have separate operations and each opeartion will have different inputs and for each operation , a different DB Adapter is called. But this way, it results in more number of operations for the service as well as more number of references in the composite. Even if you pass the column inputs to the SQL procedure, it will result in a large number of if-else cases..
Thanks,
N -
SBO 2005 PL1 : Fixed Assets
We are deploying SBO in Lebanon - For the Fixed Assets, they have one legal requirement which oblige them to force the Residual Value to one when it's totaly amortize until the equipment or material is not scrap out. How could we force the vaue to one ?
Edited by: Marc Riar on Feb 21, 2008 2:06 PMHi
Start from 2005 SP1 PL75, there are some bahavior change for Salvage value feature.
1. Where are the new fields regarding salvage value?
o Field name: Salvage Value %
Location: Depreciation Types form => General Tab
Description: salvage value = APC * Salvage value %
o Field name: Include Salvage Value in Depreciation
Location: Depreciation Types form => General Tab
Description: Control whether to include Salvage Value in
depreciation calculation. Select this checkbox to exclude Salvage value in deprecication calculation.
o Field name: Salvage Value
Location: Fixed Asset Master Data form => General Tab
Description: salvage value of specific asset
2. How to configure salvage value for an asset?
salvage value = APC * Salvage Value Percentage of Depreciation Type
o Salvage value is always updated automatically according to above formula if transtions trigger the change of APC.
o Salvage value always takes effect for the whole fiscal year.
o You can also modify salvage value manually in Fixed Asset Master Data form => General Tab. Change of salvage value will trigger the recalculation of depreciation.
3. How to calculate planned depreciation value based on salvage value?
o Example I:
APC: 10,000 Useful Life: 10 years Salvage Value: 2,000
Depreciation type: Straight-line depreciation
Calclation Method: Acquisition Value / Total Useful Life
Include Salvage Value in Depreciation: Not checked
Yearly Depreciation Amount =
(APC - Salvage Value) / Useful Life = (10000 - 2000) / 10 = 800
o Example II:
APC: 10,000 Useful Life: 10 years Salvage Value: 2,000
Depreciation type: Straight-line depreciation
Calclation Method: Acquisition Value / Total Useful Life
Include Salvage Value in Depreciation: Checked
Yearly Depreciation Amount = APC / Useful Life
= 10000 / 10 = 1000
4. Relevant rules with regard to salvage value:
a) All depreciation areas of an asset use the same salvage value.
b) Salvage Value field in Fixed Asset Master Data form => General Tab is editable if and only if Salvage Value Percentage of depreciation type of main depreciation area is not zero.
c) In Depreciation Types form => General Tab, the setting of
Depreciation Value Limit only takes effect when the Salvage Value % is zero.
d) When you import a fixed asset master data, salvage value is retrieved automatically according to the depreciation type from the main depreciation area. Make sure that salvage value is not greater than NBV, otherwise an error message will come up in log file.
5. Depreciation Value Limit Vs. Salvage Value:
a) Both are the amount at which the asset depreciation stops.
b) Depreciation Value Limit only takes effect when Salvage Value % is zero.
c) Depreciation Value Limit is not considered in planned depreciation calclulation.
d) Salvage value is considered in planned depreciation calclulation if Include Salvage Value in Depreciation of depreciation type is not checked.
You can also refer to SAP Notehttps://service.sap.com/sap/support/notes/1100660.
Hope it is helpful!
Regards,
Ivy Zhang
SAP Business One Forums Team -
Accounting principle gap for fix asset
Dear all,
Our company has two accounting principle, for certain fix asset, local principle require it post to fix asset, depreciation will be posted to expense account and allocate to production order via cost center expense allocation in the month end. for group principle, it will be posted to A&D expense, not fix asset. this means that inventory cost and COGS are different.
We would like to generate two sets report for local goverment and group. does anyone has experience of this requirement? really appreciate if you share with me.
Rgds,
BenHi,
For this kind of situation. you have different methods
1. Account solution
2. Ledger solution
3. Co Code solution
If you are using ECC5 or ECC6, you can have parallel ledgers (leading and non leading). If not you need to use Account solution that is you need to have diff depreciation areas and post accordingly.
Maybe you are looking for
-
Hi XI gives random queue names, for EO and EOIO queues. When is the queue name generated ? Is it when the message enters the SMQ2 of the XI ? Logically it should get a name there. Would it change when it reaches the SMQ1 ? The outbound queue to the r
-
Does the ipod touch sync email???
Hi guys I am thinking about buying the Ipod touch. I am used to syncing my email to a palm device (yes, I still use one). The folks at the apple store can not tell me if the touch can sync my apple mail inbox, so I post the question here. thanks Marc
-
Imac and canopus advc110 can you out put to a monitor
I am new to this apple stuff and have after some pro advice settled for a canopus advc110 to go with my imac, i am now struggling with the settings to output to a monitor please help!!!!!
-
Authentification ldap,pam.d on solaris 11
Hi, I tested ldap authentification on Solaris 11 and I didn't succeed in ssh connection. I succeed in viewing ldap users (getent passwd) and i modified /etc/pam.d/login other and passwd with "auth required pam_ldap
-
System is allowing multiple line items,
Hi Gurus, Thanks in advance, My requirement is, User created sales Order with one line item, He created delivery document also, now in Change mode of Delivery document, System is allowing user to enter multiple line items. But Client requirement is n