Hi Janis,
Thanks so much for the great help. One more question, right now, I'm settling with OPEN and CLOSE for the same IDOC, to create 1 spool per IDOC. During debug, after ssf_close the spool appears in SP01, when I continue the program or after the program finishes, the spool is not in SP01 anymore. Any key options or fields that you think I should look out for?
Thanks.