Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Outbound IDOC creation issues.

senthil_kumar29
Participant
0 Likes
620

Hi,

I am genarating an outbound IDOC using FM 'MASTER_IDOC_DISTRIBUTE'.

My program works well, IDOC has been genarated with status 01, 30 & 03.

But the IDOC has not been send to the destination system.

But If fire it using test transaction WE19, its been received in the destination system.

I can't figure out this issue.. Do I have to use COMMIT statement.

Thanx for your time..

Cheers,

Sam

Hi,

I am genarating an outbound IDOC using FM 'MASTER_IDOC_DISTRIBUTE'.

My program works well, IDOC has been genarated with status 01, 30 & 03.

But the IDOC has not been send to the destination system.

But If fire it using test transaction WE19, its been received in the destination system.

I can't figure out this issue.. Do I have to use COMMIT statement.

Thanx for your time..

Cheers,

Sam

3 REPLIES 3
Read only

vimal_kumar4
Explorer
0 Likes
556

Hi,

In partner profiles (WE20) check your receiver port value. Also check whether 'Transfer IDoc immed' option is chosen in the o/p mode.

If the receiver port is Transactional RFC check whether you had given the correct RFC destination. If the receiver port is File check whether you had given the correct directory path.

Regards

Vimal

Read only

0 Likes
556

Hi,

I have checked throughly, The only difference between the IDOC fired programmatically N Test txn WE19 is, when I display control of IDOC, in the Details tab Under EDI options Message type filled in test txn but not in the other one.

But I am supplying message type while calling MASTER_IDOC_DISTRIBUTE FM.

Thanx for your time.

Cheers,

Senthil

Read only

vimal_kumar4
Explorer
0 Likes
556

Hi,

Please try using the FM 'ALE_IDOCS_CREATE' instead of 'MASTER_IDOC_DISTRIBUTE'.

Reward points if useful.

Regards

Vimal