Need a table with asset number and document number

Hi to all experts.
Im in a support project. There is an issue in the customized report the total expense for february is coming 10,322 dollars which is 322 dollars extra it should be 10,000 .but i see the table ANEP the value is 10,322 dollars,when i check the corresponding document for the asset no in bseg table im unable to find any asset no ... what could be the problem ............

Hi,
    In ANEk table ,check field BELNR . the number may be a material document no or Fi Doc no. if it is material doc no then try MIGO - Display -> doc info ->press FI Document.
Or directly try with fb03.
Or in BKPf table there will be field awkey. in that field give material doc no and material year combinely , then you will get FI Doc No. then go with bseg table.
Regards,
Ravi.

Similar Messages

  • Crystal 2011 linking table with a String and a Number

    Hello,
    I am able to retrieve the data I want with the following  SQL Query in SQL: If I try to create it in Crystal 2011 APPLRUNN is a string and CNTBTCH is a number. Is there a way I can link these two fields if one is a string and the other is a number ?
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON ENADV.APPLRUNN = ENPBD.CNTBTCH
    Thanks,
    Debbie

    Hi Debbie,
    You cannot linking  table with a string and a number. I have given a example query:
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON
    ENADV.APPLRUNN = ENPBD.APPLRUNN  or ENADV.CNTBTCH = ENPBD.CNTBTCH
    I modify last sentense because one table primary key is equal to another table Foreign key i.e
    one table ID field = another table ID field or one table NAME field = another table Name field.
    Please understand my intenction and check linking fields in tables.
    Thanks,
    DJ

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • Receivables: Diferrence between "transaction number" and "document number"

    Hi!
    What is the difference between "transaction number" and "document number" as shown in the transactions window?
    Where are they used?
    thanks!

    Transaction number is the Invoice number. It can be a manually entered number in case of manual invoices. Even in case of imported invoices, it can be a manually assigned number if the trx_number field is populated in the ra_interface_lines_all table. If you Invoice batch source setup indicates automatic transaction numbering, the transaction (invoice) number will be automatically generated sequentially. The starting number is mentioned in the Trx batch source.
    The document number is a number which is generated by Document sequencing. To have the document number generated, you have to do few Doc sequencing setups like setting the 'Sequencial Numbering' profile options, creating document sequences and assigning the sequence to the Categories. The trx types are created as categories.
    The Transaction number can be the same as the document number if you enable the option 'Copy Document number to Transaction number' in the Invoice batch source.
    Hope that helps.
    Thanks,
    Anil

  • Invoice Number and Document Number

    Are Invoice Number and Document Number in FI AR same?
    Dont they differ, I could find only one infoobject 0INV_DOC_NO relating to both.
    Is there any seperate infoobject which gives the document number in 0FIAR_C03.
    Please comment.
    Thanks.

    hi,
    are you looking for clearing doc number ?
    http://help.sap.com/saphelp_nw04s/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    0CLR_DOC_NO - source field BSID-AUGBL
    hope this helps.

  • Intrastat Output File doesnot contain VAT number and Document Number

    Hi experts,
    While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.
    I can see the Document number in Display of selection log.
    Can someone help me?
    Thanks
    Arpit

    Hi,
    Try the enhancement FTGOVSEL.
    In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)
    if c_record_intrastat-kundeuinr is initial.
       select single * from kna1
         where kunnr = c_record_intrastat-kunnr.
         if sy-subrc = 0.
            c_record_intrastat-kundeuinr = kna1-stceg.
         endif.
    endif.
    Remember update the VAT number in the customer (in this case).
    I hope this help you
    Regards,
    Eduardo

  • Suggestions for JSF table with sortale columns and Pagination

    Hi,
    My JSF application needs a table with sortable columns and also pagination.
    Thank you.

    Just add a bunch of commandlinks and/or commandbuttons at the right locations and invoke the appropriate logic in the backing bean.
    You can find some useful insights in this article: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    Adobe took down the CS and CS2 activation servers, but they put up a version of CS2 for those who previously had a license to it.
    You will need to download the software from here, and use the serial number given on these pages. Follow the directions on this link, and you will soon be up and running again.
    Error: "Activation Server Unavailable" | CS2, Acrobat 7, Audition 3

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Problem creating a table with a subquery and a dblink

    Hello!!
    I have a little problem. When I create a table with a subquery and a dblink, for example:
    CREATE TABLE EXAMPLE2 AS SELECT * FROM EXAMPLE1@DBLINK
    the table definition is changed. Fields with a type of CHAR or VARCHAR2 are created with a size three times bigger than the original table in the remote database. Field of type DATE and NUMBER are not changed. For example if the original table, in the database 1, has a field of type CHAR(1) it is create in the local database with a type of CHAR(3), and a VARCHAR2(5) field is created with VARCHAR2(15).
    Database 1 has a WE8DEC character set.
    Database 2 has a AL32UTF8 character set.
    Could it be related to the difference in character sets?
    What can I do to make Oracle use the same table definition when creating a table in this way?
    Thanks!!

    That is related to character sets, and probably necessary if you want all the data in the remote table to be able to fit in the new table.
    When you declare a column VARCHAR2(5), by default, you're allocating 5 bytes of storage. In a single-byte character set, which I believe WE8DEC is, that also happens to equate to 5 characters. In a multi-byte character set like AL32UTF8, though, 1 character may require up to 3 bytes of storage, so you'd need to allocate 15 bytes to store that data. That's what's going on here.
    You could still store all the data if you create the table locally by explicitly requesting 5 characters of storage by declaring the column VARCHAR2(5 CHAR). You could also set the NLS_LENGTH_SEMANTICS parameter to CHAR rather than BYTE before creating the table, but I believe that both of these will only apply when you're explicitly defining columns as part of your CREATE TABLE. I don't believe either will apply to CTAS statements.
    Justin

  • Asset warranty and lease number

    Why can i use the asset warranty twice for differents assets is not a unique register or it can be use for others assets?
    Why can i use the lease number for two differentes assets is not a unique register,?
    Does the securty book restrict the lease number and warranty number form another books??

    The first year of warranty goes by serial number no matter who owns it. If you have AppleCare on the product and sell it, you need to transfer that AppleCare Plan to the new owner.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Checking balances with asset register and Trial balance

    Hi ,
    Need to develop a report for checking balance with asset register  and Trial balance. Now asset balances and TB is not matching. We need report at Plant level. pls suggest
    Regards

    Hi,
    In the most reports you can select current book value (you first have to select ALL SELSECTIONS)
    These values are the same as on FI on your G/L accounts

  • Posting MIRO with reference to MIGO document number

    Hi,
    Is there any way of posting a vendor invoice in MIRO, taking MIGO document number as the reference instead of PO or Delivery Note reference?
    Muru

    Hi,
    In MIGO you mention the delivery note in the header part.
    There is a drop down in MIRO transaction where we enter PO number, please check and you will find the "Delivery Note" option in the drop down list.
    you can do the MIRO with reference to this Delivery Note number from this option.
    (Just make sure, that you have selected the "GR based IR" indicator in the PO line item.)
    Doiong MIRO with reference to material document number of MIGO is not possible in standatd SAP.
    Regards,
    Gaurav

  • Sales order number and Allocation Number  in one table

    Hi Frnds,
      We are using ECC 6.0 AFS , i  need sales order number and Allocation number in one table ? I wanted to know how many times they have done the allocation for a particualr sales order ??
    Regards
    Rakesh

    I Have got the tables, there are two tables
    1) /AFS/ARUN_PROT -- AFS log file for arun.
    2) /AFS/ARUN_PROI -- AFS Requirement unable to asign.
    regards
    rajesh

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

Maybe you are looking for