Problem in Asset

I am going to post one entry from F-90, which is related to my CWIP Asset. But while I am going to post the entry system gives me this error-
**SYST: Abnormal termination (ANLB-LGJAN not equal to ANLC-GJAHR) Asset VALC0000019874790000**
**Message no. AA698**
**Asset affected: 000001987479-0000**
**Diagnosis**
**Processing terminated due to a system error.**
**System Response**
**Internal tables ANLB-LGJAN and ANLC-GJAHR of asset VALC0000019874790000 are not synchronous.**
**Procedure**
**Contact your system administrator.**
I checked from AW01N for this particular CWIP asset, opening and closing value are not same. And the value in the table (as per error) are not same.
Can any one please tell me waht is the probale solution?

Dear,
PRADIPFI.
This error is occurs mainly because of not performing a fiscal year change.  
The error occurs beaucse of :-
1 ) Field ANLB-LGJAN contains a smaller fiscal year, for example 1997, although there have already been entries for the fiscal year 1998 in table ANLC. In this case, implement the correction from Note 162756 if it is not yet contained in your system and then repeat the fiscal year change.
2 ) Field ANLB-LGJAN contains a smaller fiscal year, for example 1997, although there are ONLY entries for fiscal year 1998 in Table ANLC and none for fiscal year 1997.
Implement the appended correction instructions for the fiscal year change and for the master data to prevent the error from occurring in the future.
3 ) Field ANLB-LGJAN contains a greater fiscal year, for example 1998, although there are no entries for the fiscal year 1997 in table ANLC. In this case, use the attached correction program RACORR95. Here you must generally also repeat the fiscal year change as described in Note 46905.
Please refer sap note :-  1078233 & 1368874.
[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1078233]
Please go through above said causes. Check the table entries carefully. If you have any doubts feel free to share.
Regards,
Pankaj A Bhalerao.

