SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

WLF_IDOC ==> copy idoc / delete segment

stephanbruning
Explorer
0 Kudos
783

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

0 REPLIES 0