Error in Asset Acquisition Interface

Hi All,
We have an Interface which creates an Improvement asset & acquires it. When we see the asset details in AS03, on the Depreciation areas tab, depreciation key was getting blank. This whole process happens using three jobs in sequence.
The last job actually acquires the asset. When I debugged the job, I found that the error was coming from a function module exit. The part of the code which was pdating blank posting key is as below :-
IF sy-tcode = 'ABZON' OR
       sy-tcode = 'ABZO'  OR                                  
       sy-tcode = 'ABNA'  OR                               
       sy-tcode = 'AB01'  OR                                         
      lv_ddate = p_rbzdat.
    ENDIF.
IF lv_flag = c_x.
    SELECT SINGLE  asset_class
                   fromdate
                   to_date
                   depr_key
           INTO    lwa_zfi_aatimesrs FROM zfi_aatimesrs
           WHERE  asset_class EQ p_anlkl   AND
                  fromdate    LE lv_ddate  AND
                  to_date     GE lv_ddate  AND
                  depr_area   EQ c_15.
    UPDATE anlb
    SET   afasl = lwa_zfi_aatimesrs-depr_key
    WHERE bukrs = p_bukrs
    AND   anln1 = p_anln1
    AND   anln2 = p_anln2
    AND   afabe = c_15.
  ENDIF.
Here the LV_DATE was not getting populated &  SELECT query was getting getting failed & the update statement was updating a blank depreciation key.
Here I cant put a sy-subrc check as the job will get cancelled.
Here there is no sy-tcode because we are using a File on Unix for the third job to run.
One strange thing, I have just put a condition as sy-tcode = ' ' & it is populating the LV_DATE & also the depriciation key.
But my doubt is since this user exit might have been used in many other objects it will have an impact.
Also what will be the SY-TCODE??
Can anybody please suggest a solution.
Regards
Abhii

Hello,
As i understood this, you are using an interface and not a particualr T-Code for this and that's the reason for the problem, as T-Code is initial.
As an alternative, check if you can set any not-used field (ex: text field) with a parameter to recognize the source of the Acquisition something like interface number or name. This field should be accessable in your exit.
If you can find something like this, then in your exit, when SY-TCODE is initial, check for this parameter value and if this value is as expected by you, then, you can use the same logic to populate ANLB.
Hope this helps.
Regards,
Pavan

