What is iDoc Adapter for XI?

I am working on XI and came to know that I have to use iDoc Adapter for the same. I want to know
1. What is an iDoc Adapter
2. How it is used for XI
3. How to configure the same
Thanks,
Nishant

Hi Nishant,
Follow these steps................Here You can find the detailed decription...
ALE settings.
SAP XI
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD – System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name.
See the below links
Introduction to IDoc-XI-File scenario and complete walk through for starters. - IDoc to File
IDOc testing - Generate Test Case for an IDOC Scenario
Convert any flat file to any Idoc-Java Mapping - Any flat file to any Idoc
IDOCs (Multiple Types) Collection in BPM - Collection of IDoc to Single File
Introduction to IDoc-XI-File scenario and complete walk through for starters. - IDoc to File
File-XI-IDoc Scenario - File to Idoc
idoc settings Configuration steps required for posting idoc's(XI)
idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
idoc mapping - How to Support Industry Standards in XI (Part II of III) - Mapping
IDoc erros troubleshooting - Troubleshooting of ALE Process
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
see the below links to get more details about IDocs
ALE/ IDOC/ XML
Troubleshooting of ALE Process - Troubleshooting of ALE Process
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
IDOC Convertion
Changing fields in an Idoc segment
Please check this online document for ALE and IDoc.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
serialization The specified item was not found.
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.henrikfrank.dk/abapexamples/IDOC/gl_postings2.htm
http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages
Process codes in IDOC
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b806743d711d1893e0000e8323c4f/frameset.htm
http://edi.stylusstudio.com/msg04418.htm
Check this link to find out the difference b/w ALE,IDOC and BAPI
http://www.sap-img.com/abap/ale-bapi.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
Introduction to IDoc-XI-File scenario and complete walk through for starters.
---Split messages :
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
Have a look at this document, which explains the settings in IDOC-File scenario,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
Regards,
Vinod.

