2018 Apr 11 10:51 AM
Hi Guys,
i work with the T-Code WLF_IDOC and now I want to delete an order idoc segment. My idoc segment structure:
1)E1J3P01
1.1)E1J3AIM
1.1.1)E1EDP20
1.2)E1EDPT1
1.2.1)E1EDPT2
Goal: Delete the main segment 1) E1J3P01 including the sub segments. In the past I use TCODE WE19 jump to the segment, delete the segment. Idoc will be copied and I change the status from the "old" one and proceed the "new" one.
With WLF_IDOC it should be done in one step. I add the idoc structure to the customizing and try to delete the main segment.
Result: Error ==> if I try to delete the main segment. It only works, if I role back the complete segment structure and starts with the last one 1.2.1) E1EDPT2, second step 1.2) E1EDPT1 and so on. For every step the idoc would be copied. Resume: If I work with WLF_IDOC and want to delete one main segment, I need 5 steps and at the end from every step I get a new idoc. That´s doesn´t make sence for me.
Is anybody who knows somethink about these system behavoir, or know how I can delete a main segment including subsegment in one step?
Thanks in advance
Stephan