Value mapping, interface mapping, standard funtions and user defined functi

I like have more information abt live scenario's use of value mapping, interface mapping, standard funtions and user defined functions.
How to create user defined funtions and how to use it in XI?
thanks in advance
shiva

Hi,
Interface mappings register your mapping program for an interface pair in the Integration Repository. If you require a mapping at runtime, it is sufficient to select the interface mapping for the interface pair at configuration time .The Integration Server uses the interface mapping to identify associated mapping programs for request messages, response messages, fault messages, or all three.
Features
Executing Multiple Mapping Programs for One DirectionBy using an interface mapping you can execute multiple mapping programs consecutively for the transformation of a request or response message. In such cases, an interface mapping comprises multiple steps for which the following applies:
●     The steps are executed in the sequence specified (from top to bottom). The result of the mapping program from the previous step is forwarded to the mapping program of the subsequent step.
●     Each step can reference a mapping program that executes a 1:1, 1:n, n:1, or an m:n transformation. In the case of multi-mappings (1:n, n:1, or m:n), the previous step must create the same number of messages that the subsequent step expects.
●     Multi-mappings use one envelope to put all messages in one structure. If one of the steps references a multi-mapping program, all subsequent steps must use the same envelope.
The mapping for a request message comprises two message mapping programs: one 1:1 transformation and one 1:n transformation. Since the latter message mapping uses the multi-mapping envelope for both the target message and the source message, the message mapping for the 1:1 transformation must also create a transformation result with a multi-mapping envelope.
You do not strictly need to divide up one direction of the whole mapping into different steps. However, this enables all the message formats in one system landscape to be mapped to a central message format, for example. This results in less mapping programs being required because you no longer need to be able to map all the different message formats to each other
Activities
       1.      Create a message mapping on the design maintenance screen of the Integration Builder (see also: Creating an Object).
You can also create multiple interface mappings for the same interface pair.
       2.      Enter the source and target interfaces that require a mapping of the request message, the response message, the fault message, or all three, in the table of the same name. The following restrictions apply:
○     If you want to use the interface mapping in a transformation step in an integration process, you must only specify abstract message interfaces. Furthermore, all objects (integration process, interface mapping, and all objects that reference the interface mapping) must be in the same software component version. If you want to reference objects from underlying software component versions, you must access the objects from the Basis Objects branch (in the navigation tree or using an input help).
○     If you want to map multiple messages to each other by using a multi-mapping, you can only specify asynchronous interfaces (for further restrictions, see: Multi-Mappings). If any message interfaces are missing, you can also create them by using the function Create New Object ().
If the interface cannot be imported or cannot be created in the Integration Repository (in the case of an external adapter, for example), you must enter the interface names manually. However, it is not possible to check the technical name in this case.
       3.      To import the properties of the interfaces, choose Read Interfaces. The table in the lower area displays tab pages for the request message, response message, and if available, for the fault message, for each mode of the interfaces (either synchronous or asynchronous).
       4.      To develop an external mapping program, export the XSD schema of the respective request or response message as a zip file after you have imported the interfaces. The zip file can contain multiple schema files that reference each other, for example in a multi-mapping. In this case, the schema with the global message element has the name MainSchema.
       5.      To reference a mapping program for the respective message, you have the following options:
○     Select an existing mapping program from the Integration Repository by using the input help (). If this is a message mapping, the default setting of the input help only displays those message mappings that are found using the source and target message in the Integration Repository (in multi-mappings, the first source and target messages are used as the search criteria). However, you can also display any number of message mappings, for example, because you are constructing a mapping from several mapping programs with intermediate instances which have no message types.
○     You can create message mappings directly from the interface mapping. To do this, select the mapping type Message Mapping in the Type column. Position the cursor in the Name column and choose the function Create New Message Mapping () in the Mapping Program frame. The Integration Builder copies the specifications of the messages and their occurrence directly from the interface mapping.
An interface mapping can only reference mapping programs that belong to the same or an underlying software component version of the interface mapping. This ensures that the mapping program can be shipped together with the interface mapping (see: Software Logistics).
       6.      If it is not a mapping for a fault message, you can execute multiple mapping programs in succession for request and response messages:
○     To insert an additional line for a mapping program, choose .
○     To delete the registration for a mapping program, choose .
At runtime, the mapping programs are executed from top to bottom.
       7.      Save the interface mapping.
Regards
Aashish Sinha
PS : reward points if helpful

