Help required on Mask functionality..

Hi Gurus,
One of our Client has a requirement that the catalog items should be available to the users specific to their Company codes.
For this purpose I have created a custom field in the "Catalog Items" table as Co.Code.
Created users & roles. Made the assignments & created the mask & assigned to the respective Catalog items in Data Manager.
I created separate Web services for all these Co Codes & also maintained the same in attributes.
When I login to portal with the specific credetials, I am still able to view & select the items from Catalog for other company codes.
My first question - Will the mask functionality work on the custom field i.e. Co. Code and if yes whatever steps mentioned above are they correct. If not what am I missing and what needs to be done so that specific users will be able to view & select the catalog item for their respective company codes.
Thanks in advance.
~Abhay

Hi Masa,
Yes in Data Manager if I login using the users credintial's then only the masked items (specific to his/her Co. Code) is seen.
The Web services parameters maintained are as follows-
1                           http://xyz.xyz.com:10000/SRMMDM/SRMMDM     URL
2     USERNAME     Master                    Fixed Value
3     PASSWORD     Xyz0123                    Fixed Value
4     SERVER     XYZ.XYZ.COM               Fixed Value
5     CATALOG     Rel6_SRM_EU_Rollout               Fixed Value
6     uilanguage     SY-LANGU                    SAP Field
7     datalanguageSY-LANGU                    SAP Field
10     PORT     12345                    Fixed Value
20     HOOK_URL                                                                             Return URL
40     ~CALLER     CTLG                    Fixed Value
50     ~OkCode     ADDI                    Fixed Value
60     ~TARGET     _top                    Fixed Value
70     ~CALLBACK     CTLG                    Fixed Value
80     ~MASK     Company 1227                               Fixed Value
Regards,
~Abhay

