Hi ,
I have created a custom IDOC basic type and also created custom segments.
I have to create an outbound IDOC and create a file on the application server.
I am sucessfully able to create the IDOC but for processing i have to go to transaction BD87
my requirement is to automatically process the idoc
In the partner profile settings have selected the radio button as "Transfer IDOC Immediately"
but still i am not able to process it automatically.
I am using the function module
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = idoc_header
TABLES
master_idoc_data = t_idoc_data
communication_idoc_control = communication_idoc_control
EXCEPTIONS
error_in_idoc_control = 01
error_writing_idoc_status = 02
error_in_idoc_data = 03
sending_logical_system_unknown = 04.
how can i process the idoc auotmatically.
Thanks
Nishant