Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete Outbound Idoc Segment

former_member565051
Participant
0 Kudos

Hello Members,

I have a requirement where I need to delete the Outbound Idoc segment data E1EDP01 (Line Items) and need to send only those segments for which line items (eg. quantity, date etx) are changed and deleting E1EDP01 segments and its child segments for rest of the unchanged line items.

I have identified the segment which is changed based on BDCP2 table and written the logic in FM IDOC_OUPUT_ORDRSP ( "Final Customer Function" ) , but I am facing a problem in deleting the parent segment and its child segment. How can i identify which parent-child segments i need to delete as number of child segments are varying in the E1EDP01 segments as deleting only the parent segment will put the idoc in error and will lose its integrity.

Kindly advise.

Thanks & Regards,

Ajay

0 REPLIES 0