cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc to File interface

Former Member
0 Kudos

Hi All,

I am having a scenario where I am having Sender as IDoc and receiver as file. From one IDoc multiple files are generated. In Interface determination I have configured multiple inbound interfaces and corresponding interface mappings.

My problem is sometimes in SXMB_MONI I get the status Waiting for Acknowledgement (icon with green question mark). That time the files does'nt appear in the configured receiver folder. The flag is black and white and I can view transformed messages in payload. But Adapter monitoring shows nothing. I checked the inbound queue also using smq2 but nothing is selected over there also.

In that case where to check for the messages? What can be possible reason of adapter not delivering the message?

Thanks in advance.

Regards

Rajeev

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Rajeev,

if you want you can turn off idoc acknowledgements then you use the report: IDX_NOALE .

You can just add the entries in table IDXNOALE from SE16.

Just check following SAP Note : 777175

Doing this will turn off the acknowledgemnts.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Rajeev,

Do the above in your XI system

Regards

Vijaya

Former Member
0 Kudos

Hello

I did the same configuration. Now it does not give that status as 'Waiting for acknowledgement' but sometimes it never delivers the message although everything is successfully processed in SXMB_MONI. I could see the transformed messages in payloads of Technical Routing.

Also I checked the Inbound queues using smq2 but nothing was showing up in Adapter monitoring.

In that case where to check for the messages?

thanks in advance.

Regards

Rajeev

moorthy
Active Contributor
0 Kudos

Hi,

<i>but nothing was showing up in Adapter monitoring.</i>

Go to RWB->Message Monitoring->Message Display Tool->Audit Log..

ARe you using content conversion ? Anyway check here you can find the errors.

Thanks,

Moorthy

Former Member
0 Kudos

Hello

Thanks that was very helpful.I checked the status. The status was on Hold. The detailed message was

******************Message*************************

Using connection AFW. Trying to put the message into the receive queue.

Message successfully put into the queue.

The message was successfully retrieved from the receive queue.

The message status set to HOLD.

****************End Message*********************

All the status were Success.

I also checked the successful messages. It was

******************Message*************************

Using connection AFW. Trying to put the message into the receive queue.

Message successfully put into the queue.

The message was successfully retrieved from the receive queue.

The message status set to DLNG.

Delivering to channel:mychannel

File adapter receiver: processing started; QoS required: ExactlyOnceInOrder

File adapter receiver channel File_In_Tso: start processing: party " ", service "myservice"

Write to file "myfile" as binary, size 589 bytes

Start converting XML document content to plain text

File processing complete

The message status set to DLVD.

The message was successfully delivered to the application using connection AFW.

************************End message*****************

It seems that there were no errors in either conditions. Why should the status in the earlier case be on HOLD? The payloads in both the conditions was same (so there should not be error in mappings or content conversion).

Thanks in advance.

Regards

Rajeev

moorthy
Active Contributor
0 Kudos

Hi Rajeev,

Go to SMQ2 and check is there any queues are pending..

For more -

/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

Also make sure that your Reciever system configuration is correct( i.eFile Reciever Communication CHannel-> Ip Addresss/Folder Name etc)

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

no i checked that also..nothing is pending in that.

regards

rajeev

moorthy
Active Contributor
0 Kudos

Hi,

>Are you using EOIO in the Receiver File Communication Channles..check this.Because hold status will come, if something else is executing ..

>Do you have multiple receiver Channels .As per the first post , you mentioned that you have multiple inbound interfaces.

Refer SAP Note-813993

Regards,

Moorthy

Former Member
0 Kudos

Hi

I am not setting explicitly the QoS as I guess in File receiver we don't specify quality of service and QoS is specified by the sender (I found QoS in File Sender) and hence it should be inheritted from IDoc using tRFC. Can we configure QoS for IDoc sender?

Yes, I am having multiple receiver channels but those are independent. Every communication channel generates individual file on the target server.

Thanks and Regards

Rajeev

Former Member
0 Kudos

Hi,

I guess I found where we set that. In Interface determination, we have check-box of maintain order at runtime which was checked. I just unchecked that and then it was ok.

anyways thanks for ur help.

regards

rajeev

moorthy
Active Contributor
0 Kudos

<i>Can we configure QoS for IDoc sender?</i>

>>You can set EOIO for Idoc Adapter if R/3 is based on WAS 6.40

Try to cancel the existing Hold status message and check the status in SMQ2.

Hope this helps,

Regards,

moorthy

moorthy
Active Contributor
0 Kudos

Hi,

If it is solved, please close the thread.

Thanks for the update..

-Moorthy