I have created a custom idoc and message type and a program that creates an idoc through fm is not getting executed by itself.
My problem is that when I try to load the idoc from startrfc , idocs gets status 64 "IDoc ready to be transferred to application", when I run it in foreground the idoc is transfered. nd application document is getting created successfully.
In partner profile i have selected trigger immediately.
Can anybody help me with this?