Error in the SAP query for Assets?

Hi,
I am trying to make 2 queries related to the assets but it is not selecting the data may I know why and where I am doing wrong.
I have joined the tables ANLA, ANLC, ANLP and ANLB.
Fields that have been selected are as follows:
Asset Subnumber ANLA-ANLN2
Asset Class ANLA-ANLKL
Asset description ANLA-TXT50
Company Code ANLA-BUKRS
Serial number ANLA-SERNR
Main Asset Number ANLA-ANLN1
Asset Subnumber ANLA-ANLN2
Asset Class ANLA-ANLKL
Asset description ANLA-TXT50
Company Code ANLA-BUKRS
Serial number ANLA-SERNR
Main Asset Number ANLA-ANLN1
Fiscal Year ANLC-GJAHR
Ordinary depreciation posted in the current year ANLC-NAFAG
Planned ordinary depreciation for the year ANLC-NAFAP
Accumulated ordinary depreciation ANLC-KNAFA
Cumulative acquisition and production costs ANLC-KANSW
Asset Subnumber ANLA-ANLN2
Asset Class ANLA-ANLKL
Asset description ANLA-TXT50
Company Code ANLA-BUKRS
Serial number ANLA-SERNR
Main Asset Number ANLA-ANLN1
Fiscal Year ANLC-GJAHR
Ordinary depreciation posted in the current year ANLC-NAFAG
Planned ordinary depreciation for the year ANLC-NAFAP
Accumulated ordinary depreciation ANLC-KNAFA
Cumulative acquisition and production costs ANLC-KANSW
Transactions for the year affecting asset values ANLP-ANSWL
Planned ordinary depreciation for the year ANLP-NAFAP
Ordinary depreciation posted in the current year ANLP-NAFAG
Ordinary depreciation to be posted ANLP-NAFAZ
Asset acquisition year (currently not used) ANLP-ZUJHR
Depreciation calculation period ANLP-PERAF
Original useful life in years ANLB-NDURJ
Depreciation key ANLB-AFASL
Please tell me where SAP query is no working and what shall I do to make it work.
Thanks and regards
Nitin

Thanks !!!!