Similar Messages

  • Help required  when using Function module F4_INT_TABLE_VALUE_REQUEST

    Hi,
    I wrote the logic as follows.
    Select-options: s_lgart FOR pa0015-lgart.
      SELECT lgart FROM t512z INTO TABLE it_temp WHERE infty = '0015' AND lgart IN rlgart.
      IF NOT it_temp[] IS INITIAL.
        SORT it_temp BY lgart.
        DELETE ADJACENT DUPLICATES FROM it_temp COMPARING lgart.
        LOOP AT it_temp.
          SELECT SINGLE lgtxt FROM t512t INTO it_temp-description
            WHERE lgart = it_temp-lgart AND
                  sprsl = 'EN'.
          IF sy-subrc = 0.
            MODIFY it_temp INDEX sy-tabix.
          ENDIF.
        ENDLOOP.
    at present in internal table it_temp having following fields.
    5100 Relolump sum
    5111 SIP
    my requirement is : when i press F4 help on wage type in selection screen i am able to see two fie

    example:
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'VBELN'
          DYNPPROG        = W_PROGNAME
          DYNPNR          = W_SCR_NUM
          DYNPROFIELD     = 'KUNNR'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = INT_F4
          RETURN_TAB      = RETURN_VALUES
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.

  • Help required in creating function module which reads payroll clusters.

    Hi ,
    We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions:
    1.Read the payroll results from one system.
    2.write the payroll results to other system.
    please do the needful as soon as possible.
    Thanks in advance.
    Regards,
    Durga.

    hi
    Refer to the below thread
    Programming with Clusters for HR-Payroll
    Regards
    Sameer

  • Help required with  Analytic function

    Hi I have a table like following
    column1 column2 column3 cloumn4 start_Date
    1 601 A B 10-jan-2007
    2 601 A B 11 -jan-2007
    1 602 A B 12-jan-007
    1 603 A C 12-jan-2007
    there is no Uk on this table.
    now I have to group column2 ,column3 ,column4.
    I finally need to get the row that has highest start date. Effectively meaming
    there will be three groups based on abouve data:
    1st is:
    1 601 A B 10-jan-2007
    2 601 A B 11 -jan-2007
    2nd is
    1 602 A B 12-jan-007
    3rd is
    1 603 A C 12-jan-2007
    now i need to get the second row from the first group only
    2 601 A B 11 -jan-2007
    i dont need data from other groups since they have less than 2 rows.
    How can I achieve this using analytics function.
    Please help!!

    Hi,
    Can you please provide an example. I am sorry, this
    is my first day with analytice :(I figured as much; that's why I gave you detailed instructions to gain some experience by building on the
    query that Forms already gave you (slightly prettied up below):
    select  *
    from    (   -- Begin sub-query
            SELECT  column1,column2,column3,column4
            ,        row_number () over
                        ( partition by column2,column3,column4
                          order by start_date desc
                        ) as rnk  -- "rank" is not a good name
            from   table
            )   -- End sub-query
    where   rnk = 1;
    [pre]
    Follow the instructions I gave you earlier.
    Add the analytic "COUNT (*) OVER (...) AS cnt" function next to the analytic ROW_NUMBER function in Forms' query.
    Add the test for "cnt >= 2" next to the test for "rnk = 1".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help required in extract functionality for xml with namespaces

    Hi,
    We recently upgraded our database from 9i to 10G. After the upgrade few queries are not working as expected. Below query does not fetch any results in 10G but works perfectly fine in 9i. Could you please help me with a work around.
    select XMLType.extract(xmltype('<?xml version="1.0" encoding="UTF-8"?>
    <hierarchy docVersion="1" documentID="4738800" enddate="4999-12-31T00:00:00.000" isCurrentVersion="true" isEditable="true" startdate="2007-05-21T13:06:58.737" uniqueID="4738800" xmlns="http://schema/hierarchy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema/hierarchy http://schema/hierarchy.xsd">
    <name>tshiiiiiiiiiiii</name>
    <description>tshiiiiiiiiiiii</description>
    <find_duplicates_on_save>false</find_duplicates_on_save>
    <root href="http://node?/node/@documentID=123" label="root" type="locator"/>
    <connection to="root" type="simple"/>
    </hierarchy>
    '),'//*/@xmlns').getClobVal() as "XMLNS" from dual;
    result : http://schema/hierarchy
    We dont want to use '//*/namespace::*' in the xpath as it will give us xsi value along with xmlns. Oracle metalink says its a bug in oracle 10g version (bug 5100590) but couldnot find workaround. Please help us.
    Thanks and Regards
    Shifali

    Re: Adding report (query & workbook, templates) in roles
    Go through this thread.
    And in our Project we have created one role for accessing workbooks. in that end user can access the work book but saved one and user cannot resave or delete the work book.
    we have added Auth objects S_TCODE and S_GUI.
    in S_TCODE we have added RRMX and in S_GUI we have given 60(IMPORT) access to the users.
    So that they can just share the workbook. nothing else can be done.
    Try like this. Hope this would help you.

  • Help required about InsertHTML function

    Hello
    i want to use this function to add HTML in documnet of JEditor pane
    public void insertHTML(HTMLDocument�doc,
    int�offset,
    String�html,
    int�popDepth,
    int�pushDepth,
    HTML.Tag�insertTag)
    it is a function HTMLEditorKit.But i dont understnad what int value to enter in the 4 and 5 paramters
    supose i want to enter bullets, for this purpose
    insertHTML(hdoc,0,"<LI>",?,?,HTML.TAG.LI)
    what to pass for for thse parameters??
    Note i m calling this function on pressing enter key
    Plzzzzzzzzzzzzzzzz help

    Hello
    supose i want to enter bullets, for this purpose
    insertHTML(hdoc,0,"<LI>",?,?,HTML.TAG.LI)
    what to pass for for thse parameters??
    Note i m calling this function on pressing enter key
    I'm not using it the way you are, and I don't really know what the parameters are, BUT I've found that (YMMV):
    IF the offset ISN'T 0, but is somewhere in the doc it works, IF:
    The String is a complete Tag e.g. "<LI>the Item</LI>"
    and the ?,? are 0,0.
    I get the offset by asking the EditorKit for the position in the doc.
    I'm inserting an arbitrary block of HTML generated by another component, but I think that if you enter "<LI> </LI>" (one space between, and then set the position in the doc to originalOffset + 1, you should be close to what you want.
    Thinking about it, IT MAY BE that if you insert ONLY the opening tag and then use 0,1 as the parameters, the editor kit will generate the "</LI>". I'll try it and post here.
    PLEASE SOMEONE - a REAL explanation of the function. :-)

  • Help required in exectuting the Planning Function

    Hello All,
    I need help in fulfilling the following requirement through planning functions in IP:
    I have 4 keyfigures as Actual Value,Actual Quan,Plan Value and Plan Quan.
    Now what I want to do is to COPY:
    1)Actual Value>>> PLan Value and then revaluate the Plan Value
    2)Actual Quan>>  Plan Quan and then revaluate the Plan Quan
    How to Copy the values?????
    Characteristic available are
    1) RDS
    2)Dealer
    3)Material  Category

    The way you post that, it looks very much like "Do my work for me". Nobody around here likes that kind of post, they consider it lazy and selfish. But perhaps you didn't mean it that way? Why don't you explain what you have done and what parts of it you are having problems with. Explain those problems in detail.

  • Functional Upgrade Assessment help required

    Hi ,
    Anyone can help me out in functional upgrade assessment process . What is the tool for it and what is alternative methods . This is required for 4.7 to ecc 6.00 .
    Regards
    RB

    Hi,
    Functional upgrade :
    Is built on the technical upgrade, the functional upgrade provides in addition the opportunity to implement new functionalities in area like FI,HR,Logistics ..,this upgrade type also represents an opportunity to maximize the use of SAP standard functionalities by replacing custom modifications and consolidate instance or systems.
    Regards,
    Madhu

  • Functions oracle help required

    hai
    select  99.9899 from dualafter decimal i want only 2 digits
    i want 99.99 SHOULD BE MY ANSWER
    pls
    i used ceil and floor
    it is not working
    so help
    S

    hi there trunc function is appropiate because in round and ceil function return
    rounded value that is 99.99
    ie
    SELECT ROUND(99.9899,2) FROM dual;
    99.99
    SELECT ceil(99.9899) FROM dual;
    100
    SELECT floor(99.9899) FROM dual;
    99but the trunc
    Returns n truncated to m decimal places, where m and n are numeric arguments. If m is omitted, truncates to 0 places. If m is negative, truncates (makes zero) m digits to the left of the decimal point.
    select trunc(99.9899,2) from dual;
    99.98regards
    Hitesh
    Edited by: Hitesh Nirkhey on Feb 17, 2011 1:16 PM

  • Urgent help required: Query regarding LC Variables

    Hi All
    Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
    I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
    export LC_COLLATE=en_US.ISO8859-1
    export LC_MESSAGES=C
    export LC_MONETARY=en_US.ISO8859-1
    export LC_MONETARY=en_US.ISO8859-1
    export HZ=100
    export LC_CTYPE=en_US.ISO8859-1
    export LANG=en_US.UTF-8
    Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
    1. Can someone please tell me, what each of these variable mean and how these values make a difference.
    2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
    As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
    Appreciate your help in this regard.
    Thanks
    Amit
    Hi All
    A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
    Request everyone to please give their inputs as it's a bit urgent.
    Thanks for all the help in advance.
    Thanks
    Amit
    Some help required please...
    Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
    Edited by: amitsinhaengg on Jul 22, 2009 2:06 AM

    LC_CTYPE
    Controls the behavior of character handling functions.
    LC_TIME
    Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
    LC_MONETARY
    Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
    LC_NUMERIC
    Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
    LC_COLLATE
    Specifies a collation order and regular expression definition for the locale.
    LC_MESSAGES
    Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
    You can use command
    # locale -k LC_CTYPE
    to see more detail about each type.

  • Help required network configuration - Gateway route settings get erased on reboot.

    Oracle Linux 7
    Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    #cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
    TYPE="Ethernet"
    BOOTPROTO="none"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL="no"
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    NAME="eno16780032"
    UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
    ONBOOT="yes"
    IPADDR0="34.36.140.86"
    PREFIX0="22"
    GATEWAY0="34.36.143.254"
    DNS1="34.36.132.1"
    DNS2="34.34.132.1"
    DOMAIN="corp.halliburton.com"
    HWADDR="00:50:56:AC:3F:F9"
    IPV6_PEERDNS="yes"
    IPV6_PEERROUTES="yes"
    NM_CONTROLLED="no"
    #route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         34.36.143.254   0.0.0.0         UG    0      0        0 eno16780032
    34.36.140.0     0.0.0.0         255.255.252.0   U     0      0        0 eno16780032
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eno16780032
    When I reboot the machine, the first line in route table gets erased, I then run:
    #route add default gw 34.36.143.254
    After which network works fine.
    Help required. I don't want to use NetworkManager.

    The following might be useful:
    https://access.redhat.com/solutions/783533
    "When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
    NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder.

  • Pricing Error (help required)

    Is there any routine which includes the tax value in R100 as well ,currently  the problem is that the 100% Discount condition is only including the net price
    And in the pricing procedure i m using two prices one price of tax calculation and the other is consumer price first i calculate the tax from base price then i deduct the tax from the consumer price this calculation is working fine through standard routines.
    Only problem is that when i enter NRAB and R100 at end it only includes Net Value which is calculated through Formual using condition type NTPS
    Kindly Help Required ASAP

    Hi ABAPAR,
    I m not getting the exact picture of what U desired, from your pricing procedure.
    As you r using multiple free goods condition type...anyway.
    If you wanted to make the calculated tax "amount + "as a basis for the calculation of particular condition type.you can use the functionality of subtotal.
    That mean go and assign one subtotal no. to subtotal column in your pricing procedur to all condition type to which you wanted to make as a basis for furthur calculation.(this settings allow the total of all values in one subtotal).
    And finally U can assign this subtotal no.to the "alt.cal.B.value "of pricing procedure for the calculation of particular condition type.
    If you r using any std condion type that come up with certain routine like NRAB or somthing...possibly that will not allow u to do this settings. so in this case clear your free goods requirement or use any new condition type. i.e . Z creation.
    consult your SD consultant.
    karnesh

  • Help Required ASAP.

    Hi,
    I have a friend of mine his name is Atul Tembe he has a functional expereince of 10 years in sales with L.I.C and he has done SAP SD Certification in the month of November, from Genovate Mumbai he has still not got placed and he is lookin for his first SAP Break. He is a Bcom and a P.G.D.B.A. Would request all of you to kindly help him out please. His e-mail id is [email protected] .If he gets a good break would reward with points do pls help. Pls mark a cc to me too my e-mail id is [email protected]
    Regards
    Atul Keshav

    It is being mentioned over and over in this forum that this is not the place to place job openings or requests for jobs opportunities. This is the forum for knowledge sharing in SAP.
    With the tag line <b>"Help Required ASAP"</b>, you are wasting the time of people who genuinely like to help others who are in need of serious help with SAP Project issues.
    Please desist from posting this kind of things and also irrelevant tag lines.
    Ayub Khan

  • Career guidance ...help required

    Hi,
    I am new to this portal and would like some guidance on SAP as a career.
    My qualifications are as under:
    Qualification :- B.E ( electronics and telecom) and MBA marketing and finance
    Location :- India
    Yrs of Exp:- 10.5 Yrs in sales in life science industry
    Although I have been working in sales I had all the time this bug for IT and hence I was planning to make a mid career change.
    I would like to do SAP SD or SAP CRM module.
    Please suggest/advice.
    Can you also throw some light as to-
    A. Essentials required for a functional job.
    B. what would be my entry level.will I start as fresher or my prior experience will hold.
    C. career path for person like me as Sap functional consultant
    D. Where should one do a course in Delhi.if you o google lots of institutes show up.am not sure which one would help.
    E. Any other advice you feel can help me.

    Hi,
    I am new to this portal and would like some guidance on SAP as a career.
    My qualifications are as under:
    Qualification :- B.E ( mechanical) and mtech automobile first year
    Location :- India
    Yrs of Exp:- fresher
    I would like to do SAP MM module
    Please suggest/advice.
    my dream is to become a sap consultant .
    how can i prepare myself to reach my goal

  • XSLT mapping Help Required.

    XSLT mapping Help Required.
    Hi Experts,
    I am New to XSLT Mapping. I am practising the below Example:
    InputXML File:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
    <ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
    <Person>
    <FirstName>Anshul</FirstName>
    <LastName>Chowdhary</LastName>
    <Gender>Male</Gender>
    <Address>
    <Street>2nd Main</Street>
    <Houseno>83/b</Houseno>
    <City>Mysore</City>
    </Address> </Person>
    </ns0:MT_XSLT_Source>
    XSL StyleSheet File:
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/Gen"
    Xmlns:ns1=”http://XYZ.com/Test”>
    <xsl:template match="/">
    <ns1:MT_XSLT_Target>
    <Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
    <Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
    </Name>
    <Street> <xsl:value-of select="concat(concat(ns0:Mt_XSLT_Source/Person/Address/Houseno,' '),
    ns0:Mt_XSLT_Source/Person/Address/Street)"/> </Street>
    <City> <xsl:value-of select="ns0:Mt_XSLT_Source/Person/Address/City"/> </City>
    </ns1:MT_XSLT_Target>
    </xsl:template>
    </xsl:stylesheet>
    The Desired Output shuold be:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_XSLT_Target xmlns:ns1="http://XYZ.com/Test">
    <Title>Male</Title>
    <Name>Anshul Chowdhary</Name>
    <Street>83/b 2nd Main</Street>
    <City>Mysore</City>
    </ns1:MT_XSLT_Target>
    I have refered the xsl in xml and i am getting the below Oupt in a Single line like this:
    Anshul Chowdhary Male 2nd Main 83/b Mysore
    I am Unable to display in Target XML Fomrat as shown above. Please check and do the needful.
    Regards,
    GIRIDHAR

    Hi,
    I have used below for testing.
    Input xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
    <ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
    <Person>
    <FirstName>Anshul</FirstName>
    <LastName>Chowdhary</LastName>
    <Gender>Male</Gender>
    <Address>
    <Street>2nd Main</Street>
    <Houseno>83/b</Houseno>
    <City>Mysore</City>
    </Address> </Person>
    </ns0:MT_XSLT_Source>
    xsl code:
    <?xml version='1.0' encoding="UTF-8"?> 
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/gen" 
        xmlns:ns1="http://XYZ.com/Test"> 
        <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 
        <xsl:template match="/"> 
            <ns1:MT_XSLT_Target> 
                <Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title> 
                <Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/> 
                </Name> 
                <Street> <xsl:value-of select="concat(concat(/ns0:MT_XSLT_Source/Person/Address/Houseno,' '), 
                    /ns0:MT_XSLT_Source/Person/Address/Street)"/> </Street> 
                <City> <xsl:value-of select="/ns0:MT_XSLT_Source/Person/Address/City"/> </City> 
            </ns1:MT_XSLT_Target> 
        </xsl:template> 
    </xsl:stylesheet>
    For testing in PI ,change the extension from .txt to .xsl and zip it and upload into PI as an imported archive .
    Regards
    Venkat