Similar Messages

  • Sender IDOC adapter for SAP 3.1H system & XI 7.0

    We are on XI 7.0 and XI would receive a IDOC message from SAP 3.1H system.
    I need to import IDOC's in imported objects in integration repository but I cannot see any IDOC under the IDOC node. I am able to see the RFC's. Do we need to do extra steps with SAP 3.1H version for IDOC adapter?
    Thanks in advance for help!
    Mrudula

    Ahmad,
    This thread is for sender RFC adapter. I am able to see the all the RFC's but not IDOC's from Integration repository for imported objects from SAP 3.1H version.
    Thanks!
    Mrudula

  • Why we use IDOC adapter for IDOC as reciever?

    hello,
    Why we use IDOC adapter while using IDOC as receiver, whereas we don't use IDOC adapter while IDOC is sender?
    I am clear about why we don't use adapter for sender IDOCs.
    Thank you.
    Sarika

    Hi Sarika,
    >>>>Why we use IDOC adapter while using IDOC as receiver,
    maybe the easiest answer would be that we use
    IDOC adapter as receiver to tell the XI where he should
    send the data - there are many systems to which we can
    connect our XI and somewhere there has to be an object
    which will tell thx XI "where to" -> which RFC destination should it use
    BTW
    I believe IDOC apdater is also used as sender
    although you don't configure it in AF:
    "Once the IDoc has left the application through the RFC interface and has reached the <b>IDoc adapter</b> at the Integration Server inbound channel, the system converts it from IDoc format to IDoc XML format"
    from:
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    Regards,
    michal

  • Doubt about IDOC Adapter

    Hi all,
    i'm using idoc adapter for generating IDOCS from R/3, and my scenario is: IDOC->XI->File. this is working fine, in R/3 i've got partner profiles for diferent vendors(suppliers) and they are configured for create idoc message in R/3 and all this message are caught by XI from my scenario and generate the corresponding text file.
    but now suppose that I need another scenario because i need to send purchase orders by mail instead file to some of my vendors in R/3. the scenario would be IDOC->XI->Mail.
    for both cases i would use ORDERS05.
    i can't undertand how XI knows wich scenario have to use, if there's nothing from R/3 that tells XI which scenario should be used.
    thanks, Fabian.

    Thanks for responses, I know what should i use to do what i wanted. but i've tried to make a condition in the receiver determination and it's giving me an error saying that 'No receiver could be determined'.
    i've searched in other threads and i have seen that utilizes xpath to make conditions
    what i have done is add a condition in Configured Receivers as  '/p1:ZORDERS2/IDOC/EDI_DC40/RCVPRN = 0000010598'
    because depending on the partner, i want to use either one or other adapter (file or mail)
    do i have misedd something?

  • Central User Administration Idoc's for a XI system

    Hello,
    We are setting up a Central User Administration (CUA) in Solution Manager. One of the systems that needs to be a child of this CUA is a SAP XI 2.0 system.
    The distribution of the Users is done by IDocs.
    Everything is working fine from the CUA to a SAP R/3 system.
    But when we make the XI 2.0 a child all the IDoc's are caught by the XI IDoc adapter in stead of going directly to the IDoc inbound handler of the XI system.
    Has anyone been able to send an IDoc to an XI 2.0 and bypassing the IDoc adapter and sending them directly to the XI IDoc Inbound handler?
    Any kind of info will be greatly appriciated.
    With kind regards,
    Leon Boeijen

    Hi Leon,
    to bypass the IDoc Adapter for specific IDocs you can specify these IDocs using the report IDX_SELECT_IDOCTYPE_WITHOUT_IS.
    Kind regards,
    Andreas

  • Help Idoc Adapter

    If I have a WAS 640 can I define an idoc adapter or does it have to be with a proxy? 
    if I can generate an idoc adapter that parameters should keep in mind

    WAS 640 you can use a Proxy for triggering communication to/from IDOC..But advisable to use standard IDOC adapter.You would need Receiver IDOC adapter for communication to SAP.Sender adapter is not reqd for triggerering IDOCs.
    For further details
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm</a>

  • XI Business content for MDM - Syntax error in IDOC adapter

    Hi mates,
    I'm trying out the Master Data Harmonization scenario for Vendor data with R/3 as the client system. I'm using SAP delivered XI Business content for MDM. The mapping program is generating ADRMAS and CREMAS IDocs but the IDOC adapter reports that there is a syntax error in ADRMAS IDOC. Find below the details.
    <i><SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>Segment 'E1BPAD1VL', segmentnumber '000001' not correct in structure ADRMAS02</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: Segment 'E1BPAD1VL', segmentnumber '000001' not correct in structure ADRMAS02</SAP:Stack>
      <SAP:Retry>M</SAP:Retry></i>
    Generated ADRMAS IDOC is
    <i>  <?xml version="1.0" encoding="utf 8" ?>
      <ADRMAS02>
      <IDOC BEGIN="1">
      <EDI_DC40 SEGMENT="1" />
      <E1ADRMAS>
      <OBJ_TYPE>LFA1</OBJ_TYPE>
      <OBJ_ID>0000500140</OBJ_ID>
      <CONTEXT>0001</CONTEXT>
      <E1BPAD1VL SEGMENT="1">
      <FROM_DATE>00010101</FROM_DATE>
      <TO_DATE>99991231</TO_DATE>
      <NAME>Swift Transportation</NAME>
      <COUNTRY>US</COUNTRY>
      <COUNTRYISO>US</COUNTRYISO>
      <LANGU>E</LANGU>
      <LANGU_ISO>EN</LANGU_ISO>
      <SORT1>SWIFT TRANSPORTATION</SORT1>
      <TIME_ZONE>CST</TIME_ZONE>
      <E1BPAD1VL1 SEGMENT="1">
      <LANGU_CR>E</LANGU_CR>
      <LANGUCRISO>EN</LANGUCRISO>
      <ADDR_GROUP>BP</ADDR_GROUP>
      </E1BPAD1VL1>
      </E1BPAD1VL>
      </E1ADRMAS>
      </IDOC>
      </ADRMAS02></i>
    Strangely, the control record is blank. I looked at the XSLT program, it is coded that way. I do not understand the reason. Is the error pointing to the control record?
    Look at the code sample from XSLT mapping program
      <xsl:for-each select="IDOC/*/E1ADRMAS">
           <IDOC BEGIN="1">
           <!-- The header data of each single ADRMAS-IDoc needs to be there but does not require specific data -->
                <EDI_DC40 SEGMENT="1"/>
                <xsl:apply-templates select="."/>
           </IDOC> 
      </xsl:for-each>
    How can an IDOC w/o control record be posted?
    Did anyone come across this error? Whats wrong/missing?
    I appreciate ur inputs.
    thx in adv
    praveen

    Moorthy,
    I tried reloading the IDOC metadata from IDX2. Still I get the same error.
    Regd, IDOC w/o control record, can u elaborate on "dynamic value while posting IDOCs". From where, XI message SOAP header with Business System replaced by corresponding logical system names?
    Thanks
    Praveen

  • Empty payload for idoc adapter

    Hello,
    I have a file to idoc scenario with an xslt mapping. Normaly after the mapping the idoc looks like:
    <wpwuw>-
         <idoc>...</idoc>
         <idoc>...</idoc>
    </wpwuw>
    Because of the business requirements in some cases the mapping should not generate an idoc. That means I have to create an empty payload.
    The problem is that the idoc adapter creates an error for all kinds of empty messages.
    a) empty payload
    b) empty trading segment  ( <wpwuw></wpwuw> )
    c) empty idoc segment  ( <wpwuw>-<idoc/>-</wpwuw> )
    Any idea what I can do not to get an error from the idoc adapter ?
    Regards Bernd

    HI
    instead of creating empty paylaod. Use conditional(enhanced for mapping & standard for condition on Xpath) receiver determination for this and dont generate IDOC for the specified conditions.
    Thanks
    Gaurav

  • Error when Loading Metadata for IDOC Adapter

    Everybody,
    I know this should be pretty straight forward and that there are a few posts about it.  But following the Demo 3.0 guide and the posts I can't seem to load the data into the IDOC Adapter.  I did every step in the guide and when I try to execute IDX2 for the source port I previously created I get the error "No RFC Destination is maintained  for the port".
    Following the guide I have my XI host
    ID:ABC
    Instance:01
    Client:700
    Executed IDX1 and got port SAPABC_107 with RFC Dest-ABC_107, which I defined previously with transaction sm59 and the test came back ok.
    When I try to execute IDX2 I get the error message...
    What am I missing ?????
    Thanks!
    Diego

    Everything was setup before (by following the XI 3.0 Demo guide) here are the steps I did:
    1. Setup an RFC R/3 Destination on my client 107 (American Airlines) to client 700 (my XI): ABC_700
    2. Setup an RFC R/3 Destination on my client 700 to client 107: ABC_107
    3. Setup the IDOC processing port "SAPABC" on client 107 with RFC Destination ABC_700.
    4. Define partner type LS for logical system ABCCLNT105 (Airline Lufthansa)
    5. Define partner type LS for logical system ABCCLNT700 (XI)
    6. Specified the ALE distribution model in client 107.
    7. Execute IDX1, I input the SAPABC port created in step 3, input the client number 107 and the RFC destination ABC_107 created in step 2 and save.  The result is port SAPABC_107.
    AND..!! where the error occurs:
    8. Execute IDX2 input port SAPABC_107 and idoc type and get the error message "No RFC Destination is maintain for SAPABC_107"
    Any ideas !?
    Thanks
    D
    The client 107 represents the Airline American Airlines and has a R/3 RFC Destination to client 700, my XI.  The same way my XI has an R/3 RFC Destination to client 107.

  • QoS for IDOC adapter

    Hi all ,
        what are the QOS available for idoc adapter
    Regards,
    Tarang

    Hi,
    Check on this:
    <i>The quality of service EOIO (Exactly Once In Order) must be specified in the message header.
    The receiver system or the sender system must be based on SAP Web Application Server 6.40 or higher.
    If this is not the case, the quality of service is automatically changed to EO for compatibility reasons and the message is processed accordingly.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    Regards
    Vijaya

  • Port Settings for IDoc Adapter

    Hi All,
    Our scenario is like this ERP -> XI -> File. ERP sends IDoc to XI. I have a couple of questions.
    1. In the control part of an IDoc, there's a sender partner number and sender port. What are they used for? As I understand, the partner and port represent the destination of the IDoc instead of the source. Why is there sender port and partner?
    2. We need to maintain port using IDX1. Should I set the name of the port to be the same as the sender port of the IDoc?
    3. I didn't configure the scenario and the IDoc sender adapter. If the ERP system sends IDoc to XI, can I find it in t-code IDX5?
    Best Regards
    Jerome

    Hi Jerome,
    1. Sender Partner and Port :  The control record should have sender port and partner number. This will be used by the receiver system (i.e., XI system). Because, receiver system should know from which system this IDoc is coming using Sender Partner number. This partner number should be same as Logical system name in Sender Business system which is configured in SLD.
    The sender port should be SAP<Sys-id of sender system>
    and sender partner number should be <sys-id of sender>CLNT<client number of sender>
    2. The port created in IDX1 will be used for importing IDoc's metadata in XI system from R/3. IDoc metadata is needed by IDoc adapter to convert incoming IDoc to IDoc-XML format.
    It is mandatory to have same name for Port in IDX1 and sender port of the IDoc's control record.
    3. I think the IDoc wont be listed in IDX5 if scenario and IDoc adapter are not configured. IDX5 displays inbound and outbound IDocs in the IDoc adapter.
    Regards,
    Uma

  • Meta data Overview for Idoc Adapter

    Hi All,
       When i am trying to create meta data overivew for Idoc adpater of my source port, i am gettign this error "<b>Error: I::000</b>" and surprising abt this error.Any clues on this.........:) what should i do to do this??
    Thanks in Advance
    Cheers
    Veera

    Hi All,
       Once i have cross check RFC destination & Port and tried to load the meta data it was succesfully loded with out ant errors.The same port i have mention in Receivr Idoc adapter and tested the sceanrio File2Idoc.It is working fine.
    I have solved the problem my own ( And the tricky thing is i have deleted and recreated RFC dest,Port from XI to R3).However what is the cause of this error??
    Cheers
    Veera

  • Steps required for Sender IDOC adapter PI 7.0

    Hi all,
    My basis guy has installed SAP EHP1 for PI7.0 for handling the idoc packaging(sending idocs in packs)...
    Please can any one let me know the further settings required in PI after it has been installed...
    and even when i open the sender IDOC in comminication channel in ID i am able to see only 3 options
    Transport prtocol, message protocol,Adapter engine...
    But i am not able to see the other fields...
    Can any one help me...
    Thanks and Regards,
    sridhar

    Hi Michael,
    Thanks for your reply..
    I searched for the docs in many ways.. but couldnt find proper information regarding the IDOC packaging with sender IDOC adapter and steps required...
    Could you please let me know  if i can get the book in Singapore since our project, because almost 90% interfaces are related to IDOC...
    And request you if you can share me the steps required in PI to confirgure IDOC packaging for EHP1...
    Regards,
    Sridhar Reddy
    Edited by: sridhar reddy kondam on Jun 15, 2009 4:35 AM

  • Message split on adapter engine for the java based IDoc adapter

    Hi Guys,
    Do you know if message split on adapter engine is available for the java based IDoc adapter on the single stack (PI 7.31)?
    I'm getting such exception when I try to post 3 IDocs
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Invalid XML 1.0 character encountered within IDocXML for type <ns0:Messages>:
    state=EXPECTING_IMMEDIATE_TAG_END, charPosition=68, lineNumber=1, columnNumber=69, invalidChar=U+0078,
    sourceSnippet=...UTF-8" standalone="no"?><ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><...
    ^
    Mapping is one to many.
    Each IDoc content has been compared manually against the xsd schema and it was fine.  
    I know that old way of modifying xsd is still possible.
    Best regards,
    Wojciech

    Did you find a solution to this? Having a similar error right now.
    Thanks and kind regards
    Jens

  • Adapter Module for receiver IDOC adapter?

    Hi,
    I have a scenario where i need to do some custom logging in the receiver adapters. For all receiver file adapters, i have written an adapter module which fulfills this custom requirement but how will i do this in the receiver IDOC adapter as its on the ABAP stack? I cannot write a java adapter module for this.
    Is there anyway by which i can write a ABAP adapter mosule and deploy it in the IDOC adapter? Or any other way to achive it. the scenario is such that i need to do the logging before the idoc is posted into R/3 system by the idoc adapter.
    Please advice.
    Regards,
    Yash

    Hi Chirag,
    Yes i have seen that the module tab is disabled for idoc adapter. I have a fin interface where i need to split a incoming file into an idoc and a file. For this purpose i need to log how many records are received by each adapter and the sum of the line items for audit perspose.
    any othr way to do it apart from doing it in message mapping. The req is to do in the adapter engine.

Maybe you are looking for

  • Many Questions; Main: How to update to Mavericks in 2015?

    Hello everyone! I'm currently trying to install Wine on my Mac so I can run some old Windows games without having to install Windows. It proves more difficult than I imagined though... They want me to install a program called "Xcode" from the App-sto

  • HT204088 how to cancel automatic downloads from Newstand

    Please advise how to cancel an automatic download for Whole Living subscription downloaded to the Newsstand app on my iPad.  It is not simple.

  • Why does my iTunes only show iTunes U and podcast options

    Why does my iTunes only show iTunes U and podcast options at the bottom. I just want to be able to watch movies on my iPad :( Plus when I go to the videos app and tap go to iTunes Store I get a blue message that says "cannot connect to iTunes Store".

  • Forget Security Question Answer

    Hi BB users  I facing some problems with reset my  BB id password  .. I forgot my password and my full name in " Security Question " ..I tried to sign with different  username but not acceptable ... Any way to return my user .. plz help me :\ BTW I u

  • Service entry sheet date change box prompting in ML81n

    Hi Gurus, Can anyone tell me why this might be happening. Lets say we created a service entry sheet in the previous period and after performing the service i want to approve it. I cannot post to the previosu period because it is closed. I can only po