Similar Messages

  • SAP query for asset report with retirement and depreciation retirement

    Hi Expert,
    Can anyone tell me in table ADA which filed is holding the figure of retirement and retirement depreciation?
    Thank oyu

    Hi,
    Max.
    For your question you can check the tables ANEP for asset transactions line items and for asset value fields you can check out ANLC.
    I hope this may help you.
    If you have any doubts feel free to ask.
    Regards,
    Pankaj A Bhalerao.

  • Need to find SAP query for corresponding ABAP program.

    Hello SAP Experts,
    I have an ABAP program "AQDESYSTQV000001ORDERDETAILS==" in ECC 4.7. We had a client copy recently from ECC 4.7 to ECC 6.0. Now in ECC 6.0 I am unable to find this program in SE38.
    Can you please tell me how to create this program in ECC 6.0 ? Also, by the name of this program it is clearly seen that this program is automatically created by using SAP query.
    I tried to generate the program using SQ01, but system asks me for the SAP query.
    Can you please tell me how to find the SAP Query for the corresponding abap program ? Also, the steps as in how to generate the program in ECC 6.0.
    Thanks.

    Hi Danish,
    In the program name, the query name is always attached.
    For example : The program name is , AQ10SD==========Z10SD_INVPRODL=
                           Here the query name is Z10SD_INVPRODL and if you go to transaction SQ01 and enter the query name
    then you can find the infoset.
    And also you can gernate the program with the help of query name.
    Please try the same and let me know if any details are required.
    Regards,
    Darshana

  • How to find the report for the SAP query (Query exists in table AQLQCAT)

    Hello Experts,
    I need to find the tables used in the SAP Query but i don't have access to transaction SQ01,SQ02 and SQ03 to check the same.
    Therefore i checked table AQLQCAT and got the SAP Queries in the system. Then searched for the reports that would have been generated for the same passing  AQusergroupquery name*  in transaction SE38.
    But unfortunately the program does not exists for the given paramenter.
    Could you please let me know how to get the report name for the SAP Query.
    Secondly please suggest any other way of checking the tables used in the SAP Query.
    Also the table name from where i can download the SAP Queries.
    Thanks in advance.
    Regards,
    Rahul Sinha

    I suggest you a simple method.
    Execute the query. When the selection screen is showed,  go to menu and click to SYSTEM->STATUS.
    Check the program name and double click it to access the program code.
    Search for tables or functions into the source code in order to understand where data are taken.
    If you do not find anything , go to the program atttribute and check for logic database, sometimes they are used....
    Best regards.

  • Error - No GL account selected for Asset account in Business partner master

    Hi Experts,
    Scenario - While adding A/P Invoice for Asset item, the error "Error - No GL account selected for Asset account in Business partner master Message (3518-13)
    Awaiting your replies
    Regards,
    Sid

    Hi,
    You need to map the control account of that vendor(business partner).
    ->Open the respective Business Partner master data
    ->Under accounting tab
    ->Under General tab
    ->Control accounts (will be indicated with ... button),on opening this
    ->You will be prompted to map the control accounts
                                             ^ Down Payment Payables
                                             ^Assets Account
                                             ^Open Debts
    Here you need to map the Asset account which also must be a control account(control account option should be checked in the chart of accounts).
    Pls do check in the test system,understand the behavior of this account by booking ap invoice and payment,then proceed in the live system.
    Hope this is helpful

  • Projects Release  - Error: Enter a Distribution Rule for Asset without val

    Hi Experts ,
    While Releasing Projects , we got error :
    Enter a Distribution Rule for Asset without a Validity limit.
    Message No : KD059.
    Diagnosis:
    The settelement Profile used requires you to define a distribution rule for asset . For period 005 , 2009 , however not created a distribution rule for Asset.
    We gave checked Settelement Profile , still we are not clear what settings is causes for this error ,
    Please throw some light on if some one come across ...
    Regards,
    Sujana

    check out OSS note 115618

  • Transaction code thro' SAP Query for customer spefific report

    hi experts,
    how to create transaction code (using SE43-) for the sap query created on own??
    I have created the following required for a customer specific report
    1.Infoset thro sq02
    2.user group thro sq03 and assigned it to infoset
    3.query thro sq01 and saved it with text
    earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
    using sq01 , go to basic list , selected required infotypes and fields and
    then selected, SAP List viewer for viewing and i get the report.
    Now my question is how to create a separate transaction code for this sap query which i created
    should i use SE43( area menu maintenance and area class???_)
    should i create a variant and go to SE43??
    advice solicited
    snr

    Hello
    when you excecute the query in right han side corner  you can get the program name
    go to se80 select program & type this name and then you can create a tcode for that prog in SE80
    reward points if helpful.
    the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
    you can search for the name also in this manner

  • Document store access caused errors in the SAP Correction System

    Hi Gurus,
    I have this user who is trying to make changes to a workbook in DEV which is published to a folder with some users who are assigned to role. This user is the only user with Developer 2 role. When the user make changes and try to save the workbook to her role or favorites so that the changes are transported to BWP, the user is getting "Document store access caused errors in the SAP Correction System".
    Do we have any suggestions/solutions, I would really appreciate any help on this.I would also assign full points for the most helpful answer.

    I have exactly the same problem with the user who is trying to save the workbook, where he made minor change.
    Any clues?
    Thank you.
    Vitaliy

  • Error when using SAP authentication for Designer

    my error is:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(The
    secSAPR3 DLL could not be found or does not exist(hr=#0x80042a01)
    can you help me?
    regards

    hi,
    pls refer the link
    Error when using SAP authentication for Designer
    try re-installing BOE and check
    hope it helps,
    sundar

  • I just found an error in the file name for my Camera Raw Cache file.  How do I correct it?

    I just found an error in the file name for my camera raw cache file.  The error is in my username.  I don't know how to correct the error or if I should just leave it.  I'm not sure where my cache file is stored on my computer.  Any help would be appreciated.
    Thank you

    Since you are on a Mac if when you first set up your account you left out the i in Wilson nothing you do will change that. The REAL account name will always be alicewlson. Once an account is created you can't actually change the name of it. You can change the name that is displayed but not the REAL account name.
    Simplest thing to do is stop worrying about it. Everything is as it should be, that is except Wilson being spelled without the i.
    Lilac50 wrote:
    When I searched finder for "alicewlson" I found a long list of files like this:
    2014-07-22 12.50/File005.nef[15:16:35.212] (debug) src/ImageLoader.cpp:363: File: /Users/alicewlson/Recovered/2014-07-22 12.50/File002.nef[15:18:02.173] (debug) src/StoreXMLFile.cpp:21: /Users/alicewlson//.rpro/rpro.cfg
    I believe I made the error in my user name when I first got my computer a year ago. I then corrected it under my user name but not in my Lightroom files. I also looked for files with a .lrdata extension and didn't find any.

  • I tunes 11 will not let me sync my I pod nano... keep getting error meessage:  the software required for this I pod was not installed correctly... I have tried to reinstall 6 times Dumped everything i tunes related no luck help!

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

  • A simple query in My SQL what is the similer query for that in Oracle ???

    hello friends
    In My Sql if i have 1000 records in a table and i want to get the records from 400 to 550 then it is posible by giving the following query
    Select * from Table a , table b where condition "List 400,550" gives the records from 400 to 550
    what is the coresponding query for this in oracle database
    any one help me pls
    mail me to [email protected]

    Genericly, if you want records N through M from a SELECT statement, there's a wonderful article on asktom.oracle.com
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    Justin

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • Unexpected error compiling the runtime metadata for Split-Join.

    Hi Everyone,
    We are getting below error while restarting the managed servers on Weblogic. We are having 6 managed servers in our cluster. In one of the application in OSB10.3, we are using SplitJoin to call third party webservices. The application is getting deployed properly, and sometimes on one of the managed nodes, we are seeing below error during startup. The servers are coming into Running mode as per the console, but in logs we are seeing the error. No services are accessible on that particular managed node. We have to restart the server and by luck, it will come up properly. This is inconsistent behaviour from the managed servers. Below is the stack trace from stdout files. Any help would be greatly appreciated...
    <Jan 24, 2012 5:49:34 PM CST> <Error> <OSB FLOW Kernel> <BEA-2031003> <Split-Join deployment error during load notification: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace
    >
    <Jan 24, 2012 5:49:34 PM CST> <Error> <ConfigFwk> <BEA-000000> <Failed in onLoad. Will not deliver the remainder of onLoad notifications to this listener.
    java.lang.RuntimeException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:551)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         at com.bea.wli.config.impl.ResourceListenerNotifier.access$400(ResourceListenerNotifier.java:41)
         at com.bea.wli.config.impl.ResourceListenerNotifier$1.execute(ResourceListenerNotifier.java:152)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         Truncated. see log file for complete stacktrace
    com.bea.bpel.compiler.CompilerException: Unexpected error compiling the runtime metadata for Split-Join: "FISRecXferInqServiceV2_0/SplitJoin/RecXferInqSJ".
         at com.bea.alsb.flow.compiler.ProcessMetaDataFactory.create(ProcessMetaDataFactory.java:99)
         at com.bea.alsb.flow.resources.ResourceDeployer.deploy(ResourceDeployer.java:104)
         at com.bea.alsb.flow.resources.ResourceDeployer.access$100(ResourceDeployer.java:64)
         at com.bea.alsb.flow.resources.ResourceDeployer$LoadListener.onLoad(ResourceDeployer.java:545)
         at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:239)
         Truncated. see log file for complete stacktrace

    Most 8.1 development was done with Workshop (the version before Eclipse integration). It is not set up to do Workshop Framework builds with Eclipse OOTB.
    If you are going to use Eclipse, then I would guess that your builds would be best done using Ant or similar. Check out the wls web service samples that install with the product and see if you can use any of those as a basis for using ANT in Eclipse.
    This is only theory, as I have not worked extensively with 8.1.

  • Can't open aperture 3,  warning box comes up," warning there was an error opening the data base for the library /pictures/aperture library .aplibrary  Whats up?

    I have had Aperture 3 loaded on my computer for a while now. Never had any problems till tonight. Restarted my computer and went to open Aperture and a "warning" box poped up, There was an error opening the data base for the library /picture/aperture library ap library.   Then a "quit" button.
    What is going on and how can I open my aperture. I have pictures that need worked for clients.  Help!

    Have you run through the steps in Aperture 3: Troubleshooting Basics. If not that's always a good place to start.
    If that doesn;t resolve the problem when you post back describe your hardware and software setup.
    good luck

Maybe you are looking for