Line item deletion in Maintenance order

Hi Guru's
Please let me know how to find the deleted line item in the component tab of maintenance order before saving.
for eg. The user creates the following line item in the component tab of the maintenance order.
Before saving he deletes the line item 20.
Item   component   qty
10       100001        10
20       100003        20
Please let me know  where exactly the deleted status is stored, before saving for the line item
Regards
Vidhyadharan

Hi Pete
We are trying to prevent the user from creating product line items in Maintenance order with respect to equipment BOM. Let me explain you the scenario
Equipment 1000201 - contains the following components as BOM
1002775 - qty 2
1003326  - qty 1
When the user creates the order , he tries to withdraw more qty than the qty specified iin BOM. We have controlled it using enhancement IWO10009.  Initially we didn't anticipate that the  control can  be skipped by duplicating the material (i.e material line) eg line no 10 :1002775 - qty 2 and line no 20: 1002775 - qty 2 and the transaction is saved. In order to control, we have modified the program accordingly and never allow the user to save, if there is a duplication of material.
The problem started when the user tries to save the line item after deleting the duplicate material
The check we used doesn't not allow the user to save inspite of the line item been deleted. The msg introduced keep repeating .
We tried debugging the program, we wouldn't find any  deletion indicator in the structure   CAUFVD_IMP or resb  to overcome this bug.
Can you pls let us know where exactly the deletion indicator or status is stored for the line item in the component tab before saving
Regards
Vidhyadharan

Similar Messages

  • Line item deletion in ECC order not reflecting in CRM

    Hi all,
    1) I created an order in ECC with L1 and L2 line items.
    2) After successful replication to CRM, i deleted the line item L1 in ECC va02 and saved.
    3) Then checked CRM order(ensured that there are no replication errors and stuck entries in queues)
    4) L1 in CRM system is not deleted.
    Is this a standard functionality or can this be controlled anywhere. I know that if an order is created in CRM and distributed to ECC, we can't delete that line item in CRM. But in the reverse case even, is it the same??
    Please help me out.
    Regards,
    Rajesh

    Hi Rajesh
    Did you check Delta load is active for  sales document in R3AC4, if it is your source system is ECC when you do changes in the sales order in the ECC system, it should replicate to CRM
    yes,  this is a standard functionality as you said, when  order is created in CRM and distributed to ECC you can't do any  changes in ECC and even  vice versa.
    but you can do changes either or side  provided you need to  apply this note:888665
    Regards
    RAO

  • PR line item deletion upon PM order TECO

    Hi All,
    PR line item gets deleted upon PM order TECO.
    Any suggestions pls.
    Thanks in advance.

    Reference [thread|Deletion flag set to service pr upon tech. completion of order]and  [thread|PR Marked for deletion after Business Complete]

  • 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

  • Sales order line item delete error for MTO sales order

    Dear Experts
    iam facing below error for MTO sales order line item deletion
    "For reasons of cost management, item 000040 cannot
    be deleted"
    Please help
    Regards,
    KEdar

    It looks you try to delete the sales order line item and you get this error message.
    Try to put reason for rejection for the line item and save the order. This is equal to deleting the line item.
    You can also refer the OSS note 14097 - Order item cannot be deleted/overwritten for further information.
    Regards,

  • Send all line items of a sales order to IPC along with condition lines data

    We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items  data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
    Thanks

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • Exit / badi for individual service line item detail with internal orders.

    Hello guys,
    <b>Issue 1.</b>as per our scenario we want to get the individual service line item details with Internal Orders.
    Please provide me any exit/badi with each item level with individual service line item Internal Orders.
    <b>Issue 2:</b> Remain same for issue 3 for blocking status. We want to delete item level for particular line what about the service rows which assigned in particular item.
    point will be rewarded for the suitabel answers.
    please give me response  ASAP.
    With Regards
    yogesh

    Hey Yogesh,
    I have the same scenario... Could you please drop a mail to [email protected] with the details of BADI and other details that you implemted for the same.
    Thanks a lot in advance.

  • Relation Between PR item and Operations Maintenance Order

    I have a PR from Maintenance Order.
    there are 2 Operation External in Maintenance Order. usually it will create 2 item PR Service. but in my case it's create 3 PR item Service.
    I look on the IW33(Display Maintenance Order).
    Operation 10, becomes PR Service Item 10
    Operation 20, becomes PR service item 30
    and there is 1 another PR service item 20.
    I see in the Tab Account Assignment. it's refer to the same order. but i don't know where is the Operation. the question is How to delete this Item when we don't know the Operation in Maintenance Order. or maybe how to know what is the Operation.?
    Thanks.

    Hi Ajit Kumar.
    No i'm sure that PR item 20 is not with a delte flag. Actually user want to delete the PR item 20. so he try to delete the Operation 10 in Maintenance Order. but when he do this, PR item 10 was deleted and not PR item 20.
    Thanks for your Reply.
    Hi Jürgen L.
    Yes i know how to display Deletion in Maintenance Order. and i'm sure when i do that. the operation for PR item 20 are not listed.
    BTW. do you know  how to undelete the operation.
    Thanks for your Reply.

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

  • Unconfirmed line items of a sales order into account in credit management

    Hi Gurus
    Updated the customer orders via prog. RVKRED09.
    There is only one open order for this customer = 720662. My question is: in the credit master the sales value/credit exposure is USD 77.100,00. The order is for USD 105,900.00 .
    Found out that line item 20 is not confirmed in the schedule lines. So the value in the sales value/credit exposure  equals item 10 and 30. So my 1question is: Where is the setting that  does not take unconfirmed line items of a sales order into account in credit management?
    Thanks in advance
    Regards
    Nalini Iyer

    Hi nalini
    Even though , you create a sales order for that line item , but if that item is not confirmed then the value  wont be considered.  into credit exposure. .
    But once it gets confirmed then the value will be taken into credit exposure..
    Regards
    Srinath

  • Route schedule not updated in some line item of a sales order

    Hi Gurus,
    All order are processed through the EDI interface automatically. Order
    XXXXXXXXX for USA customer 40000XXXX is maintained in route reschedule
    setup T-code VL52 on specific departure day thursday.
    above are line item of same sales order, with same shipping point and route .
    Why only some salesorder lines missing the route schedule ?? 
    Please Help
    Regards
    Abhilash

    When you post a query here, you need to have patience until some members go through your post.  Please dont expect somebody should respond to you immediately as everybody has their own priorities.
    Coming to your query, it could be due to many reasons as per the following note:-
    Note 1750978 - Route Schedule does not populate on sales order
    Go through the Resolutions given in the above note and check with your system
    G. Lakshmipathi

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • Same material can exist on multiple line items for the same order.

    Hi
    Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
    Regards

    No.
    But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
    Eawar Ram
    http://www.parxlns.com

  • Keep Quote line item numbers in Sales order

    While creating a Sales order from Quote, SAP always creates line items with 100,200,300...and so on.
    If quote has 3 line items say 100,110, & 120 and we create a sales order with reference to this quote in VA01. The sales order line items become 100,200 & 300.
    The requirement is for Sales order to also have same line item numbers i.e. 100,110 & 120.
    To retain quote line item numbers in Sales order the ABAP change will be in VOFM or user exit?

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

Maybe you are looking for