cancel
Showing results for 
Search instead for 
Did you mean: 

REG: IDOC

Former Member
0 Kudos

Hi all,

I have scenario where i need to extract a field from sender IDOC and make a RFC call to the sender system with the extracted field. Can any one suggest me how to extract a field from IDOC and to make a RFC call with the extracted field?

Thanks

Siva.

Accepted Solutions (1)

Accepted Solutions (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

you need to import the IDoc and RFC into PI, for this you need to know some parameters

SID

Instance

Client

server host

user

pass

take in mind that you have to configure the ALE layer to exchange data via IDocs.

see this

thanks

Rodrigo

Answers (4)

Answers (4)

former_member182455
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi,

If you are good at ABAP Coding, you can go for ABAP Mapping for this.

Go through the link http://help.sap.com/saphelp_nw04/helpdata/en/47/b5413acdb62f70e10000000a114084/frameset.htm

where you can get an idea of DOM Parser,and IXML Library. And this DOM Parser cotains methods to filter data (for ex: if_ixml_node_filter ) and iterating through the node using if_ixml_node_iterator methods,based on a particular node/critaria.

For this implement a class in SE24 of XI System and implement interface class in that.

For ABAP Mapping go through the following links.

http://www.saptechnical.com/Tutorials/XI/ABAPMapping/page1.htm

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

Thus you can achieve your goal through ABAP Mapping taking one particular node data and based on that data you can fetch data from sender system.

Please get back for any other clarifications.

Pls award marks if found useful.

Thanks

Hamja

Edited by: Hamja Hussain on Aug 6, 2008 2:33 PM

Edited by: Hamja Hussain on Aug 6, 2008 2:38 PM

Edited by: Hamja Hussain on Aug 6, 2008 2:41 PM

prateek
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Siva,

you have to import the RFC in your integration repository.

Than make a message/interface mapping where you map the relevant fields from IDOC to you rfc-interface.

Than you can call the RFC

Regards Mario