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.

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 can i access value mapping table using xslt mapping

    Hi All,
    I have maintained value mapping table in integration directory.I want to access the data from the value mapping table in XSLT mapping using java function.PLease suggest me to do this.
    Thanks
    Pullarao.

    Value mapping that thread should solve your query !!!

  • Accessing ID Value Mapping table in XSLT

    Hi Experts,
    In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined in runtime.
    I have gone through the blog
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    which explians design value mapping table in XSLT.
    Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?

    Hi,
    you can use the xivmService to call ID val map tables.
    Use tha java function executeMapping, Its a standard SAP api.
    Declare the Service in XSLT at start
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0"> 
    Call the val mapping table using below template wherever required.
    <xsl:template name="ValueMapping">
    <xsl:param name="SenderParam"/>
    <xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
    </xsl:template>
    Call template like :
    <xsl:call-template name="ValueMapping">
    <xsl:with-param name="SenderParam">
    try it and let me know if you have any doubt.
    regards
    Inder
    Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM

  • 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.

  • 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.

  • 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

  • Graphical Multi Mapping and then XSLT Mapping

    Hi I have to do message Split. I'm doing this message split. Then I have use XSL Mapping where I'm basically sending the whole Source message into Target Node. Basically Graphical mapping splits one Source file into 2 target files and XSL Mapping should move these individual files to 2 target messages. How Can I refer the Individual messages in the Mapping ?.
    Since Actual message split takes place in Adapter Engine does XSLT Mapping acts on a Single message out of Graphical Mapping ( in my case Graphical mapping produces 2 messages  ) or It acts on both messages as no actaul split didn't took place yet in the Mapping runtime.
    No Guess work please ..let me know if you actually did it.Appreciate all your help.

    Message splits (1:n mappings) can be executed without BPMs. It will finally occur, as you said, at the Adapter Engine layer.
    When you deal with multimappings with graphical mapping, XI will automatically create two new tags surrounding your root tag(s) (tag in case you have multiple occurrence of 1 interface; tags in case your target messages are from different interfaces).
    But when creating multimappings with XSLT, ABAP or Java, you'll have to handle these two surrounding tags manually. So, in your xslt, your input will be like:
    > <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    >   <ns0:Message1>
    >     <ns1:Your_Message1 xmlns:ns1="http://your.namespace1">...</ns1:Your_Message1>
    >   </ns0:Message1>
    >   <ns0:Message2>
    >     <ns2:Your_Message2 xmlns:ns1="http://your.namespace2">...</ns2:Your_Message2>
    >   </ns0:Message2>
    >   ...
    > </ns0:Messages>
    (in case your target message is just 1 interface with multiple occurrence, you'll have only <Message1> tag with multiple occurence).
    So, the secret here is that you'll have to handle the <Messages> and <MessageX> tags in your xslt code.
    Regards,
    Henrique.

  • 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

Maybe you are looking for

  • Initial Time Machine Backup Stuck on "Indexing Backup"

    I have Mac Mini running 10.7.2.  I just got an external hard drive and am trying to run an initial back up using Time Machine.  I am running my computer in Safe Mode as it won't start in regular mode.  I formatted the HD and began to run Time Machine

  • Two Mac's, Two iPods, one iTunes Library

    I have a MacBook Pro with an extensive iTunes library that I like to call the master library. I also have an iMac that I use at home. My wife continually hounds me to update her iPod with new music and I have to do it because I keep the music library

  • Please Add a search field in iCal

    It would be great to be able to search using the spotlight feature within iCal on moble devices, iPhone, iPad etc...

  • PROBLEM IN SETTLEMENT CO88 - G/L  7000203 cannot be created as a co element

    Dear friends, I am facing with an error. Kindly suggest the way how to come up with the issue. My Client due to some reason passed an JV in the month of december in PRD. Now after this all the settlement for the next periods are in error. The followi

  • Handling colour: working in red, white and black

    I've got a music video project which was shot (HDV) in very rich colour in the inside of an old car with red leather seats, and it's well styled. I want to do something a little different with the colour in post - by saturating the reds, whites and b