Skip to Content
avatar image
Former Member

REG: IDOC

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Aug 06, 2008 at 12:30 PM

    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

    ALE Scenario Development Guide

    Transporting an ALE Distribution Model into QA and Production Systems

    Troubleshooting of ALE Process

    XI or ALE....Which one is better ?

    thanks

    Rodrigo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 12:31 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 12:54 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 11:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 06, 2008 at 11:37 AM
    Add comment
    10|10000 characters needed characters exceeded