Current Position:Home > Design Patterns needed for SAP XI

Design Patterns needed for SAP XI

Update:11-30Source: network consolidation

The Best Answer

Here are the general step for designing for file to r/3 integration using IDOC,RFC
After doing this ull get good idea abt the sap xi designing
To Configure the FILE TO SAP R/3 OR SAP R/3 TO FILE, proceed as follows:
1      From the Integration Builder page, select “Integration Repository”. This will launch the Java Web Start Application. Log with the User id and password from the  Integration Server.
2.      Choose Tools->Transfer from System Landscape Directory->Import Software Component Versions
        From the list of Software Component Versions, Choose your own software component version .Click Import.
3      On the left hand side frame ,software components will appear .Select your own software component. Open your own software component. Double click on this  software component. A screen will appear .Switch to display mode. After doing this first add  a namespace under Namespaces.
        The namespace should always begin with urn:
4.     Then choose the Radio Button ->Import of RFC AND IDOC interfaces from SAP systems permitted
     After this specify the connection parameters to the R/3 system:
     System  : Name of sap R/3 system
     Client     : Sap R/3 client number
     These two fields are mandatory. You must Specify these fields.
     Then Save it. The new namespace will be visible under software component version node in the left frame.
     Under the namespace node,  you will find the section Imported Objects. Right click on it and choose Import of sap objects. A wizard will display. In the wizard provide the following details.
Application server:IP address of sap r/3 system.
System number: Number of sap r/3.
User name: user name of sap r/3 .
Password: Password of sap r/3 system.
        Then click continue .You will find IDOC and RFC node. Click on this node and select the   Idoc or Rfc which is to be imported from R/3. Click Finish to start the Import. Close the wizard. After doing this the   Rfc and  Idoc will be available into XI as Message types. So no need to create any Rfc or Idoc Structure. We need to create a structure for file only.
5.      Under your namespace in the left frame, expand the node “Interface objects”. You will find a node “DATA TYPES”
6       Create new data types.
        Right click on “Data types” and select “New”.  Give a suitable name to Data Type(DT_datatype). In the data type Editor ,Create a structure having Elements of type String  ,  integer,  Boolean , Float etc as per the requirement.
        Save the object.
6.2     The Import function for XSD  files enables you to upload message definitions from external sources. The object type “External Definition” is a container to make external definitions available in the Integration Repository.. While Importing the XSD files from “External Definition “
        no need to create Data types. They are imported directly as Message types.
        To do so, In the left hand frame  Under  ” Interface objects” Create a new object of type “External Definition” and give name to it.
     Select the following.
Category: XSD.
Messages: From All Available Global Elements.
File: Here we need to specify the file name(file.xsd)
     Once the XSD is imported, click on “Message” tab , You should be able to see 2 messages(Request and Response)
7.       Create a new Message  Type.
7.1      In the left hand frame under “Interface objects”, right click on the “Message types” and select new.
7.2      Give a suitable name to the Message type.(MT_ messagetype).
7.3      For the section “Data type used” you can go to input help (F4) or Search help provided and choose your data type (DT_datatype) from there.
         Save it.
8.         Create a “Message interface” from the left frame and name(MI_ messageinterface) it.The interface Should be  Inbound or Outbound and mode should be Asynchronous  .It should reference your Message type(Use F4 or Search help).
           Save it.
9.         Create a graphical mapping  between the target document and the sender .
9.1        In the left hand frame ,expand “Mapping objects”. Right click on “Message mapping” and name it.You are now in a graphical editor.The Source message is on left, the Target message is on right.
9.2        As Source message select  your own Idoc , Rfc  or Message type.You can choose “Search  for Integration Object”.As a reminder you can find your Idoc or Rfc under Software Component-  >     Namespace->Imported Objects.
9.3       As Target Message you can choose your Message type or Idoc, Rfc .Choose “Search  for Integration Object”.
9.4      Now that we have defined the  Source and Target message, we can start defining the Mapping rules.
9.5       Map the fields of  Source document  to the equivalent fields in  Target document .This can be achieved easily by locating the field in Target document and then Drag and Drop the   Source fields to the respective Target Fields.
     Save It.
     You can also Test your Mapping by selecting the Test Tab.
9.6     Fill in the values in the Idoc fields and click Start Transformation. On the right hand side you will see Target Document populated with the appropriate Values.
10.      Create an “Interface Mapping”.
     In the left hand Frame  expand “Mapping objects”. Right Click on “Interface Mapping” and  Name it. You are in a Interface Mapping Editor .Assign the following References.
Source interface : Your Outbound Interface (Idoc from the Software component Version).You can Choose” Search  for Integration Object”.
Target interface:    Your Inbound Interface( The Target document interface).
     Then Select  Read Interface and Assign your “ Mapping Program” .
Mapping Program: Your Message mapping.
     Then Save it.
11.      Finally , in the left hand frame ,go to your change list and Activate it.
Rewards points if helpful
  • Design Patterns needed for SAP XI Update:11-30

    Hihi, Here are the general step for designing for file to r/3 integration using IDOC,RFC After doing this ull get good idea abt the sap xi designing To Configure the FILE TO SAP R/3 OR SAP R/3 TO FILE, proceed as follows: Step1:Repository 1      From

  • J2EE design patterns vs SAP component model Update:11-30

    Hello, does anyone have documentation or articles which makes a link between the J2EE design patterns and the SAP component model ? ThanksHi Thierry, > What do you mean by assembling DC's into another DC ? Do you mean by using child DC's? Also , the

  • SAP Fiori  - Layout Design patterns Update:11-30

    Dear All Gurus, This may be a layman question but expecting your expert advice and perspective on this. I am creting a fully customized fiori application -" Purchase Order Creation " and User wants to have the UI design very simillar to SAP scre

  • Process Design Patterns in XI Update:10-11

    Hello, I heard that XI has got Design patterns such as Aggregation, Serialization etc. in the Process editor. Where do the messages get stored until the aggregation is carried? Does it make use any ODS in Integration server? We are using TIBCO and it

  • Design Patterns Support in Jdev 10.1.3? Update:10-11

    Is Design Patterns Support included as part of JDev 10.1.3. I have seen this support in SAP NetWeaver Developer Studio where you have the option of converting existing classes to implement a certain J2EE/J2SE Design Pattern or create a new class(es)

  • Design Pattern and ABAP Objects Update:11-30

    Hello Friends, I would like to know, if ABAP Objects can be used to do pattern oriented programming ? For example GANG of four has provided almost more then 30 design pattern ( MVC, singelton, Obserable, FACADE,,,etc) can we implement patterns using

  • Design patterns in portlet development Update:11-30

    Hello, I am a student at the Technical University in Munich, Germany and I am working on a university project on design patterns for portlets. The focus of my work is researching the best practices when developing a web portlet, especially which desi

  • Regarding which design pattern to use for this scenario??? Update:11-30

    hi guys I am working on a J2EE application where I need to do translations for 3 different scenarios. It is basically a conversion from service order objects to invoices. First from a service order object to an invoice. Second a conversion from a tra

  • BPM distroy the SWCV design pattern Update:11-30

    Hi XIer, I am designing our SWCV as following: We need to integration one SAP R3 and 3 legacy systems using XI. So we created one SWCV for creating Data type, interface type and interface message for SAP,another 3 SWCV for 3 legacy systems for interf

  • BPM design pattern Update:11-30

    can any provide information on BPM design pattern and give examples scenarios. thank youhi vicky, check this links Design Patterns in Exchange Infrastructure