Regarding message interfaces in JDBC implementation

Hi Bhavesh,
     I have been trying to implement the jDBC scenario as mentioned by you in the blog "JDBC Receiver Adapter -- Synchronous Select – Step by Step",could you please help me out with interfaces(how many interfaces do we need on the whole).
Regards
Madhu

Madhu,
Please refrain from directing questions to someone in particular. There are lots of XI experts around here who can surely help and directing questions to one person is going to discourage others from answering .
Answering your question~~ refer into this blog by Arpit and use the same concepts as he has described for File - RFC - File. The only difference will be in the datatypes and message types,
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Regards
Bhavesh

Similar Messages

  • Regarding Message Interface Working

    Hi All,
    Can anybody give some help in finding wht actually happens when we create a message interface.
    means in which format information entered in Message Interface gets stored.
    where this object gets stored and how we can retirve information for this.
    Best Regards,
    Amit

    Hi Amit,
    The Objects of Message Interface will be obviously in IR Objects only.. for further info on Message Interface u just go thru the link below..
    http://help.sap.com/saphelp_erp2005/helpdata/en/34/3d8942ecd55551e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/3f/01623c4f69b712e10000000a114084/frameset.htm
    Regards,
    Raj

  • Regarding Message Interfaces

    Hi Guys,
    I am new to SAP XI. Only thing I know is Message Interfaces are very key role to play in SAPXI. In case of any IDOC Are BAPI you can directly import them to I.R as interface objects. for example there are lots of IDOCS Available like BATMAS, MATMAS, ORDERS, CREMAS, there is lot of confusion on this what information this IDOCS contain how can we Know that particular IDOC contains the information Meeting our requirement.  In case I am integrating MM Module Are SD module with SAP what interfaces I need to use  pls any one explain me with clear scenario. and also pls help with some realtime docs so I can understand the things better. Thanks in advance.
    Regard's
    Kiran.B

    Hi Kiran,
           There is no confusion about IDOCs.  The requirement  shows the what type of IDOC u want to used.
    The XI guys will take care of the Import the IDOC from particular R/3 system.
    Like same RFC Function Modules also..
    When ever we used IDOC we need configured setting in R/3 & XI Systems.
    __Configured steps in  R/3 System:__
    1) RFC Destination-- SM59
        --> Create the RFC Destination
       --->Crate the RFC Destination type 3(R/3 system)
       ---> specify the server address of the Integration server as target hosts
    2) Port----WE21
       _---->Create the port for transaction RFC
    > Enter the RFC Destination
    3) Partner Profiles--WE20
    Configure the steps in XI System:
    1) Create the RFC destination (SM59)
    2) Create the IDOC port into IDOC adapter(IDX1)
    3) Load the meta data of IDOC into IDOC Port(IDX2)
    Regards,
    Nskumar

  • Regarding Message Interface , Service Interface

    Hi All
    My scenario is File to File from 1 application server to another application server ,without any transformation in PI 7.1 for service interface to be involved for Interface Pattern Stateless and Stateless (XI 3.0) compatible can only be used with Category Abstract
    only abstract catgory is possible , can'nt i make 1 outbound & another inbound  for this ?
    Regards
    Abhishek
    Edited by: Abhishek Agrahari on Feb 9, 2009 11:08 AM

    Search SDN for this there is Blog for this i dont have info on this
    Need to do follwoing in the ID
    1. Sender and receiver Business system/services
    2. respective File communication channels
    3. Receiver Agreement
    4. interface determination
    5. Finally receiver agreement and sender agreement
    Rajesh

  • Regarding Message Interface

    Hi All,
    If We Are Developing a Sysnchronous Interface Say RFC -XI--SOAP
    Then here How many Msg Interfaces We need to Develop ????
    What Are those Intefaces with Mode And the Directions ???? ( Ex:  Sysch,,,Outbound )
    Please let me Know
    Regards
    Vamsi

    Hi
    For HTTP-XI-RFC Go through this
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    Thanks

  • Regarding Message Mapping in JDBC Scenario

    Hello Experts,
            I got struct up in message mapping. In message mapping we can able to see different types of Functions. So I need some clarifications on it. Functions are available like...
    Conversions
    Boolean
    Node Functions
    Constants
    Date
    Text
    Static
    Arithmetic
    So please explain in simple for each functions.
    Points will be rewarded.
    Thank you

    Hi
    *Boolean*:-
    And -- checks for 2condition, return a true value if both condition are satisfied
    Or --checks for 2condition, return a true value if one condition is true.
    Not - checks if the condition is not equal to.
    Equals - Check whether 2 Boolean values are equal
    NotEquals
    If u2013 Returns second value if the first argument is true. otherwise returns third argument
    If WithoutElse u2013 Returns value of second argument, if first argument is true.
    Node Functions:-
    createIf - Produces empty value if argument is true; Resultlist.SUPPRESS otherwise
    removeContexts u2013 Produces plain stream of values with No context changes
    replaceValue u2013 replaces value of source field to value specified in Function Properties.
    Exists u2013 Returns true, if Node exists otherwise false
    SplitByValue u2013 inserts context changes after event specified
    collapseContexts u2013 Produces one empty string value out of each arguments context. All arguments are in one context
    useOneAsMany u2013 Use First Argument as IS on same level as third argument. second argument defines when next value of first argument is used
    sort u2013 sorts values in each context
    sortByKey u2013 Sorts values in second queue by keys from first queue
    mapwithDefault u2013 Inserts default values specified in the function properties into empty contexts
    formatByExample u2013 Takes values from the first queue and inserts them in the structure of second queue.
    Constants:-
    Constant u2013 Generates constant value
    CopyValue u2013 Takes specified value in argument stream and copies it an infinite number of times
    Sender u2013 Sender System
    Receiver u2013 Receiver System
    Date:-
    CurrentDate u2013 Return current date in specified format
    DateTrans u2013 Transforms date from input format to output format
    Dateafter u2013 Returns True if first date is after second otherwise false
    DAteBefore - Returns True if first date is before second otherwise false
    CompareDates u2013 Compares two dates
    Text:-
    Substring u2013 Returns substring depending upon the given parameters
    Concat u2013 concatenates 2 strings inserting delimiter string parameter between them
    Equals u2013 Check whether Strings are equal
    indexOf2 u2013 returns the index where the second string is found for the first time in the first string
    indexOf3 u2013 As with indexOf with 2 parameters, But starting search at the specified position
    lastindexOf2 u2013 Returns the index where the second string is found for the last time in the first string
    lastIndexOf3 u2013 As with lastIndexOf with 2 parameters starting search at the specified position
    compare u2013 compares 2 strings lexicographically
    replaceString u2013 Replaces each occurrence of pattern(2nd argument ) of source string(1st arg). By third string
    length u2013 returns length of string
    endsWith u2013 Tests whether string ends with specified suffix
    startsWith2 u2013 Tests whether string starts with specified prefix
    startsWith3 u2013 Tests whether string starts with specified prefix beginning at specified location
    toUpperCase u2013 Converts all characters in string to upper case
    trim u2013 Removes white space from both ends of string
    toLowerCase u2013 Converts all characters in String to Lower case
    Statistic:-
    sum u2013 calculates sum of all numbers in each context
    average u2013 calculates the average of all numbers in each context
    count u2013 Counts number of values in each context
    Index u2013 For each incoming value, this Function returns the index number of the incoming value in the context, String from the initial index and increasing by the increment defined in the parameters.
    Arithmetic:-
    Add u2013 add two values
    Subtract u2013 subtracts second value from the first value
    equalsA u2013 Returns true; If float numbers represented by argument strings are equal otherwise returns false
    abs u2013 returns Absolute value of argument
    sqrt u2013 Returns square root of the number
    sqr u2013 Returns square of the number
    sign u2013 Returns -1 if number is negative, +1 if positive, 0 if 0
    neg u2013 Multiplies number to -1
    1/x u2013 calculates 1/x
    Power u2013 Returns value of the first argument to the power of the second argument
    Less u2013 Returns true if the first number is less than the second number otherwise false
    Greater - Returns true if the first number is greater than the second number otherwise false
    Multiply u2013 Multiplies 2 values
    Divide u2013 Divides first value by the second value
    Max u2013 Returns maximum of 2 numbers
    Min u2013 Returns Minimum of the 2 numbers
    Ceil u2013 Returns the smallest (closest to the negative infinity) initial value that is not less than the argument and it is equal to the mathematical integer.
    Floor - Returns the largest (closest to the negative infinity) initial value that is not Greater than the argument and it is equal to the mathematical integer.
    Round u2013 Returns closest initial value to the argument
    Counter u2013 Counts number of invocations. Initial value and increment defined by Parameters.
    FormatNum u2013 Formats Number with given pattern.
    Conversions:-
    FixValues u2013 Creates a Local Table to perform a value Mapping
    ValueMapping u2013 Define jump to Value Mapping table of Integration Directory.
    Message Mapping(Node Function) Part-1
    Message Mapping Simplified - Part I
    Sravaya Talanki- Message Mapping(Node Function) Part-2
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Standard Functions
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    Advanced mapping function(mapwithdefault,formatbyexample,sort,sortbykey)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    Hope this is useful
    Saiyog
    Edited by: Saiyog Gonsalves on Jul 11, 2008 1:14 PM

  • Question about message interface

    I developed a jdbc to file scenario, it works, but I'm confused.
    I designed a message interface for jdbc outbound,
    CustomerRow
    |--row
         |--CUST_NO
         |--......
    I set Document Name = 'resultset' in jdbc sender adapter.
    I can see payload in SXMB_MONI.
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <CUST_NO>pp3433</CUST_NO>
      <SALES_ORG>org1</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis1</DISTRIBUTION_CHANNEL>
      <DIVISION>div1</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
    - <row>
      <CUST_NO>ppy3233</CUST_NO>
      <SALES_ORG>org2</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis2</DISTRIBUTION_CHANNEL>
      <DIVISION>div2</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
      </resultset>
    You noticed that resultset is not 'CustomerRow' in message interface which I defined.
    I don't know how it can work.

    The parameter Document Name should ideallly contain ur Message Type root name. As u have changed it to 'resultset', it is replaced at the sender adapter and then flow continues.
    There are very few occasions when success raises a question
    Regards,
    Prateek

  • What is an Abstract in message interface ?

    hai pals,
         can anybody clarify ,what is an Abtract in message interface of integration builder of xi.
          Is this,neccessary to specify and create the interface with type abstract.
           if yes , can u pls tell me why?
    right answers will be appricited
    have a nice day.
    raj

    you can also take a look at this definition:
    "Interface for which no direction is defined initially.
    An abstract message interface has no implementation in an
    application system. You <b>cannot generate a proxy</b> for this
    interface type. You use abstract interfaces in business
    processes, for example, to receive or send messages from
    application systems. You can use the same abstract
    interface to receive or to send."
    from:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/3355d5617d0a4cb0fe8e042c752caa/content.htm
    Regards,
    michal

  • Requirement of a abstract message interface

    Hello,
    I wonder when to use abstract message interfaces?
    The documentations says:
    An abstract message interface has no implementation in an application system. You cannot generate a proxy for this interface type. You use abstract interfaces in business processes, for example, to receive or send messages from application systems. You can use the same abstract interface to receive or to send.
    What does IMPLEMENTATION mean in this context? Can anybody discribe a concrete need for abstract message interfaces?
    Thank You

    Hi Mario,
    you only use those interfaces inside a BPM:
    send step, receive step, transformations etc
    (no other use)
    - you cannot create proxies from it
    - you must have an normal (not abstract) interface
    to send data to XI or to receive data
    (so once you create everything inside your integration process - with the use of abstract interfaces)
    inside ID you still have to use standard interfaces
    (outbound or inbound)
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Message Interface for HTTP to JDBC synchronous scenario

    Hi Experts,
    Could you please explain the Message Interface from the below blog. Actually, I am confused with the Outbound Interface. Is it correct?
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    1. LoginData_Sync_OUT_MI
    Input Message : Role_MT
    Output Message : LoginData_MT  
    2. LoginData_DB_Sync_IN_MI
    Input Message : LoginData_DB_DT
    Output Message : Dummy_DT
    Regards
    Sara

    Hi All,
    Here is my Interface mapping's problem details.
    Scenario : I have to pass EmpId as a request from webservice to JDBC, If we have the EmpId address in the JDBC then we have to return the address of the employee as a response to Webservice.
    Please find the below datatype, message type and etc., which I have used it for the scenario.
    1. Data Types:
    a) DT_REQUEST ( Webservice to XI request)               
         1. EmpId
    b) DT_JDBC_REQUEST  ( XI to JDBC request)               
         1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
         5. AddressLine2,6. City,7. State
    c) DT_JDBC_RESPONSE (JDBC to XI response)          
         1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
         5. AddressLine2,6. City,7. State
    d) DT_RESPONSE  (XI  to Webservice response)               
         1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
         5. AddressLine2,6. City,7. State
    2. Message Type created according to the Data Type.
    3. Message Interface:
    a) MI_Outbound
    <b>Output Message :</b> MT_REQUEST
    <b>Input Message :</b> MT_JDBC_RESPONSE
    b) MI_Inbound
    Input Message : MT_JDBC_REQUEST
    Output Message : MT_RESPONSE
    4. Message Mapping:
    a) MM_REQUEST[EmpId mapping]
    Source Message : MT_ REQUEST
    Target Message : MT_JDBC_REQUEST
    b) MM_RESPONSE [Mapping for all the fields]
    <b>Source Message : MT_JDBC_RESPONSE
    Target Message : MT_RESPONSE</b>
    5. Interface Mapping
    IM_WEB_DB
    Source Interface : MI_Outbound
    Target Interface : MI_Inbound
    Request :
    Source Message : MT_REQUEST
    Target Message : MT_JDBC_REQUEST
    Response :
    <b>Source Message : MT_RESPONSE
    Target Message : MT_JDBC_RESPONSE</b>
    Here the source Message should be MT_JDBC_RESPONSE and the Target Message should be MT_RESPONSE. But when I tried to create the Interface Mapping I am getting the above bolded Response Messages automatically populated by XI.
    Actually, I have followed Siva's blog to do this scenario. Finally confused with the Interface Mapping's response messages. So, please help me out with this scenario steps.
    Regards
    Sara

  • Generate Message Interface for SOAP Adapter

    Hi All,
    I want to implement a scenario like this:
      ABAP System -> RFC Adapter -> XI -> SOAP Adapter -> Web Service
    Currently the WSDL of the web service is known. It is http://www.abysal.com/soap/AbysalEmail.wsdl
    How can I generate the inbound message interface in XI according to the WSDL?
    Thanks
    Jerome
    Message was edited by: Jerome Zhao
    Message was edited by: Jerome Zhao

    Hi Jerome,
    Import the WSDL as an external definition and then you can create a inbound Message interface based on that external definition.
    Regards,
    Sridhar

  • Interfaces in JDBC

    Hi Everyone
    i have a doubt regarding interfaces in JDBC api.my question is why SUN has made Connection,Statement,Resultset etc as interfaces in jdbc.why have they not made them as simple classes.Is there any specific reason behind this thing unless it is sun specific.plesae provide me your comments on the same.
    regards
    kvikram

    This leaves more freedom to the implementors of the very drivers. They can inherit their implementing classes from some internal classes if they wish, which would not be the case if it were an abstract class and not an interface.
    Abstract classes ususally contain some non-complete implementation, interfaces are "just" interfaces. The JDBC very much fits to interfaces.
    So there is no reason for them to be abstract classes and there are reasons for them to be interfaces.

  • Message Interface no longer exist in Integartion Repository

    Hi,
         I am working on a IDOC to file case, in which I want to determine the receiver at runtime using a value in IDOC, with the help of Context objects/ XPATH. In Receiver determination of ID, after selecting Sender and Sender Interface, when I try to select Receiver, it's giving message "Message Interface no longer exist in Integration Repository" and I am not able to see the Sender IDOC in the conditions field before the Receiver selection. Anybody having any idea why I am getting that error message.

    hi,
    check if the system that you're using has this message interfaces in sender/receiver tab (double click on the
    system in directory)
    if not maybe the you need to add dependencies
    to the software object (product/software component) which has this message interface - this idoc
    (if you do remember to refresh sld cache) 
    /people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Message interface with two types of message types

    Hi experts,
    I am having problem that a proxy cannot be generated because  of the (mixed) types of the message types that the interface is using.
    The first message type is defined in the repository and another is defined as an external definition, imported in from an outside source.
    Here is the SAP message I received when I tried to generate the proxy for this interface.
    +++++++++++++++++++++++++++++++++++++++++++++
    Interface uses external and internal message definitions
    Message no. SPRX122
    Diagnosis
    In a message interface you can use messages from different sources:
    1. Message types and fault message types edited in the Integration Repository
    2. Messages imported into the Integration Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used.
    Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Integration Repository.
    ++++++++++++++++++++++++++++++++++++++++++
    The imported xsd is quite large and also contain many large includes. I don't have the option of creating the message type manually.
    Any suggestions?
    Thank you,
    -michelle

    Hi all,
    I tried several things and the problem is still not resolved. This is what I learned.
    First of all, I believed the SAP message about mixing of internal and external message is misleading or even wrong. I tried with both message types being external but I still get the same message that the interface has one internal and the other external message type.
    Secondly, since Arvind suggested that I might have used an xml element that is not currently supported by ABAP proxy, I then change to another definition with the most simplest elements. I then attached this other definition to the interface and tried generating the proxy again. I still get the same system message that I am using mixing of message types in one interface.
    My conclusion is XI still is not capable of generating ABAP proxy from external definition.
    Does anyone have any comments/suggestion/experience on this issue?
    Best regards,
    -michelle

  • Message Interface does not exist in IR u0096 but it does!

    Hi, well again i have a problem. I am still trying to get the XI-demo Checkflight…. to run but there are some obstacles on my way.
    I just wanted to check a MI given in the ID to check the attributes and picked it in the ID to get linked to the IR but a pop-up appears saying
    “Message Interface does not exists in Integration Repository”
    What’s the reason for this because obviously it is there, still existing.
    I tried to refresh the cache of all XI-components, did a server restart but nothing seems to be working.
    On the other hand I have some other questions:
    -     Why is it not possible to delete an object (business system) from the ID? I know because of the dependencies of the different channels but it should be possible because of re-generation of the communication-channels (this was also my approach for solving the problem mentioned above!)
    -     When do I have to refresh the cache in general? Is it indefinite whenever I want to or it seems to be the right time because something is not running the way it should and it seems a little odd

    Hi Carsten Heinrich,
    This will help you,
    1)     Cache Connectivity Test
    In RWB component monitoring, we now have the option of checking whether the cache-connectivity is functioning correctly. This is useful when we are experiencing problems when updating the runtime cache. The system displays a separate window in which we perform the test. If no previous tests have been performed, the system displays a corresponding message. Otherwise, the system shows when and by whom the last test run was started, together with the result of this test.
      To start a new test run, choose Start Test.
    The system displays the first results of the test run. Since the whole test takes some time, we can update the displayed results if necessary.
    To Update the displayed results, choose Refresh Display.
    The overall result for each component is displayed as a green, yellow, red, or gray symbol. A green symbol is only displayed if both update steps for the runtime cache were successful, that is, they both have a green symbol.
    2)     Cache notification status
    a)     Start the Integration Repository.
    b)     Select Environment ® Cache notification.
    c)   Have a look at the entries for the relevant user and date.
    d)   Have a look at the entries for the relevant cache instance, user and date.
                   3)    Cache update and resend the message
    a)Start transaction SXI_CACHE.
    b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
    c)     Call transaction SM58 to check the status of the refresh process.If no entry for function module SAI_CACHE3_REFRESH_BACKROUND is Present any more the cache update is finished.        
             4)     Deleting the SLD Cache
      Many actions require  to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
    However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment  ®  Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Regards
    Agasthuri Doss

Maybe you are looking for