Using conditional Maps

Hi all, Im using FDM 11.1.2.1
I want to use a conditional Mapping for Custom 2 (UD2)
I tried to use the example on the manual, but on the field Rule Definition, which is empty on the example, FDM is forcing me to include some value, so basically the grid is as follows
Rule Name Rule Desc Rule Definition Targe Custom2 Script
NIT All All #Script ----
And the script goes like this
If Len (varValues(21)) > 9 Then
     Result = Left(varValues(21),9)
Else
     Result = varValues(21)
End If
Once I execute the import the follow error comes up
ERROR:
Code............................................. 4026
Description...................................... Invalid Between Clause: (All) For Dimension Map (UD2) and Rule (NIT)
Procedure........................................ clsCalcEngine.fFlagWildcard
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 11124
I can´t understand what's wrong with the rule, if it's on the script, or the grid.
Please any help will be highly apprecited

If you want the map to apply to all Custom2s, then I think it is more appropriate to use Like mapping instead of Between mapping. In the Like mapping entry, the Rule Def ashould be set to * (asterisk) and the Target should be set to #SCRIPT.
Edited by: Larry R on Nov 23, 2011 12:30 PM

Similar Messages

  • Conditional Mapping with script using BlOCKPROC to access the HFM API

    Hello,
    following problem. During the mapping/validation I need to map certain custom1 members to None if the Top Member is None and let it be if not None. This allocation depends on the account. Reading through the documentation I stumbled across conditional mapping.
    So in the Custom1 map type Like I defined following:
    Rule Name: C1_Script
    Rule Definition: CXXX*
    TargetCustom1: #Script
    In the script I try to achieve to get the Custom1 Top member for the account! The HFM API offers this function(fGetCustomTopMember) and with varValue(14) I get my TargetAccount. So everything I need seems to be there.
    Only problem is I need to use the BlOCKPROC to access the HFM API provided through the adapter, but either way won't work.
    Trying "Set API.IntBlockMgr.IntegrationMgr.PobjIntegrate = BlOCKPROC.ActConnect("LookUP")" throws an object required error.
    Trying
    Dim BLOCKPROC
    Set BLOCKPROC = CreateObject("upsWBlockProcessorDM.clsBlockProcessor")
    BLOCKPROC.Initialize API, SCRIPTENG
    throws me a type mismatch for "BLOCKPROC.Initialize".
    I am kinda at my wits end. Any help/clue is much appreciated.
    Ahh, yes the different writing BlOCKPROC and BLOCKPROC is correct!
    Thanks!

    Hello Tony,
    Many thanks for your answer. Just one last question. The event AftProcMap(strLoc, strDim) gives me the Dimension? Just how do I get the account?
    Can you point me to the right direction and I'll figure out the rest!
    Thanks a lot!

  • Spliting files based on condition using multi mapping with BPM

    Hi All,
    Can any one please let me know How to <b>Splite the outbound records based on condition using multi mapping with Integration Process in BPM</b>?
    Thanks
    Govindu.

    Hi All,
    Sorry for mistake this question for Exchange infrastructure guys.
    Thanks,
    Govindu

  • How to send mails to dynamic receivers using XSLT mapping

    Hi All,
    I have a problem with the mail attributes in xslt mapping. I have a condition on a source field, based on which the "TO" attribute should vary.
    For Example :  If ROOT/HEADER/XYZ = 001 then receiver should be some abc email id
    If ROOT/HEADER/XYZ = 002 then receiver should be
    pqr email id.
    Can anyone help me out of this
    Thanks in advance.
    Regards,
    Lakshmi.

    Hi Lakshmi,
    you have to create an appropriate mapping for this. As said, the mentioned mail package format will be your message. The message will be analyzed by the mail adapter and after this the TO field will be filled with the correct value you will use. The structure inserted into the content fields will be send in the mail body or, if set in the configuration, as an attachement of the mail (as far as i know (-; )
    Example:
    Original structure:
    <ContentStructure>
      <ValueA>ID1</ValueA>
      <ValueB>XYZ</ValueB>
    </ContentStructure>
    Extract of an XSLT-Mapping (as an example, you can use the mapping type you prefer):
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
      <Subject>Subject</Subject>
      <From>namea(at)company.com</From>
      <To>
        <xsl:choose>
          <xsl:when test="ContentStructure/ValueA='ID1'">
            nameb(at)companyb.com
          </xsl:when>
          <xsl:when test="ContentStructure/ValueA='ID2'">
            namec(at)companyc.com
          </xsl:when>
        </xsl:choose>
      </To>
      <Reply_To />
      <Content_Type>text/plain</Content_Type>
      <Content>
        This is the content.
      </Content>
    </ns:Mail>
    If you try something like this, you will be able to set the TO email address dynamical.
    Rregards,
    Lars

  • How to use conditional success Screen in SMP2.3 HWC?

    Hi All,
      Do anybody have reference for conditional success screen,
    I gone through this link SUP 2.2 Conditional Navigation Issue
    but i didnt able to do how to use conditional success Screen.
    If anybody have reference please provide me.
    Regards,
    Sravanya

    That works. Follow the below steps.
    1. Create a key on the selection screen: click on the selection screen>properties>keys>Add a key,ex. "value".
    2. MenuItem>In the properties of menu item>Parameter mappings>map the key with the key created in last step.ie. "value" instead of the key of the choice box.
    3. Get the value selected from choicebox:
    function customValidateScreen(screenKey, values) {
      if(screenKey === "Selection")
      var form = document.forms[screenKey + "Form"];
      if(form){
      SelectionValue = form.ChoiceboxKey.value;
    //ChoiceboxKey is the key of choicebox.
    //Declare a global value "SelectionValue "
    3. Map PK from program:
    customBeforeSubmit = function(screenKey, actionName, dataMessageToSend) {
      if(screenKey =="Selection" && actionName=="GoToChart" ){
      var myNewValue2 = new MessageValue();
      myNewValue2.setKey("Value");// Key created in the screen "Selection"
      myNewValue2.setValue(""+SelectionValue );
      myNewValue2.setType("TEXT");
      var mvc = dataMessageToSend.getValues();
      if( mvc ) {
      mvc.add( myNewValue1.getKey(), myNewValue1 );
    // So in the above way the data from choice box is send to online request.
    To do the conditional navigation you have to use the global value created,ex.
    hwc.customConditionalNavigation = function(currentScreenKey, actionKeyName, defaultNextScreen, conditionName, incomingDataMessage) {
      if( conditionName === 'Data'&& SelectionValue == "PieChart") {
             return false;
         }else{
        return true;
    Hope you understand how I did this.
    Midhun VP

  • Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found

    We have a SOAP to PROXY scenario Which is in Production.
    We keep getting the Error:
    " Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found on host XXXXXX, ProgId =AI_RUNTIME_XXX.
    We are using Standard Receiver Determination with single receiver without any condition. And no mapping being used in interface determination.
    What are all the possible situation where we face such as this issue in Production.

    Please check the SAP note
    # 1706936 - messages fails with error java.lang.RuntimeException Bean SMPP_CALL_JAVA_RUNTIME3 not found
    1944248 - PI unstable due to JCO_SYSTEM_FAILURE mapping issues

  • XML Structure Conversion using JAVA Mapping

    Hi Experts,
    I am having a requirement in which i want to convert the contents of source xml structure into a string and map it to the target field.
    Source Structure:
    <SRC>
    <Node1>ABCD</Node>
    <Node2>XYZ</Node2>
    <Node3>1234</Node>
    </SRC>
    Target Structure:
    <TRG>
    <Node1>ABCDXYZ</Node1>
    </TRG>
    Both the source and target structures are in xml format only.....just the condition is that I have to use Java mapping to achieve it.
    The contents of Source node Node3 are not to be mapped.
    Since I have very less knowledge of Java it will be very helpful if you provide the complete code to me.
    Thanks,
    Abhishek.

    Hello Udo,
    Thank you for reply. It seems ABAP mapping is easier.
    What do you think about the idea of using Value Mapping for such conversion task? In this case is it obligatory to use Java coding? And how about performance - will it be better than in case of ABAP mapping, can you say?
    Thank you,
    Igor

  • Conditional mapping in Graphical mapping

    Hi All,
    I have a conditional mapping requirement i.e.I have 2 nodes ( collections/collection/object and  extensions/collection/@name) in the source structres. Both nodes are identical and have unbound occurences. Based on certain condtions I need to map second node in the  source node to target node ( Items ). Below is the condition.
    If first node '/MT_FCI_CONTRACT_EXPORT/fcidataexport/objects/object/collections/collection/object/@classname' (Occurs Unbounded ) value is not  'contracts.LineItem'  and second node '/MT_FCI_CONTRACT_EXPORT/fcidataexport/objects/object/extensions/collection/@name' ( Occurs Unbounded ) value is 'MATGRP_COLLN' then only map source field '/MT_FCI_CONTRACT_EXPORT/fcidataexport/objects/object/extensions/collection/row' ( occurs unbounded ) to target node 'Items' ( Occurs unbounded ).
    I have done this mapping using If condtions and did some context changes. My second condition is working fine but my first condition is not working as expected. Its only taking value in the first occurences and based on that passing first condition. But I need to check in all occurences whether value 'contracts.LineItem' is not exist  then only I need to pass that condition. Please let me know how to achieve this.
    Please help me to achieve my requirement.Thanks.
    Regards,
    Rajesh

    Hi Rajesh,
    To reply your query first we have to understand the exact requirement . So I am writing my understanding below and solution for it .Kindly reply if your requirement is different.
    you have three source field which is involved in mapping .@classname, @name, and row and target side you have node item .
    Now you have to check for all classname and name that if classname is not equal to contracts.LineItem and @name is equal to MATGRP_COLLN ( both the values I have considered as constant) then map row to target node item. i.e if classname and lineitem is occuring 4 time and two time both are satisfying both the codition then generate two target Item node .
    Solution.
    classname -> (CollapseContext)->equals to ContractLineitem --not -->
                                                                                    AND -
    IIF WITHOUT ELSE
    Name -
    >(CollapseContext)-->equals to MATGRP_COLLN--
    >
    the condition of if without else function will be output of AND and in then map row----.(collpasecontext) finally the output of if without else will be mapped to item
    note :all ittalic is Graphical mapping functions .
    Regards,
    Saurabh

  • FDM Conditional Map Script Error

    Hi all,
    we trying importing data from EBS to HFM though ERPI by using FDM.
    We used conditional based scripts to importing data from ebs to FDM.
    this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
    can anyone help me on this:
    this is error :
    ** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
    ERROR:
    Code............................................. 1014
    Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
    Script:
    If varValues(14)="113401" Then Result="21_ADNIP"
    Else Result="[ICP NONE]"
    End if
    Rule=I1
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 13888
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... ADNIPHYPUAT01
    App Name......................................... FDMHFM
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPUAT
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... HFMGLLOAD
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... May - 2011
    Period ID........................................ 5/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    Thanks.
    Srini

    Hi, please try the mapping script again having the "Result=" statement on a separate line, like:
    If varValues(14)="113401" Then
    Result="21_ADNIP"
    Else
    Result="[ICP NONE]"
    End if
    Kind regards,
    Jeroen

  • Why Find My iPhone webpage uses Google Maps?

    Hello everyone,
    I remember Find My iPhone web edition uses the same Maps as mobile app. But I couldn't open Find My iPhone webpage because it uses Google Maps now. China blocked Google servers.
    Anyone can confirm it?

    I doubt they will switch any time soon considering the condition of Apple Maps on ios6 devices.

  • Filtering OVD with database field and not field which is used for mapping

    Hi,
    I have a requirement where we are using OVD and creating a dataabase adapter. In the database adapter, I want to put a condition to check whether Status = 0. This field is not used in mapping, but only for putting condition.
    Can you please guide me how to put filter condition in OVD?
    Thanking you,
    Regards,
    Prashant

    Hi,
    Use the floating field in Adobe.
    Use a  Static Text Field  and Insert the Field EMPLOYEE_DETAIL-PERIOD from your Data View
    Thanks.
    Uma

  • How do I use Port Mapping?

    b How do I use Port Mapping?
    (This document will assume that you are using and ABS/AEBS/AX as an internet router and have DHCP & NAT turned on.)
    Sometime you may want to offer access to a computer on your AirPort network to users on the internet, whether it be a web site, or for file sharing, or just remote access for yourself when traveling. If any of these sound like something you want to do, then you need to understand how Port Mapping works.
    b AirPort as Firewall
    Most of the time your AirPort base station will not let any traffic into your network which did not originate from your network. It will let everything out and replies to your traffic back in, but it will not let sessions initiated on the internet side of the base station in to your network. This is what is referred to as the "NAT firewall" capability of the base station and it provides effective protection for your network from the internet. What Port Mapping does is poke a hole in this wall to allow certain type(s) of traffic into the network and direct this traffic to a specific computer on the network. In the firewall world this is commonly referred to as an "inbound proxy" or "inbound translation" rule or "PAT" (Port Address Translation) in the router world.
    b The Need for Manual Addressing
    Since a Port Mapping entry in the base station configuration requires an inside private IP address to be specified, the computer to which to mapping entry applies should always have the IP address specified in the mapping entry. Thus, DHCP should not be used for a computer offering services on the internet as the Port Mapping entry will no longer work if the target computer's IP address changes. In general, an Apple base station's DHCP server will try to assign IP addresses in the 10.0.1.2 to 10.0.1.200 range. IP addresses above 10.0.1.200 can be Manually assigned to computers and other devices on the network up to 10.0.1.254. 10.0.1.255 is reserved (it is the broadcast address for the 10.0.1 subnet). To Manually set up the TCP/IP information for a Macintosh running Mac OS X, go to System Preferences -> Network and "Show" the appropriate interface (Ethernet or AirPort) and click on the TCP/IP tab. Select "Configure Manually" and enter the following information:
    IP address : 10.0.1.201 (or whatever address you decide to use)
    Subnet mask : 255.255.255.0
    Router IP : 10.0.1.1 (the AirPort base station LAN IP)
    DNS server : 10.0.1.1, or whatever DNS server IP your ISP uses
    After making these changes verify that your computer can still access the internet and local resources on the LAN before continuing.
    b Port Mapping a service
    In our example we will be hosting a web site on a computer which we have given an IP address of 10.0.1.201. Basic web sites are accessed using the HyperText Transport Protocol (HTTP) and this protocol typically uses port 80 to communicate. In order for others to see the web site, we must configure a Port Mapping entry in the base station configuration to not only allow the web browsers in, but to tell the base station what IP address the web server is using. The Port Mapping entry has three parts: Public Port, Private IP, and Private Port. In this case you would use the following values:
    Public Port : 80
    Private IP : 10.0.1.201 (this is the computer hosting the web site)
    Private Port : 80
    In order to access the web site from the internet, users must reference the base station's WAN port public IP (determined by looking at the base station configuration summary page in the AirPort Admin Utility). Since this address may change over time, you might want to use a Dynamic DNS service to simplify connecting for your users.
    Sometimes the port you wish to use may be blocked by the ISP. In this case, use a different non-standard Public Port number for the service, but keep the Private Port standard. In the above example, if the ISP was blocking port 80, you could potentially use 8080 instead, so:
    Public Port :

    Public Port : 8080
    Private IP : 10.0.1.201
    Private Port : 80
    Your users would then have to enter "http://<publicIP>:8080/" (where <publicIP> is the public IP address of the AirPort base station) to access the web site.
    b Internal Access
    It should be noted that when accessing these services from within the network you cannot reference the Public IP/Public Port, but rather you must use the Private IP/Private Port. Thus, "http://10.0.1.201:80/" in the above example.
    b Limits and Options
    There is a maximum of 20 Port Mapping entries that can be made in an Apple base station configuration. If you use an AirPort Extreme or AirPort Express base station there is an option which can be helpful in the case where you need many ports opened to a single computer. This is the "Default Host" option. When using this it is not necessary to use Port Mapping at all as all ports will be opened to the specified "Default Host". This is found in "Base Station Options". The default IP address for the "Default Host" is 10.0.1.253. You may change this IP address. The target computer must be Manually configured as specified above with the same IP address. Since all ports are now open to this computer, you should enable and configure the Mac OS X firewall on the default host computer to protect it from intruders.
    b Useful Related Links
    <a href="http://docs.info.apple.com/article.html?artnum=52002>"Designing AirPort Extreme Networks: Manuals</a>
    "Well Known" TCP and UDP Ports Used By Apple Software Products
    IANA Port Number Assignments

  • How do i use conditional formatting to edit the color of other selected other cells?

    I have been playing around with the conditional formatting feature of Numbers, I have figured out how to change font and background color of the cell i am working with.
    However what i am looking to do is apply a background color formatting to another cell (i.e. F2) if conditions are met in (B2).
    the end game is this,
    I want to make a column of check boxes, and using contional formating i want adject cells to change color (I.e. the example above: if (B2) is a check box, then when unchecked the reffered Cell (F2) does nothing, but when check the color of (F2) changes)
    I can make this happen with Logic equations, the give (i.e. F2) some letter or number value, then using conditional formats i can have the color change. but this leaves that particular cell useless to me (i.e. F2) I am not free to enter or edit text in that cell. (i.e. =IF(B2=TRUE,"Paid","Due") ----> then add a conditional statement that chages color when the value is either "Paid" or "Due")
    How do i have F2 change color, when B2 is checked and still retain the ability to enter information (or potential have another formula) in F2? (The Cell is not used up by "Paid" or  "Due" it is editable just like any other cell)
    is there anyway to change cell characteristics like font, color, and background color inside a formula, because in that way i would be able build it manually
    i tried using the formula editor inside the conditional format pane, but the only infor it will allow me to retain is one partictular cell. i cannot add modifiers like "+" or "=" or anything else. what is that space used for then?
    thanks for anyones help

    MC,
    You can do what you want in Numbers. It requires an auxiliary column and it's a bit tedious to set up because conditional formatting by comparison to another cell isn't relative, so each cell has to be programmed individually with no option to Paste or Fill to other cells in a range.
    For explanation purposes, let's say your checkbox is A2, your cell to be conditionally formatted is B2, and your auxiliary cell is  C2. To have the format of B2 determined by the checkbox status in A2, you will:
    1. In C2 write: =IF(A, B, " ") The " " is any string or value that you don't expect to encounter in B normally, and using the space character means you don't have to worry about having it visible if C is in View.
    2. In B2 use Conditional Format: "Equal To" cell C2 and set your text and fill attributes to be used when the box in A is checked.
    That's it. Do that for every cell in the range.
    Jerry

  • Using Google Maps Street View on My MacBook Pro

    Recently, I have been getting "Plug-In Missing" in the place of a video in a blog post. Also, when I try to use Street View in Google Maps I get a box that tells me I need to install Adobe Flash Player 10 or later to be able to use Street View. Should I try to download and install Adobe Flash Player? What could I use to be able to use Google Maps Street View and/or to play videos?

    I found my reply elsewhere - you have to uncheck "contacts" and then recheck it. Kinda idiotic, but there you have it!

  • Using iPhone Maps App abroad

    I should start by saying that I have no problems with Maps on my iPhone 3G.
    In fact I seem to have a magic iPhone judging by the posts and questions elsewhere.
    My iPhone, with data roaming turned off - wifi off - 3G off, and with only a very basic 2G network with O2 in rural Wales and with only 1 to 2 bars of signal, quickly uploads the Google maps to the highest resolution (less than 1 minute). And no, the maps were not already cached on my iPhone unless someone stole it, went the remote location, used the maps app, then sneakily returned the phone. Neither do I suffer from memory lapses, nor Alzheimer's (though my children might disagree).
    My questions are;
    1) does this (marvellous) service actually operate over a bog standard mobile network connection?
    2) will it work as well anywhere in the world with a bog standard mobile network connection?
    3) will it cost me 'roaming' minutes to use the Maps app abroad.
    Many thanks,

    Thanks for the info. I take it then that you don't need Wifi, Edge, or 3G for Maps to work which is good news, and contrary to many of the posts I have read.
    Bog standard means 'basic' thought to be a corruption of 'box standard' as in 'vanilla', 'no frills' etc. Usually used in a slightly derogatory manner, as in "my kids have ended up in a 'bog standard' school".
    Thanks again.

Maybe you are looking for

  • How can I incorporate an overlay with fields into a PDF file?

    Once a week, I produce a timesheet. It's a PDF document generated by a third-party time-recording app, and it has room for hand-filling in signatures/dates/names, etc - 7 fields all told. What I want to do is build a separate document containing an e

  • Agreement lookup failed as From trading partner cannot be identified

    Hi, I am working on custom document over HTTPS. I configured B2B to send custom document over Generic Exchange(transport - HTTPS). I enqueue the XML document with AQ header to IP_OUT_QUEUE. B2B is able to read the data from IP_OUT_QUEUE and invokes t

  • IE8 protected mode and web to pdf conversion

    I am trying to convert/print web page to PDF files. If I use the Convert menu within IE8 absolutly nothing happens. It doesn't matter what option I choose inluding preferance. If I use print to Acrobat printer, I get an authorization error. If how ev

  • 802.1x/EAP-TTLS and EAP Certificate Policies

    Hello, I am having a hard time with 802.1x authentication against a radius server I manage. Every time I try to connect, I get a pop up about certificate verification - the certificate cannot be verified because there are no explicit trust settings.

  • I can't sync 515 calendar with Outlook

    The Nokia 515 is one of the simplest phones on the market, but the most complex to use. I would like to be able to see my Calendar on my iPad, 515 and Laptop. Vodaphoe support told me that I could only synchronise the phone with a Microsoft Exchange