IDOC as a receiver adapter in XI to 3rd party scenario

Hi All,
   I have an requirement to connect sap xi and 3rd party. the scenario as given below:
sap ecc 6.0  --> sap xi --> 3rd party
Here ecc is sending an idoc to the 3rd party. The 3rd party is SAP certified and intelligent enough to receive and send idocs. Here I'm using a idoc adapter as a receiver adapter. In the receiver adapter I have to give a rfc destination and a port name.
My question is how to create a rfc destination for the 3rd party. and which port name we'll use in this case. Is the port name will be the 3rd party port name is yes then how I can create a port in the 3rd party system.
Please help.
Regards,
   Santosh

A communication channel with a receiver IDoc adapter can be created automatically for business systems that are defined in the System Landscape Directory. refer this link
[http://help.sap.com/saphelp_nw04/helpdata/en/42/d1a4d665c5574fa6e19784358ec948/frameset.htm]
You need to configure the receiver IDoc adapter to convert Integration Server contents from IDoc-XML to native IDoc format and to forward the IDocs to an SAP system .
you create a port and the rfc destination pointing to receiver in PI system
use tcode sm59 for creating rfc destination and IDX1 to create port and map it to  rfc destination.

Similar Messages

  • PO no of customer in ORDERS05 IDoc with 3rd party scenario

    Hello experts,
    we have the scenario where we are getting purchase orders from our customer (which is in the same system like we are). Then we create SO for the customer and a PO to the external vendor. The goods should be delivered directly to the customer.
    In that 3rd party scenario we will send our PO via ORDERS05 IDoc to the vendor. Once the vendor is shipping the goods, he sends us an ASN and we create a statistical GR.
    Now our target is to give our customer somehow the information, that the delivery shipped from the vendor will be based on his PO to us. Do you know a way how we can give his PO no. to the vendor in the SAP standard ORDERS05 IDoc? Otherwise, is there a standard process to send our customer also the information that we received the ASN from vendor and transfer this information (maybe also as an ASN) to the customer with his PO no., so he can create an inbound delivery already?
    Thanks.

    Follow this Procedure... it works....
    Procedure
    1. Review the number ranges that have been created: The number ranges for the business partner in the Best Practices are defined as follows:
    IMG u2192 Cross Application Components u2192 SAP Business Partner u2192 Business Partner u2192 Basic Settings u2192 Number Ranges and Groupings u2192 Define Number Ranges
    01: The Regular business partner uses this number range: 2100000000 to 2199999999 and 03: 7100000000 to 7199999999 is used in the setting above for the ship-to party. Both are internal number ranges.
    XX is the external number assignment used to create the SD reference customer.
    2. The account group DEBI must temporarily be assigned to this external number assignment for the creation of this business partner:
    IMG u2192 Financial Accounting u2192 Accounts Receivable and Accounts Payable u2192 Customer Accounts u2192 Master Data u2192 Preparations for creation customer master data u2192 Assign Number Ranges to Customer Account Groups:
    Set account group: DEBI to external number range XX for the Business Partner creation step.
    3. Create an SD customer:
    Call transaction XD01: Easy Access u2192 Logistics u2192 Sales and Distribution u2192 Master Data u2192 Business Partner u2192 Customer u2192 Create u2192 Complete
    u2022 Select account group: Customer (general)
    u2022 Enter the Customer key: MUST_ALL
    u2022 Enter company code (1000)
    u2022 Enter sales area as follows:
    u2022 Sales organization: 1000,
    u2022 Distribution channel: 01
    u2022 Division: 10.
    u2022 Select Continue.
    Assign MUST_ALL in Master data>bp>settings for creating standard customers.

  • Receiving net payroll data from 3rd party (ADP)

    We are currently outsourcing 3rd party payroll to ADP. Master Data and Time Wage Type IDOCs are transmitted. After payroll processing, G/L data is downloaded through ADP Infolink G/L interface website as a .csv file.
    We want to receive G/L data back from ADP in standard SAP IDOC format. I have posed this question to ADP support with no luck.
    Has anyone imported G/L net payroll data back from ADP as an IDOC? Is this considered a different product than web-based Infolink G/L?
    thanks,
    Eric

    Hello Eric,
    We are currently in the process of implementing ADP and do master data transfer from HR to ADP.
    Would you be willing to have a quick phone call with me interms of lessons learned and advice from you on this.
    Please let me know.
    Thanks,
    Girish

  • IDOC to JDBC receiver adapter: SQLServerException after INSERT

    Hello,
    we are using SAP XI 3.0 and I have to set up an asynchronous IDOC to JDBC scenario.
    Informations coming via IDOC have to be inserted into an MS SQL database. The ID for each dataset will be set automatically when inserting, so there is no update. I have used the following structure:
    When sending an IDOC, the data will be inserted into the database, but in the Runtime Workbench the following Exception occurs:
      ' SQLServerException. A result set was generated for update. '
    It seems to me, that the result information of the database can't be handled in the JDBC adapter.
    Anybody an idea if this is a issue on the XI or maybe of the database itself?
    Thanks in advance.
    Jürgen
    Edited by: Juergen Grallert on May 11, 2009 11:17 AM

    hi,
    try setting logSQLStatement as described in OSS note 801367
    to see what get executed in the statement and you will know
    what to change in XI then - this is the proper way to debug jdbc issues
    Regards,
    Michal Krawczyk

  • Get idoc number of receiver system in a SAP-to-SAP scenario

    Hi,
    In a my custom program i create cremas idoc that i send to another SAP system to create the vendor in the second SAP.
    How can i do to get the inbound idoc number created in the receiver SAP to get and show its status in the sender SAP without to use the ALEAUD process?
    My scenario is SAP-SAP without anything between the two .
    Thanks lot.
    Matteo Vernile.

    Hi,
         Hi,
    The inbound IDoc is usually created by middleware system i.e. SAP XI, Gentran and etc.
    Once the IDoc created, you can use the inbound function module to post to the application. The function module is usually starting with 'IDOC_INPUT_xxxxx' where normally the xxxxx is the name of the IDoc message type.
    You can find the associated inbound process code/function module with the IDoc message type via transaction WE42.
    FM like IDOC_INBOUND_FROM_FILE...
    Check the Function module idoc_inbound_aysnchronous
    <b>Reward points</b>
    Regards

  • Receiving and Transmitting RTP (to 3rd party) simultaneously

    Hi All,
    I am trying to do a video conference, using those example files from JMF Solutions. I am able to send and receive live video from one node to another. Now i want to establish video conference between A to C and i want to store the entire session in B. Here actually i want to transmitt A's video to B, store the session in B and then from B i want to send it to C. Please give me some idea to do this.
    Thanks in Advance,
    Karthikeyan R

    Hello Eric,
    We are currently in the process of implementing ADP and do master data transfer from HR to ADP.
    Would you be willing to have a quick phone call with me interms of lessons learned and advice from you on this.
    Please let me know.
    Thanks,
    Girish

  • HTTP Receiver adapter with post

    Hello,
    I have following scenario.
    XI (http receiver adapater) -
    > 3rd party web based application.
    The 3rd party application expects XI payload to be part of URL with POST Method.
    When HTTP receiver adapter sends request to 3rd party application, the URL looks like as follows.
    http://myserver:6789/myapplication/name1=value1&name2=value2&.....&name27=value27
    I looked at HTTP receiver adpater document on SDN. I see some attributes such as headerfiled1, headerfiled2..... headerfield6 and urlfield1....urlfield6. I have about over 25 fields to be passed with URL.
    Now I have following questions.
    1. How to make XI payload as name value pairs and part of URL.?
    2. I think the default for http adapater is GET, How to configure http adaper to use POST?
    I appreciate your help.
    Thank you,
    Balaji

    > 1. How to make XI payload as name value pairs and part of URL.?
    You should create the whole URL in a user defined function in mapping.
    > 2. I think the default for http adapater is GET, How to configure http adaper to use POST?
    HTTP adapter (and SOAP adapter) use HTTP POST. GET is not supported.
    Regards
    Stefan

  • IDOC XML to 3rd Party WebService

    Hello,
    I am new to XI.  I want to now the possiblity and effort involved in using XI to receive an IDOC from an R/3 system and forward that IDOC as IDOC-XML to a WebService on a target 3rd Party application.  The 3rd Party WebService would have as oe of its input the IDOC-XML and will return a status of success or failure of RECEIPT.
    Is this a complex map in XI?
    Thanks in advance for any information here.

    Hi,
    >>>>>Is this a complex map in XI?
    the mapping itself - depends how many values you
    need to change (materials, partners ) and how
    lookup etc.
    the process - if you want to use the web service
    in a sync way (to know the status) you will need
    to use a BPM:
    IDOC - BPM - sync WS
    if the mapping will be easy (or non at all - just IDOC-XML) then the dev should take 1 day
    + tests etc...
    Regards,
    michal

  • How to Collect IDOCS before sending to 3rd party

    Hi All,
    I am sending out PO's using ORDERS idoc from SAP to 3rd party.
    In my scenario I need to group the similar IDOC data into a single file before sending it out to the 3rd party using XI. So in Partner profile I have choosen 'Collect IDOC' option and given the count as 10.
    Once IDOCS were generated they were in Status '30'. So I then ran RSEOUT00 to flush the PO idocs to XI. It did flush them out but as individual IDOCS.
    I had the impression that 'Collect IDOC' files the selected IDOCS into a SINGLE file/IDOC and then sends it out. Was I right in assuming that collect IDOCS merges all idocs into 1 file/idoc or is it wrong.
    If it does not, is there a way how I can merge all these IDOCS into a single file before sending to 3rd party ?
    Thanks
    Shirin

    Hi Shirin,
    For IDoc packages see -
    XI:Idoc Message Packages
    The specified item was not found.
    For IDoc Bundling see - The specified item was not found.
    Also, to see BPM Collect patterns, you can navigate to the SWCV named SAP BASIS in your IR. Under namespace http://sap.com/xi/XI/System/Patterns you will find the integration process called BpmPatternCollectPayload. There are many examples in this namespace.
    If you are new to BPM, see this - [Step by Step Guide to BPM|http://www.riyaz.net/blog/index.php/2008/04/16/a-step-by-step-guide-to-bpm-asynch-sync-bridge/].
    Hope this helps.
    Regards,
    Riyaz

  • Send Idoc flat file message in JMS receiver adapter

    Hello,
    I am working on a scenario where we send Delvry 03 idoc from ECC to external system. To external system, we send the whole Idoc in flat file structure through JMS queue. I have used Idoc to flat file program in my interface mapping and have configured JMS receiver adapter with just default Module configs but, I am getting an error in communication channel monitoring for the messages.
    Please note that Idoc xml to flat file structure conversion is already done in the mapping, I need to just pass this idoc flat structure in the jms adapter. Hence ther eis no content conversion i nthe adapter..
    Please give some inputs..Here are the modules in my receiver adapter and nothing else..
    SAP XI JMS Adapter/ConvertMessageToBinary
    SAP XI JMS Adapter/SendBinarytoXIJMSService
    The error I get is in audit log
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_R:ca336a6689f837da8bd3387140fc4447
    in turn the message has this error if I open the message
    Whitespace is not allowed at this location. Error processing resource 'http://host:port/mdt/messageconten...
    and it shows one of the lines from idoc..flat file
    Any idea is greatly appreciated..Thank you..Thanujja

    The difference in what I suggest is that it is way simpler.
    Maybe you did not understand this, so will try to explain it better. Its not the best thing to do, but if JMS adapter doesn't budge then you can give it a shot.
    1. You continue to use the ABAP mapping in your interface mapping to map the Idoc xml to Idoc flat.
    2. Write a Java Map that will take the output of the ABAP mapping ; and then create a XML output which would be something like,
    <Root>
    <Idoc_Flat>
    <Data>ABAP Mapping Output<Data>
    </Idoc_Flat>
    </Root>
    3. Now use the simple content conversion in the JMS adapter to convert this to flat file.
    Regards
    Bhavesh

  • Overwrite MESTYP in IDoc Receiver Adapter PI 7.1 SP8

    Hi all,
    can anybody tell me, how i can overwrite the MESTYP field in Idoc Receiver Adapter in PI 7.1 SP 8
    BR,
    Martin

    If you would have read the link you posted, you would have seen that "Apply Control Record Values from Payload indicator" in the receiver IDoc adapter, only overwrites the following fields:
    MESCOD
    MESCFT
    TEST
    EXPRSS
    STD
    STDVRS
    STDMES
    SNDSAD
    SNDLAD
    RCVSAD
    RCVLAD
    REFINT
    REFGRP
    REFMES
    STATUS
    DIRECT
    OUTMOD
    CREDAT
    CRETIM
    Sorry but it seems that this forum just get's spammed with answers based on superficial knowledge just in order to increase the count on your answers.
    Hopefully SAP-Forum admins quickly implements a quality control for forum answers!

  • IDOC Sender Adapter and Receiver Adapter

    Hi,
    Why we don't require IDOC Sender Adapter to communicate with PI and why IDOC Receiver Adapter is required to communicate with SAP ?
    Regards,
    J Augastine

    Hi,
    >>>Why we don't require IDOC Sender Adapter to communicate with PI
    you're talking about sender and receiver agreements right ?
    as this adapter is based on abap stack - with new functionalities of IDOC adapter
    require sender agreement
    >>>and why IDOC Receiver Adapter is required to communicate with SAP ?
    as we need to put the RFC to the destination system somewhere...
    Regards,
    Michal Krawczyk

  • IDOC Receiver Adapter

    Hi,
    We have IDOC receiver adapter and data for control record is fed from mapping. For this we have checked the flags " apply control record" and sender receiver from payload.
    Recently we copied our QA system from Dev and while testing the Control records are coming from Dev.  We have mapping in place whcih looks at the value of receiver and if it does not match with QA, by default it assignment  the dev system as receiver
    When i am running the interface this mapping is failing and IDOC of QA is getting DEV Control record parameter.
    How doe this receiver/sender value is determined in mapping. I checked  the SLD and everything looks good.
    I cannot test the mapping as while testings is giving 'Test_SenderService' etc which is expected.
    Thanks!

    We have mapping in place whcih looks at the value of receiver and if it does not match with QA, by default it assignment  the dev system as receive
    >>> Can you share the UDF?
    Are you reading the system name(System.getProperty("SAPSYSTEMNAME")) to determine the environment of the XI system??
    Make sure that updated the logical system names in SLD..

  • Steps to define correctly IDoc receiver adapter

    Hi guys,
    I try to set up the IDoc receiver adapter, but I still get error, that adapter is not deefined correctly...
    Can you pls send me the info, which all steps I have to do, to have it defined correctly?
    Thanx in advance, Peter
    Message was edited by: Peter Jarsunek

    Guys,
    I'm in trouble.. I tried all the things you advised me, but nothing works... I still get the error: Communication channel is not defined correctly.
    I have read all the links, but please, understand - I'm not a "SAP" man
    Could you please write me step-by-step help, what to do??
    e.g.   1, on XI box - SM59 (you have to define RFC connection to target system)
    PLEASE!!!!!
    10 PTS for YOU!!!
    Thanx in advance!!

  • Filename from payload - FTP receiver adapter

    Hello everyone!
    I have a scenario wherein I need to get the value from a field coming from an IDOC and then give that value as the "filename" of the file that is saved in the FTP folder.
    IDOC > XI > FILE
    For example, if /ORDERS05/IDOC/E1EDK02/BELNR = 620000123
    then I want the name of the file to be saved in the FTP folder to be 620000123.xml
    I understand you may use the 'variable substitution' property in the FTP receiver adapter, but subsequent attempts at trying to configure that property have resulted in errors. Can anyone help me out?
    Warm regards,
    Glenn

    do u have recordset name (root message)
    For Ex: If you want to refer to the field which is bold
    below is your variable substuition:
    payload:root,1,e1,1,e2,2
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
           <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
       </e1>
    </root>
    Similarly
    for your strucutre:
    <MS_MT>
    <order>
          <number>
    the variable substuition would be
    payload:MS_MT,1,order,1,number,1
    you have to give complete XML to arrive to this value.

Maybe you are looking for

  • Volume control for video playback through Apple TV2

    I am trying to configure the volume settings used on airplay through apple TV2 and a macbook pro and Iphone4 all with most recent updates. I am using the apple remote app on my iphone to control the apple tv. Whats working: Using the pandora app on m

  • Using external font file in a  pdf document

    Hello, I try to create programmatically a pdf file which whould use an external ttf file. Right now my soft generates something like this: 3 0 obj <</Type /Pages/Count 1/Kids[5 0 R ]/Resources<</Font<</F1 7 0 R>>>>>> endobj 7 0 obj <</Type /Font/Subt

  • Invoke Node - Make current values default

    I have an issue similar to many postings regarding the use of an invoke node to set control values and then to make those values default in that I get an error message: "Error 1000 ( The VI is not in a state compatible with this operation)." The catc

  • I burned a DVD using FCP X and it skips.

    Are there good video tutorials that go over how to use FCP with compressor? OR how can I get this to not happen? Thanks!

  • Downpayment procedure

    Hello, dear colleagues Question, should I have two separated pricing procedures to process downpayment and standard process in SD? Actually the question is regarding VAT. In standard sales the base for VAT calculation should be net value, but for dow