To delete the IDOC Segment in the Inbound i.e.Item Data

Hi All,
Idoc is received for orders05 as inbound.
The IDoc Data contains two levels of item data
i.e. Segment E1EDP01 - In this we Pass only the quantity.
      in the Sub Segment of item E1EDP19 - Customer Material in the segment IDTNR with qualifier 002.
The same segment is repeated again but the customer material is different.
Now need to check the material, if it is different, i need to delete the entire second item segment and put the customer material in the Segment E1EDP19 which has empty field.
His there any Function Module or so to delete the incoming data of the idoc through inbound?.
Could you please let me know if there any way to do the same.
Thank you.
Regards,
Dinesh.

yes here you can access only one segment, if you don't control that here, then the information will be populated to xvbap. or else you can even try to implement the error handling exit EXIT_SAPLVEDA_008 /EXIT_SAPLVEDA_011
already item information will be populated to xvbap  table . so try to delete the item from xvbap also

Similar Messages

  • How to delete the Cost center line item data

    How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
    Is there any way to delete the line items in that cost center.
    Can data archiving & deleting can help us..........
    does it have any effect over other cost center data....
    any input needed.........
    regards
    rajesh

    Hi,
    i found 2 reports for you:
    1) CO_TOTAL_WRI - Archiving CO Totals Records   
    2) RKCOITW1     - Archiving CO Line Items: Write Program        
    from 2) is a linlk to customize archiv-parameters
    -> start it with transaction se38 / sa38
    A.

  • Is there any program i can use to batch delete the inbound delivery ?

    Hello, everyone.
        Is there any program i can use to batch delete the inbound delivery ? Thanks.
    Xinzhou gao.

    Hi,
       VL66 is used for deleting temporary inbound deliveries that have been marked with the deletion flag in the database, the temporary deliveries should have the deletion flag selected in the database, but i want to delete the normal inbound delivery without deletion flag now, is there any  other solutions? Thanks.
    Xinzhou gao.

  • Unable to Delete the Inbound Delivery

    Hi Experts,
    We have made GR(101) against Inbound Delivery on 01/02/2008.
    On 24/02/2008, same GR(102) was reversed.
    When i tried to delete the inbound delivery, it is showing error as" Inbound Delivery cannot be deleted".
    Please help.

    Hello Shravan
    Have u checked the document flow for delivery/ Is there any thing pending for the delivery? Is it WM based plant? Please reverse any document created and then delete the delivery.
    2nd thing you need to check is when u made GR 101, where this stock goes? Unrestricted or Quality? You need to transfer the stock to 'Returns' with MB1B or MIGO with movement type 457 or 458 (plz chk) and then try reversing documents.
    Reward it if found useful
    Regards
    Amol

  • I just upgraded to the latest version of iTunes and it duplicated virtually every track in my music library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not help because they are all listed as added on 12/12/2011.

    Library Duplicated
    I just updated to the latest version of iTunes and it duplicated virtually every track in my library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not work, because every track is listed as added on 12/12/2011 even though this happened today 12/19/2011.

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • If I download a song, album or playlist from iCloud to an iTunes Match enable device, can I delete the download at a later date if I need to free up memory on the device?

    If I download a song, album or playlist from iCloud to an iTunes Match enable device, can I delete the download at a later date if I need to free up memory on the device?

    Hi,
    Yes.
    JIm

  • How can I permanently delete the default bookmark toolbar items (getting started, most recent, etc.)?

    I can't seem to permanently delete the default bookmark toolbar items. They show up frequently on start-up, even after manually deleting them in a previous session. I use 3.6 x_32 on Linux (for Flash) and 4.0 RC 1 x_64 (for non-flash) sharing the same profile.
    I use the X-marks extension and I thought that was the cause the problem, but the problem keeps happening even after deleting all of the the default items in each version and then overwriting my x-marks server data with a forced upload both times.
    I'm guessing that x-marks will be most people's prime suspect. I just want to make sure that firefox isn't recreating the items as a default behavior.
    I know it's a minor annoyance, but I keep my bookmarks toolbar pretty full. Thanks.

    Does it still happen if you temporarily disable Xmarks?
    Doesn't it work if you hide the Bookmarks Toolbar?
    You can check:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Archiving  & Deleting the Cost center line items

    My requirement is to delete the line items in the cost cneter as of today, but when i tried to archive & delete the Cost center line items using CO_item,i aam sucesfull in deleteing the past data, but the data of the last month and currenct month i was unable to ........
    when i tried in the spro>img>controlling>general ontrolling>archiving>prepare archiving for co line items
    i set the resident time to 0,but i was unable to delete the line items.what colud be the reason and what is the way to delete the currenct data also from the system.
    your earlier reply surely appreciated .......

    Hi Rajesh,
    I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
    Check the following links:
    For Archiving
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm

  • Deletion of Idoc Segments

    Hello everyone,
    I would just like to ask on how to delete a specific segment of an Idoc aside from using transaction WE19. I would like to preserve the Idoc that's why I'm looking for another transaction that can be able to perform the deletion.
    Thanks in advance!

    in WE19 you cannot modify an existing IDOC.
    you can open an existing IDOC, but with any change SAP creates a new IDOC which has the current values, the old IDOC is then still as it was before.
    Try it, if you back out after saving your changes,  then you see the new IDOC number in WE19 initial screen

  • Delete Outbound Idoc Segment based on target system

    Hello Folks,
    Problem:
    I have extended the sub structure of an idoc for IT0002 with custom field,
    E1P0002
         Q1P0002
              Z1P0002
    Where Z1P0002 has custom fields.
    When the destination system is 'ABCD' - system should allow the idoc
    else
    When destination is other than 'ABCD' - Z1P0002 segment should be deleted and idoc should be sent.
    How can this be achieved, any sample code.

    Use user-exits .
    if edidc-RCVPRN eq 'ABCD'
    process data .
    else
    call FM segment_delete ( use ur parameters )
    endif.
    Edited by: anil sasidharan on Feb 18, 2009 12:40 PM
    Edited by: anil sasidharan on Feb 18, 2009 12:46 PM
    Edited by: anil sasidharan on Feb 18, 2009 12:48 PM

  • Delete Outbound Idoc Segment based on taget system

    Hello Folks,
    Problem:
    I have extended the sub structure of an idoc for IT0002 with custom field,
    E1P0002
         Q1P0002
              Z1P0002
    Where Z1P0002 has custom fields.
    When the destination system is 'ABCD' - system should allow the idoc
    else
    When destination is other than 'ABCD' - Z1P0002 segment should be deleted and idoc should be sent.
    How can this be achieved, any sample code.

    Hi,
        Make use of Segment level filtering in distribution medel (BD64).
    Thanks,
    Asit Purbey

  • Delete Outbound Idoc Segment

    Hello Folks,
    Problem:
    I have extended the sub structure of an idoc for IT0002 with custom field,
    E1P0002
         Q1P0002
              Z1P0002
    Where Z1P0002 has custom fields.
    When the destination system is 'ABCD' - system should allow the idoc
    else
    When destination is other than 'ABCD' - Z1P0002 segment should be deleted and idoc should be sent.
    How can this be achieved, any sample code.

    Hi,
        Make use of Segment level filtering in distribution medel (BD64).
    Thanks,
    Asit Purbey

  • Deleting the original File of encryted  data

    Hello, i have two question:
    1)i want to know how to delete the original of an PBE encrypted file.
    2)After Decryption how to delete the encrypted file from directory.
    you can send answer to [email protected]
    Thanks

    Hello, i have two question:
    1)i want to know how to delete the original of an PBE
    encrypted file.You mean something like "File.delete()"?
    2)After Decryption how to delete the encrypted file
    from directory.You mean something like "File.delete()"?
    you can send answer to [email protected]
    We could, but we won't. This is a board designed to help everybody get answers - not just you.
    Grant

  • ABAP Program to delete the WDSO contents from active data table & Manage Re

    Hi,
    We have requirement where we have to delete the request id from manage screen and data from Active table of WDSO.
    I have gone through this weblink where we have to hardcode the DSO name in the table (Deletion of WDSO (Write-optimized DataStore object) Load requests and active table data without deleting it from targetSAPNetworkWeblogs%2528SAPNetworkWeblogs%2529)
    Apart from that is there any suggestions or input where i can have selection screen for DSO and execute that will help us to delete the Request IDs and content of active table from WDSO.
    Suggestions or input programs really appreciated.
    Kindly do the needful.
    Regrads,
    Prem
    Edited by: pannalde on Nov 22, 2011 8:24 AM

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/677b3c513d3311e10000000a114084/content.htm
    With program RSSM_DELETE_WO_DSO_REQUESTS it is possible to delete old requests in the Write-Optimized DSO, exactly like we are used to do with PSA requests via a Process Chain.
    This program is available as of SAP NetWeaver BW 7.01 SP07. See note 1437407 for details.
    You can automate the deletion of old WO requests by using the ABAP program step in the Process Chain.
    Regards,
    rvc

  • Unable to delete the Purchase Requisition line item

    Hello MM sapperu2019s,
    I am unable to delete one of the line item in Purchase Requisition. Please let me know how to delete this Purchase Requisition line item.
    When I tried to delete the line item in ME52N the delete button is gryed out hence I could not able to do it.
    The purchase requirement has reference of network in the account assignment.
    Please let me know if you need more clarification.
    Cheers,
    Kumar.S

    Hi,
    You are experiencing the stnadrad behavior
    When the Preq is automatically created from either
    a production, plant maintenance, or network, order, what you can change
    in the PReq is very limited.
    This is to ensure no conflicts arises between the PReq and the source
    application of the PReq (be it PP, PM/CS or PS).
    The technical explanation is due to the recorded value in EBAN-ESTKZ
    (Creation indicator).  The value stored here (automatically by the
    system) controls what you can or can't change in ME52/N.
    We cannot delete the line item in this case
    regards,
    Lalita

Maybe you are looking for