cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc to File Conversion(Purchase order sent to XI mapped to a file )

Former Member
0 Kudos

Hi,

I have a requirement whr in i need to map the IDOC(ORDERS.ORDERS04) to a file....in IR I have created the data type,message type....in Message Mapping step ..i have mapped 1-1 as follows :-

E1EDK01/BELNR - -- > mapped to DT_ORDER/ebein

E1EDP01/NETWR - - --> mapped to DT_ORDER/metpr...similarly

so my problem is tht when iam defining the MESSAGE INTERFACE..I have given the source message,target message and hit read interfaces....

in these step am not able to load the MESSAGE MAPPING created earlier...no mapping program found is the error am getting when iam checking for errors..please help me in this regard..let me know if u have any questions

I have cleared the cache .....saved the objects in Integration Repository and activated.....here is the error message am getting ...

"Check Result for Object IM_Orders_Mapped_File Mapping program Message Mapping MM_Orders_To_File | http://IDoc2FileScenario does not match request target message IDoc ORDERS.ORDERS04 | urn:sap-com:document:sap:idoc:messages. Target message Message Type MT_ORDERS_TO_FILE | http://IDoc2FileScenario of the message mapping is different "

Regards,

Kiran

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

you have to create a target msg interface in your namespace having the target msg type..........

now create a interface mapping having source interface as your IDOC and target interface as your above target msg interface............then click on read interfaces.........then your msg types will come in the below window.......then click on selecting msg mapping and then you will see your msg mapping.....

if still your msg mapping is not seen, then go to your msg mapping and see that the source msg should be your IDOC and the target msg shoud be your target msg type you created in your namespace.....

Regards,

Rajeev Gupta

former_member581827
Participant
0 Kudos

Hi,

Have you changed the occurence of any of your idoc structure or File structure in your message mapping under messages tab?

If so try to give the same occurence in Interface mapping as well and check. and try to check the idoc namespace and traget message namespace.

Regards,

Chandra.

VijayKonam
Active Contributor
0 Kudos

Looks like in your IM you have mentioned the message types in the other direction. Check them once.

VJ