Deletion of Assets in the PO line item

Hi Gurus,
We have a PO containing 7 different assets.  The assets were GRd and invoice was also entered in MIRO last November.
Start of depreciation for these assets were also done last November 2011.  However, some problem were encountered with the vendor which will require one of the seven assets to be deleted in the PO. The asset to be deleted is valued at 67,500.00 and it's net book value at the end of 2011 is 66,725.00.
When we tried to reverse the GR Reversal, an error was encountered saying that Line item causes scrap value of 1.00 to be violated.
Thanks,
Ellicec

Hi,
I dont think so that you can directly reverse the asset GRN without reversing the concerned MIRO document.
Rather you can retire the same asset as on GRN date only, since here you dont need to reverse documents anymore.
Else, please check your scrap value settings for your company code in OAAW & OAYI.
Regards,
Srinu

Similar Messages

  • Strike Through in ADOBE appears in the subsequent line items

    Hello ADOBE Forms creators;
    I am using the functionality of Strike through(line through) in my PO line items if the line item is deleted. However, in the following line item which is not marked as deleted if some of the fields have the same value as the deleted item, for example: if the quantity in the previous line(the deleted line item) is 5 and in the current line is also 5, this quantity in the current line item which is not marked as deleted gets the strikethrough as well. But if the value is not the same it will not get the strike through.
    Can anyone put some light into this issue. The points will awarded to the correct answer(s).
    Thanks,
    Cyrus

    What you are seeing is exactly as you described....ie. when the fields match in value, it applies to all. This has do to how you are navigating your DOM there in your Javascript. You are not making use of any indexing....just simply saying "any of my field values for quantity, apply this style". You are "referencing by name" to your fields.
    You have:
    this.parent.items.QUANTITY.blah.blah
    when it should look something like (forgive me but off top of my head....look/search for correct syntax)....
    this.parent.list.items[index].QUANTITY.blah.blah
    basically you need to find the index of your "QUANTITY" children (and other like named fields). They are all "named" the same, so they will have some kind of index to resolved them correctly. It might be an index after "QUANTITY". I am guessing you will look at the index for IND_TXT and then find all other fields with that same index (ie. same row?).
    Hope this helps.

  • Asset No. of the scrapped asset not appearing in the GL Line item display

    Hi Friends,
    As a part of the year end process the users have written of some of the assets thru T Code "ABAVN" - Asset Scrapping without revenue. The losses arising were posted to the particular GL Account as was defined in the config. However, when viewing the GL line item display we are not able to see the Asset No. against each of the line representing the loss arising from the scrapping of the asset. We tried changing the layout but still the asset no. does not get populated in the Asset column. Would need the help of freinds as to how can we change the settings so that against line item in GL we are able to see the Asset No. as well.
    Thanks!
    Regards,

    Haven't tried it before but perhaps you could try using asset no. sort keys in the 'retirement loss' gl account.
    Think the asset no. appears only on the asset cost and acc.depreciation line items ie. offsetting accounts don't have such.

  • Delete the perticuler Line Items of PURCHASE ORDERS.

    Hi Friends,
    i want delete the perticuler Line Items of PURCHASE ORDERS.
    EXAMPLE :
    I HAVE ONE PO  : 2000010.
    IT HAVING 10 LINE ITEMS. LIKE 1 , 2 , 3 , 4 ,5 ,6 ,7 ,8 ,9 , 10.
    FOR THIS PO , I WANT DELETE THE 5TH LINE ITEM.
    MEAN FOR PERTICULAR PO I WANT DELETE ITS SPECIFIC LINE ITEM NO.
    ANYBODY EXPLIAN..
    THANKS

    Are you looking to do this from an ABAP program or from the PO Screens?   EKPO does have a field for the Deletion Indicator.  Is there a reason why you would choose to do this from an ABAP program rather than the ME22n?

  • Add field 'asset' in sales order line item account assignment tab

    Hi,
    I would like to add the following field: 'asset' in sales order line item account assignment tab.
    I can enter order, or wbs, but not Asset.
    How can I make this field visable?
    Anybody?
    thanks,
    klundert
    Edited by: Eric Van Zundert on Oct 30, 2010 8:43 AM

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • Issue while UNDELETE the PO line item

    Hi MM Sapperu2019s,
    I am facing an issue where one of my user wrongly activated the deletion for 1 line item in the PO and now when I tried to undelete the PO line item it was giving me the below error,
    Error as Requisition XXXXXX, item XXXX, assigned to other order account
    Message no. 06251
    Please help me to fix this issue.
    PS:
    I have found similar SDN links but where the issue is PO has linked with Sale order and in my case the PO account assignment has linked with network.
    Moderator do not lock this query saying that similar issue has been already discussed
    Awaiting for the experts reply.
    Cheers,
    Kumar.S

    Is that the background to your problem:
    you have a requisition and you created a PO 1 for this requisition,
    then you deleted the PO 1 and requisition became open again,
    then the requisition was change in account assignment
    and then you created a PO 2 for this requisition.
    what do you expect from re-opening the PO 1?

  • Only the last line item is shown in main window...

    Hello Experts,
    I created a custom form for the standard checque program RFFOUS_C. Now, in my MAIN window, I
    called a subroutine in a custom program which loops through the line items but the problem is
    only the last line item is being shown. I tried using CONTROL_FORM to create a new line
    but it does not work. Note that I did not customize RFFOUS_C since it is being used by
    multiple companies. Below is my code:
    SAPSCRIPT:
    510-C
    Begin of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    DEFINE &LTYC_XBLNR& = ''
    DEFINE &LTYC_BLDAT& = ''
    DEFINE &LTYC_SGTXT& = ''
    DEFINE &LTYC_DMBTR& = ''
    PERFORM WRITE_LINE_ITEMS IN PROGRAM Z9999RFI_Z2574FFI_RA
    USING &REGUH-LAUFD&
    USING &REGUH-LAUFI&
    USING &REGUH-XVORL&
    USING &REGUH-ZBUKR&
    USING &REGUH-LIFNR&
    USING &REGUH-VBLNR&
    CHANGING &LTYC_XBLNR&
    CHANGING &LTYC_BLDAT&
    CHANGING &LTYC_SGTXT&
    CHANGING &LTYC_DMBTR&
    ENDPERFORM
    PROTECT
         &LTYC_XBLNR&     &LTYC_BLDAT&     &LTYC_SGTXT&     &LTYC_DMBTR&
    ENDPROTECT
    End of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    PROGRAM:
    IF gt_regup[] IS NOT INITIAL.
        CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION                       = 'TX'
    *         ARCHIVE_INDEX                     =
    *         ARCHIVE_PARAMS                    =
    *         DEVICE                            = 'PRINTER'
    *         DIALOG                            = 'X'
             form                              = lcc_z2574ffi_ra
    *         LANGUAGE                          = SY-LANGU
    *         OPTIONS                           =
    *         MAIL_SENDER                       =
    *         MAIL_RECIPIENT                    =
    *         MAIL_APPL_OBJECT                  =
    *         RAW_DATA_INTERFACE                = '*'
    *         SPONUMIV                          =
    *       IMPORTING
    *         LANGUAGE                          =
    *         NEW_ARCHIVE_PARAMS                =
    *         RESULT                            =
           EXCEPTIONS
             canceled                          = 1
             device                            = 2
             form                              = 3
             OPTIONS                           = 4
             unclosed                          = 5
             mail_options                      = 6
             archive_error                     = 7
             invalid_fax_number                = 8
             more_params_needed_in_batch       = 9
             spool_error                       = 10
             codepage                          = 11
             OTHERS                            = 12.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        LOOP AT gt_regup INTO lw_regup.
          m_line_items 'LTYC_XBLNR' lw_regup-xblnr.
          m_line_items 'LTYC_BLDAT' lw_regup-bldat.
          m_line_items 'LTYC_SGTXT' lw_regup-sgtxt.
          m_line_items 'LTYC_DMBTR' lw_regup-dmbtr.
          DELETE ex_output WHERE value IS INITIAL.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             element                        = '510-C'
             function                       = 'APPEND'
    *         TYPE                           = 'BODY'
             window                         = 'MAIN'
    *       IMPORTING
    *         PENDING_LINES                  =
           EXCEPTIONS
             element                        = 1
             function                       = 2
             type                           = 3
             unopened                       = 4
             unstarted                      = 5
             window                         = 6
             bad_pageformat_for_print       = 7
             spool_error                    = 8
             codepage                       = 9
             OTHERS                         = 10.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDLOOP.
        CALL FUNCTION 'CLOSE_FORM'
    *       IMPORTING
    *         RESULT                         =
    *         RDI_RESULT                     =
    *       TABLES
    *         OTFDATA                        =
           EXCEPTIONS
             unopened                       = 1
             bad_pageformat_for_print       = 2
             send_error                     = 3
             spool_error                    = 4
             codepage                       = 5
             OTHERS                         = 6.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.

    Hi,
    Write the at last event in the program and check if it works
      At last.
           CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc  0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Regards,
    Sravanthi

  • Transaction/Movement type on the vendor line item

    When we post to a vendor using F-43 (or FB01) using posting key 31. We want the field Transaction type to be available for input in the vendor line item. But this is not happening. note: In the FSG of vendor recon account and Posting key 31 this field is optional. On the other hand, this field is available in the GL line item. Please also note that I am not talking here the transaction type available for asset posting
    Please advice
    Thanks
    Ranjit
    Edited by: Ron on May 14, 2010 2:39 PM

    Hi Ranjit,
    Perhaps it was hidden. Please check System -> Status. Double click the screen number. You will get to the next screen. Goto -> Layout or click the layout icon. You will see the screen layout that being used in F-43. To modify this, please get the ABAPer to assist.
    Regards
    Fauzi

  • Retail Tab in the PO line item..

    Hello all!
    I need this help - Now, I have this "Retail tab" showing up at the PO line item level. It is happening to every PO doc type and Pur org combination. It does not show in Sand box...
    There is no retail activated at all in the 4.7 version.
    Appreciate any help... on this. to remove the "Retail tab" at the PO line item .
    Thanks
    Best Regards

    Hello Swati,
    It does not show up now.
    I put back everything as it was.
    Right now the settings are as follows in defining screen layout for ME21N - Administrative data, item
    Except "No chect all" rest have been ticked "Optional entry"
    Points
    Promotion                   (No check at all)
    Deletion indicator
    Rounding profile
    Info update
    Indicator: estimated price
    Prior vendor                (No check at all)
    Season                       ( No check at all)
    Control key QM
    Reason for ordering    (No check at all)
    Revision level
    Except "Indicator: requisition closed " which has no checks at all - rest are all optional.
    IDeadline monitoring
    Delivery date
    Statistics-relev. deliv. date
    Order acknowledgment reqt.
    Schedule line time spot
    Order acknowledgment
    Reminder control
    Shipping dates/supplying plant
    Route schedule
    Goods receipt processing time
    Confirmation control key
    Indicator: requisition closed          (No check at all)
    I created a couple of PO's and Retail tab does not show up .
    IThanks again!!
    If I have an issues I will open this up..
    Best Regards

  • Buyer change the PO line items and end up with Awaiting Approval status.

    Can you please help to look into this issue.
    1.Buyer change the PO line items and end up with Awaiting Approval status.
    2. But user claim that she got enough limit and should not route to her manager's approval. Also check with her manager and this PO do not exist his queue.
    Any clue or tips on how to investigate on this issue. All your tips are appreciated,
    -Rick

    You cannot change these POs because their changed version has status
    'Deleted'. My proposal to fix them will be the following:
    You will have to set changed version as closed(DOC_CLOSED set to X)
    and in active version set DOC_CLOSED to space.
    __-For the above statement, Can you guys please let me know, which table DOC_CLOSED belongs to and what are the steps to do this, as i come from a functional back ground.__

  • Iterating through bseg line items and picking the vendor line item

    Hello,
    I am creating a report in which i want to show the list of vendors (with their WHT's). The output will be based on selection of a certain period(range). I guess i have to first iterate through BKPF and get those documents that lie in the given range, then i 'll have to iterate through the selected documents in BSEG and pick out the vendor line items (KOART = 'S'). Will i be using GET for this..
    Is this the right way? secondly, if yes, can sumone show me how to iterate through BKPF and BSEG and get vendor details.?
    Thanks..
    SHehryar

    Hey,
    Instead of selecting data from BKPF-BSEG you could use BKPF-BSIK-BSAK.
    BSIK and BSAK have the same details as BSEG and are use by SAP for reporting purposes.
    Similarly for customer the table are BSID, BSAD and for GL the tables are BSIS and BSAS.
    BSIK will have the open items and BSAK will have the cleared items.
    -Kiran

  • Sample Material in the 3rd Line item of the Sales Order

    Hi,
    We have configured the system in the sales order as follows.
    1. Commercial Material
    2. Bonus Material.(ie Free Material)
    Now, i want to add the 3rd line item in the sales order as Sample with different Material number. How go about this. kindly let me.
    Regards
    Ravi

    Hi there,
    Enter the material in the sales order & change the item catg manually in VA02.
    But free goods & sample materials are dealt differently..
    Freegoods is entered as TANN item catg along with nornam TAN item in standard order OR.
    But sample materials or free of charge items are processed through different order type FD for eg.
    Even thought the item catg proposed in FD is TANN,, the whole process will not have pricing as TANN items arenot relevant for pricing.
    Regards,
    Sivanand

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • How to add the line item text in the Ledger line item report

    Hi SAP Gurus,
    I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
    advance thanks for the help.
    Regards,
    Deva.

    Hi,
    You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
    Step 1:-
    Create function module Z_GET_SGTXT as below:-
    Import:-
    BELNR LIKE BKPF-BELNR
    BUKRS LIKE BKPF-BUKRS
    BUZEI LIKE BSEG-BUZEI
    GJAHR LIKE BKPF-GJAHR
    Export:-
    PRCTR LIKE BSEG-SGTXT
    FUNCTION Z_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(BELNR) LIKE BKPF-BELNR
    *" VALUE(BUKRS) LIKE BKPF-BUKRS
    *" VALUE(BUZEI) LIKE BSEG-BUZEI
    *" VALUE(GJAHR) LIKE BKPF-GJAHR
    *" EXPORTING
    *" VALUE(SGTXT) LIKE BSEG-SGTXT
    SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
    AND BELNR = BELNR
    AND BUKRS = BUKRS
    AND BUZEI = BUZEI.
    ENDFUNCTION.
    Step 2:-
    Then create the Function Modules as below:-
    Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
    FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    *" EXPORTING
    *" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    Initialize Output by using the following line
    E_POSTAB = I_POSTAB.
    E_POSTAB = I_POSTAB. "<-- important
    CALL FUNCTION 'Z_GET_SGTXT'
    EXPORTING
    BELNR = I_POSTAB-BELNR
    BUKRS = I_POSTAB-BUKRS
    BUZEI = I_POSTAB-BUZEI
    GJAHR = I_POSTAB-GJAHR
    IMPORTING
    SGTXT = E_POSTAB-SGTXT
    EXCEPTIONS
    OTHERS = 1.
    ENDFUNCTION.
    Step3:-
    Transaction FIBF:-
    Settings -> Products -> of a Customer
    SGTXT Text in Line Item Display Active
    Settings -> P/S Module -> of a Customer
    00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
    Step 4:-
    Create the layout for FBL*N with display of the TEXT.
    Regards,
    Gaurav

  • How to handle the multiple line items in the Inbound idoc FM

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

Maybe you are looking for