cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc to File : error

prabhu_s2
Active Contributor
0 Kudos

Hi All

My scenario is to send an IDoc from SAP to a File. I have configured all the settings in the R3 side and also checked the connectivity in the tRFC to the xi server. The Idoc is also imported to IR. It was working fine earlier but after making a change to the IDoc strucutre by adding a segment and populating the Z segment using the FM i see that the IDoc is not reaching the XI server. I coudlnt find the potential problem with it as again the connectivity is checked throughly. Kindly give me ur feedback on tracing the casue of this issue. Also let me know how to luk into the status like where exactly the error is...has the message reached the XI box.

Thks in adv for ur valuable inputs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please delete entry for this idoc in transaction idx2 (idoc metadata cache)

You should have an error in transaction SM58 in the system which sends idoc(s). You can restart each of them by executing LUW (you find such option in the menu)

regards,

wojtek

Message was edited by: Wojciech Gasiorowski

Answers (3)

Answers (3)

prabhu_s2
Active Contributor
0 Kudos

Hi

Thanks for your replies. The issue is fixed. I just deleted the entries in IDX2 in XI box and executed the trigger from R3 successfuly.

Can you pls let me know on IDX2. Why and whatfor we need to delete from IDX2.

Former Member
0 Kudos

Hi,

Using this metadata XI IDOC adapter is constructing xml structure. IDOC input looks like a string which is splitted according to each field length of each field in each segment.

For instance if you add new field to segment you won't get an error but you will see a movement of data. Data from idoc will be assigned to wrong xml fields.

regards,

wojtek

prabhu_s2
Active Contributor
0 Kudos

wojtek, Thks for the inputs

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Adding to moorthy's comments,

1. Make sure that the entry in the Outbound side in the partner profile now points to this new Z Idoc.

2. See the status of the IDOC in we02 . Has it been sent successfully.

3. See if there is any dump in SM58.

4. Delete the IDOC metadata in IDX2.

5. Import the IDOC again in your IR and then it should work.

Regards,

Bhavesh

moorthy
Active Contributor
0 Kudos

Hi,

-Go to Transaction WE02 and check the outbound Idoc Status.

-Then check is there any error in the Transaction SM58 in R/3 system

If there is no error in these, try to reactivate the Idoc interface in the Integration Repository.. ie try to re-import the Idoc metadat into Integration Repository and activate the interface mapping in the Repository. Also activate the Configuration scenario in the directory.

May be because of Cache Problems ..

So check SXI_CACHE also.

Also go thru this Analysis-

http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm

Regards,

Moorthy