Maybe you are looking for

  • Can not update free apps

    After iTunes recent update I can no longer update any of my free apps that it says have an update ready. When I try it says  no updates are available. Everything worked fine until the recent iTunes update. What do I need to do to get it to recognize

  • Sender RFC adapter High volume messaging

    Hi, This question is related to this thread:RFC connection problem ERP system is sending through 1 RFC dest. (program ID) 20 requests in a minute. And PI starts to hang. ERP is not able tp sent the messages and after a while the request sent from ERP

  • Macbook Internet works only on the stairs

    Im new to this and this is a bit of a story so please bear with me.. Macbook 10.4.11 owned by my brother was re-called for battery issues about 4 years ago, when the macbook was returned, wifi would only be received in close proximity to the router.

  • Components in the namespace not editable

    Dear friends, I've used NWDI / CMS to transport a namespace from DEV to QaS and eventually to PROD. Everything looks fine the only thing is that the namespace has now the status not editable in DEV, so I cant edit anything in that namespace. Can you

  • Reg:0FIGL_C01-General Ledger: Transaction Figures

    Hi Friends, I am New to FI-GL,can any one help me 0FIGL_C01-General Ledger: Transaction Figures.What are the datasources required for this infocube and Precautions for BI Content Installation. Thanks Narasimha