Similar Messages

  • Problem in Asset value calculation ... ANEP and ANLC

    Hellö ,
    We have a problem in calculation of the Fixed Asset values. Please see the link below for the problem. Technically it sums up like transaction values are available in the table ANEP but ANLC table is with the wrong value, Some of the transactions are not reflecting in the calculations of planned values for some of the Assets.
    http://docs.google.com/View?id=ddqnbgm8_49cmgq86gx
    We develop and implemented a functionality with the next
    characteristics:
    a. When we ran the MIRO transaction to a fixed asset situation, a
    substitution in accounting documents (using a user-exit ) determines
    the profit center to the fixed asset and insert the line
    item in a custom table.
    b. The custom program identifies all pending line items for processing
    (via custom table) and, for each fixed asset identified, reverse the
    original accounting document, and post the fixed asset in the profit
    center '04219CL000'. To do this movement between the profit
    center '04106CL000' and '04219CL000' the custom program uses a zero
    balance account.
    c. First of all, the custom program set the Field <negative values>
    (BAPI1022_DEP_AREAS- NEG_VALUES) using the function
    BAPI_FIXEDASSET_CHANGE. Later the custom program post the accounting
    document using the function BAPI_ACC_GL_POSTING_POST;
    d. In less than 1% of the cases the fixed asset posted in this process
    it seems with a problem: the asset line itens (transactions  - ANEP
    table) where correct posted but the fixed asset acquisition values
    (ANLC table) where posted in a wrong way (it's initialized - without
    any value sometime or not summing up some transaction values properly).
    e. Our custom program does not update any field value on the asset.
    All the modifications on the asset are being made by the standard
    functions above.
    Edited by: Ravi Sharma on Jun 17, 2009 9:16 AM

    Hi,
    the problem is: Does anybody give you the correct value for each part?
    If you know the value for each part you can use transaction ABUMN to transfer values from one asset to a new asset. With this transaction you can create a new asset. And you can make a partial transfer.
    If you use this transaction you can simulate before you transfer it.
    But as I said the problem is to find out the correct value. In germany for example we have to activate all in one fixed asset (computer with cbu )
    Hope this answer your question.
    Best regards
    Volker

  • Problem with asset sub no (ANLN2)  urgent

    hi all experts,
    Wishing u All very Happy New Year 2007.
    in the asset aquisition report i am getting right output but only one problem is there when asset sub no is changed then i am not getting only aqusition value & Depreciation.
    what may be the problem.plz modify the logic where this is required to get the right output.
                                   REPORT Z_FA_ACQ  NO STANDARD PAGE HEADING
                     LINE-SIZE 400
                     LINE-COUNT 65(3).
    TYPE-POOLS : SLIS.
    TABLES : ANLA,                         "ASSET MASTER RECORD-SEGMENT
             ANLZ,                         "time dependent asset allocations
             ANLC,
             ANEP,
             ANEK.
    DATA : BEGIN OF T_ANLA OCCURS 0,
           BUKRS LIKE ANLA-BUKRS,
           ANLN1 LIKE ANLA-ANLN1,
           ANLN2 LIKE ANLA-ANLN2,
           AKTIV LIKE ANLA-AKTIV,
           TXT50 LIKE ANLA-TXT50,
           ZUGDT LIKE ANLA-ZUGDT,
           MENGE LIKE ANLA-MENGE,
           MEINS LIKE ANLA-MEINS,
           ANLKL LIKE ANLA-ANLKL,
           END OF T_ANLA.
    DATA : BEGIN OF T_ANLZ OCCURS 0,
           BUKRS LIKE ANLZ-BUKRS,
           ANLN1 LIKE ANLZ-ANLN1,
           ANLN2 LIKE ANLZ-ANLN2,
           GSBER LIKE ANLZ-GSBER,
           KOSTL LIKE ANLZ-KOSTL,
           STORT LIKE ANLZ-STORT,
           RAUMN LIKE ANLZ-RAUMN,
           KFZKZ LIKE ANLZ-KFZKZ,
           WERKS LIKE ANLZ-WERKS,
           END OF T_ANLZ.
    DATA : BEGIN OF T_ANEK OCCURS 0,
           BUKRS LIKE ANEK-BUKRS,
           ANLN1 LIKE ANEK-ANLN1,
           ANLN2 LIKE ANEK-ANLN2,
           BELNR LIKE ANEK-BELNR,
           BUDAT LIKE ANEK-BUDAT,
           BZDAT LIKE ANEK-BZDAT,
           BLDAT LIKE ANEK-BLDAT,
           BUZEI LIKE ANEK-BUZEI,
           XBLNR LIKE ANEK-XBLNR,
           SGTXT LIKE ANEK-SGTXT,
           GJAHR LIKE ANEK-GJAHR,
           LNRAN LIKE ANEK-LNRAN,
           END OF T_ANEK.
    DATA : BEGIN OF T_ANLC OCCURS 0,
           BUKRS LIKE ANLC-BUKRS,
           ANLN1 LIKE ANLC-ANLN1,
           ANLN2 LIKE ANLC-ANLN2,
           ANSWL LIKE ANLC-ANSWL,
           NAFAP LIKE ANLC-NAFAP,
           AAFAP LIKE ANLC-AAFAP,
           AFABE LIKE ANLC-AFABE,
           GJAHR LIKE ANLC-GJAHR,
           END OF T_ANLC.
    DATA : BEGIN OF T_ANEP OCCURS 0,
           BUKRS LIKE ANEP-BUKRS,
           ANLN1 LIKE ANEP-ANLN1,
           ANLN2 LIKE ANEP-ANLN2,
           ANBTR LIKE ANEP-ANBTR,
           NAFAB LIKE ANEP-NAFAB,
           GJAHR LIKE ANEP-GJAHR,
           AFABE LIKE ANEP-AFABE,
           BELNR LIKE ANEP-BELNR,
            BUZEI LIKE ANEP-BUZEI,
            LNRAN LIKE ANEP-LNRAN,
           END OF T_ANEP.
    DATA : BEGIN OF IT_FINAL OCCURS 0,
            ANLN1 LIKE ANLA-ANLN1,
            ANLN2 LIKE ANLA-ANLN2,
            AKTIV LIKE ANLA-AKTIV,
            TXT50 LIKE ANLA-TXT50,
            ZUGDT LIKE ANLA-ZUGDT,
            MENGE LIKE ANLA-MENGE,
            MEINS LIKE ANLA-MEINS,
            GSBER LIKE ANLZ-GSBER,
            KOSTL LIKE ANLZ-KOSTL,
            STORT LIKE ANLZ-STORT,
            RAUMN LIKE ANLZ-RAUMN,
            KFZKZ LIKE ANLZ-KFZKZ,
            BELNR LIKE ANEK-BELNR,
            BUDAT LIKE ANEK-BUDAT,
            BZDAT LIKE ANEK-BZDAT,
            BLDAT LIKE ANEK-BLDAT,
            XBLNR LIKE ANEK-XBLNR,
            SGTXT LIKE ANEK-SGTXT,
            ANBTR LIKE ANEP-ANBTR,
            NAFAB LIKE ANEP-NAFAB,
            AAFAP LIKE ANLC-AAFAP,
            ANLKL LIKE ANLA-ANLKL,
            GJAHR LIKE ANEK-GJAHR,
            END OF IT_FINAL.
    *added for date logic by sanjeev
    DATA:V_LOW LIKE SY-DATUM,
        V_HIGH LIKE SY-DATUM,
        V_MON(02) TYPE N,
        V_YEAR(04) TYPE N.
    *end of date logic
    DATA : LINE_COLOR(4) TYPE C.
    DATA : FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
           GD_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: EVENT  TYPE SLIS_ALV_EVENT OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN : BEGIN OF BLOCK B_FA WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_BUKRS FOR ANLA-BUKRS DEFAULT 'ML',
                     S_ANLN1 FOR ANLA-ANLN1,
                     S_ANLN2 FOR ANLA-ANLN2,
                     S_ANLKL FOR ANLA-ANLKL,
                     S_AKTIV FOR ANLA-AKTIV,
                     S_GSBER FOR ANLZ-GSBER,
                     S_KOSTL FOR ANLZ-KOSTL,
                     S_WERKS FOR ANLZ-WERKS,
                     S_STORT FOR ANLZ-STORT,
                     S_BUDAT FOR ANEK-BUDAT.
    SELECTION-SCREEN : END OF BLOCK B_FA.
    SET PF-STATUS '100'.
    added for date logic by Sanjeev
    IF S_BUDAT-HIGH IS INITIAL.
    V_YEAR = S_BUDAT-LOW+0(4).
    V_MON = S_BUDAT-LOW+4(2).
    IF V_MON LT '04'.
    V_YEAR = V_YEAR - 1.
    CONCATENATE V_YEAR '0401' INTO V_LOW.
    V_HIGH = SY-DATUM.
    ELSE.
    CONCATENATE V_YEAR '0401' INTO V_LOW.
    V_HIGH = S_BUDAT-LOW.
    ENDIF.
    ELSE.
    V_LOW = S_BUDAT-LOW.
    V_HIGH = S_BUDAT-HIGH.
    ENDIF.
    end of logic
    SELECT BUKRS ANLN1 ANLN2 AKTIV TXT50 ZUGDT MENGE MEINS ANLKL
           FROM ANLA
           INTO CORRESPONDING FIELDS OF TABLE T_ANLA
           WHERE ANLN1 IN S_ANLN1
           AND   ANLN2 IN S_ANLN2
           AND   BUKRS IN S_BUKRS
           AND   ANLKL IN S_ANLKL
           AND   AKTIV IN S_AKTIV
           AND   ZUGDT >= V_LOW  " added to get the date logic work
           AND   ZUGDT <= V_HIGH. " added to get the date logic work
    CHECK : NOT T_ANLA[] IS INITIAL.
    SELECT BUKRS ANLN1 ANLN2 GSBER KOSTL STORT RAUMN KFZKZ
           FROM ANLZ
           INTO CORRESPONDING FIELDS OF TABLE T_ANLZ
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   GSBER IN S_GSBER
           AND   KOSTL IN S_KOSTL
           AND   WERKS IN S_WERKS.
    SELECT BUKRS ANLN1 ANLN2 BELNR BUDAT XBLNR SGTXT GJAHR BZDAT BLDAT BUZEI
            LNRAN FROM ANEK
           INTO CORRESPONDING FIELDS OF TABLE T_ANEK
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   BUDAT >= V_LOW    " added to get the date logic work
          AND   BUDAT <= V_HIGH  " added to get the date logic work
    AND BZDAT >= V_LOW AND BZDAT <= V_HIGH
    AND BLDAT >= V_LOW AND BLDAT <= V_HIGH.
    SELECT BUKRS ANLN1 ANLN2 ANSWL NAFAP AAFAP AFABE GJAHR
           FROM ANLC
           INTO CORRESPONDING FIELDS OF TABLE T_ANLC
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   AFABE = '01'.
    SELECT BUKRS ANLN1 ANLN2 ANBTR NAFAB GJAHR AFABE BELNR BUZEI LNRAN
           FROM ANEP
           INTO CORRESPONDING FIELDS OF TABLE T_ANEP
           FOR ALL ENTRIES IN T_ANLA
           WHERE ANLN1 = T_ANLA-ANLN1
           AND   ANLN2 = T_ANLA-ANLN2
           AND   BUKRS = T_ANLA-BUKRS
           AND   AFABE = '01'
    AND BZDAT >= V_LOW AND BZDAT <= V_HIGH.
    SORT T_ANLC BY BUKRS ANLN1 ANLN2.
    SORT T_ANLZ BY BUKRS ANLN1 ANLN2.
    SORT T_ANEP BY BUKRS ANLN1 ANLN2 BELNR BUZEI LNRAN.
    LOOP AT T_ANLA.
      MOVE : T_ANLA-ANLN1 TO IT_FINAL-ANLN1,
             T_ANLA-ANLN2 TO IT_FINAL-ANLN2,
             T_ANLA-AKTIV TO IT_FINAL-AKTIV,
             T_ANLA-TXT50 TO IT_FINAL-TXT50,
            t_anla-zugdt TO it_final-zugdt,
             T_ANLA-MENGE TO IT_FINAL-MENGE,
             T_ANLA-MEINS TO IT_FINAL-MEINS.
      READ TABLE T_ANLZ WITH KEY BUKRS = T_ANLA-BUKRS
                                 ANLN1 = T_ANLA-ANLN1
                                 ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
      IF SY-SUBRC EQ 0.
        MOVE : T_ANLZ-GSBER TO IT_FINAL-GSBER,
               T_ANLZ-KOSTL TO IT_FINAL-KOSTL,
               T_ANLZ-STORT TO IT_FINAL-STORT,
               T_ANLZ-RAUMN TO IT_FINAL-RAUMN,
               T_ANLZ-KFZKZ TO IT_FINAL-KFZKZ.
      ENDIF.
      READ TABLE T_ANLC WITH KEY BUKRS = T_ANLA-BUKRS
                                 ANLN1 = T_ANLA-ANLN1
                                 ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
      IF SY-SUBRC EQ 0.
        MOVE : T_ANLC-AAFAP TO IT_FINAL-AAFAP.
      ENDIF.
    added to get the date logic work
    LOOP AT T_ANEK WHERE BUKRS = T_ANLA-BUKRS AND ANLN1 = T_ANLA-ANLN1 AND
        ANLN2 = T_ANLA-ANLN2 AND BZDAT >= V_LOW AND BZDAT <= V_HIGH
    AND BLDAT >= V_LOW AND BLDAT <= V_HIGH.
        MOVE : T_ANEK-BELNR TO IT_FINAL-BELNR,
               T_ANEK-BUDAT TO IT_FINAL-BUDAT,
               T_ANEK-BZDAT TO IT_FINAL-BZDAT,
               T_ANEK-GJAHR TO IT_FINAL-GJAHR,
               T_ANEK-XBLNR TO IT_FINAL-XBLNR,
               T_ANEK-SGTXT TO IT_FINAL-SGTXT.
    READ TABLE T_ANEP WITH KEY BUKRS = T_ANEK-BUKRS
                               ANLN1 = T_ANLA-ANLN1
                               BELNR = T_ANEK-BELNR
                               BUZEI = T_ANEK-BUZEI
                               LNRAN = T_ANEK-LNRAN
                               ANLN2 = T_ANLA-ANLN2.
    MOVE : T_ANEP-ANBTR TO IT_FINAL-ANBTR,
            T_ANEP-NAFAB TO IT_FINAL-NAFAB.
        APPEND IT_FINAL.
      ENDLOOP.
    ENDLOOP.
    PERFORM BUILD_FIELDCATALOG.
    PERFORM DISPLAY_ALV_REPORT.
    PERFORM BUILD_LAYOUT.
          FORM BUILD_FIELDCATALOG                                       *
    FORM BUILD_FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANLN1'.
      FIELDCATALOG-SELTEXT_M = 'ASSET MAIN NO'.
      FIELDCATALOG-COL_POS   = 0.
      FIELDCATALOG-OUTPUTLEN = 14.
      FIELDCATALOG-EMPHASIZE = 'X'.
      FIELDCATALOG-KEY       = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANLN2'.
      FIELDCATALOG-SELTEXT_M = 'SUB NO'.
      FIELDCATALOG-COL_POS   = 1.
      FIELDCATALOG-OUTPUTLEN = 7.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'AKTIV'.
      FIELDCATALOG-SELTEXT_M = 'CAP.DATE'.
      FIELDCATALOG-COL_POS   = 2.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'TXT50'.
      FIELDCATALOG-SELTEXT_M = 'NAME'.
      FIELDCATALOG-COL_POS   = 3.
      FIELDCATALOG-OUTPUTLEN = 50.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'BUDAT'.
      FIELDCATALOG-SELTEXT_M = 'POSTING DATE'.
      FIELDCATALOG-COL_POS   = 4.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'MENGE'.
      FIELDCATALOG-SELTEXT_M = 'QTY'.
      FIELDCATALOG-COL_POS   = 5.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'MEINS'.
      FIELDCATALOG-SELTEXT_M = 'UNITS'.
      FIELDCATALOG-COL_POS   = 6.
      FIELDCATALOG-OUTPUTLEN = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'GSBER'.
      FIELDCATALOG-SELTEXT_M = 'BA'.
      FIELDCATALOG-COL_POS   = 7.
      FIELDCATALOG-OUTPUTLEN = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'KOSTL'.
      FIELDCATALOG-SELTEXT_M = 'COST CENTER'.
      FIELDCATALOG-COL_POS   = 8.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'STORT'.
      FIELDCATALOG-SELTEXT_M = 'LOCATION'.
      FIELDCATALOG-COL_POS   = 9.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'RAUMN'.
      FIELDCATALOG-SELTEXT_M = 'ROOM'.
      FIELDCATALOG-COL_POS   = 10.
      FIELDCATALOG-OUTPUTLEN = 10.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'KFZKZ'.
      FIELDCATALOG-SELTEXT_M = 'LICENSE PLATE NO'.
      FIELDCATALOG-COL_POS   = 11.
      FIELDCATALOG-OUTPUTLEN = 20.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'BELNR'.
      FIELDCATALOG-SELTEXT_M = 'DOC NO'.
      FIELDCATALOG-COL_POS   = 12.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'BZDAT'.
      FIELDCATALOG-SELTEXT_M = 'ASSET VAL DATE'.
      FIELDCATALOG-COL_POS   = 13.
      FIELDCATALOG-OUTPUTLEN = 15.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'XBLNR'.
      FIELDCATALOG-SELTEXT_M = 'REF NO'.
      FIELDCATALOG-COL_POS   = 14.
      FIELDCATALOG-OUTPUTLEN = 25.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'SGTXT'.
      FIELDCATALOG-SELTEXT_M = 'TEXT'.
      FIELDCATALOG-COL_POS   = 15.
      FIELDCATALOG-OUTPUTLEN = 50.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'ANBTR'.
      FIELDCATALOG-SELTEXT_M = 'ACQ VAL'.
      FIELDCATALOG-DATATYPE     = 'CURR'.
      FIELDCATALOG-DO_SUM = 'X'.
      FIELDCATALOG-COL_POS   = 16.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'NAFAB'.
      FIELDCATALOG-SELTEXT_M = 'ORD.DEP'.
      FIELDCATALOG-DO_SUM = 'X'.
    FIELDCATALOG-DATATYPE     = 'CURR'.
      FIELDCATALOG-COL_POS   = 17.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
      FIELDCATALOG-FIELDNAME = 'AAFAP'.
      FIELDCATALOG-SELTEXT_M = 'UNPLAN DEP'.
      FIELDCATALOG-COL_POS   = 18.
      FIELDCATALOG-OUTPUTLEN = 13.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR FIELDCATALOG.
    ENDFORM.
          FORM BUILD_LAYOUT                                             *
    FORM BUILD_LAYOUT.
      GD_LAYOUT-ZEBRA = 'X'.
      GD_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
    ENDFORM.
          FORM DISPLAY_ALV_REPORT                                       *
    FORM DISPLAY_ALV_REPORT.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            I_INTERFACE_CHECK        = ' '
             I_CALLBACK_PROGRAM       = SY-REPID
            i_callback_pf_status_set = '100'
            i_callback_user_command  = sy-ucomm
            I_STRUCTURE_NAME         =
             IS_LAYOUT                = GD_LAYOUT
               IT_FIELDCAT              = FIELDCATALOG[]
            IT_EXCLUDING             =
            IT_SPECIAL_GROUPS        =
            IT_SORT                  =
            IT_FILTER                =
            IS_SEL_HIDE              =
            I_DEFAULT                = 'X'
            I_SAVE                   = ' '
            IS_VARIANT               = ' '
            IT_EVENTS                =
            IT_EVENT_EXIT            = EVENT[]
            IS_PRINT                 =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
           TABLES
                T_OUTTAB                 = IT_FINAL
           EXCEPTIONS
                PROGRAM_ERROR            = 1
                OTHERS                   = 2.
    ENDFORM.
    AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN 'EXCEL'.
          PERFORM DOWNEXCEL.
      ENDCASE.
          form downexcel                                                *
    FORM DOWNEXCEL.
       DATA : B_FILE1 LIKE RLGRAP-FILENAME.
    CALL FUNCTION 'WS_FILENAME_GET'
         EXPORTING
              DEF_FILENAME     = ' '
              DEF_PATH         = 'C:\'
              MASK             = ',.,..'
              MODE             = 'S'
              TITLE            = 'SAVE THIS AS'
         IMPORTING
              FILENAME         = B_FILE1
           rc               =
          EXCEPTIONS
               INV_WINSYS       = 1
               NO_BATCH         = 2
               SELECTION_CANCEL = 3
               SELECTION_ERROR  = 4
               OTHERS           = 5.
      CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            BIN_FILESIZE            = ' '
               CODEPAGE                = 'IBM'
               FILENAME                = B_FILE1
               FILETYPE                = 'DAT'
               MODE                    = 'A'
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
           TABLES
                 DATA_TAB                = IT_FINAL
            fieldnames              =
            EXCEPTIONS
                 FILE_OPEN_ERROR         = 1
                 FILE_WRITE_ERROR        = 2
                 INVALID_FILESIZE        = 3
                 INVALID_TABLE_WIDTH     = 4
                 INVALID_TYPE            = 5
                 NO_BATCH                = 6
                 UNKNOWN_ERROR           = 7
                 GUI_REFUSE_FILETRANSFER = 8
                 OTHERS                  = 9.
    ENDFORM.
    Message was edited by: sanjeev
            sanjeev singh

    Hi Prabhu,
    THanks for the update but I couldn't find Capitalized Date in BAPI.
    I am again getting a new problem please check the following link for my post and let me know if you have come across such issue.
    LSMW - Fixed Assets "unexpected record type" problem
    Thanks,
    Asha.

  • Problem with asset class

    Dear Experts:
                           I have a query.Its regarding Asset master data. When i open an asset in class of Motor vehicle, in input data i also input Quantity (mostly 1) But after creation asset master data of the asset created shows its quantity as 3. Please note that i do not use any reference while creating it. Please guide what possible problem can be.
    Regards

    Hi,
    As per the SAP standard setting, we are not suppose to enter the quantity value in the qty field at the time of asset master creation.
    Since qty value will be updated automatically while doing MIGO / F-90 only.
    If you enter 1 earlier, then if you do MIGO / F-90 or 1 qty, then after posting of your acq entry, your asset will have 2 qty altogether. Prerequisite for this is that,  the unit of measure in asset master and purchase order should match.
    Coming to your issue, please make sure that, you have not posted any MIGO / F-90 entries to those 2 questioned assets.
    Please check.
    Regards,
    Srinu

  • Problem in assets at the time of upload

    Hi All
    I have a problem.  In the month of Feb. 2009 we went for upload of assets from our previous company code to new company code..
    All the assets were uploaded through FB01( manually).
    The asset report got tallied with the GL balances in March 2009.
    But now problem arises with 4 assets that were uploaded in Feb . with other assets.. These 4 assets are the differences for the reconcilation in GL balances for the quarter closing June 2009. October 2009 and December 2009 with balance sheet balances( FS10N).
    There is no depreciation  deducted for these assets in the quarter ending June , Sept and dec. depreciation run... even the planned depreciation is not calculated in the asset history........
    The balances coming in the reports are ZERO for these four assets while there is actual balances in BALANCE SHEET for these assets........
    Please help  me and guide me to know how these assets can be picked up by the asset report further ho wdepreciation will be deducted  on these assets........
    Regards
    Ruby

    HI,
    i feel the depreciation key assigned to the master data must have been played about .... i suggest you to chek the customization for the depn key .
    regards
    sayeed

  • Problem with Asset?

    Hi,
    I am working on real time but dealing with assets in real time. I am facing problems as when
    1) I am trying to purchase or run Depreciation it gives the error message "No Funds Center has been derived for the line item XXXX" but when I open the Additional data option it gives me no option for Funds Center, WBS or I/O.
    2) When I try to transfer any asset system comes out with the error message " Account 1035001 is not a reconciliation account" it is a Downpayment G/L that has been assigned in AO90.
    What shall I do. How to proceed please answer asap.
    Thanks in advance
    Nitin

    Hi Nitin,
    1. You would have been Cost centre in asset master record & Cost centre assign to Fund centre in FMDERIVER,so that system automatically picks the same FUnd centre while purchasing the asset and run depreciation.
    2. You must define Capital down paymetns account as Reconcialtion account. You must assign reconcilation type as ASSET in GL master data
    Rgds
    Suma

  • Problem in Asset Settlement Reversal

    Hi,
    I have settlement of around 40 assets out of 2 have some problem. They posted in GL account but not shown in asset account and give document no.
    Then I want to reverse  that asset settlement doc. With t-code: AIST. But its display error message:u201D Acquisition value negative in area 01u201D
    Message no. AA617
    Please let me know how I can solve it.
    Rgds,
    Hemant Maurya

    Hi,
    Please let us know, how the asset was settled to GL account by-passing the asset module.
    Basically, what I could understand is that there is no asset value in asset module.
    When you are trying to reverse the settlement, since there is no value in the asset, system will not allow you to post it, since it would result in negative balance in asset..

  • Problem in Asset reversal using AB08

    Hi
    We have a process where by all assets purchased are first put in CWIP account and later when put to use we capitalise. At that time i settle the cwip asset to normal asset.
    In one case I need to reverse the settlement T  code AB08. When I try to do this I get an error. The message says negative values not allowed in dep area 15.Message No AA617.
    In the group asset used for Tax Dep the values are less than the revarsal I need to do.
    I have not yet run depriciation for that period.
    How do I reverse the asset ?
    regards
    sameer

    Hi,
    Could you please active 'allow negative value' setting in the dep. area cofiguration or in the relevant asset master data? Please also take a look at Note 141656 as additional information.
    Regards
    Ravinagh Boni
    Rewards me if it useful

  • Problem about Asset Deletion and Blocking

    Hi Gurus:
    I want to know what difference is between deletion and blocking of fixed asset? Please give me some more information, thanks!

    Hi,
    Please refer to the following explanation:
    Asset blocking: Set the blocking indicator in the asset master record. Once the blocking indicator is set, you can no longer post acquisitions to this asset. The idea behind this, for example, is to prevent future postings to an asset under construction once the project is complete. After approval, the asset can be unblocked and reuse it again.
    Asset deletion: You can delete an asset master record to which no postings have been made, directly online, without archiving. In addition, it is also possible to manually delete old assets (legacy assets from your previous system) during the asset data transfer process.
    Hope can help you!
    Regards
    Tao

  • Problem with Asset Memo value

    Just a memo value of 1 which we configured in OAYI.
    Previously the asset depreciated until there was a value of 1 left. Now it depreciates to 0 and then plans to reverse the 1 each month until period 12 when it finally posts it.
    Can you please advice if there is any other setting to be made in any tcode to ensure the asset depreciated until there is a value of 1 left and not to zero and then reverse 1.
    Thanks.

    Hi,
    recently I had the same case and it was solved by note 1445133.
    Please check it, even if it not exactly suit to this case.
    regards Bernhard

  • Problem in Asset update - AS02

    Hi
    When I tried to update "Inventory number", system show the asset record message, when I check new value on AS03 "Inventory number" is equal to space.
    I have all autorization to update on AS02, but I don't know why this field "Inventory number" on new values is recorded with space.
    Thanks in advance.

    Hi,
    When you define an asset class, you have the option of activating inventory data for the asset by selecting the checkbox "Include asset" in OAOA. This indicator is usually selected for assets like plant & machinery, office furniture etc. the inventory of which need to be managed.
    Hence, please check if the asset class, to which the asset in question belongs, has "inventory data" activated in asset class configuration.
    Hope that helps. Let me know.
    Regards,
    Soumya

  • Problem in asset master upload

    hi
    while i am uploading asset master in Production server, i am getting error
    "Current fiscal year 2007 has to be after transfer date 31.03.2008"
    In OB52 i have opened only 1st period of 2008 and in Asset Data Transfer i maintained as 31.3.08.
    I am uploading assets upto 31.3.08 only.
    if any one knows the solution pls let me know
    its urgent
    i will assign points

    Hello friend,
    Use the TCode - AJRW to open the next fiscal year i.e. 2008 in Asset Accounting in your case.
    In the screen Asset Fiscal Year Change give the following inputs
    Company Code - XXXX (Your CoCd for which you want to do the legacy Assets upload)
    New Fiscal Year - 2008
    Remove the Test Run Check Box
    Go to Program menu and click on Execute in Background
    Give the printer name in the screen you get
    Pres enter
    In the next screen select Immediate check box
    Click on Save button
    System will run a background job
    Go to job overview screen and ensure the job got completed successfully.
    Then you start uploading the Assets
    Regards,
    Rabi.

  • Performance problem of asset selection statement.

    Hi guys quick question.
    SELECT a~bukrs
               a~anln1
               b~anln2
               a~anlkl
               a~aktiv
               a~txt50
               a~lvtnr
               b~afabe
               b~afabg
               b~ndjar
               b~ndper
               INTO TABLE it_anla
               FROM anla AS a
               INNER JOIN anlb AS b
               ON a~bukrs EQ b~bukrs
               AND a~anln1 EQ b~anln1
               WHERE a~bukrs IN s_bukrs
               AND a~anln1 IN s_anln1
               AND a~anln2 EQ '0000'
               AND a~anlkl IN s_anlkl
               AND a~aktiv EQ '00000000'
               AND a~lvtnr IN s_lvtnr
               AND b~afabe EQ 01.
    I have a select statement which is filtered by capitalization date which is the field AKTIV. This select alone has 450 thousand hits. Having an ANLN2 = 0 and AKTIV  = blank/no date means that the asset group is no longer active.
    Now for another scenario I have to retrieve table ANLA again excluding all the Main Asset Number/ANLN1 found on that table.
    Is there a way to select by doing it only once?
    I tried to pass all the anln1 to a range table but the program dumps. I think the range table can't handle too many entries.
    Retrieving all the entries from the DB then processing it takes longer.
    I tried to delete the table using a loop but it takes to long as it process the table every loop.
    LOOP AT it_anla WHERE anln2 EQ '0000' AND aktiv EQ '0000000'.
          DELETE it_anla WHERE bukrs EQ it_anla-bukrs AND anln1 EQ it_anla-anln1.
        ENDLOOP.
    Thanks.
    Edited by: Thomas Zloch on Sep 21, 2010 5:39 PM - please use code tags

    Moderator message - Welcome to SCN
    If the range table for anln1 is large and contains distinct values, you can try using it in a FOR ALL ENTRIES construct rather than IN.
    Rob

  • Depreciation as per IT act India problem in asset acquisition for less then 180 days.

    Dear All,
    As requested by our client we need to configure depreciation as per IT act.We are using fiscal year variant K4(Oct to Sept) in our company code but as per specification from client we need to use fiscal year variant (April to March) for reporting purpose as per IT act.While posting for asset acquire for less then 180 days asset is not coming in display as per Indian Income tax report(J1IDISPBLK - Display Transaction Details at Asset Level).
    We also try to use V3 (fiscal year variant as maintained for Indian IT act with period control "IT").But while putting V3(Fsv) for Depreciation area 15 (Financial Accounting (New) > Asset Accounting > Valuation > Fiscal Year > Fiscal Year Variants) got error that Fiscal year should be same as of company code.In this case we are not able to configure it.Kindly advice if anybody has configured this.

    Hi Sudheer,
    This 180 days calculation can be done for Income tax depreciation if you provide the below details in the income tax related depreciation key
    Base method: IND1
    Declining Balance method: I01 to .... (whatever is available in F4 option based on rates you select)
    Period control: IN1
    Multi level method: M1 to M9 as provided by standard SAP
    Class: 2 Declining balance depreciation
    Change method: No automatic changeover
    Multiple shift: 2 no effect on depreciation and useful life
    Scrap value: 3 cut off value is ignored
    shutdown: No
    If you follow the above details in the depreciation key, then you will get that 180 days calculation. ie., from 1st april to 30th september if you capitalise any asset, your system will calculate full depreciation and from 1st october to 31st march if you capitalise any asset, you system will calculate 180 days depreciation.
    Hope this helps. Assign points if useful
    Regards
    Dwarak

  • Hi SAP Guy's here my problem in ASSET PROCUREMENT

    Hi..
    One Issue for Asset procurement.
    In May month PO created for asset, byt they are wrong entered the asset numbers,
    In June nonth GR posted & Invoice is also parked.
    now they want to changes in PO to enter the correct asset number,
    how it is possible? (PO changes/delete&create new PO)

    Hi
    You need to reverse the GR and Delete the line item in Purchase order and enter the new line item in same purchase order.
    Then do the GR and IR.
    Regards
    Ramakrishna

Maybe you are looking for

  • Merge xml source files; 1:n relationship

    Hi! All samples I have checked are based on 1:1 relationship between master and detail data set. For example: Exactly one xml file will be loaded depending on which element of the master xml file is selected. http://labs.adobe.com/technologies/spry/s

  • How to display employee lower hierarchy.

    Hi all,     I am trying to generate a report of manager's lower hierarchy, As to get all the employee who are working under particular manager. But, I want to get his under working employee's under working employee and so on..,    I think we have to

  • Blank PDF files in Crystal 8.5

    Hello, I have one application in VB 6.0 with Crystal 8.5. In this application I have a lots of reports (rpt files). All are working without problems when I export to pdf format, but I have one report with 6 sobreports. When I export to pdf and the re

  • Removing Photos that were manually added to the iPhone

    So I had these photos in a folder on my desktop that I decided to manually add to the iPhone. I dragged the group of photos to the iPhone icon in iTunes and it worked. But now I want to delete them and I am not able to. Does anyone know how to take t

  • I want to use my Imac in a cramped space

    How do I remove the stand? is this possiable? Can you do it easy? thank you