Automatic deletion of Line item at GR level

Hi All,
I have a requirement,
The client will hire security service from the vendor, they will create service PO with 12line item and each line item cost will distribute to 5 cost center. they want a report which shows the pending quantity month wise for which month its has been delivered and pending.
So we create a Service PO with 12 line items for one year each line item will be delivered every month and service period is defined at PO level for each line item and each line item cost is distribute to 5 cost center. we are able to achieve the Report as per the client requirement.
The issue is at GR level, we can see 60 line item as we defined each line item cost is distributed to five cost center at PO level.
and we have remove 55 line item manually in GR level to receive one line item qty.
So is their any option where, we can get the line item based on the Date which we have provided at PO level.
NOTE: Client do not want from Contract process.
Thanks & Regards
Afsar 

Hi,
In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
Dhruba

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.

  • Delete SC line item when a follow-on document is created

    Hi
    We are working in a classic scenario.
    When a shopping cart is created from a catalog, it automatically creates a Purchase order in ECC.
    However, users are able to delete the line items of the cart when a follow-on document is created and vendor is ready to supply the material.
    How to restrict the users deleting the SC line items?
    PV.

    Hi Azad,
    Thanks for your quick reply.
    We are on to SRM5.0 (SRMSERVER 550 SP11).
    Even though it is standard functionality, still it is behaving the way explained.
    Tried to look for OSS notes and could not find one for my version. We may take up with SAP.
    Meanwhile, as this is causing lot of problem to business, I may have to achieve this by any means.
    Please throw your tips.
    pv

  • How to delete delivery  Line item after the Invoice Passed accounting

    Hi Experts,
                    Outbound delivery was created w.r.t.  Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
                     The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item  as shipped but not yet billed.
                     Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document  passed accounting.
                      Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
    Warm Regards,
    Jeff

    I think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback

  • Delete delivery line item

    Hi,
    I am trying to pick and PGI deliveries with inbound EDI 945 (WH shipping advice). To do PGI on partially picked deliveries, I need to delete the line item that is not pick at all. Is it possible to delete the line item automatically from the delivery with the FM that I am using - Idoc_Input_Delvry (message type "SHPCON") ?
    Thank you,
    Rajesh
    Edited by: rajesh j on Sep 20, 2008 4:38 PM

    Hi,
    You no need to delete the line item you can do the PGI by making the line item pick quantity to zero. It will solve your problem.
    Thanks,
    - Prakash

  • Deleted PO line item not coming to Sourcing

    Hi,
    We created PO from sourcing, later we realized that vendor need to be chaged. so we deleted PO line item, but this deleted line item is not displaying in sourcing cockpit. when could be the reason
    Thanks
    Ravi

    Ravi,
    Please check the following notes
    Note 1059979 - BBP_GET_STATUS_2: deleted PO did not send the shp to SOCO
    Note 1012124 - SHP not reappear in SOCO after backend PO delete
    Note 1055238 - Item is not sent to SOCO after backend PO deletion
    From the bid Invitation
    Note 1134786 - Requirement sent back to SOCO when a PO is deleted
    Thanks,
    Surya

  • Automatic Payment program -line item cleared not displaying in table

    automatic Payment program -line item cleared not displaying in table
    i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
    Can some one please guide me on this.

    Hi Priyanka,
    First, which table are you referring to.  If your fist APP run clears the line item, it will no longer be available in the open item. 
    Please be more specific on the problem so that we can try to help you.  If possible, please provide screenshots.
    Regards,
    Ganesh

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • Need a exit while deleting the line item in PO

    Hi to all experts ,
    My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .

    Hi,
    Try these user exits.
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of req
    M06E0004  Changes to communication structure for release purch.
    M06E0005  Role determination for release of purchasing document
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., prev
    MEFLD004  Determine earliest delivery date f. check w. GR (only
    MELAB001  Gen. forecast delivery schedules: Transfer schedule i
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery tol
    MM06E001  User exits for EDI inbound and outbound purchasing do
    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
    MM06E008  Monitoring of contr. target value in case of release
    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 proc
    MMAL0004  ALE purchasing info record distribution: Inbound proc
    MMDA0001  Default delivery addresses
    MMFAB001  User exit for generation of release order
    MRFLB001
    Regards,
    Vijay

  • Error while deleting contract line item

    Hi All,
    In ME32K when I try to delete the line item of the contract it goes to runtime error. Pls help me why I get that error.
    It has 3 PO`s created in 2010.

    Error analysis
    A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
    exception
    condition "FAILURE".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_HANDLE_MANAGER_MM==========CP" or "CL_HANDLE_MANAGER_MM==========CM005"
    "GET"

  • 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

  • Deletion of Line item in Po after GR occurs

    Hi SAP Expert,
    Can we make the system to block the users from perform deletion the line item in PO after GR has been made? There are case that the user simpled
    delete the line item in PO which GR has been perform and we what to block
    the users from do this deletion.

    Hi,
    In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
    Dhruba

  • How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item

    Hi,
    I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
    My Requirement is that the system should not allow for Goods Receipt for the Line Item.
    I know of 2 options which are difficult to Implement.
    1) I delete the Line item
    2) Put the delivery Completed Indicator - For this the system still allows for GR
    any Other way of Closing the line Item
    NS

    Hi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
    The Wizard comes only in the Copy From option,
    Close the Line item, by right clicking on that Line item and then 'close Row'
    Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM

  • 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 IN SALES ORDER

    Hi,
    Can any one tell me how to delete a line item from a sales order? Please tell me the BAPI/FM and what are the parameters to be passed.
    Thanks,
    Challa

    Hi,
    Use the BAPI: BAPI_SALESORDER_CHANGE.

Maybe you are looking for

  • I require assistance w/r/t nullpointerexception!

    Hi there, thanks for taking the time to read this. I'm a beginning Java programming student and I've unfortunately reached an impasse on a program given my level of knowledge. I've spent the last couple of hours attempting to diagnose this problem, s

  • Date variable in BEx

    Hello everyone. In my report I have a characteristic type date. I made two date variables. In general properties I set them "optional". I restricted characteristic by these variables (from - to). But on the selection screen one of these variables is

  • Mapping Problem with Native SQL query

    My application uses a native SQL query to locate certain entities. It looks like this: SELECT UPLOADATTEMPTREF, STUDENTNUMBER, USERID, WORKITEMCODE, WORKITEMINSTURN, WORKITEMTITLE, MODULERUNCODE, STUDENTNAME, SUBMISSIONDEADLINE, UPLOADATTEMPTSERVERDA

  • Opens File Download in IE and not activating webStart

    After installing the java webstart i pressed on the link of my application on the html file. The Internet explorer open the File Download dialog insted of webstart being active. Thanks in advance, Avi.

  • Problem in opening J2EE server..

    Dear all, When i write the address of my J2EE server in the internet browser and try to open it. The system gives an error saying that..<b>The following error occurred: [code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Ret