SAP XI 3.0 Same source for different target in std Value mapping function

Hi,
We have replicated 4 value mapping entries from R3 to XI having the same Context , Agency , Schema and value for source, but each of the 4 values has the same Context and Agency but different Schema and Value respectively.
To illusstate :
Source                             |Target
Context Agency Schema    Value -----Context Agency   Schema     Value
CS1      AS1      SS1      1        CT1       AT1      ST1       A
CS1      AS1      SS1      1        CT1       AT1      ST2       A
CS1      AS1      SS1      1        CT1       AT1      ST3       B
This value mapping is not working and we always get the source value as the result.
We are wondering if the reason for this is that we use the same source for different targets. But we are not 100 % sure of it.
When I read the documentation on Value mapping or when we use the value mapping standard function in graphical mapping, we pass the context , agency and schema of the source and target respectively and the source value to get the target value, and this combination is always unique in our case as seen in the above example.
Has anyone faced this kind of an issue, if yes I would appreciate if anyone could help us resolve this problem.
Thanks in advance.
regards,
Advait

Hi Advait,
From the below what I understand is that you are not able to do value mapping for the follwoing
1     A
2     A
3     B
As value mapping allow one to one mapping only. Please do it like as mentioned below
1     1*A
2     2*A
3     3*B
Then in the graphical mapping of Integration Repository do the mapping for the same as shown below
source field > VALUEMAPPING> UDF--> TARGET Field
In UDF suppress the value of  1* , 2* , 3* which can be done as follows
create one UDF with one input field
//write the code as below to suppress the field
return input.substring(2);
Here the davantage of using 1* , 2* , 3* etc is that you have the option to use value mapping for 100 values which I think is not normally the case for any Interface.
If you have same source you can do the same thing for that.
Hope this helps you to resolve your query.
Thanks & Regards
Prabhat

