Skip to Content
avatar image
Former Member

problem in loading meta data !!!!

Hi,

While creating metadata in IDX2, I am getting “communication error 'Error when opening an RFC connection' “ .

I have created port SAP<SYSTEM ID> and client no & giving rfc des of sap system in idx1 . and while loading meta data i an getting above error .

.

I able to load meta data if i use other (non sap ) port eg abc and usng rfc des of sap system . but idocs are not reaching xi

What are the steps we should do for loading metadata by using sap port i.e client .

Please help me solve this problem

Thanks,

Sridhar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 26, 2008 at 09:46 AM

    HI

    ALE SETTINGS TO POST IDOC OUT OF SAP R/3

    We need to do the following settings in XI

    1) Create an RFC Destination to the Sending System in transaction code (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.Both should be succesful

    ****************************************************************

    2) Create Port Using Transaction Code 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 Using transaction Using Transaction (IDX2)

    **********************************************************************

    a) Create new

    b) IDOC Message Type

    c) Enter port created in IDX1

    **********************************************************************************************************************

    SETTINGS IN SAP R/3

    ***********************************************************************************************************************

    We need to do the following settings in R/3

    Logon to Sap R/3 System

    **********************************************************************

    1) Create an RFC Destination to XI in transaction code (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.Both must be succesful

    ***********************************************************************

    2) Create communication Port for Idoc processing Using Transaction(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)

    d) Enter the RFC Destination created in SAP R/3 towards other system.

    e) Save

    ***********************************************************************

    3) Create Partner Profile with Outbound Parameters (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

    Then Save

    e) Select Partner no. and LS which were create above

    f) Now we have to give some Outbound Parameters.So click on ADD TO Create Outbound Parameter

    g) Select Message type

    h) Double click on Message Type and Then Enter the details for Receiving port, Pack size=1 and Basic type

    I) save

    *****************************************

    4) In Transaction SALE, Create Logical System

    *******************************************

    a). Go to Basic Settings-> First Define logical systems

    and then assign logical systems

    b) Double click on Define the logical systems

    c) Give data for your Logicaal System and Name

    d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready

    e) Assign the logical system name to the client

    *******************************************************************

    5) Create Customer Distribution model in the transaction code BD64

    ******************************************************************

    1) Click on the Create modal View button and enter the short text, Technical name etc as shown below

    2) Now select the created model view and click on Add message type button .A pop up box appears, enter Sending system, receiving system and message type

    3) Save the Distribution model

    Generate Partner Profiles

    Click on Menu Item ‘Generate Partner Profiles’

    It leads to the next transaction where in the selection screen you have to provide Model view name, Partner System logical system and execute

    Then, you will be intimated about the partners, port creation, and outbound parameters creation

    4) Distribute Customer Distribution Model

    In the menu item GO to Edit->Modal View-> ‘Distribute’ to the destination client

    Popup window appears ,press Enter

    You will be intimated about the the Modal View Distributed

    PLZ REWARDS POINTS

    VIKAS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2008 at 09:48 AM

    Hi,

    Follow these steps to Load Metadata

    Steps

    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.

    Regards

    Seshagiri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2008 at 09:54 AM

    Hi,

    Idoc configuration Required~

    in R/3

    1) RFC destination pointing to XI

    2) WE20 Partner Profile entries

    in XI

    1) RFC destination pointing to R/3

    Go thru this -

    configuration steps for receiving idoc in xi from r/3

    Go thru these for Idoc to XI scenarios-

    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

    These will be the Configurations needed in your R3,

    1. SM 59 - Create an RFC destination for your XI .

    2. We21 -- Create a port for XI

    3. We 20 -- Create a partner profile entry for the Outbound IDOCs for XI.

    Configuration on XI

    1. IDX2 - Import IDOC metadata.

    For eg : Lets assume the R/3 system and Xi system are QZA and X7A.

    In XI :

    Step 1 : In SALE Tcode :

    a)Create Logical systems for R/3 and XI.

    EG : (QZACLNT100) and (X7ACLNT100).

    b) Assign the logical system of XI to Client.(X7ACLNT100)

    Both the above options u can find in SALE transaction under SENDING and RECEIVING SYSTEMS tab

    Step 2 : In SM59 create RFC destination in XI pointing to R/3(i.e IP address of R/3) (This RFC Destination name shd be same as the Sender LS name)=> QZACLNT100 is my RFC destination.

    Step 3: Create the PORT in XI for the Sender system and assign the RFC destination.

    In R/3 :

    Step 1:

    In SALE Tcode :

    a) Create Logical systems for R/3 and XI for

    b) Assign the logical system of R/3 to Client.(QZACLNT100)

    Step 2 : In SM59 create RFC destination in R/3 pointing to XI(i.e IP address of XI) (This RFC Destination name shd be same as the Receiver LS name)=> X7ACLNT100 is my RFC destination.

    Step 3: In SALE Tcode under Modelling and Implementing Bussiness Processes-> maintain Disribution Model and Distribute Views.

    a)Click on that ,it shall take to Tcode BD64 ,where u can create a Distribution Model.

    b)Once you create that ADD MESSAGE type(You have the button at the top), there it shall ask for Receiver and Sender LS and Message type.

    c)In Menu Bar EDIT->Generate Partner Profile.

    Click on that and press Execute .

    This shall create 2 partner profile X7ACLNT100 and QZACLNT100 ,X7ACLNT100(this is the partner number for QZA system) shall have the outbound parameter as CREMAS, and QZACLNT100 is created with no parameters ,you need not worry .

    d) Click EDIT->MODEL VIEW->Distribute.

    This shall distribute the model and you can see the distribution mode aslo getting created in XI system.

    This configuration shall surely help u out as it worked out for me.

    Configurations required for IDocs in R/3

    In your XI system, you need to do the following.

    1. Create a RFC destination to your R/3 system

    2. Create a port in IDX1 of your XI system and use the RFC destination in step1.

    3. Try importing a idoc metadata thru idx2 transaction to check whether the configuration is correct.

    4. In your SLD configure the technical system and business system. The technical system should hold the logical system name you have in your R/3 system client.

    5. Import the business system and you can use it in your configuration scenario.

    Please also refer below links for details.

    Go thru this-

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c

    SAP R3 ->Legacy system including master data using XI

    Regards,

    Phani

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26, 2008 at 10:11 AM

    Check if the user id and password for the RFC which you are using inside the port in IDX1 is correct or not?

    Add comment
    10|10000 characters needed characters exceeded