2021 Apr 21 8:21 AM
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