We have a custom built idoc type & message type to send some PO related and FI related data.
Partner profile also configured for this outbound with Trigger immediately.
But when we distribute (MASTER_IDOC_DISTRIBUTE) Idocs using our custom program (SE38) or by scheduling the job (SM36), it generates idocs but all the idocs go in status 30.
I tried submitting RSEOUT00 within my program to convert the status from 30 to 03. Sometimes it works, sometimes not and it is taking a very very long time.
Like, without the submit RSEOUT00 it took 15 secs to process about 100 idocs, and with submit RSEOUT00 within my program it took about 250 secs for just 40 idocs.
Am I missing something? Is there a way to get all these idocs in status 03 instead of status 30?
I need your valuable inputs.