We have a custom program to reprocess the IDOCs which errored out.
Reprocessing is done via report program using the below three FMs:
I have added new custom segment to the IDOC. EDI_CHANGE_DATA_SEGMENTS returns error. New segments are not getting added to the IDOCs, that are created before the segment addition.
Is there a way to add the newly added segment to the old errored out idocs? Adding the segment in WE19 cannot be done as there are more than 1000 idocs in production which needs to be reprocessed.
Thanks in advance,