Similar Messages

  • Error in Asset Acquisition

    Hi All,
    i am getting below error when i am doing asset acquisition thru f-90 kindly help in this,
    Contact your system administrator (table error)
    Message no. AC497
    Diagnosis
    According to Customizing specifications, depreciation area 01 in company code  is posted automatically, online to the general ledger. However, the depreciation area is not managed in the company code currency.
    Procedure
    Check the Customizing definition for depreciation area 01.
    regards
    mohi

    Hi Mohi,        
    Have you changed the company code currency?
    The depreciation area 01 is the reference area:                          
    - a reference area cannot be simply switched to another currency. It   has to be identical with the currency of the local currency.           
    - in order to achieve consistency the amounts in this local currency  have to be converted into the new local currency, which cannot be done  by transaction OAYH simply, otherwise the system could become inconsistent Inconsistent.                                                                               
    If you change the currency of the depreciation 01 the amounts posted   are not automatically changed into the new currency but taken over one to one.                                                                               
    To change the currency you should use the conversion tools.                                                                               
    If you are in a development system doing some initial customizing  (never in an already running production system) you can update the content in table T093B with a self made ABAP program                                                                               
    Another possibility is to make a new chart of depreciation and configure its depreciation areas as you like.
    regards Bernhard

  • MIRO Error in Asset Acquisition

    Dear All,
    While doing MIRO for Asset acquisition, I am getting this error message
    Account 'Acquisition:Acquis. and production costs' could not be found for area 01
    Message no. AU133
    Diagnosis
    When creating the accounting document, the system could not find account 'Acquisition:Acquis. and production costs' in depreciation area 01 for company code 1000.
    Procedure
    Enter this account in the account determination for Asset Accounting.
    I have assigned asset acquisition A/c for Depreciation area 01 in AO90

    Hi Kumar,
    Please check again in AO90. GL for Acquisition:Acquis. and production costs has to be maintained for your Chart of Accounts, and for your Chart of depreciation and Dep Area 01.
    Also maintain your APC account as Statistical Cost Element.
    Regards,
    SAPFICO

  • Error while doing asset acquisition

    Hi Friends
    I am tryin to post an asset acquisition but gettin the following error-
    Contact your system administrator (table error)
    Message no. AA824
    Diagnosis
    No accounts have been entered for depreciation area 01 for account allocation 11000 (chart of accounts CAIN).
    Procedure
    Maintain the accounts for depreciation area 01.
    I have done the Account determination for Dep Area 01.
    Am i missing something here? Help would be greatly appreciated.

    Hello Vishal
    Use report RACKONTO to have an extended log of eventual inconsistencies in any of your account determinations. Make sure the log is error free for all the account determinations.
    Regards
    Javier Reviriego

  • Error while posting asset acquisition

    hai
    while posting asset acquisition in f-90 iam getting error that "asset is incomplete' when analysed using RAUNVA00 , it is asking to update field group-22 i.e scrap value, but this field is not found in asset master, pls help me.
    thank u
    shivaji.a

    In AS02 you go the Depreciation key and double click on the depreciation key. In the following screen "additional Specifications" you give Scrap value.

  • Error when External Acquisition of asset F-90

    Hi,
    i had created entire asset accounting inclient 100 and transaported to client 400 inclueading group asset.
    now when i am posting F-90 acquisition asset it is geving following error:
    *Asset 6661 600002-0 is incomplete, check the asset
    Message no. AAPO184
    Diagnosis
    The 'incomplete' indicator was set for asset 6661 600002-0 because required entries were not made.
    System Response
    In the standard system, the system rejects the posting to the asset and issues an error message. However, this error message can be changed in Customizing so that it is only a warning. However, if you make this change, you should be aware that it is then possible to post to the asset, although an additional account assignment is missing.
    Procedure
    Start report RAUNVA00 for the asset, and complete the asset's specifications. Then post the transaction again.*
    can any one give me the solution
    thanking you.

    Dear,
    Mahesh.
    DO not perform cross posting. Same quesiton is asked in SAP Financials and I answered there same as Nathan & Srinu sir.
    Error when External Acquisition of asset F-90 in SAP Financials.
    Requesting :- If you want to post in cross Forums please close previous one and then ask in new one.
    As said in message run the RAUNVA00 report in SE38 or go to AUVA T.code.
    Go to Company Code for which you are facing issue , then go to Levels of completion area select there 1 to 3.
    Execute and see your asset no. Then see which fields are incomplete and fill them with proper value in AS02.
    Save & Run F-90.
    I hope this will help you to solve the issue. If you have any doubts feel free to share.
    Regards,
    Pankaj A Bhalerao.

  • Asset Acquisition Error: Global Company is not supported

    Dear All
    i am trying to post and asset acquisition through F-90 when i try to save the document i am getting the
    following message
    Global company XXXXX is not supported
    Message no. GI102
    Diagnosis
    The direct posting function could not find the global company specified. The global company has either been entered in the document or read from table T001 based on the transferred company code.  Each global company must be defined in table T880.
    System Response
    Direct posting to General Ledger cannot take place.
    Procedure
    Check the document as well as tables T001 and T880.
    Please tell me how to rectify this problem
    Regards
    Bilal

    Hi Have a look to SE16 if the values are in both tables are the same.
    In SM30 you can fill in the table name  and click on the button Customizing to found where you have to change the settings
    Paul

  • Document Splitting problem while posting asset acquisition using F-90

    Hi,
    We are using ECC 6.0 with document splitting functionality and are facing problem while posting asset acquisition using F-90.
    The transaction entry details are as below:
    Document Type - KR
    Vendor Line Item PKey - 31
    Amount - 10000
    Asset Line Item with PKey - 70, Transaction Type - 100
    Amount - 10000
    The Document Splitting Rule - 0000000012 is used and the Field Status Group for the Vendor Reconciliation Account and Asset Reconciliation account have Cost Center, Profit Center and Segment as "Optional" field.
    The Balance Sheet Item - Asset Reconciliation Account has been created as
    Secondary Cost Element - 90.
    The Profit Center and Segment field have been made mandatory and zero balancing is also set in the settings for Document Splitting.
    While posting asset acquisition using F-90, we are getting the error message - "Balancing Field "Profit Center" in line item 001 not filled"
    The first line refers to the Vendor Line item.
    Please let me know how to overcome this error.
    Regards,
    Ramanand

    Please follow the below path and do config :-
    IMG>FA>Asset Accounting>Integration with the General Ledger>Additional Account Assignment Objects>Specify Account Assignment Types for Account Assignment Objects
    here you have to put KOSTL (Cost center) for both against APC and Dep run for each Dep area.
    Thanks
    Pyare

  • Error posting asset to company ''Specify payment period baseline date''

    Hi All,
    Please some can advise on the below error msg.
    While posting the asset in to company I will get error like ''Specify payment period baseline date'' and i cant go further.
    Please advise ASAP.
    Many Thanks
    Balaji A S

    Dear:
                   This error message normally appears if In the payment terms that you are using (can be seen in OBB8) there is no any default date assigned to the payment term. If it is then assign one like Posting Date or Document Date in OBB8 against the payment term you using. I am a bot confused in your case that why are you getting this error while acquiring the asset. Would you please elaborate the process you are using for asset acquisition.
    Regards

  • Errors in assets

    friends,
    after running depriciation run successfully, system is showing "  Errors occurred when processing assets. See the Error Log  " in asset balance report 87011963.
    when we go through the errors in assets all are showing the following error message.
    Line item causes scrap value of    199,16 to be violated
    Message no. AA632
    Asset affected: 1XXXXXXXXXX-0
    Diagnosis
    The book value of the asset is below the the cut-off value in the amount of    199,16.
    Procedure
    Check your entries for the amount, transaction type and cut-off value specifications, such as memo value, scrap value or cut-off value percentage rate.
    i am not able to understand the issue, please suggest,
    regards,

    Hi,
    Go to T.code OAYI and check what u have defined as the memo value(retention amount) for each depreciation area/ company code.  This memo value is the amount that is not depreciated, in order to have a memo posting for an asset, which has already exceeded its useful life.  The system reduces the planned annual depreciation in the acquisition year for the asset by the amount of the memo value.
         You can activate or deactivate the memo value by means of an indicator in the asset class, although it has been defined on depreciation area/company code level (this is applies especially to asset classes for low value assets).
    Rgds
    Nikhil

  • Doc Splitting in case of Asset Acquisition

    Hi Gurus,
    Since I've activated document splitting, Now When I try to save Asset Acquisition document system shows me following error:
    "Balancing field "Profit Center" in line item 001 not filled"
    The field Profit Center marked as balancing is not filled with any value, even after doc splitting'
    Pls help.
    Regards,
    Vikas Malhotra

    Hi,
    setup your configuration that way that a profit center can be derived from the posting logic. Note 684659 should help here.
    Regards,
    Markus

  • Error during Asset Scrapping using ABAVN - plz advise

    Dear all,
    Facing an error during asset scrapping using ABAVN for a Korean company code.
    Net value of asset is not zero. Transaction type = Disposal/abandonment of prev. year acquisition.
    Error occurs on Simulation - Transaction in area 40 contradicts the net book value rule
    NBV in area 01 Book Dep -  108,612,225 KRW
    NBV in area 40 u2013 Tax Dep u2013 108,612,192 KRW
    Negative vals allowed NOT checked in asset master.
    SAP says:
    The document cannot be posted, as it is contrary to the net book value rule which is checked in area 40.
    This error usually occurs when you enter proportional values. The proportional values exceed the amount posted, for example, post capitalization of 100 but proportional depreciation to the amount 110. Check your entries and correct them if necessary.
    How do we correct this issue and scrap the asset? Is this specific to Korea? How can we make NBV in area 01 = area 40?
    Any clues? Greatful for all answers
    Cheers
    RK

    Kindly read the forum rules and then post.
    SMS Language is strictly not allowed.

  • Profit Center Derivation for Asset Acquisition

    Hello all,
    I am trying to post asset acquisition via F-90.
    We are using ECC6.0 and  document split is activated.
    I assumed that system will derive the profit center from the assigned cost center in the asset master record.
    However, system returned error " Balancing field "Profit Center" in line item 001 not filled ".\
    Is there something missing? Am I supposed to create some new transaction variant in document split OR define some rule to derive the profit center of the asset master record from the cost center?
    Hope you are able to provide you insights.
    Thank you,
    Richard

    Hello Richard,
    I I think The problem is caused by missing customizing in trx. ACSET. the profit center can not be directly assigned to assets in asset master data. Therefore it has to be derived from cost center that is linked to asset.
    To derive the cost center on FI document and then onto NewGL, it is necessary to:
    1) set cost center field 'optional' in field status (trx. OB14 & OB41)
    2) set cost center as account assignment at trx. ACSET
    Best Regards,
    Gladys xing

  • Fixed asset acquisition report by month?

    Hi,
    We're using the fixed asset acquisition report thru tcode 'S_ALR_87012050 '.
    but there is only the report date input with the last day of the fiscal year concerned.
    Is there any standard report to see acquisition amount with month-end or specific date?
    Thanks for your help.

    Chris,
    I have just one more suggestion.  Even though you have to use a yearend Report date for a closed prior-year, you could define a range in the Posting date selection criteria.  In other words, if you would like to see the acquisitions for a given month or range of months in a closed prior-year, then give a 12/31/PY for the Report date and a specified date range in the Posting date selection criteria.
    Hope this helps.
    Thanks,
    Chad
    Edited by: Chad Busbee on Feb 8, 2008 2:56 PM

  • There are error message "No such interface supported" when play Audio/Media from USB thumb disk with Metro APP like Xbox.

     There are error message "No such interface supported" when play Audio/Media from USB thumb disk with Metro APP like Xbox in windows. how can I solve this problem?   if I use destop player like windows media player, no such error.
    would you please give some solution for this error? thanks!

    OS is window10, Metro APP is Xbox or MultiMedia 8; any video format will occur error only by following steps:  
    a. Put Audio / Media / Photo files into USB thumb disk or Micro SD card.
    b. Connect USB thumb disk / Micro SD Card  to Platform.
    c. Open 'File Explorer', click USB thumb disk.
    d. Open audio file with metro app: Music. / Open Media file with metro app: Video./Open Photo file with metro app.

Maybe you are looking for

  • New features Release 12 Financials

    Does anyone know of Documentation detailing Changes/Enhancements from 11.5.10 to R12 in particular changes to the Finance packages.

  • Making a jtable auto updates itself from a mysql table

    Pretty much what the title says. How can i auto update the jtable for every time my mysql table is updated in anyway? i am implementing this auto update function in my admin program which displays a list of users who are online etc. from the moment a

  • How to find filesize (Forms 4.5)

    Hi, How may I find a size of a local file? TEXT_IO package doesn't have a function to this :|

  • Graphical skin for editable ComboBox

    I am using graphical skins to style a ComboBox. They work fine for a normal combobox. When I make it editable, Flex no longer uses the upSkin, overSkin and downSkin for the editable text area. It seems to use the default Flex skin instead. It is usin

  • Installed PCI-6025E recognized by Windows XP but only in PXI system by MAX

    I installed a PCI-6025E DAQ board on a Windows XP machine. Upon startup it recognized the new hardware and installed the driver from the NI-DAQ 6.9.3 CD. All seemed to work fine. When I try to bring up the device in MAX it only shows up in the PXI sy