How to repeat std loop or call again the structure of BSEG at substitution
I did a substitution for updating some values in the fields of Account docs while posting in MIRO, VF01 etc .
The thing I did is, If i get the value say like Profit center in line item substitution, Im updating the same to next line item values thru Export Import parameters .
So the issue here is, If i get the value in 1st line item, so that I can update the same in next consecutive lines of each item if it has null values but if the 1st line item doesn't have the value say its null, then my loop will go to next line item to get and search the value of the profit center field, if its found then I can able to update the values in my next line items and not the missing line of 1st item because the standard programming loop in MIRO and VF01 are structure type BSEG table. So Im missing my updates of 1st line item if its null.
Pls advise me, how to call the standard loop once again and post my transaction without null values.
Hope its clear.
thanks & regards