Parameterized mapping in pi 7.1

Hi All
In PI 7.1 you can make use of parameters, I want to use the import parameter to pass to my java mapping. The question is can the import parameters only be constants or is there a way to make the fields dynamic? For instance get the value from source structure and pass it to java mapping.

> For instance get the value from source structure and pass it to java mapping.
When you have the value in source structure, you can access it in your Java mapping anyway, so why do you want this feature?
When you have several mapping steps, you can pass parameters from one mapping to another, and inside a BPM you can provide parameter values from container objects, but in a standard single mapping it is not possible to use dynamic values.

Similar Messages

  • Parameterized mapping in PI 7.31 Dual Stack

    Hi All,
    I am working on PI 7.31 Dual Stack. I am getting the below exception in parameterized mapping:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException; com.sap.aii.mapping.api.UndefinedParameterException: The input-parameter TestVal does not exist.
    I could test in MM test tab but facing the issue in runtime. Please suggest me where I am going wrong.
    Thanks,
    Madhurima

    Hi Madhurima,
    Have you checked if your PI version and patch level is being affected with this note  1933139 - Errors during execution of operation mapping with message mapping parameters names different from the operation mapping parameter names?
    Regards.

  • How to pass input parameter (parameterized mapping) to java mapping program

    Hello
    I have a question about the parameterized mapping with Java (PI 7.1).
    In the operation mapping (using Java-class) I defined a inputer parameter (string). I think I am supposed to retrieved the value using:
                    arg0.getInputParameters().getString("myInputParameterName");
    where arg0 is the TransformationInput object.
    However I am not able to get the value, I got runtime exception saying the inputer parameter doesn't exit.
    Then I figured out maybe I need to bind the OM input parameter to Java mapping parameter, just like in case of message mapping, you need to bind OM parameter to MM parameter. However there is no way to define input parameter for the java mapping program.
    Anybody has done java mapping with parameterized mapping?
    Anybody can give any hint for this?
    Thanks
    Jayson

    InputParameters params = container.getInputParameters();
    DynamicConfiguration conf = (DynamicConfiguration) params.getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Edited by: Anand on Dec 10, 2008 4:13 PM

  • Alternative to parameterized mapping

    Hello,
    We are in
    Service Pack: 08
    Release: NW711_08_REL
    Scenario : File to IDOC
    We are using parameterized mapping for this scenario and we have configured some values in the interface determination in parameter for Operation Mapping. During the transport there are chances of overwriting the same in the QA or Prod system. Also sometime it is difficult to maintain all these values manually in the respective systems.
    Is there a better way we can handle this situation? Or is there a better alternative to the parameterized mapping?
    Thanks
    SK

    Have you consider the Value Mapping approach?
    http://www.riyaz.net/sap/xipi-value-mapping-using-graphical-editor/382/
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5

  • AAE doesn't support parameterized mapping ?

    Hi,
    is the AAE doesn't support parameterized mapping ? if yes any workaround for this limitation ? because i want to use JDBC lookup in my mapping ?
    Currently, i am using PI 7.1 EHP1 SP3.
    Thank You and Best Regards
    Fernand

    One thing more, as you can't use it it may bother you as you won't be able to use the new box in the graphical mapping to do look ups (JDBC, or RFC), as both boxes get the channel from a parameter.
    However, you can still create your own UDF and do the lookup manually with java code, it's not a big issue. I had to do it for RFC lookups some times.

  • Integrated configuration with parameterized mapping

    Dear All,
    My scenario is using integrated configuration AAE. I am trying parameterized mapping with Integrated configuratiion but it throws an error saying that AAE doesnt support parameterized mapping.
    I am uisng PI 7.1 I wanted to know doest PI 7.3 support this or which service pack on PI 7.1 support Parametrized mapping with AEE.
    Any thoughs on this.
    chirag

    Hi Chirag,
    Integrated Configuration Scenario with Parameterized mapping is not supported in PI 7.1, 7.1 EHP1 or even in 7.3
    This is a limitation with AAE based scenarios. However, you can still use Parameterized mapping in Classical Scenarios(ID,RD,SA,RA). This is well supported in PI 7.1 and higher versions.
    Please take a look for the CAUTION statement in the following link:
    http://help.sap.com/saphelp_nw73/helpdata/en/94/75de6590d64673b1e94ac072842ee3/content.htm
    I hope this helps.
    Regards,
    Gaurav.

  • How to implement parameterized mapping ?

    what are the steps required to implement parameterized mapping?

    Hi Valli,
    Please use the SCN search or google search for basic questions.
    For example:https://www.google.es/search?q=SAP+PI+parameterized+mapping&ie=utf-8&oe=utf-8&gws_rd=cr&ei=rbU_VfKHFYGnUPyzgJAD
    You can find some example like this:
    http://scn.sap.com/people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    Regards.

  • Parameterized Mapping - Binding Problem

    Hi All,
    I am using a parameterized mapping and i have given 2 import parameters in OM  and also in Interface Determination. I am getting below error.  anyone faced this problem before?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">TX_MISSING_IDET_PROP</SAP:Code>
      <SAP:P1>B113C2A0483E11E1C980A298F37B7F02</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Parameter binding (ID = B113C2A0483E11E1C980A298F37B7F02) for interface determination is missing</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    After creating binding variable in ESR, you have to create binding variable in the interface determination. The value you pass over there is saved in the created variable in operation mapping. Hope you understand.
    Refer setting parameter values in interface determination portion of the link
    SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
    Also activate and refresh cache. Sometime this might be due to caching problem and not properly set the parameter values.
    Hope that helps.

  • Problems with parameterized mapping in BPM

    Hi
    I am using an RFC lookup in a message mapping. I have declared the parameters/bindings in Message Mapping and Operations Mapping, but when I use the Operations Mapping in a transformation step in my BPM, I am asked for an "import" value. There are no values to be selected. What do I do?
    Thanks!
    regards Ole

    In your integration process, define the import parameter under Configurable Parameters category.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/1f1a5c932d0d19e10000000a114a6b/frameset.htm
    Regards,
    Prateek

  • Need help on Parameterized mapping in PI 7.1

    Dear all,
      i had a requirement in which Username, password & client values should pass from interface determination and these values should call through the  java mapping. i had gone through some of the discussions in SCN , but i cant understand. So can any one  please explain   step by step with java mapping.
    thanks in advance.

    hi Shaik Samir,
        In this pic you can see the user is creating the parameter called  TAG_NAME with a value "TAG"
    Then the java mapping code reads this parameter here in this line
    String inParam = arg0.getInputParameters().getString("TAG_NAME");
    In the string inParam we will have the value "TAG". You can do whatever you want with this value.
    Similarly you can write your own java code in NWDS as given in this sample mapping here
    http://wiki.scn.sap.com/wiki/display/XI/Parametrized+Java+Mapping+in+PI+7.1?original_fqdn=wiki.sdn.sap.com
    In your case you need to add Username, password & client values as parameters and their values as shown above and use them in your mapping. Hope I could explain you the process.
    All the best.
    Regards
    Anupam

  • Function module parameters mapping

    Hi Expert,
    We are working on a  upgradation tool in which i have to repace the obsolete function module "HELP_VALUES_GET_WITH_CHECKTAB
    " by "F4IF_FIELD_VALUE_REQUEST
    ". I am not sure about the functionalities of these function modules as i have never used it. Can anyone please help me  by providing some information abt  these FMs. Also i need to do the mapping of parameters of old and new function module. So please provide the details of mapping also. Any pointers on this will be highly appreciated.
    Thanks & Regards,
    P Sharma
    Moderator message : Duplicate post locked.  Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 8, 2011 9:55 AM

    please check the below link.
    http://wiki.sdn.sap.com/wiki/display/ERP6/FMHELP_VALUES_GET_WITH_TABLEobsoleteReplacewith+F4IF_INT_TABLE_VALUE_REQUEST
    Edited by: SAP2011 on Jul 8, 2011 4:17 AM

  • Parameterized mapping GUI to XSLT

    Hi I am using parameterized message mapping in PI 7.1, in which I am passing values to message (graphical mapping). The graphical mapping is receiving those values and storing them to DynamicConfiguration key/value pairs. I have written a UDF for that and the UDF does all the job of setting DynamicConfiguration and returns empty string to the target message root element.
    Then, in operation mapping I am placing the above message mapping first followed by the XSLT mapping step. The XSLT mapping is reading the Dynamic parameters set earlier by the message mapping step and using the same populating the XML tags. The objective of the XSLT mapping is to create SOAP envelope with the above fields (parameters) as custom header fields in the SOAP header.
    I see that the SOAP envelope is created correctly by the XSLT with the SOAP body containing all values. But the SOAP header is not the getting the values from the DynamicConfiguration set by the message mapping.
    Question: Is it possible to pass values like this between message(graphical) mapping to XSLT mapping? Are they stored in memory or is it that the moment the next mapping is called, the DynamicConfiguration values are lost?
    Thanks for your help

    Hi saisach,
    I can tell you the easiest way to achive your requirenment.
    In First Message Mapping.:
    Add a filename field under header node in the receiver structure
    Suppose your receiver structure is:
    <Test>
    <Name>Sai</Name
    </Test>
    Then modify it like below.
    <Test>
    <DummyHeader>
    <FileName>TestFile.txt</FileName>
    </DummyHeader>
    <Name>Sai</Name
    </Test>
    And also map the dynamic confuration value to FileName Field.
    Then in your SOAP envelope creation XSLT  mapping read the Dynamic value from this FileName Field and do what you want.
    Create Third simple XSLT mapping to remove the DummyHeader Field.

  • Parameterized Mapping

    I have an Object that has a one to many collection. It currently is a managed privately owned, lazy initialized (indirection). Is it possible to parameterize this mapping by passing in or calling a method to get the parameters?
    I'm currently using Java to define the mappings so I have full control over everything. I know this is possible if I don't want it to be a managed collection. I wouldn't to keep it managed, so I can use the Toplink Cache when grabbing the attached collection.

    Correct, I would like to set the date and then have the collection filed with the attributes matching that date.
    So there is not way to pass in an argument that will be used as part of the selection criteria? In your example I wouldn't want to load all of the objects and then manually added the objects that match the date to the collection. That would require loading up all of the objects from the database. I need a way to only load a subset of the objects from the database. The way I would envision this happening would be to set the argument by calling a method on the object such as getDate() and it will pass in that value into the SQL WHERE clause.
    I've been looking at the documentation, is there a way to do this by using a parameterized database call? It looks like I can set the selectionCall for a mapping. I just don't know how to pass in the arguments. I need the ability to set the method "getDate" as the argument for the filter clause.
    Any additional insight would be helpful. Obviously there are workarounds, but it would be helpful to have this ability natively supported within toplink/eclipselink.

  • A problem about GP parameters mapping.

    Hi, all.
    I tried to group two parameters together.
    Those are both structured parameter with cardinality 0.n.
    But when I groupped them together , the cardinality became 0.1 .
    I had no idea how this happened. Can anyone give me a hand?
    Thanks

    This is a system bug for NW7.01.

  • Parameterized Message Mapping in PI 7.1

    Hi,
    My requirement is:
    If the import parameter of type "string" equals constant "Test",
    pass the constant value "Mail1" to the target field,
    else pass the constant value "Mail2" to the target field.
    Also I have mentioned the import parameter value in Interface Determination as "Test".
    So, "Mail1" should be the output, but in a strange way i'm always getting "Mail2" as the output.
    In message mapping test tab, i'm getting the expected output as "Mail1" but when i test it end-to-end, i'm getting "Mail2" as the output.
    Does it mean that we cannot use the import parameters for checking any conditon? Or am I doing any silly mistake?
    Any help will be appreciated.
    Edited by: Geetha Jeyaprakash on Dec 24, 2008 2:25 PM

    I'm giving the condition in Message mapping editor using standard functions.
    Actual requirement is to pass a particular mail id to the target field in Development environment and some other mail id in Production environment. As we don't have any particular source field to check the condition, we tried using parameterized mapping for the same.

Maybe you are looking for

  • XML file not readable

    Hi all, we have a xml file found in the internet delivering actual currency rates (http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml). After downloading this file I tried to create a Data Server. But when testing the Data Server the following er

  • How to locate my music on itunes

    my  music on itune say it can not be locate on itunes

  • Can iChat on Mac talk to iOS  FaceTime devices

    I have Facetime on my iOS devices, as indeed many of my family and friends. I also have installed FaceTime app on the iMac and I dont really like it.  It does seem to fit in well with the Aspect ratio of the Mac Display.  The contacts are in a black

  • AP and AR in R12

    Hi, I was wondering if someone could point me in the right direction to find out whether Accounts Payable and Accounts Receivable pages are within R12 Forms or will these only be provided in Self Service? Thanks

  • HDV to DVD (NTSC)

    Hi, I am desperately trying to get a viewable SD-DVD version of HDV footage. I am following the simple 2-step procedure: 1. Export in HDV 2. Use Compressor 2 to get DVD-90min best quality I have no major problem in PAL, but when I transfer everything