cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC--XI--IDOC Using ABAP MAPPING

vsubbakrishna
Participant
0 Kudos

Hi all,

My requirement is to map source IDOC fields to target IDOC fields using ABAP Mapping.

few fields in source idoc structure has to be merged into a single field in target idoc structure.

need help on how to start with as i am not exposed to ABAP Mapping.

regards,

Subba

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Check these weblogs also...

/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi

/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping

~~Sekhar

vsubbakrishna
Participant
0 Kudos

hi all,

basically i want to know where exactly i need to write the ABAP Mapping and to read the inbound idoc segments, manipulate the fields and pass those fields to target idoc structure.

what should be the DT,MM?

udo_martens
Active Contributor
0 Kudos

Hi Subba,

>>>>>i want to know where exactly i need to write the ABAP Mapping

In transaction SE80. You refer that ABAP mapping in IB Repository at IF mapping.

>>>>>what should be the DT,MM?

that's your imported (into Repository) IDocs.

Regards,

Udo

vsubbakrishna
Participant
0 Kudos

HI Udo,

so do i need to create a class to read inbound idoc...

if yes how will my ABAP class look like.....and how to read each field in idoc...

thanks,

Subba

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

You will need to create an ABAP mapping class.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0...

Just go through this document . It has all steps including an example. Should actually answer your questions.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Subba,

This document that i gave, explains it clearly...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4...

Also where to write the ABAP Mapping program?...Udo has already given you the transaction.

And your Dataype and Message type will be created in ur IR like in the case of any other scenarios...

and to know how to use the mappinf program written in your Message Mapping in your IR... Go through the document given..

Also my suggestion is that you first try to replicate the scenario explained in the document.

Regards,

Abhy

udo_martens
Active Contributor
0 Kudos

Hi Subba,

nice people posted u helpful links. Read them!

Regards,

Udo

Answers (4)

Answers (4)

vsubbakrishna
Participant
0 Kudos

solved

Former Member
0 Kudos

Hi all,

I am doing a idoc to JMS queue scenario using ABAP Mapping.

Basically i want to know exactly how to read the inbound idoc segments and their field values. I have gone thru all the links posted by u all.

If any body could suggest me how to read idoc->segment->fields or give some sample code, it would be very helpful.

Thanks & Regards,

Mani

Former Member
0 Kudos

Hi Subba,

I suggest you also go through these links:

https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf

/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi

/people/r.eijpe/blog

Refer to following SDN Demo which explains the need and how to do the ABAP mapping.

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken]

This document will help you to create ABAP Mapping.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0...

Regards,

Abhy

Message was edited by: Abhy Thomas

bhavesh_kantilal
Active Contributor
0 Kudos

Subba,

take a look at this article for ABAP mapping,

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383">How to Use ABAP-Mapping in XI 3.0.pdf</a>

Regards,

Bhavesh