Oracle FA Asset Transfer API Error FA_DISTRIBUTION_PVT.units_in_sync return
Hi All,
I am using below code to transfer the asset from one location to another and stuck the error message as below. Can any one help me out of this.
TRANSFER failed!.
Error: ORA-01403: no data found
Error: Error: function FA_DISTRIBUTION_PVT.units_in_sync returned failure
Error: User-Defined Exception
Error: Error: function FA_DISTRIBUTION_PVT.do_distribution returned failure
Error: Error: function FA_TRANSFER_PUB.do_transfer returned failure
*****Code****
declare
l_return_status varchar2(1);
l_msg_count number:= 0;
l_msg_data varchar2(4000);
l_trans_rec fa_api_types.trans_rec_type;
l_asset_hdr_rec fa_api_types.asset_hdr_rec_type;
l_asset_dist_tbl fa_api_types.asset_dist_tbl_type;
temp_str varchar2(512);
begin
fnd_profile.put('PRINT_DEBUG', 'Y');
dbms_output.enable(1000000);
fa_srvr_msg.init_server_message;
fa_debug_pkg.initialize;
-- fill in asset information
l_asset_hdr_rec.asset_id := 100001;
l_asset_hdr_rec.book_type_code := 'IAEA MT FA BOOK';
-- transaction date must be filled in if performing
-- prior period transfer
-- l_trans_rec.transaction_date_entered := to_date('01-JAN-1999 10:54:22','dd-mon-yyyy hh24:mi:ss');
l_trans_rec.transaction_date_entered := to_date('21-DEC-2012 10:54:22','dd-mon-yyyy hh24:mi:ss');
l_asset_dist_tbl.delete;
fill in distribution data for existing distribution lines
affected by this transfer txn. Note: You need to fill in
only affected distribution lines.
For source distribution, you must fill in either existing
distribution id or 2 columns(expense_ccid,location_ccid) or
3-tuple columns(assigned_to,expense_ccid,and location_ccid)
depending on the makeup of the particular distribution
of the asset.
l_asset_dist_tbl(1).distribution_id := 396330;
l_asset_dist_tbl(1).transaction_units := 1;
l_asset_dist_tbl(1).assigned_to := 2948;
l_asset_dist_tbl(1).expense_ccid := 2606;
l_asset_dist_tbl(1).location_ccid := 5255;
either above 2 lines or below 4 lines must be provided
for source distribution:
l_asset_dist_tbl(1).transaction_units := -2;
l_asset_dist_tbl(1).assigned_to := 11;
l_asset_dist_tbl(1).expense_ccid :=15338;
l_asset_dist_tbl(1).location_ccid := 3; */
--fill in dist info for destination distribution
l_asset_dist_tbl(2).transaction_units := 1;
l_asset_dist_tbl(2).assigned_to := NULL;
l_asset_dist_tbl(2).expense_ccid :=2606;
l_asset_dist_tbl(2).location_ccid := 5255;
l_asset_dist_tbl(2).transaction_units := 1;
l_asset_dist_tbl(2).assigned_to := 2948;
l_asset_dist_tbl(2).expense_ccid := 2606;
l_asset_dist_tbl(2).location_ccid := 5272;
l_trans_rec.who_info.last_updated_by := FND_GLOBAL.USER_ID;
l_trans_rec.who_info.last_update_login := FND_GLOBAL.LOGIN_ID;
FA_TRANSFER_PUB.do_transfer(
p_api_version => 1.0,
p_init_msg_list => FND_API.G_FALSE,
p_commit => FND_API.G_FALSE,
p_validation_level =>FND_API.G_VALID_LEVEL_FULL,
p_calling_fn => NULL,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
px_trans_rec => l_trans_rec,
px_asset_hdr_rec => l_asset_hdr_rec,
px_asset_dist_tbl => l_asset_dist_tbl);
if (l_return_status != FND_API.G_RET_STS_SUCCESS) then
dbms_output.put_line('TRANSFER failed!.');
l_msg_count := fnd_msg_pub.count_msg;
if (l_msg_count > 0) then
temp_str := substr(fnd_msg_pub.get(fnd_msg_pub.G_FIRST,
fnd_api.G_FALSE),1,512);
dbms_output.put_line('Error: '||temp_str);
for I in 1..(l_msg_count -1) loop
temp_str :=
substr(fnd_msg_pub.get(fnd_msg_pub.G_NEXT,
fnd_api.G_FALSE),1,512);
dbms_output.put_line('Error: '||temp_str);
end loop;
end if;
else
dbms_output.put_line('TRANSFER completed successfully!');
dbms_output.put_line('THID = ' ||
to_char(l_trans_rec.transaction_header_id));
end if;
fnd_msg_pub.delete_msg();
end;
Thanks
Tajinder Singh
Hi,
Please do the following procedure.
There were 2 hidden segments in the accounting flexfield.
All segments of the accounting flexfield must be displayed, though they can use default values.
When doing an asset transfer, the system must be able to create all values for the new
distribution, including the complete CCID.
Display the segement and populate or provide a default value for usage on those segments so they can populate at build.
Regards,
Raju.
Similar Messages
-
Oracle 6i Repository Internal API Error 25012
I am running into an RME-00020 Internal API error when I try to fire up designer and do anything. I followed the standard install on a windows 2000 Pro laptop, installed the repository and ran into this. The Oracle error is ORA-00600 and the internal error is 25012. I must have missed something. I have wiped and reinstalled the repository, but continue to get this error. Any avenues you can push me down would be greatly appreciated.
I'm running Oracle 9i on the laptop and have installed the repository on this platform. I downloaded Oracle 6i and am trying to use these together. I installed both in seperate Oracle Home directories as specified. The database is working just fine with another db, as I'm designing and installing that db with ERStudio version 5. I'm running on a Dell Inspiron 8000 with 512M of memory and 20Gigs of disk.
Thanks for any help and insight you can give!Hi
I am experiencing the same error while trying to user Oracle Designer 10g I am new to Designer.I trying to create a user before I do a design capture and it is giveing me the error:
Message
RME-00020: Internal API error - ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Cause
The API has detected an internal inconsistency.
Action
Check the detail of the associated Oracle Server error message
(ORA-xxxxx) and resolve it.
Message
RME-00011: Operation 'close' on ACTIVITY has failed
Cause
An API operation request has failed for some reason.
Action
Examine other reported errors for specific details.
Message
RME-00222: Failed to dispatch operation to Repository
Cause
Requested operation failed because of other errors.
Action
Examine other reported errors for specific details.
Message
RME-00224: Failed to close activity
Cause
Could not close ('commit') an activity.
Action
Examine other reported errors for specific details.
Can you help please? -
Error AU133 received while posting asset transfer
Hi Friends,
While posting asset transfer to affiliated co. (t.code ABT1N) got error message "Account 'Clear.revenue sale to affil.company' could not be found for area 01".
We have already maintained GL A/c in Ao90 in tab 'Clear.revenue sale to affil.company' .The asset is a AUC asset.
The GL is also existing in the co code from which the transfer is made.
Kindly help to solve the issue..
Thanks & Regards
BhairaviHi Bhairavi,
1) the note is relevant for your release to check the transfer variants
2) In fact, when the field in OABE is selected the system uses another posting schema than the standard one (used when the OABE is not set).
3) Do you one or more depr areas which are derivied from area 01 ans use different accounts? For example:
AFAPL AFABER XSTORE ABVOR1 AFABE1 ABVOR2 AFABE2 VZANSW VZREST BUHBKT
ABCD 03 + 01 - 02 * * 4
ABCD 05 + 01 - 04 * * 4
Regars Bernhard -
Error While Running Depreciation in Oracle Fixed Asset
We have uploaded assets in Oracle Fixed Asset from old system successfully.
Now we were to Run depreciation for the first time and
the first process Generate Accounts runs with error,
APP-OFA-48400: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of argum
Number of successes: 0
Number of failures: 0
Module Generate Accounts ended with error
and all the following processes completes with error.
Please help, what can be the problem?Hi
It seems that one of the patch has not been applied properly.
You get this error from the package FA_MASSADD_PKG, so you could put some debug to see where you get it exactly or check the patches where patch includes file FAMAPTB.pls.
Regards
Bilal SARIOZ -
ABT1N-Getting Error while doing Intercompany asset transfer
Hi,
Due to a merger of two comapny codes, my clients needed to make an intercompany asset transfer (transaction code ABT1N), with company code 099 as the sending company code and 200 as the receiving company code). However they got the following error message:
AU133
Contra account is not assigned.
Is it necessary to assign conta accounts In AO90 for intercompany asset transfer?
Could anyone suggest me what are the necessary settings required for intercompany asset transfer?yes maintain contra account in ao90
Edited by: Anil Kumar Potnuru on Feb 10, 2009 4:50 PM -
Getting error while doing Intercompany asset transfer
This is the first time that they are doing an intercompany asset transfer in our client. Intracompany asset transfers were done in the past. While doing an intercompany transfer, an error is popping up as given below.:
Account 'Contra account: Acquisition value' could not be found for area 01
Message no: Au133
Diagnosis
When creating the accounting document the system could not find account 'Contra account: Acquisition value' in depreciation area 01 for Company code( sending company code)
Procedure:
Enteer this account in the account determination for Asset Accounting.
Since, this is the first time an intercompany transfer is happening I assume that there is some configuration or some settign that might have to be done. Please could you help me.Hi,
first set your COD with OAPL.
Go to transaction AO90 and select your COA and click on account determination, and select the account determination key, which is used for your sending asset and doublie click on blanace sheet accounts.
There one field will be there called Contra account: Acquisition value, so enter a B/S GL account there and SAVE it.
Since this account is required to enter at both COD level, like sending assets COD and receiving assets COD. But if you have your both assets in same COD, no need to maintain twice.
The purpose of this GL account is used while transfering one asset from one company code to another to capture the NBV as clearing entry between inter company code trasnfers. (This is as good as OBYA settings in FI). But this GL account here is not specific for one particular company code as like in FI.
This will solve your problem.
Cheers,
Srinu -
ABT1N Intercompany Asset Transfer error: AA390 T type 230 not possible
Dear experts,
I am trying to post an intercompany asset transfer with trx code ABT1N but when simulating the error code
Transaction type 230 not possible (posting to affiliated company) appears. This is the explanation of the error:
Message no. AA390
Diagnosis
For the current document, you specified either implicitly (via the
customer/vendor), or explicitly (with a manual entry), that this posting
is to an affiliated company. In this case, Asset Accounting requires you
to use special transaction types. This enables the system to separately
identify such transactions.
I do not understand the error because TType is "Retirement to affiliated company with revenue" so should be correct.
Does anybody know what could be wrong?
CheersHi
Firstly, check out Note 209643.
Secondly, please read the long text of the error message again. The
transaction type must be set as "post to affiliated company". And
you must check back the followings :-
1. Please execcute function: SAP IMG -> FI -> asset accounting ->
transaction -> specify default transaction type.
You can find the default transaction type for "retirement from
inter-company transfer" and "acquisition from inter-company
transfer".
Then check in their definition whether they are relevant to
affiliated company.
If they are NOT RELEVANT to affiliated company, you can
substitute them with other transaction type Relevant to affiliated
company.
2. Please check the definition of transfer variant. In the transfer
variant, you have assigned the transaction type for both retirement
and acqusition for relation type 1. Both transaction types should be
set as "post to affiliated company" .
Please note that the abovementioned points must be checked because
the system logic will check the validity of the default value in
Point 1.
Then the transaction type in the point 2 will be used instead and
re-checked again.
Have you try to use 'No Reveune' in the specification for revenue?,
I think if it is afflicated companies, you are not allowed to use
revenue.
This error can also be produced because a wrong definition of the trans-
fer variants. Please have a look on note 327088 for further details.
Most of the issues on this matter were solved with this last Note.
Cheers, Blaz -
Hi Sappers:
I am facing the following issue in intercompany asset transfer:
Asset numbers: 910000001608 and 910000001609 need to be transferred. The transfer will be moving the assets from company code 9001/cost center 1100105202 to company code 2001/cost center 1010105244.
While transferring the assets the following error appears: Account "Acquis. and production costs" could not be found
I checked up account assignments in T Code AO90 and the account for Acquisition and production costs has been defined.
What could be the issue here?
Thanks,
Appreciate your time!
VRI just figured out that the Account 'Acquisition:Acquis. and production costs' which is defined in AO90 is defined as GL account (131511000) in the company code 9001 but not in company code 2001.
I believe creating the GL account 131511000 in 2001 should resolve the issue.
Any comments?
Appreciate your time! -
Error during asset transfer: No depr areas for receiving revenue
Hi....
when I am posting an asset transfer transaction [Inter company transfer with transfer method 2: Net method] and simulating, I am getting an error message stating "No Depr areas for receiving the revenue". Kindly help me solve this error.
Thanks
SatyaHi....
I am posting the transfer from with revenue details as NBV from depr area 01, and using the transfer variant as 2 [Net Method]. Still it gives the same error.
I then try posting a manual revenue and again it shows the same error.
Finally, I use No revenue option, and it accepts. do not why this is happening?
Kindly help.
Thanks -
we use abt1n to transfer asset, old asset apc value is 24425.64 USD, ordinary depreciation is 6106.4, change column is 814.19-,
net book value is 18319.24,(fiscal year start), 17505.05(posted value).
abt1n we choose gross meth. and we use NBV from area to transfer
new asset in another comp code capitalization date 2011.5.31, apc value is 2425.64, same, but nbv is 16690.86, with value adjustment 7734.78-, why nbv is not 17505.05? where did 7734 value adjustment come from?
in net method, we hit error:, how to resolve?
Posting with trans.type 157 not possible (No acquisition posted)
Message no. AA324
Diagnosis
Transaction type 157 belongs to a transaction type group, which can only be used to post to assets to which posting has already been performed. However, no postings have been made to this asset.
Procedure
Use a transaction type from a transaction type group, which can be used for the first acquisition to an asset.hi,
note is helpful, but I'am asking why NBV is not transfered to new asset?
secondary, how to reverse abt1 result, besides reverse accounting doc fb08, any other solution?
also previous peopleI define a transfer variant Z1 with retriement transaction type Z01, but I can't find it in Ao67or AO68, which tcode or spro path can I configure Z01?
in order to use inter-company asset transfer, besides transfer variant, what else needs to be configured? -
Hi All,
I am getting this error while importing an internal sales order.
“The specified subinventory is invalid to use, the profile option INV: Allow Expense to Asset Transfer is set to No. Change the profile option to Yes or choose a valid subinventory.”
I have tried to set mentioned profile as ‘Yes’. But still getting same error.
Also, provided subinventory is present and active in given inventory organization.
Please share if anybody encountered this before and have a solution.Hi 2878342
Please refer the following metalink note, it should resolve your problem.
Order Import Interface.Error Message Specified Subinventory Is Invalid To Use (Doc ID 406411.1) -
Oracle Fixed Assets API for updating depreciation flag after conversion
Hi frnds,
Do we have any API's or update program to update the depreciation flag after asset conversion. We are converting all the legacy assets from 11.0.3 to r12 with a depreciation default flag of 'N' since depreciation is already calculated in 11.0.3 and we don't want to calculate any depreciation when we run our year end depreciation in R12. But anyhow at a later point we need to update the depreciation flag to the original value that of 11.0.3 in r12, so can you please help me if there is any API or standard program to update the depreciation flag.
Thanks,
PurnenderWelcome to the forums !
Pl post exact details of OS, database and EBS versions. Pl see if MOS Doc 206474.1 (Oracle Assets Adjustments API Documentation Supplement) can help
HTH
Srini -
I want to create store procedure that reads datas from text file and using API to create the record in database. I've try to write the simple code by follow the code example in "Oracle Order Management Suit API and Open Interface". I have the following questions.
1.) How can I know which record cause me an error when the error was detect after calling API (API was called only one time to avoid the performance problem)?
Ex.
for k in 1 .. x_msg_count loop
gpr_msg_data := oe_msg_pub.get( p_msg_index => k,p_encoded => 'F');
dbms_output.put_line('err msg ' || k || ' is: ' || gpr_msg_data);
end loop;
2.) Can I get the error code for each error message?
3.) What are the different between oe_msg_pub.get(...) and fnd_msg_pub.get(...)?
4.) How can I know which package (oe_msg_pub/fnd_msg_pub) I have to use to get the error message?
Thank you very much
SuntiHi Sunti,
I have a similar requirement, can you let me know if you were able to find the solution.
Thanks,
Nagesh Manda. -
hI,
while working with transaction ABT1N Asset transfer posting from existing (comp code) asset to new (comp code) asset with
Document, posting, asset value date -> this will be the same date 1.1.2011,
system gives error message" You cannot post to asset in company code 'abcd' fiscal year 2011.
After that
I changed the Document, posting, asset value date -> this will be the same date 20.11.2011, system gives error message "
Account 20900000 does not exist in company code 'abcd'.
Please resolve the issue both the scenarios.
Thanks,
Sahara.please search. the "account does not exist" error has been dealt with previously.
-
Hi All,
We are Using T code ABUMN to transferring of existing asset and creating as new asset within company code to change of Cost center, but the existing asset has no value. The system issue below error message when posting,
Retirement/transfer on asset XXXXX 0 takes place with no values
Message no. AA396
I couldn’t find any solution for existing no value asset transfer. Please suggest the ways to solve.
Note: As best practice, we have grayed out cost center once asset master is created. So we cannot change directly in master.HI Abu,
Since we want to transfer the asset from one business area to other business area, we have to remove the asset from business area where transfer happen and we have to show that asset in the history of receiver business area. So we cant transfer the asset with same number within the business area.
There is one tab called Time-dependent data in master data there you can set the time intervals for Asset.It's mainly designed for your requirement like.
When asset moved from one place to another place or another location you can set the time interval for that..
For example:
A asset belongs to ABC businessarea from 01/01/2008 to 30/06/2008
When asset moved to DEF business area you have to set interval for 01/07/2008 to 31/12/9999
Then that asset will be read undet DEF business area.
Hope it'll clear your requirement.
Thanks,
Puja
Maybe you are looking for
-
Move iWeb MobileMe Blog to Wordpress
I had to migrate my private Blog about my 2 years old little daughter from Apples mobileme servers to a wordpress account. I wanted to keep all the comments too (Marlas birth..). So i wrote a perl script to do the job. It is far from beeing perfect,
-
Can I run WiFi on an old G3?
Hey folx; My old Mac G3 has come back to me from my son. It's a beige G3 running OS-9.1. I am going to turn it into a simple educational & game computer for my grandkids (ages 6 & 3). They are already a bit computer literate. Is there any way we can
-
It was about two years ago when I got Google calendars work in my N9. Recently I had to take device to repair and I thought it was good idea to do a full reset to the device. Now I can't remember if there were some tricks to make the sync work. Simpl
-
Hi, This is my program. When i executed this program iam getting these errors . If any one knows pls help. Exception in thread "main" java.lang.ExceptionInInitializerError at JcoIdocSample1.main(JcoIdocSample1.java:36) Caused by: com.sap.mw.
-
TCS2: linked project FM9 & RH8, impossible to update new FM parag
In a linked project FM9 and RH8, everything works fine except the following update: If I add a new paragraph label in the FM9 document and save it; then if I run the overall update from RH8 everything seems to work fine, but when I try to edit the st