Hi Len
I believe there's a simple fix for this. The first time you go thru the tcode, it will pop-up asking you for a company code. If you click to skip it if not present, it will work for the subsequent rows, since it only pop-ups for the first one. You could also use an IF and choose if first row in the dropdown of the If.
It's always good to test more than one posting, because sometimes either the first, or not the first row, will be different. You can find it if you run 2 postings thru Debug mode and see what's different as it walks thru your script in the tcode.
Am also attaching a version that uses a loop that I created quite some time ago in v11. It uses the same skip if not present.
Hope that helps!
Best Regards,
Sigrid
------------------------------
Sigrid Kok
pse | Winshuttle North America
------------------------------