Similar Messages

  • Message-Mapping: Use same RFC lookup for different target fields

    Hello,
    I need to apply an RFC Lookup which delivers a boolean flag back (true or false). This RFC lookup should be used for different target fields.
    Is there a way to execute the RFC lookup just once and then store the result in an internediate variable that I can use for all futher checks for different target fields?
    If this is not possible and I have to apply the RFC lookup for all necessary target fields is it then executed for each target field ? This is exactly what I want to avoid in order not to slow down performance.
    The input parameter (=source field value) would be the same.
    Thank you for your advice!

    Exactly.
    Here is a UDF example I have that you could adapt to your needs.
    Set
    public String setCounter(String a,String b,Container container){
    /* Store values in global datacontainer
    a: mapping value and return valueparameter
    b: name for stored value parameter
    GlobalContainer myGlobalContainer;
    myGlobalContainer = container.getGlobalContainer();
    myGlobalContainer.setParameter(b.toUpperCase(), a);
    return a;
    Get
    public String getCounter(String a,Container container){
       //write your code here
    GlobalContainer gc = container.getGlobalContainer();
    if (gc.getParameter(a) != null) {
      return String.valueOf(gc.getParameter(a));
    } else {
    return "1";

  • PPOME - Can't insert the SAME task for different organization unit

    Hi all,
    I have a doubt; in SAP 46C, it seems that is impossible to insert in PPOME, Detailed window, Tasks tab the same task for different organization unit. The only way to do this is in PP01 - General management, where you can explicitely create a [B-007] relations with the same "T" Object. Now, it is a little bit difficult for a user to switch from PPOME ad PP01 when defining new organizational structure.
    The question: is there any way to insert the <b>SAME</b> task directly in PPOME, overwriting the standard behaviour of the system that by default create a new task for each new insertion?
    Thanks all
    Paolo

    Hi Naveen
    thank you for your prompt reply.
    The issue that I want to solve is that some organization unit (not all) must be flagged for an external export to another system, depending on some characteristic of each org unit. I didn't find a similar attribute on standard field, so I thought to insert a common task to all the org units to export, so that this relation can serve as the missing attribute on org unit definition.
    PP01 let me insert a task (type T, and not TS) on an org unit directly, so I want to know if I'm going to break some standard behaviour of SAP if I insert a task on OU.
    Thank you
    Paolo

  • Need Basic Materials for Value Mapping Function

    Hi  all,
               Can any one provide Basic Materials for Value Mapping Function???

    Hi Ragu,
    u can chk out this :
    http://help.sap.com/saphelp_nw70/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    Hope ths was helpful.
    kanan

  • SAP R/3 as data source for Essbase

    Hi everyone,
    We need to extract data from a SAP R/3 data source (Is SAP R/3 the same as SAP BW?).. Can we directly connect to it then load data to Essbase?
    I've read that we need Hyperion System 9 BI+ Analytic Integration Connector for SAP BW to get data from SAP BW. Is it easy to implement?
    Hope someone could help me. Thanks in advance.
    Sam

    Hi everyone,
    I've read that Essbase can connect directly to SAP R/3 through the SAP Plug-in in the Administration Services. We just need to configure the connection to it properly.
    Here's my question, since we are suppose to enable the SAP plug-in DURING the "custom" installation of Admin Services, how do we then enable it since our application is already in use? Installation & configuration of admin services has long been done. Is there a way to go back to enable the SAP plug-in so we can connect to SAP R/3? If not, are there other ways to do it?
    Hope somebody could help me. Thanks a lot.
    Sam

  • Can you change rollover text in the same slice for different triggers?

    Hi, I haven't used Fireworks since version 3, which was about 6 years ago, when I dabbled in web development.  My past has come back to haunt me, and I need to make a fairly simple website pretty quickly for my boss.  I've got myself CS4, and now that I've figured out that you can't use buttons for disjoint rollovers, I'm starting to make progress...
    What I want to achieve, is that there are 6 'buttons' on my page, which when you rollover them will display text in a box to the side.  I would use separate boxes for each button, but there isn't enough space on the page, as there is quite a lot of text, so I would like to use a box in the same place to display any of the 6 texts, depending on which button is rolled over.  Can this be done?
    I probably haven't quite got my head round layers, and this may be very simple, but could someone please point me in the right direction, even if it is a link to the right bit on product help?
    Because the button disjoint rollover doesn't work, I have created 6 slices for the triggers.  I tried hotspots first, but couldn't use them as I also want a rollover live filter effect on the trigger.

    Yes, you can trigger different slice contents on rollover from multiple other slices.
    It's easier to show than describe, so here is a sample file that does what I think you're looking for:
    (1) six buttons
    (2) each button has unique text
    (3) each button has a rollover state
    (4) unique text is displayed in the same place for each button on rollover
    Hope this helps!
    Dave
    Right-click and save the image below - it's a Fireworks source file:

  • Loading the different result sets in the same sequence for the target table

    Dear all,
    I have 5 tables say A,B,C,D as my source and i made 3 joins P,Q,R .the result sets of these 3 joins are loading into a target table X but with 3 different targets with same table name.
    I created one sequence say Y as my target table has primary key and mapped to three different targets for the same target table which i need to load.
    But after deployed and executed successfully ,i am able to load the data from three join result sets with differeent sequence numbers.
    I am looking to load data like this.
    If First Result set P has 10 Records,SEcond Result Set Q Has 20 and the third result set has 30 records then while loading data into first target it creates the seq for the 10 records from 1..10 and while loading the data for second result set ,it creates the sequence from 11 ...20 and while loading the third target with the third result set it creates the sequence from 21 ----30.
    But i am looking to load the three result sets in the sequence 1to 10 but not like creating fresh sequence for each result set.
    how can we achieve this in owb?
    any solution for this will be appreciated.
    thank you
    kumar

    My design is like following
    SRC1
    ---->Join1--------------------------->Target1( Table X)<-----Seq1
    SRC2
    SRC3
    ----> Join2----------->Target2(Table X)<----Seq1
    SRC4
    -----> Join3 -------> Target3(Table X)<-----Seq1
    SRC5
    Here the three 3 targets are for the same Table X as well sequence is same i.e seq1
    If the First Join has 10 rows ,Seq1 generates sequence in 1 to 10 while loading target1
    But while loading second target,Same Seq1 is generating new sequence from 11 but i am looking to load target2 and target 3 starting from sequence 1 but not from 11 or so.
    As per your comments :
    you want to load 3 sources to one target with same sequence numbers?
    yes
    Are you doing match from the other two sources on first source by id provided by sequence (since this is the primary key of the table)?
    No
    can you please tell me how to approach for this?
    Thank You
    Kumar

  • Firefox on OS X 10.6.8: How to have a different input source for different tabs in one window (the option "Allow a different one for each document" is on)

    Currently, firefox 29 keeps one language for different tabs in one window. Different windows can have different input sources...

    Thank you for your reply!
    I think I've accidentally marked the problem as solved, but in fact it's not.
    What is needed is that the firefox remember different input methods (languages, for instance, En or Fr) for different tabs so that when I switch between several tabs I don't need to change the layout.
    Chrome remembers my language settings for each tab, so it's not always one language for all the same tabs there. I haven't found such an option in Firefox so far.
    Hope it's clear enough.
    Thanks in advance.

  • Credit limits for the same Customer for different countries.

    Hi SAP Gurus,
    A customer belongs to 2 different countries, the credit limits are maintained  in FD32 for one country.
    But basing on the "country" the credit limits should change for the same customer.
    So how we need to handle FD32 in this scenario. Is there any option to maintain credit limits basing on the "Country"?
    Thanks and Regards
    Sunil
    Edited by: Sunil.kds on May 27, 2011 9:37 AM

    Hi ,
         sales area wise , you can differentiate the credit limit . In this case , you can have one more credit control area and assign it to new sales area. it the same customer comes under diff country , extend the customer  to the new sales area . By doing so, you can have 2 credit limits for the same customer.
    With Regards
    S.Siva

  • Same BI for different dev envir

    Dear All,
    We have two development environment groups in our organization, both needs to be worked independently in our implementation work for ECC industrial modules.
    we are planning to implement the netweaver systems such as BI, EP for both development systems.
    Question here is, can we use same BI system for different ECC development environments?
    or do we need to separately create two BI systems and integrate with respective ECC 6.0 modules.
    Thanks and Regardsa

    Hi,
    Yes, you can connect 2 different development systems from same BI system. You need to create 2 different source systems in RSA1 in BI.
    Thanks
    Sunny

  • Doing the same task for different data.. Do I need Queues? How to use them if yes?

    Hello all,
    I have created a VI which is getting data from some FTP server and then after comparing with the HDD specified folder copy the missing data from the FTP ... Description is also in the VI. There are few things I need to ask.
    1) The email sending VI gives error 1172..What could be the reason .. is it firewall.. or is there any mistake in the code?
    2) As you people are experts so I really like any suggestion to improve the VI..
    3) The most important .. Currently this VI can only perform the whole task for one FTP folder. Actually my task is I need to check for 4 different FTP folder on different servers..its not 4 different folder in one FTP .. its 4 different FTP.Now my question is how I can do this: First it compare and copy from FTP1.Then FTP2... and so on.. How can I change the data for the cluster for different FTPs? Do I need to use queues? If yes how because I don't have any experience with queues.
    I will really appreciate is someone can either provide me the relevant example or can give me some idea.
    The main VI is the 'TASK START'.VI please find the attached files.
    Thanks
    Regards,
    Naqqash
    Naqqash
    Attachments:
    Project.zip ‏151 KB

    Hi Peter,
    Thank you very much for your reply. I have understood your idea but there are few problems.
    Please see the attached "Final test.vi".. actually my top level vi should be like this.. due to this reason I need to develop the cluster like one with name "Settings" as shown in Enum FTP events.vi.. In this cluster all the data types are not constants (but can be set as constants)  and further all of them are not of same type so whenever I try to create as you created I have got error, wire broken..so what do you think i should do.. In this cluster there are different types of data .. string, path, numeric, array and a cluster with name file properties also... can't figure out what to do..I know things are little scattered and wiered but due to lack of experience, I guess, I am now a little bit confused for this matter. I
    hope guys here in the forum will help me as you guys always did.
    Naqqash
    Attachments:
    Final test.vi ‏11 KB
    Enum FTP Events.vi ‏14 KB

  • How to assign the same GTIN for different material?

    Hi,
    I've managed to install an internal number assignment for the GTIN / EAN in material master which works fine.
    Now we need to assign the same GTIN to different material numbers. 
    Since the defined number range is marked as internal I cannot use this number range as the external number range in spro -> Define Attributes of EANs/UPCs (number categories/EAN categories):
    I cannot make an external number range with the same data as the internal one, since number ranges must not overlap.
    So, here is the question again:
    How can I achieve that 1. the GTIN is generated and 2. a GTIN, which is already assigned to another material, can be entered manually in the GTIN field?
    Any advice is appreciated,
    thanks,
    Marco.

    1. the GTIN is generated
    This should be "external" number range only.
    2. a GTIN, which is already assigned to another material, can be entered manually in the GTIN field?
    We can enter manually or thru' upload during master data creation provided number range is "external"(refer point no.1 above)
    Unable to understand that why you need same GTIN in two different articles?
    Request to understand the business process once again as this leads to confusion reg. inventory, PDC and PoS dumping.

  • SAP HANA as a data source for Analysis Services

    I tried to use SAP's .net provider for HANA as a data source for an Analysis Services cube but to no avail.   I can connect, create a named query and preview data from the data source view designer but when SSAS actually tries to run the query,
    it wraps the named query in another query and produces a syntax error.  
    For example,  if the named query is "select * from ENTHANA.MARA", 
    SSAS sends a query like this "SELECT [test].* FROM (select * from ENTHANA.MARA) AS [test]"   (Test is the name of the named query).
    I know SSAS wraps queries and that's fine - except that brackets are not a valid way to quote an identifier in HANA.  HANA uses double quotes like Oracle. 
    Is there any setting in SSAS that can affect this behavior?   Will HANA ever be a fully supported data source for SSAS?  If so, when?

    Hi David,
    According to your description, you are creating a SQL Server Analysis Services project, now what you want is using SAP HANA as the data source, right?
    SSAS support many type of data source. However, as you can see on the link below, SAP HANA data source was not listed on that link. So this type of data source is not supported in current version of SSAS. Microsoft will update that document when it is supported.
    http://msdn.microsoft.com/en-IN/library/ms175608.aspx
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Same variant for different value in enumerations

    Hello.
    Is it a bug?
    I have this type in my schema:
    <xs:simpleType name="VolumeUnit">
    <xs:restriction base="xs:string">
    <xs:enumeration value="ml"></xs:enumeration>
    <xs:enumeration value="µl"></xs:enumeration>
    </xs:restriction>
    </xs:simpleType>
    In the generated class I got:
    static final Enum ML = Enum.forString("ml");
    static final Enum ΜL = Enum.forString("µl");
    static final int INT_ML = Enum.INT_ML;
    static final int INT_ÎœL = Enum.INT_ÎœL;
    What do you think about that?
    How could we manage the generated code

    Hi Advait,
    From the below what I understand is that you are not able to do value mapping for the follwoing
    1     A
    2     A
    3     B
    As value mapping allow one to one mapping only. Please do it like as mentioned below
    1     1*A
    2     2*A
    3     3*B
    Then in the graphical mapping of Integration Repository do the mapping for the same as shown below
    source field > VALUEMAPPING> UDF--> TARGET Field
    In UDF suppress the value of  1* , 2* , 3* which can be done as follows
    create one UDF with one input field
    //write the code as below to suppress the field
    return input.substring(2);
    Here the davantage of using 1* , 2* , 3* etc is that you have the option to use value mapping for 100 values which I think is not normally the case for any Interface.
    If you have same source you can do the same thing for that.
    Hope this helps you to resolve your query.
    Thanks & Regards
    Prabhat

  • Same Contact for different customers

    I have same contacts (all details same) for different customer accounts (ex: Customer A, B, C etc). I have to duplicate contatcs in XD* or VAP* transactions.
    Is there a standard simple way to avaoid creating duplicate contact entries? Create contact (without attaching to customer) seperately and assign to different customers?
    Please help.

    Hi,
    If you want to assign as contact person sales employee responsible for contacts wit hthe customer, you shoudl rather use parther function PE and assign the employee number in the partner functions of the customer. Otherwise the requirement to assign the same contact person to several different customers is completely not clear for me (several companies rather do not employ the same people).
    Regards,
    Marcin

Maybe you are looking for