Mapping rule

Hi,
i have one issue on mapping rule. Please give me solution for the below mapping rule.
Remove leading +67(0) to leave just 0
thanks in advance
sai

Hi Sai,
You can use the function formatNum for your requirment.
Thanks and Regards,
Sanjeev.
PS: Award points if helpful

Similar Messages

  • Gettin Error While activating Device Mapping Rule

    Hi all,
            I am getting below error while generating Device attribute mapping Rule :
    Err:Metainfo FM MMW_DM_DSMS_METH_META - Class Name not specified
    Any idea how to resolve this problem.
    Regards,
    Abhishek

    Hi Abhishek,
    Custom attributes will not be reflected under category list.
    It can be viewed by clicking 'customize'  button only in sdoe_rmm01.Do not add custom attributes part of category.
    If you have clicked 'Admin UI display'  while creating it will get reflected in the admin portal under single valued or multi valued attributes tabs .This way it allowes you to assign custom atrribute values to devices from admin portal.
    By the way when you created the other attributes.in category .how did you manage to give proper data types ?
    When you say , backward compatible, are you planning to migrate  the SyncBOs defined in MI to the current DOE?If yes , this is all that you need to do.
    Regards,
    Liji

  • How to insert data in the table without  join and using mapped rule value

    1.Table SOL_K
    A B C D – Columns Name
    C D A B –Coulmns Values Defined (Rule --- Defined)
    2.SECOND table SIC_K
    SIC_ K
    A B C D
    Kamal Micky NULL MANOJ
    3 Table SIC_Mapping
    Same Columns A B C D based On Table SOL_K defined rule
    I want to insert values(from table SIC K) into table SICMapping Table with the help of first table(SOL_K)(mapped rule)
    Required Result SIC_Mapping Table
    The output will be come like this.
    A B C D — Columns Name
    NULL MANOJ Kamal Micky ---- Came based on defined Mapping Rule

    What's your database version?
    That's a funny requirement.
    How about :
    select case sol.a
              when 'A' then sic.a
              when 'B' then sic.b
              when 'C' then sic.c
              when 'D' then sic.d
           end as a
         , case sol.b
              when 'A' then sic.a
              when 'B' then sic.b
              when 'C' then sic.c
              when 'D' then sic.d
           end as b
         , case sol.c
              when 'A' then sic.a
              when 'B' then sic.b
              when 'C' then sic.c
              when 'D' then sic.d
           end as c
         , case sol.d
              when 'A' then sic.a
              when 'B' then sic.b
              when 'C' then sic.c
              when 'D' then sic.d
           end as d
    from sol_k sol, sic_k sic
    ;XQuery can do the trick too :
    SQL> SELECT *
      2  FROM XMLTable(
      3   'for $i in ora:view("SIC_K")/ROW
      4    return element r {
      5     for $j in ora:view("SOL_K")/ROW/child::*
      6     return element {name($j)} {$i/child::*[name()=$j]/text()}
      7    }'
      8   columns
      9     a varchar2(30) path 'A'
    10   , b varchar2(30) path 'B'
    11   , c varchar2(30) path 'C'
    12   , d varchar2(30) path 'D'
    13  );
    A          B          C          D
               MANOJ      Kamal      Micky
    Edited by: odie_63 on 29 juin 2011 22:07

  • What are mapping rules in sap xi/pi  ?

    hi experts
    what are mapping rules in sap xi/pi  ? how we can use this rules for special charters mapping .

    >
    praveen.tecnics wrote:
    > hi experts
    >
    > what are mapping rules in sap xi/pi  ? how we can use this rules for special charters mapping .
    to map special characters you need to use an element called CDATA in your mapping
    a special character causes an error....as XI wont be able to read it (as it is not in a proper XML format)...so to parse this character through XI without causing an eror use the CDATA....just make a search on SDN and you will find the proper use of it....
    For your info: http://www.w3schools.com/XML/xml_cdata.asp
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 20, 2009 8:52 AM

  • Selectively executing a mapping rule based on a variable value

    Hi,
    I have written a mapping rule in the following format.
    case #time_unit when 'quarter' then
    logic1
    when 'month' then
    logic2
    end
    In logic1, logic2 i again have nested case statements. Variable time_unit will have a static value hard-coded given (quarter/month) by user before execution.
    So Variable time_unit need not be checked for each row that gets transformed. It hits the performance.
    I want either logic1 or logic2 to be substituted dynamically in the mapping rule window based on the variable value.
    I cannot go for 2 seperate interfaces. How can I achieve this in ODI.
    Please help me.
    Thanks!!

    Sarah,
      I'm not aware of doing other than BPM. If you want the BPM Steps, Please refer below
      Step 1 : Receive
      Step 2 : Transformation
      Step 3 : Send (Syncronous call to the target system)
      Step 4 : Switch(Check the Payload value as per your reqmt)
      Step 5 : Transformation(Switch : False ,If the payload value is not ERROR)
      Step 6 : What you wanna do ( Switch :True)
    If you want more technically, then let me know the source and target systems, I will help you to design
    the complete flow.
    Best Regards,
    raj.

  • How to Insert data in 3 table without use of join 1table mapped rule define

    1.Table SOL_K
    A B C D – Columns Name
    C D A B –Coulmns Values Defined (Rule --- Defined)
    2.SECOND table SIC_K
    SIC_ K
    A B C D
    Kamal Micky NULL MANOJ
    3 Table SIC_Mapping
    Same Columns A B C D based On Table SOL_K defined rule
    I want to insert values(from table SIC K) into table SICMapping Table with the help of first table(SOL_K)(mapped rule)
    Required Result SIC_Mapping Table
    The output will be come like this.
    A B C D — Columns Name
    NULL MANOJ Kamal Micky ---- Came based on defined Mapping Rule

    This is the forum for issues with the SQL Developer tool. You will get better answers in the SQL and PL/SQL forum.

  • UDF  for this mapping rule

    Hi Friends,
         I have one difficult issue which have one mapping rule to write user defined function. I am sending mapping rule Please give me java coding to create udf for this mapping rule which is following below:
    CRFT.COSTR = M_ORD_01 and
    CRFT.CRID = CRHE.CRID and
    CRFV.FTNO = CRFT.FTNO and
    CRFV.ATNAM = ZPPI_ORDER_SCHED_EN_DATE
    And
    CRFT.COSTR = M_ORD_01 and
    CRFT.CRID = CRHE.CRID and
    CRFV.FTNO = CRFT.FTNO and
    CRFV.ATNAM = ZPPI_ORDER_SCHED_EN_TIME
    From ATWRT of ZPPI_ORDER_SCHED_EN DATE+ ATWRT of ZPPIORDER_SCHED_EN_TIME
    In format yyyy-MM-ddTHH:mm:ss
    using this mapping rule, ATWART field can map with target field "End Time" i think.
    Actually source field is CALCULATE but this field is not in Source structure
    target field is "End Time"  this field is in Target Structure.
    I will wait for ur response
    Thanks adn regards
    Sai

    Hi Jagadish,
    This RFC is CONTROL_RECIPE_DOWNLOAD
    in this RFC, i want to map ATWRT field to Target field "End Time" with mapping rule which i had already given.
    In Graphical mapping, i am doing . but i can not get it because mapping condition is difficult. if you have any idea in graphical mapping give me early
    before that i have to give explantion about this is  date value and time value passed through this ATWRT field as different records.
    i am doing as a condition ie  first i have taken date condition. from that condition, first two fields  CRFT.COSTER and M_ORD_01 has given to "equals" funtion     like that have done remaining fileds then the output of those "equals" functions given to "and" functions finally i get one output of "and" function.  while sending DATE values from RFC this output  of "and " function.
    Like this, for Time condtion i have done mapping same way and giving a TIME values from RFC as Second record then output of this "and" function while sending second record with time value.
    here mainly i am getting problem is .....
    here i am taking source field ATWRT( in this field i am sending date format adn time format as different records) with the outputs of the mapping conditons as input vaules of another function. i dont have any idea for another function why because is first date record should be wait until the time record comes in this function.after then both vaules should concat .
    now here whenever you send date value through this field ATWRT as first record and after satishfy the date condition form mapping rule,  The date value of ATWRT should go to input of concat function. next i will send time value like date value through ATWRT as second record . It should go to another input of concat function. Then here both date value and time value concat with T  and should be come output in the format  yyyy-MM-ddTHH:mm:ss and this will go to Target field "End Time".
    I will be wait for ur possitive reply
    thanks for giving response
    Thanks adn regards
    sai

  • DN mapping rule  problem

    Hi, all.
    Here is problem - i try to replicate entry from Active Directory connector view
    dn: cn=user, ou=123,ou=bank,o=ADCView to MetaView entry
    dn: cn=user, ou=345,ou=internal users,o=Meta
    I have DN mapping rule:
    Selection criteria: (%objectclass%^person) and (%dn%^bank)
    Distinguished Name Construction:
    cn=%cn%,ou=345,ou=internal users
    This is not work!
    In the debug log i can see that selection criteria is False. After some investigation i have found, that attributes %dn%, %cv.dn%, %entrydn%, %cv.entrydn% are empty or does not present at all !
    So, to construct my mapping rule i need the entry`s dn, where i can find it?
    Entry objectclass is inetorgperson.
    Thanks, Ivan V. Melekhin

    r u using the AD specific or Default schema?
    Cant u simply put the selection criteria as "Present" instead of "Bank" - of course since you say that dn is not available we need to see which field should provide the info.

  • No document type defined  in mapping rule

    Hi,
    Information on document type is need to be loaded from SAP R/3 to BCS for reporting purpose. Customised doc type with assigned role - subassignment already defined. Problem is i still don't see the document type (fiels) for selection in mapping rule (under load from data stream).
    Any input would be appreciated. Thanks.
    Regards, Renee

    Due to reporting requirement, there are certain GLs need to be filter futher by doc type. As long as the document type is successfully extracted from SAP R/3 to BW BCS and filtering is defined in BE Analyzer, i don't need to display it in the report.
    Anyway, customised document type already created and doc type can be extracted from SAP R/3. tq

  • Directory Integration Platform - DN Mapping Rule

    Hi all,
    Can anyone help me with setting up the mapping in a directory synchronization profile in DIP?
    Using the GUI, the three fields required are Source Container, DIP-OID Container and DN Mapping rule.
    The containers are obvious but what is the syntax for setting the DN mapping rule? I just want to match equality on the cn attributes in each container.
    Many thanks,
    Bernie

    r u using the AD specific or Default schema?
    Cant u simply put the selection criteria as "Present" instead of "Bank" - of course since you say that dn is not available we need to see which field should provide the info.

  • Populating dropdown with Map rule

    Hey,
    I am currently getting a list of users that belong to an admin role and looking up the individual fullnames to create a map to display the name in the dropdown but pass the accountId once the form is submitted. My rule is below however the result of my rule currently gives me this:
    <List>
    <Map>
    <MapEntry key='id1' value=name1'/>
    </Map>
    <Map>
    <MapEntry key='id2' value='name2'/>
    </Map>
    </List>
    I really just want something like this so i can put it in the valueMap property in a dropdown:
    <Map>
    <MapEntry key='id1' value='name1'/>
    <MapEntry key='id2' value='name2'/>
    </Map>
    Any ideas how i need to change my rule below:
    <block>
    <defvar name='idList'>
    <invoke name='getUsers' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    <map>
    <s>conditions</s>
    <map>
    <s>adminRoles</s>
    <s>Role</s>
    </map>
    </map>
    </invoke>
    </defvar>
    <dolist name='entry'>
    <ref>idList</ref>
    <map>
    <ref>entry</ref>
    <invoke name='getAttribute'>
    <invoke name='getObject'>
    <ref>:display.session</ref>
    <s>User</s>
    <ref>entry</ref>
    </invoke>
    <s>fullname</s>
    </invoke>
    </map>
    </dolist>
    </block>

    Try:
    <block>
    <defvar name='idList'>
    <invoke name='getUsers' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    <map>
    <s>conditions</s>
    <map>
    <s>adminRoles</s>
    <s>Role</s>
    </map>
    </map>
    </invoke>
    </defvar>
    <defvar name='retMap'>
    <new class='java.util.HashMap'/>
    </defvar>
    <dolist name='entry'>
    <ref>idList</ref>
    <set>
    <ref>retMap</ref>
    <ref>entry</ref>
    <invoke name='getAttribute'>
    <invoke name='getObject'>
    <ref>:display.session</ref>
    <s>User</s>
    <ref>entry</ref>
    </invoke>
    <s>fullname</s>
    </invoke>
    </set>
    </dolist>
    <ref>retMap</ref>
    </block>

  • How to get mapping rules into XI

    Hi Friends,
    In my requirement, i have a webdynpro application which will provide options to do mapping between source and destination structure and it'll generate a file with set of rules for mapping.
    Once that is done, I wanted to use those rules in XI at runtime during mapping transformation. Is it possible to do?
    May sound abstract, let me know if u require any more details.
    Thanks & regards,
    Senthil.

    Thanks Michal.
    I agree that it requires lot of development. My webdnpro team is saying that they can handle. What they wanted to know is, in which format does xi require? and how xi will catch the file that has rules at runtime?
    Is it possible for XI to use that data for mapping at runtime?
    With Regards,
    Senthil.

  • AD OID mapping rule questions

    Hi,
    Can someone please tell me how to map the first and last names from AD to OID in the mapping file. Currently I have the following and wanted to make sure if it's correct:
    sn,SAMAccountName: : :person:sn: :person:sn|SAMAccountName
    givenName: : :person:givenName: :person
    # Map the userprincipalname to the nickname attr by default
    #userPrincipalName: : :user:uid: :inetorgperson:userPrincipalName
    # Map the SamAccountName to the nickname attr if required
    # If this rule is enabled, userprincipalname rule needs to be disabled
    sAMAccountName: : :user:uid: :inetorgperson:sAMAccountName
    The other question I have is why we need to disable userprincipalname rule when the following is enabled. As I am also trying to enable WNA/SSO too, what other rules I need for that in my mapping file.
    sAMAccountName: : :user:uid: :inetorgperson:sAMAccountName
    Thanks

    I have these first two rules here and they seem to be working fine. But I think you will have trouble with the third one with WNA authentication.
    About the two last rules for uid, the reason you can only have onle one of these is that both are storing a value on the uid attribute. You need to choose wether you want to use the samaccountname or the userprincipalname on it.
    I remember seeing somewhere that for WNA authentication to work the uid should be in the format [email protected], so you would need to map userprincipalname to uid instead of samaccountname, I am not absolutely sure about this since I have never setup WNA.
    And also you would need to populate the krbprincipalname. I think this one is automatically copied to the orclsamaccountname attribute, which is required. I have a rule like this here:
    userPrincipalName: : :user:krbPrincipalName: :orcluserv2:trunc(userPrincipalName,'@')+'@'+toupper(truncl(userPrincipalName,'@'))
    There are some walktroughs on Oracle By Examples that I found very usefull. This one is for WNA:
    http://www.oracle.com/technology/obe/obe_as_10g/im/wna/wna.htm
    Regards,
    Luis

  • LSMW field mapping Rule-ABAP code

    Dear Guru!
    I'm new to ABAP, but I have to write a little in ABAP.
    I create a LSMW project using BAPI for changing standart price of material.
    Input data: material, price, posting date.
    The point is: system should found in table MBEW all valuation areas and valuation types fo which the material record is exist and cang price for all these records.
    I wrote a code for these fields in Field Mapping menu. But it puts in only one record whereas I need it to execute BAPI for all records.
    I wrote the folliwing:
    VALUATIONAREA                Valuation Area
                       Code:    tables MBEW.
                                select * from MBEW
                                 where MATNR = ZHEADER-MATNR.
                                E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
                                endselect.
    VALUATIONTYPE                Valuation Type
                       Code:    select * from MBEW
                                 where MATNR = ZHEADER-MATNR.
                                E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
                                endselect.
    May be it's simple, may be not. But I don't know how do do it.
    Will be grateful for any hints.
    Thanks.
    Edited by: assoli on Aug 3, 2011 3:51 PM

    select endselect goes like a Loop, so if you don't store the value in some table (internal table), only the last row will be available to you as it will be overwritten everytime in the loop.
    There is no need of using 2 selects, one select itself will give you all the data for that material in MBEW table. I don't understand what you are doing with
    E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY
    Is E1MATERIALVALUATION_PRICECH a structure ? You need somethng like
    select * from MBEW
    where MATNR = ZHEADER-MATNR.
    E1MATERIALVALUATION_PRICECH-MATERIAL             = ZHEADER-MATNR
    E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
    E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
    Append E1MATERIALVALUATION_PRICECH to itab.             "(itab is internal table)
    endselect.
    Then use that itab for your purpose.

  • Policy map rules

    I read that "Only one policy map can be applied to a specific interface". What if you alreay using the default policy map and want to create one for you AIP-SSM and one for the current ACL?

    The default policy map is the "global" policy-map. If you want to send the traffic on all interfaces, through the SSM module, you dont need to create a new policy-map, you only need to create the class mathing the traffic you need to send via SSM module. Then you can include this class also in the policy-map applied globally.
    With above said, assuming you have default policy-map config, if I implement following commands to divert all traffic via SSM module:
    access-list ips-acl permit ip any any
    class-map ips-class
    match access-list ips-acl
    policy-map global_policy
    class ips-class
    ips inline fail-open
    Thus final policy-map configuration would look like:
    policy-map global_policy
    class inspection_default
    inspect h323 h225
    inspect h323 ras
    inspect rsh
    inspect rtsp
    inspect esmtp
    inspect sqlnet
    inspect skinny
    inspect sunrpc
    class ips-class
    ips inline fail-open
    service-policy global_policy global
    Alternatively, I cann apply the ips class to altogether a new policy-map but I cant apply this policy-map globally. I can apply the new policy-map to a particular interface though.
    Hope that helps.
    Regards,
    Vibhor.

Maybe you are looking for

  • Accessing MS Sql Server with Java classes - problem connecting to socket

    I found an example at this location which uses java classes to connected to MS Sql Server. http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html --bummer - it is a login location - so I will include the article Anyway, the example is u

  • Issues with Quicktime in Mavericks. I cant export to quicktime codecs in After Effects Or Premiere

    Hi, I recently updated to OS Mavericks. And in the beginning I really liked the update, but I recently fired up my After Effects CC and Premiere CC to work on some animation videos I had to produce for client. And when I wanted to export my animation

  • SOAP to Normalized Message

    HI, I am facing problems in converting SOAP message to NMR Message.I read spec but it talks very little about it. I feel there should be more information on this.Also if you can put some sample example will help. Pls dont give me link of SUN Soap Bin

  • Provide second level logon / password authentication in Portal.

    I would like to customize our portal using second level logon/password authentication for few of the pages/iviews. We have Single Sign on provided to portal so, user is not going to get logon page initially, once he gets into ESS Module where he has

  • Not enough RAM? Functions do not run

    Mein Computer hat 16GB Arbeitsspeicher Intel(R) Core (TM) i5-4430 CPU 3G.00GHz, 64 Bit Betriebssystem. Wenn ich eine große Datei habe 70 x 80cm 200dpi und große Pinsel benutze kommt die Meldung nicht genügend Ram. In den Voreinstellungen bei Photosho