Similar Messages

  • Difference between interfaces in Java API and user defined interfaces

    Is there any differences between the interfaces (such as KeyListener, ActionListener and EventListener etc.,) in Java API and the user defined interfaces.
    The user defined interfaces seems to be empty without any functionality (except its constant and method declarations). But the interfaces in Java API seems to have some functionality behind them, since they route the device events to the programs.
    Actually what is happening behind the Java API's interfaces?
    Please clarify.

    Ummm, no they are not (or at least some of them are not). Also, some things we support now we may not have supported in a previous release.
    If you look at the section 2 (Working with TimesTen Data Stores0 in the TimesTen Java Developer's Guide and look at the sections:
    TimesTen JDBC Extensions
    Additional TimesTen classes and interfaces
    then you will see the extra functionality documented there. Of course, if you do not need any of this functionality then you can simply treat them as the base classes from java.sql and they will work fine so it is easy to make most of your code generic.
    Chris

  • Field to distinguish standard users and user defined users

    Hi,   
       I want to distinguish the standard users and user defined users for getting one report to filter what are all the standard users in sap like sap*.....I dont know how to split the standard users and users created by us.is there any way to distinguish both the users
                                               Thanks in advance

    >
    J@Y wrote:
    > In table USR04, MODBE is the Last changed by check if its your Zbatch, or any of your basis guyz initials on it. if not its standard created by SAP.
    Nice try - but on my system SAP* has a MODBE of one of our basis people.

  • LSMW Fixed, Translations and User defined routines??????

    Hi Experts,
      I have another questions here.. I can see the step called Maintain Fixed values, Translation and User defined routines in LSM Workbench, why is it used, when its used and where???
    If its possible can someone give me examples for this particular step...
    Well, I wanted to award some points to experts like RICH, CHRISTIAN AND ZHENGLIU, but my screen is not showing the points radio button.  But I will award, as soon as possible.
    Thanks and waiting for your replies.
    Regards,
      -Ken C

    Also check http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    Hope you'll find your answers..
    Cheers !!!

  • "Nested and User Defined Exceptions" in Java...Theory and Code Required...?

    Can anyone provide theoretical information with example code for "Nested Exceptions" and "User Defined Exceptions"..? Or it would be equally good, if someone can provide links for further reading on the said topic.

    User Defined Exceptions are the same as exceptions in the JDK, but are defined by a "User"
    I suggest you look at the JDK for examples.
    A Nested Exception is an Exception with a different exception set as the cause.
    This pages covers more than you need to know with examples. [http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html]

  • User Defined field and User defined values.

    Curently testing this in the demo database before rolling it out to a customer.
    I added a user defined field to my item master data base called Lengthcm of type Amount.
    I have created a query:
    SELECT u_lengthcm = CASE
                      WHEN $[oitm.blen1unit] = 5 THEN $[oitm.blength1] * 2.54
                      WHEN $[oitm.blen1unit] = 6 THEN $[oitm.blength1] * 2.54 * 12
                      ELSE 0 END
    Length unit 5 is inches and length unit 6 is feet.
    In Item Maintenance then I create a user defined value for the lengthcm field linked to the query and set to auto-update when the blength1 field changes.
    This works perfectly for 1 inch through 9 inches (1" through 9") and fills in the centimeter value. When I put in a value in feet (1', 2'), it does nothing and if I put in any value of 10" or greater gives an error message:
    [Microsoft][SQL Server Native Client 10.0][SQL Server] Arithmetic overflow error
    converting nvarchar to data type numeric. 'Received Alerts' (OAIB).
    Checking database structure back end, blen1unit is of type small int, blength1 is numeric of size 19, 6 and so is my lengthcm field.
    Edited by: Danielle Ostach on Mar 18, 2011 8:18 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:19 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:20 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM

    Hi Danielle ,
    Try this...
    SELECT u_lengthcm = CASE
                      WHEN $[oitm.blen1unit] = 5 THEN (cast(($[oitm.blen1unit]) as decimal(19,6)))  * 2.54
                      WHEN $[oitm.blen1unit] = 6 THEN (cast(($[oitm.blen1unit]) as decimal(19,6)))  * 2.54 * 12
                      ELSE 0 END
    Regards,
    Sachin

  • XmlBeans and user defined interface...Does it work within WLW?

    I'm attempting to build an xmlbean with a user defined interface that our xmlbean ( derived from our xsd) will implement.
    <br><br>
    I have tried this using the samples from the Apache Xmlbean project ( v1.0.4 ) and the BEA version; both have worked.
    <br><br>
    I was wondering if anyone has attempted this and managed to achieve success using this via the WLW build process.
    <br><br>
    I have removed the reference to the our xmlbean within the handler and used the com.bea.xml.XmlBean reference. This worked with both apache and BEA tests. This also reduces the need for a circular build process ( ugly at best! )
    <br><br>
    I get the following error message:
    <br><br>
    <b>
    ERROR: localInfo.xsdconfig:35: Interface 'com.extension.weatherExtension' not found.
    ERROR: localInfo.xsdconfig:35: Interface 'com.extension.weatherExtensionHandler' not found.
    </b>
    <br><br>
    It woud seem that i am missing the java classes fromthe classpath....however i echo out the classpath during the build and my compiled jar is there.
    <br><br>
    Any thoughts?
    <br><br>
    Thanks

    Andy,
    Let me see if I can help.
    Groups A and B and assigned to group C. That means members of group A are also members of group C. Members of group B are also members of group C.
    However members of group C are only members of group C. So any roles you assign to group A apply only to group A. Likewise with B, roles assigned to group B apply only to group B.
    Now, assign a role to group C and members of groups A, B, and C have that role. So assign general roles to group C and more specific ones to groups A and B.
       C-role 1
    A    B-role 2
    Carl is assigned to group C so he has role 1.
    Brenda is assigned to group B so she has roles 1 and 2.
    Does this help?
    -Michael
    Message was edited by: Michael Shea

  • OC4J and Oracle9i and user defined datatypes over SOAP.

    Does OC4J and Oracle9i, that comes with JDeveloper9i-rc, support user defined datatypes over SOAP?
    If I invoke the EJB over RMI it is working fine.
    But if I try to invoke it over SOAP I get this fault:
    500 Internal Server Error: Servlet error: Error building response envelope: java.lang.IllegalArgumentException: No Serializer found to serialize a 'mypackage.myObj' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    I have written the Deployment descripter like this:
    <?xml version = '1.0'?>
    <isd:service
    id="urn:mypackage.EJB2"
    type="rpc"
    xmlns:isd=" " target="_new">http://xmlns.oracle.com/soap/2001/04/deploy/service"> <isd:provider
    id="stateless-ejb-provider"
    methods="getData"
    scope="Request">
    <isd:option key="JNDILocation" value="EJB2"/>
    <isd:option key="DeploymentName" value="EJB2"/>
    </isd:provider>
    <isd:faultListener class="org.apache.soap.server.DOMFaultListener"/>
    <isd:mappings>
    <isd:map
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding" xmlns:x="http://glo2158" qname="x:mypackage.myObj"
    javaType="mypackage.myObj"
    java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
    xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
    </isd:mappings>
    </isd:service>

    AFAIK this is not possible with the Oracle 8i implementation. This is my main gripe about Oracle's so called objects - you can't define your own constructors, you can't put check constraints on them and you can't use them in triggers.
    In other words you can put any old scheisse in an object and you can't populate them with derived or default values.
    I'm on a 9i New Features course as I type and I'm hoping to hear that Oracle have added some features to objects that will make them worth using.
    regards, APC

  • Standard report for User defined feild in order operation

    Hi all,
    do we have any standard report? for User defined field in order operation. actually we have User defined field in task list and same could be reflected in order operation. so i am using those user defied field to record extra info in maintenance order.  i am wondering how to get the reports . do we have any standard reports?
    thanks
    Amit kushwaha

    Dear Amit
    I have utilised 3 user fields & activated order enhancement tab. I could find these three fields in report IW37N & IW49N. I m using ECC 6.0 EHP4. Try to set the layout & look for  fields - user field for quantity in the layout. For this please maintain some data in these user fields of some orders and then check for those orders in t code- IW37N & IW49n.
    Shakti

  • Limited Logistics users and User Defined Fields - UDF

    The SAP "Overview of SAP Business One License User Types" shows, in the last section under General, that only Professional users have any access at all to User-defined fields and tables.
    This seems counterintuitive as these fields are usually set up for others to see and to use.
    What is the real scoop on this?
    Thank you,
    Sal

    Hi Sal,
    It only means Professional User License has unlimited usages of UDF & UDT including managing and defining them.
    To read the values and use them are available to all license types.
    Thanks,
    Gordon

  • ASR9K BNG and user defined VSAs

    Hello All,
    I am currently deploying Cisco ASR9K BNG solution and it needs to be integrated with a Cisco ACS 3.3 equipment (yes that old .. going to migrate to new product in the future). There are several specific attributes need that are not on the base config of the ACS 3.3 but it seems that i can configure them manually:
    In addition to supporting a set of predefined RADIUS vendors and vendor-specific attributes (VSAs), Cisco Secure ACS supports RADIUS vendors and VSAs that you define. Vendors you add must be IETF-compliant; therefore, all VSAs that you add must be sub-attributes of IETF RADIUS attribute number 26.
    This is from the ACS 3.3 configuration manual.
    I have never done this user defined VSAs. Anyone has experience with this ? Will this work ?
    How can i identify the exact attributes necessary for my implementation to work ?
    Thanks!
    David

    Hi David,
    yes that will work.
    Radius is very "simple", it defines attributes in teh following format:
    attribute-number     string representation     encoding type.
    the encoding type is important, because the value you provide on the string representation fo the attribute
    will get encoded in that manner.
    For instance  a string value of "105" is 3 bytes with chars "1", "0" and "5". the INT encoding of this will be a single byte with value "105", which is the ascii letter "i".
    Now Attribute number "26" has string representation "vendor-specific". These attributes are encoded slightly different
    attribute 26, vendor code, vendor length, vendor attribute, vendor value.
    for Cisco the vendor code is 9, always.
    The vendor attribute we have some options, for isntance:
    "1" is the cisco-avpair you may well know.
    "2" is cisco-nas-port
    250 is SSG command code for instance.
    In general, all VSA's follow a string encoding.
    So if you have the ability to define a new VENDOR specific attribute, they always start with 26, vendorcode and vendor attribute.
    IF you like you add a, what we call IETF attribute, that is the first digit (some vendors "stole" some values there like ascend, who was the originator of radius pretty much), they had assigned for instance number 135 for ascend-primary-dns which is encoded as ip address (so 4 octets converted to a ulong value).
    Does that clarify your Q at all? In short, yes VSA's are alwyas usable in ANY radius that supprots attribute 26.
    regards
    xander

  • Match codes and user defined fields

    Hi all,
    I would like to display match codes associated with user defined fields in tcode CJ20N. How do I do that:?
    regards,
    Mat

    Hi Ravi,
    I think I'm using the wrong terminology here...my apologies. Let me clarify. I will build a ztable that contains the field key from the screen and the values I want displayed in my drop down list. My search help will be linked to this table with an import parameter of field key. When the user chooses to view selectable values the search help will use the field key to filter the values in the ztable and display only those selectable values that match the field key. Does that sound correct?
    Mat

  • Problem with ALV and user defined selection screen. please help!

    Hi Experts,
           I have program which has a user defined selection screen 9001. On executing the selection screen i call a ALV using resuse_alv_grid function module.
    What problem I am facing is that when I press back button from ALV page it goes to the se38 editor instead of selection screen.
    How to resolve this?
    Thanks
    Gopal

    Hi,
    This might be due to LEAVE TO TRANSACTION statement. You might be running the program from SE38. Try to run the program using Z-TCode assigned to it.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was edited by: Bharat Reddy V

  • Tabbed navigation,Theme change and User define templates problem

    Hi,
    ·     I have created an application in which I have defined many page,page regions,buttons,forms templates myself.
    ·     The end user has now requested for a tabbed look and feel for the same and that too in a different theme (color red)
    ·     However, inclusion of tabs to the application plus a change in the theme color (to red) in this case causes all user defined templates to behave erratically.
    ·     I guess these templates will have to be redefined in this new theme. I tried to copy some of these today but got weird results.
    Without all these templates in place the look and feel of the application will not be as usual.
    ·     Also,I had posted a thread on the APEX forums concerning tabs and have received information that each page in the application has to be manually added to the tab set in a situation such as this.This will really increase the time taken to achieve the desired application navigation.
    I would appreciate some good advice as how to get this appliction navigation running smoothly in a tabbed format in the least possible time.
    Thanks and Regards,
    Priya Jetley

    Hello,
    I would have a look at the Lists in Shared Components which allow you to create Tabs as well.
    They are a bit more flexible.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Query SQL with variables Parameters and user defined tables

    Hi  everyone
    I got a problem about Query SQL
    [dbo].[@CSOURCE]  is a user defined table
    select * from [dbo].[@CSOURCE]
    you can get the result in following
    code    name
    T01      newspaper
    T02      TV
    T03      radio
    T04      friends
    when I execute the following SQL   Statements ,I get an error
    SELECT T0.CardCode , 0.CardName ,T1.Name ,T2.SONumber
    FROM OCRD T0    LEFT JOIN [dbo].[@CSOURCE]  T1 ON T0.U_CSOURCE = T1.Code
                                 LEFT JOIN (SELECT  T0.CardCode ,COUNT(T0.DocNum)SONumber
                                 FROM ODLN T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
                                WHERE T1.GroupCode =111
                                AND   (T0.DocDate >=[%0] or [%0]='')
                                AND   (T0.DocDate <=[%1] or [%1]='')   
                                GROUP BY T0.CardCode) T2 ON T0.CardCode=T2.CardCode
    WHERE T0.GroupCode =111
    and  T0.CardType ='C
    Is there anyone can correct it for me
    thank you very much
    Edited by: Li Mishan on Jul 17, 2008 9:36 AM
    Edited by: Li Mishan on Jul 17, 2008 9:40 AM

    I am sorry .It is just a mistake of my typewriting.
    The following is the whole SQL
    dbo.@CSOURCE is a user table.It's content is
    code  name
    T01    newspaper
    T02    TV
    T03    radio
    T04    friends
    declare @m int
    declare @FromDate DateTime
    declare @ToDate DateTime
    set @m=(SELECT count(*)  FROM ORDR T0 WHERE T0.DocDate >=[%0] and  T0.DocDate <=[%1])
    set  @FromDate=[%0]
    set  @ToDate=[%1]
    /*****************If I do not connect user tavble dbo.@CSOURCE ,I will succed *****************************************************/
    SELECT T0.CardCode ,T0.CardName ,T2.SONumber,T1.Name
    FROM OCRD T0  LEFT JOIN [dbo].[@CSOURCE] T1 ON T0.U_CSOURCE = T1.Code
                               LEFT JOIN (
                                                SELECT T0.CardCode ,COUNT(T0.DocNum)SONumber                                            FROM ODLN T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
                                                WHERE T1.GroupCode =111
                                                AND (T0.DocDate >=@FromDate or @FromDate='')
                                                AND (T0.DocDate <=@ToDate  or  @ToDate ='')                                                                               
    GROUP BY T0.CardCode
                                            ) T2 ON T0.CardCode=T2.CardCode
    WHERE T0.GroupCode =111
    and T0.CardType ='C'
    when I excute the SQL, It return a error , whith says the column name '%0'  is invalid.
    If I delete "set @m=(SELECT count(*)  FROM ORDR T0 WHERE T0.DocDate >=[%0] and  T0.DocDate <=[%1])"
    and rewrite "set  @FromDate='2008.05.01' set  @ToDate='2008.07.01' "
    It Shows the following results
       CardCode     CardName     SONumber     name
    1      000070        Deng. Jiahua   1                newspaper
    2      000293        LU .Weijuan    1                radio
    3      000313         Xie .Jifang       3               TV
    Edited by: Li Mishan on Jul 18, 2008 4:42 AM
    Edited by: Li Mishan on Jul 18, 2008 4:43 AM
    Edited by: Li Mishan on Jul 18, 2008 5:43 AM

Maybe you are looking for

  • After migration to new iMac - problems with Microsoft office 2008 using multiple users

    I migrated my data from my old Imac to my new Imac.  On the new Imac I created multiple logins for my kids.  My microsoft office 2008 programs will not open.  I keep getting the "Customer Experience Improvement Program" screen which cycles through, c

  • New 21.5 iMac for video editing - which graphics

    I am thinking of upgrading a 3 year old Intel iMac to one of the new ones. The only beefy think I want to do on it is video editing with iMovie. My main question is whether I would benefit significantly from specifying the ATI graphics rather than Nv

  • OS 10.5.4 Updates

    Can anyone out there tell me why Apple hasn't posted the iTunes 7.7.1 update on their site yet. I usually download the update and save it to a backup disc for obvious reason but this one so far is a no go. Is it just a lag in getting it posted or is

  • Safari wont load anything but Firefox works...

    Hey, I recently installed loads of updates that had been back logged for a while. Ive just finished, and ive tried to use Safari but it wont open anything. Any address I type in the loading bar gets stuck and wont open. I am connected to the internet

  • Question about Business Rule Naming

    Hi, As we know that there is a restriction on number of characters you can enter to name a BR - is there a way that I can have two different names assigned to the same BR in EAS and Planning? Something like an alias? Or if that's something that cant