Asset Report with CJ88 document

Hi Experts
We have developed Z report for asset having material code,vendor,CJ88 document.In old Z report we are not getting material & vendor which is relevant for CJ88 document.
So we have develop new Z report in which we are getting material but that value is not matching with AS03.What could be reason.
The Logic is as follows:
First get the field OBJNR  from table COVP  where field REFBN eq to Settlement Docs in to ITAB..
Then fetch the amount and other field from Table COVP where OBJNR eq ITAB-OBJNR and BLART NE u2018SAu2019 and KSTAR NE u20180000300010u2019.
Please check the actual function code to fetch the settlement doc details below:
FORM GET_SETTLEMENT_DOC .
btab[] = itab[].
sort btab by bwasl.
delete btab where bwasl ne '115'.
  if not btab[] is initial.
select objnr
     into corresponding fields of table dtab
     from covp
     for all entries in btab
     where refbn eq btab-belnr.
sort dtab by objnr.
  endif.
  if not dtab[] is initial.
select belnr
        wtgbtr
        wkgbtr
        gjahr
        kstar
        gkont
        werks
        matnr
        ebeln
        ebelp
        bldat
        budat
        refbn
        blart
        awtyp
        into corresponding fields of table ctab
        from covp
        for all entries in dtab
        where objnr eq dtab-objnr
        and blart ne 'SA'
        and kstar ne '0000300010'.
  endif.
  if not ctab[] is initial.
sort itab by bwasl.
delete itab where bwasl eq '115'.
loop at ctab.
       itab-ANLN1 = ' '.
       itab-belnr = ctab-belnr.
       itab-buzei = ctab-buzei.
       itab-bzdat = ctab-bldat.
       itab-bldat = ctab-bldat.
       itab-budat = ctab-budat.
       itab-gjahr = ctab-gjahr.
       itab-bwasl = '115'.
       itab-name1 = ''.
       itab-AWTYP = ''. "Transaction Type
       itab-matnr = ctab-matnr.
       clear wmaktx.
       select single maktx into wmaktx
       from makt
       where matnr eq ctab-matnr.
       itab-maktx = wmaktx.
       itab-name1 = ' '.
       itab-dmbtr = 0.
       itab-wrbtr = 0.
       itab-anbtr = ctab-wkgbtr.
      itab-anbtr = ctab-wtgbtr.
      itab-butxt = ctab-butxt.
       itab-ebeln = ctab-ebeln.
       itab-ebelp = ctab-ebelp.
       itab-kstar = ctab-kstar.
       itab-blart = ctab-blart.
       append itab.
endloop.
endif.
ENDFORM.                    " GET_SETTLEMENT_DOC
Is there any reports for settlement document having material & vendor code with description.
Regards
Nitin A

closing

