BAPI for Deletion of line Items from PR

Hi Experts,
                I need to delete line items from Purchase Requisition when user check the check box.Check box available on output display i.e check box to delete item.
thanks,
santhosh.

Use "BAPI_REQUISITION_CHANGE". Existing list of LIne items should be filled in the structure "REQUISITION_ITEMS_OLD" & New list of line items should be included in the structure "REQUISITION_ITEMS_NEW"
OLD - will contain the records currently in database.
NEW - fresh list of records (in your case exclude the line item which is to be deleted)
Regards
Vinod
Edited by: Vinod Kumar on Apr 14, 2010 3:36 PM

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • How to delete the line item from a sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • Delete a line item from Sales Doc type RE

    Unable to delete a line item from a sales order linked to document type RE.  Get a long runtime - no specific error message.  Use the 'Stop Transaction' option to end the transaction.
    Have done thorough testing and can delete line items linked to all other sales document types in our system.
    Researched SPRO to see if there was a line item deletion option that was not created for sales doc type RE - but can find nothing.
    On a critical time line here - this was discovered during Hotpak installation testing which is scheduled to move to PRD June 22.  Question as to why we have not run across this issue before now??  - I don't think we have had an occasion to delete a returns line item before - but I want to have the option if available.
    Any help to resolve this issue would be appreciated.
    Regards
    Patsy

    Thanks for your response.
    After creating document type RE, execute VA02 transaction, select line item, select delete line item icon.  The system goes into runtime and just stays there.  No error message, no abap dump.  To escape the transaction, I have to select 'stop transaction'.
    I have tested all other document types we use in our system,  (including our customized transactions) SO, CR, DR, etc., and the system allows line item deletion.

  • User needs to delete a line item from old STO

    Hi all,
    User needs to delete a line item from old stock transfer order and would like to be advised what he needs to do to delete the line item from the STO.
    On the STO, Goods Issue done and reversed also. Delivery completed indicator not checked. I aslo found that the payment has been made for the line item 40 for Freight. Carrier charges. It seems that the payment has been made/cleared to the vendor.  I think Due to this reason they are unable to remove this line item from STO. They have attempted to delete or block an item that is not yet closed. All down (advance) payments made to date have been taken into account.
    Can you please advice how to resolve this problem?
    Thanks in advance..
    Regards
    Suresh

    Hi,
    Delivery completed tick is also there for STO PO. If you are not getting it then check settings. Also you can mark deletion indicator for that line item. Or minimise quantity to goods received quantity.
    For STO if delivery is made from delivering plant but Goods receipt not done in receiving plant then that material remains in transit. Can viewed with ME5t. In this case that line item cannot be delted or delivery completed.
    Still your client wants to complete these type also better to leave decision to business if they want to reverse delivery (Stock of issuing plant will increase) or make Gr ( Stock of receiving plant will increase) Although they can adjust later with physical inventry process and make stock in system to real physical stock
    Regs,
    Appie

  • User-exit for deletion of line item in PO

    hi group
    i want to delete a line item of purchase order.
    and after that i have to make some changes
    so i want to know which user-exit will be used here.
    please help its urgent.

    Hi,
    Please fine the list of user exits for the transaction ME22.
    If it serves your purpsoe , please close the thread and reward suitable points.
    Regards,
    Irfan Hussain
    Transaction Code - ME22                     Change Purchase Order
    Exit Name
    Description
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    LWSUS001
    Customer-Specific Supply Source Determination in Retail
    MRFLB001
    Control Items in Release Creation
    No of Exits:         33

  • REGARDING RESTRICT THE DELETION OF LINE ITEM FROM CONFIRMATION SCREEN

    Dear All,
    Plz let me know how can we restrict to delete the line item(components) from the goods movement screen of confirmation of order(Cor6n) screen.
    Thanks & Regards,
    Arvind S

    Hi Aravind
    i just want to restrict the deletion only for particular user id's.
    I know we can do through authorization by creating authorization object.. am i right??
    I am not sure bout any authorization object can help you. However you can have the transaction variant for COR6N with quantity field as output also note this can be user specific.
    So you have no need to have custom transaction or development.
    Regards,
    R.Brahmankar

  • BAPI for FB09 change line items

    Hi All,
    Is there any BAPI avaialble for changing the line items of transaction FB09...... instead of going for a BDC
    Please give the helpful answers.
    Thanks

    Hi
    BI program is BatchInput program so it's BDC program: u need to simulate the trx FB09 by a BDC, if u need a fm u can insert the BDC in your fm.
    Just I said if you need to change some std fields (like text, attribution, etc....), u can use the std fm FI_ITEMS_MASS_CHANGE: it's the fm used for massive changes.
    If you see the include LFI_ITEMSF03, u can check which fields are managed by that std fm.
    Max

  • Bapi for posting IR line item at a time

    Hi....
    Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........

    This is an old bug that keeps popping up:
    https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477

  • Reason for deleted PO line item

    Hi Gurus, I have several PO line items appear deleted and thrown back to Open Purchase Req list. Buyers did not deleted those PO items. They were fully received and backflushed. What might be the reason that they should reappear in PR list?
    Thanks a lot for your help.
    AG

    Hi,
    As Jurgen suggests go to ME23N=>Environment=>Header changes or (select the line item) Item Changes and you can find the history of changes.
    Regards,
    BK

  • Can't delete video line item from iTunes; crashes instead!

    I have a line item for video in my iTunes library that I can't delete; it crashes iTunes instead.
    When I right-click on the item, I get an error message that wants to send info to Microsoft before I can Clear it or uncheck it.
    I've deleted the original video file and all other items in the library are responsive. I can still import music and video however when I try to sync with my iPod, it downloads everything until it gets to this line item and then iTunes crashes and closes.
    Frustrating... Any ideas?
    emachine   Windows XP   60GB iPod

    If Zevoneer's suggestion didn't work you can try just
    clearing your whole library by pressing Ctrl+A & Del,
    then adding it again by going File>Add folder to
    library and add the folders you want.
    If that still doesn't work (it doesn't let you clear
    the library), uninstall then reinstall iTunes. That
    should clear the library.
    Well, looks like the simplest solution was the correct one. I tried to delete my library but it crashed when it got to the problem line item. So I ended up reinstalling iTunes and the line item was successfully deleted. (Now I get to recompile my library of 7400 songs and 200 videos. I'll get back with ya'll next month!)
    Thanks for all the help everyone!

  • BAPI for extracting GL line items

    Hi could anyone help me with this one?
    I'm looking for a function module that can get the line items given the GL account.

    Hi Maple,
      Try out with the following BAPI's:
    BAPI_GL_ACC_GETDETAIL  : G/L Account Details
    BAPI_GL_ACC_GETLIST       : List of G/L Account for each company code
    Hope this will be helpful.
    Regards,
    A.Fahrudeen

  • Deletion of line items from Sales Order using DTW

    Hi Experts
    I have 160 sales which all require a particular item needs to be
    deleted before they can be processed further.  It is ths same item on every order but
    doesn't appear at the same row number.  In some cases it may appear more than once
    on an order.
    The line item needs to be deleted based on the row numbers which could be different on every order (LineNum)
    Rather than have admin go through them 1 by 1 and delete the
    row is it possible I can use DTW to perform an update on each row to delete it?
    I'm not sure how to do this since I have only ever used DTW
    to add or edit.
    Thanks
    Geoff

    Hi,
    1. It is not possible to delete records using DTW, only importing new records or updating existing ones are supported. These are the only valid operations via DTW.
    2. It is possible to delete the contents of an edit text field by using the character / or -1. However it is not possible to clear an entire row/line using this notation.
    Thanks & Regards,
    Nagarajan

  • BAPI for DELETION of the Purchase Requisation entry from DB?

    Hi Experts,
    1) Pls. let me know that, Wht is the good BAPI for DELETEion of the Purchase Requisation entry from the Data Base.
    The tx code is ME52N(BAPI_REQUISITION_CHANGE, BAPI_PR_CHANGE)
    2) pls. also let me know the INPUT PARAMETERS for the suggested BAPI
    thanq
    Edited by: Srinivas on May 7, 2008 12:20 AM

    You can use this BAPI  to delete PR line item.
    BAPI_REQUISITION_CHANGE
    BAPI_REQUISITION_DELETE
    Chk this for sample.
    work flow object  type for purchase requisition

  • Not to be able to delete line items from sales orders

    I have to do something so as not to be able to delete the line items from a sales order if I have already received a down payment for this sales order

    Dear Stilianos
    Assign Reason for Rejection for that line item and create a new line item in the same sale order.
    Incidentally, why do you want to delete the line item ??
    thanks
    G. Lakshmipathi

Maybe you are looking for