Similar Messages

  • Asset report with vendor number and vendor desc wise

    Hi Gurus
    The requirement is to generate asset reports with the below fields:
    Asset class, Asset number & desc, vendor number & desc
    Suppose say all asset balances should be reported by vendor name and desc.
    I couldn't get the right results using an existing or a custom sort version. Do not want to go with a custom report or a SAP query.
    Any pointers in this regard would be helpful.
    Thanks
    Sekhar

    Hi,
    You can use table ANLA.
    Populate the asset field then go to settings tab and choose fields.
    Check the following fields given below:
    BUKRS
    ANLN1
    ANLKL
    LIFNR
    TXT50
    then execute.
    hope it helps.
    regards,
    otep

  • Asset Report with old Asset Number in the Second description text field

    I have a requirement for a report in the Asset accounting.
    User wants a report where in he can see the asset details with the legacy asset number which is entered in the second description field in the Asset Master.  I executed the available reports and could not find one like that.  Please help me out.

    You have the option to ad this field to the reporting stucture.
    Wy you have ased this field and not the fields in the tab origin for old asset number?
    For extra fields in the asset see the Wiki
    http://wiki.sdn.sap.com/wiki/display/ERPFI/IncludeownfieldsinFI-AAstandardALV
    for all the wiki's from asset accounting go to the link:
    http://wiki.sdn.sap.com/wiki/display/ERPFI/Asset+Accounting

  • Asset report with master data fields

    It seems like that all standard asset reports can not display fields from the master record of the asset like room, user fields, etc. But those fields are there in the selection screen of standard reports. Is there standard report that can show me the asset values and fields from the asset master record?

    Hi,
    A comment from my side, for fixed asset related data like the fields you mentioned are available in asset history sheet report and all available fields are easily exported into Excel sheet if only the 'Use ALV grid' indicator under the 'Display options' is activated. Alternatively building a separate report using the query tool as mentioned.
    However from end user perspective, the former may be readily accessible and with minimum maintenance when compared to the later as it requires the knowledge of database table relationship and query creation.
    Thanks for the attention.
    Kind regards,
    John Chin

  • Asset report - with asset G/L accounts connected for gross value and amorti

    Hello dear all,
    Is there a way to obtain asset report by asset (and not by asset class) with the G/L accounts connected for gross value (acquisition) and amortization (depreciation) ?
    Thanks
    Edited by: Tarek AYACHI on Jun 1, 2010 10:25 AM

    Look to the report S_ALR_87011990 - Asset History Sheet  for more information about this report look in the wiki part from this forum
    http://wiki.sdn.sap.com/wiki/display/ERPFI/Asset+Reporting
    perhaps you can find with the ransaction ARQ0 - Ad Hoc Reports  you need

  • Asset Report with PO Numbers

    Hello Experts,
    Is there any standard report which shows Asset ID, Asset Tag, Acquisition Cost, Accumulated Depreciation, NBV and PO numbers?
    Thanks,
    Bob

    Hi Bob,
    You can display this fields for example with RAGITT_ALV01. In this report you can define a Sort variant and an History Sheet version.
    You can change the output list via "Change layout" (Ctrl+F8) and also include another fields with report 335065 if the are not available in the layout.  The reports is for all fields (expect of RASIMU* und RAKOPL*) for all fields from ANLAV and ANLB. ANLAV is for ANLA, ANLU und ANLZ.
    Perhaps also the inventory lists are relevant for you.
    Regards Bernhard

  • Asset report with asset quanity

    Hi,
    We create the asset master in asset master we are not entering the quanity in asset master  after thta we create the PO for asset using the asset code then we complte the PO to invoice cycle  after this we can see the asset balance in the all the asste report  but i am not getting the quanity of aset in report which we enter at the time of GR  so in which report we can see the qty. of asset.
    regards,
    zafar

    Run MB51 and  Check Column Field "Asset", if not showing then right click on any output column and Click on Show and Move Asset. Now you Filter and get the GR of Asset only.

  • Asset report with WBSE

    Hi
    how to get asset no against WBSE is there any specific report?
    Regards
    Sunny

    Hi Sivashankar,
    Thanks,
    After dynamic selection Internal order than also Internal order Value not display.
    Thanks & Regards,
    Juhi
    Edited by: juhis022 on Nov 30, 2011 7:04 AM

  • 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.

  • Asset Report by Vendor/Manufacturer #

    Hi,
    Is there a standard SAP asset report with the field of vendor and manufacturer #? 
    Thanks,
    Teo

    Hi
    you can got the vendor and manufacturer name in T code
    S_ALR_87011964
    For that you have to create a sort variant by using T code OAVI
    There you have to put the vendor and manufacturer table name
    Then when you excute the above mention report in the layout field you can find vendor and manufacturer option
    Note- To find the  Vendor and manufacturer name in the report you have to maintained that in Asset master
    Thanks
    Ansuman

  • Assets reports (URGENT)

    Hi all guru's
    we need Assets report with invoice date
    is it possible...
    its very urgent....'
    i can get addtion of the assets, with doucment number, date...
    but we need assets with invoice date.
    regards
    ss

    there's only abap RAZUGA_ALV01: field asset value date (bzdat)
    for analysing bldat you must create a query (sq01/2) with logical database ADA and table ANEK
    A.
    Message was edited by:
            Andreas Mann

  • Diff. GL balance (FBL3N) with asset report (s_alr_87011963).

    Dear Experts,
    There is a certain asset class (Computer) which is not tally to the GL balance. What is the possible reason to check?
    I am verifying the GL balance (FBL3N) with asset report (s_alr_87011963).  please refer below table.
                               furniture
    Particulars
    2014
    As per F.01 (BS)
               1,098,675.23
    As per Report S_ALR_87011963
               1,097,045.98
    Furniture
               1,098,675.23
    Difference
                     (1,629.25)
    Please help me to resolve this difference issue.
    Thanks in Advance.

    Thanks for your valuable reply,
    i have found two line items in GL balance that are not showing in asset report (which is difference amt Rs. 1629).
    The document Type is "AA" of below entries.
    1. Vat retention @4% for Rs. 1000/-
              asset ac  - Dr             1000
                    Input vat capital Cr -
    2. Vat retention @4% for Rs. 629/-
              asset ac  - Dr             629
                    Input vat capital Cr -
    Report is showing all documents(entries) of Doc type "AA"

  • Asset Report Tables along with PO details

    Dear ALL
    I am preparing a asset report which will required details of asset purchased through purchase orders. Following field are required in columns.
    Please suggest the tables and fields to be selected which can provide the combination as required
    Asset Number
    Asset Code
    Asset Name
    Document Number
    Document Date
    Posting Date
    Bill No
    Bill Date
    ITEM NAME
    QTY
    uom
    PO NUMBER
    VENDOR CODE
    VENDOR NAME
    BASIC AMOUNT
    PO DIFF
    NET TOTAL
    MODVAT
    GROSS VALUE
    REgards
    Ajay

    Hello Ajay,
    First of all, you select asset PO from EKPO(PO items) table, where KNTTP is equal to 'A' (Asset).
    Then go to EKKO table (PO header data) for PO infos. (Vendor code etc.)
    Then go to EKBE table for invoice info with using PO number. You can select MIRO document number from EKBE where VGABE is equal to '2'.
    '2' means incoming invoice posting.
    You must get BELNR and GJAHR and then go to RBKP for Invoice header data or go to RSEG for invoice items.
    or
    You should concatenate EKBE-BELNR and EKBE-GJAHR (for example MIRO document number is 5105601096 and fiscal year is 2009, after concatenating it's being 51056010962009) and go to BKPF table and select data using
    AWTYP = 'RMRP' and
    AWKEY = <concatenate BELNR & GJAHR>
    For items on FI, you should go to BSEG with using BKPF-BUKRS, BKPF-BELNR and BKPF-GJAHR fields.
    Regards,
    Burak
    Edited by: Burak Uygur on Jul 5, 2009 10:40 PM
    Edited by: Burak Uygur on Jul 5, 2009 10:41 PM

  • Asset reports- diff. results with certain restrictions

    Hi experts,
    I have problem with asset reports (RABEST_ALV01, RAHAFA_ALV01) . When I choose company code, choose sort variant 07 (company code/ asset class),report date 31st of december 2008, depr. area 01, acquisition value lower than 995 EUR and choose "list assets" I get some result - it lists some assets which correspond the selection criteria.  When I use same input data but choose "group assets" I get only some zero values for assets under construction asset classes. And what is more confusing me, when I use variant 001 (Co. code/bus. area/bal. item/B/S acc) and the same input data with group totals  it shows some values, but it doesnt include values of some asets that previeously included in report when viewing "list assets".
    They have SAP from 2000 and this year were migrated first assets.
    Customer uses version 6.0 but the same I get at another system which has version 4.6...
    Could you please advise what is wrong here?
    Thans in advance

    Thanks Ludek, it's been a while and I've forgotten they were separate forums!
    I just wanted to add a note that I've tried deleting every field and all formulas in the report.  It now prints out a blank page for it's "good" result, but I still get a prior blank page and a printer error from the blank document.  I've also removed any actual data (left the schema), and the problem still occurs.
    I've tried connecting to the HP LaserJet 1022 locally as well as via the network.  Both connections function the same way.
    Thanks!
    Chuck

  • Report with Invoice and Accounting Document Number

    Dear Experts,
    Here i have a requirement.
    I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow on doc, then I'll get.
    But If wanna see for 1000 MIRO documents with accounting document number, then I don't want to click 1000 times to see the account doc for respective Invoice number.
    The approximate format is,
    Column 1                              Column 2     Column 3        .......................              Column n
    MIRO  (Invoice number)                             Accountting Doc Number
    5100000099                                              5100000011
    Which tcode will give the both in one screen?
    Thanks in advance
    Regards,
    navahsek

    Hi,
    Enter Sork Key 002 for Vendor Master Record.
    and also you can check the Report in ECC 6.0
    MIR5 - Display List of Invoice Documents
    There you select Export Mode --> Display Accounting Document Number.
    You can get Report FI and MM Document Numbers.
    Hope It will Clear.
    Regards,
    Kishore

Maybe you are looking for