How to distinguish the specific member alias in HP outline?

Because they use different calculation scripts, I need to recognize the member alias with two
different suffix:"-new" and "-old" in the same dimension. However, the @MATCH function could not meet
my requirement, because I need substitute ANY NUMBER of characters at the BEGINNING of the pattern.
Could any other function satisfy my requirement?
ps: here is the syntax of @MATCH which couldn't match my need.
@MATCH (mbrName|genName|levName, "pattern")
"pattern"
The character pattern to search for, including a wildcard character (* or ?).
? substitutes one occurrence of any character. You can use ? anywhere in the pattern.
* substitutes any number of characters. You can use * only at the end of the pattern.
To include spaces in the character pattern, enclose the pattern in double quotation marks ("").

UDA is the solution we are considering.
we also considered about using Share member to construct a virtual hierarchy.
Is there any function which could directly slove this problem?
Edited by: DerekX on 2010-7-1 上午4:43

Similar Messages

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

  • How to find the specific build of  Oracle9i Jdeveloper??

    Hi All
    I am quite new to OAF, Please help How to find the specific build of Oracle9i Jdeveloper that corresponds to the specific OA Framework release installed in the runtime environment. I would like to know two things here.. how to find 1)what is the patchset installed in environment 2) which Jdeveloper ARU corresponds to that.
    Thanks in Advance !
    Savitha

    Pl see MOS Doc 416708.1 (How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x)
    HTH
    Srini

  • How to distinguish the ABAP Code in include program into different TRs

    Hello Friends,
      In our current project, two teams are working on the developments.  One team is for LES related developements and another team is for billing related developments.  As part of developments, same programs are sharing by two teams, example -
    Include - MV45AFZZ, the userexits in include are using by both the teams for their developments
    Now the issue was, since the same program is using by both the teams, and during program activation , system automatically includes the code in both the team TRs.  This was causing issue while testing and transport to other testing systems, since billing project is going live in next year and LES in coming november
    Hence, we need to understand how we can differentiate the code which should not impact with other TRs.
    Many thanks for your inputs
    Best Regards,
    Goutham

    Thanks all for the quick reply..
    I would like to brief more clear...
    In current project, Team 1 is working for Logistics developments, Team 2 is for Billing developments.  As part of project plan, Logistics is going live this november
    When two teams are working on the same include, Team 1 is activated the changes then the task is updated in their TR, later when Team 2 has made changes in the same inlcude then the task was includeded in their TR.    Now the problem facing was, Team 2 has developed statements like COMMIT  WAIT WORK  and also BAPI call etc... and these statements are causing performance issues and some other problems......
    Recently Logistics related TRs are moved to testing system for testing, in that all the development TRs are moved into testing system and also code related to Billing project (Team2)  as well.... when we cross check the reason then it was identified that the same include is using by both the teams for the development.    Now we need distinguish the code specific to team whcih should not impact other...
    Hope my explanation clear the criticality of the problem
    Thanks
    Best Regards,
    Goutham

  • How to know the specific size of a field in oracle table

    Hello,
    oracle 11.2.0.3 on redhat
    i have three tables with same structure, table0, table50, table100:
    create table table0 (id number, shipment RAW(2000), options RAW(2000));
    i inserted 10000 rows in each but with some differences:
    table0 has 10000 id, but shipment and options has null values
    table50 has 10000 id, but shipment and options has only 5000 rows, the other 5000 are null values
    table100 has 10000 rows of id, shipment and options. No null values.
    I want to know the specific size of each column, also the size of each row, to know the exactly size of the field.
    for example:
    row 1, column options of table100 has "asdfasdfagasdgasbabsdgoasdpgiahnwe1129u412094u12"
    row 2, column options of table100 has "a".
    both are raw datatype, but i think its space will has different size (bytes), how to know it? any query?
    I found this query:
    select owner,tablespace_name,segment_name,sum((bytes/1024/1024)) Bytes
    from sys.dba_extents
    where owner in 'MAA' and segment_type='TABLE' and segment_name ='TABLE00'
    group by tablespace_name,owner,segment_name
    order by owner,tablespace_name,segment_name, bytes; but i think it isn't my solution.

    thx mr. sb92075
    i tried with vsize too but same result:
    with table50
    SELECT VSIZE(OPTIONS) FROM TABLE00;
    VSIZE(OPTIONS)
                 1000
                 1000
                 1000
                 1000
                   *with table100
    SELECT VSIZE(OPTIONS) FROM TABLE100;
    VSIZE(C_ELECCION)
                 2000
                 2000
                 2000
                 2000
                      *it's the same size for 'a' like 'abcasdfjañldngaosnbaposnbpaosuqroiwejrklasndiaoshbaposdjgajs'?? It's hard for me to believe.
    data is saved in blocks, a extents is a contiguos number of blocks and a group of extensions are segments. If you insert some text in a table field, Oracle create a extension and insert there the data but depend the bytes you insert Oracle will create one or more extents. How to know this specific space in that field?

  • How to get the specific filename

    Hi..
    I want to get the specific file where the filename contains current date like "asd.11.20051226.03.dat". Then, i want to write the filename to a text file.
    Now, i only know how to get the list of file in a specific directory& write the whole list to a text file. How to filter the list of filename because they have "dot" in their name?

    To determine if a string contains a dot:I have a feeling that about 10 seconds after he figures out whether the filename contains a dot he's going to need to look a little deeper to determine whether he found wakka.wrongfile.txt or 11.20.1980.the.file.hes.looking.for.data. Maybe?

  • How to get the specific error from the result of sectrustevaluate()

    I am using SectrustEvaluate(trust,result) function to test the server certificate against the root ca installed in keychain.
    Result of server certificate validation in case if comes as recoverable faliure how may i know what was the reason which causing it to recoverable failure.
    I want to throw the specific error to UI to know why server certificate evaluation failed.
    No API's available in ios , Some API's are there available in MAC.
    Please Advise.

    If you are on iOS I think you are out of luck.  See red text under kSecTrustResultRecoverableTrustFailure.
    https://developer.apple.com/library/ios/documentation/Security/Reference/certifk eytrustservices/Reference/reference.html#//apple_ref/c/func/SecTrustEvaluate
    The way you handle this depends on the OS.
    In iOS, you should typically refuse the certificate. However, if you are performing signature validation and you know when the message was originally received, you should check again using that date to see if the message was valid when you originally received it.
    In OS X, you can call the SecTrustGetTrustResult function to get more information about the results of the trust evaluation, or the SecTrustGetCssmResult function to get information about the evaluation in a form that can be passed to CSSM functions.

  • How to ask the I2C device alias name from the MAX

    Hi,
    How can I ask the I2C device alias name which MAX uses in Labview? If the VISA Alias on My System is for example I2C in MAX, I need to ask it in Labview and write it then to Device Reference In input of a I2C vi.
    BR,
    Jick
    Solved!
    Go to Solution.

    Here is a picture which should clarify the problem a bit more.
    As you can see I use "I2C2" as an alias in MAX and I need somehow query that alias in Labview and write it to the device reference in input node. How?
    BR,
    Jick
    Attachments:
    pic1.JPG ‏21 KB

  • How to open the specific folder view with JS

    Hi,
    Maybe very simple thing, but I don´t know how to "open" the view to an excisting folder like "Macintosh HD/MyDocs/This_Folder" ?
    Thanks in advance!
    Erkki

    I found the answer myself. It was this what was missing (to choose the specific folder).
    eg.
    app.browseTo(Folder("/Macintosh HD/MyFolder/"));

  • How to distinguish the type of trigger DML operation?

    I want to log all changes to some table (inserts, updates and deletes). Before every change I want to insert the values to the log table along with operation type and sysdate.
    I want to do it in one trigger, but I don't know how to read the type of operation? I could do it with three triggers, each for insert, update and delete, but this would be easier.
    create trigger emp_trig after insert or update or delete on emp
    for each row
    begin
      insert into emp_log values(
      :new.empno, :new.ename,
      __operation__, sysdate);
    end;Thanks in advance
    Viliam

    In case you had an ID, which is assigned automagically on emp, this could also be written like this:
    create trigger emp_trig
    after insert or update or delete on emp
    for each row
    begin
    insert into emp_log values(
    :new.empno, :new.ename,
    decode(nvl(:old.id,-1),-1,'Insert',decode(nvl(:new.id,-1),-1,'Delete','Update')), sysdate);
    end;
    ..where -1 is a value you do not expect to be propagated ever in id column. Also, :new.empno and :new.enmae will be null if the dml being executed is a delete statement.

  • ORA-02290 How to know the specific owner and name contraint ?

    Hi i want a button with a procedure and show me "when-button-pressed - no tratada ORA-02290" but i want to konw the name and owner of the specific contraint
    Regards

    can a constraint fire up with a UPDATE sentence ? because a i have one inserte a many update
    Regards
    begin
    INSERT INTO Sif10_his_egreso( num_empresa, num_periodo, num_subregimen, num_objetivo, cod_ubicacion,
    id_egreso, num_mes, mto_solicitado, mto_inicial, mto_inicial_mes,
    mto_ejecutado, mto_ejecutado_mes, mto_com_adm,
    mto_com_adm_mes, mto_com_legal, mto_com_legal_mes,
    mto_congelado, mto_mod_int, mto_mod_int_mes, mto_mod_ext,
    mto_mod_ext_mes, mto_pres_ext, mto_pres_ext_mes,
    mto_transf, mto_transf_mes, mto_transitorio, mto_transitorio_mes,
    mto_devengado, mto_devengado_mes,
    ind_hoja )
    VALUES( pv_empresa, pv_periodo, v_subregimen, pv_objetivo, v_ubicacion, v_egreso, pv_mes, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, v_hoja );
    exception when others then
    message ('Error en SIF10_HIS_EGRESO ...'||sqlerrm);
    message (' ');
    end;

  • How to maintain the dimension member that had large amount (over 10K)

    Hi, all,
    I am now doing a Project Planning using BPC and had some questions as follows:
    1. the total amount of the project memeber is huge (exceeding 10K in total). it will be crazy for the Administrator to maintain it only by himself. Is it possible that we can find a workaround method to let the end user to do the restricted work of administrator. in another word, can we find a way that prevent the end user to enter the Administration interface but can add the member themselves through the front end. the process work can be done in shcedule or by manually by the administrator?  Anybody had the experience on this? Or do you have any alternative and workaround way to solve the problem?
    2. the project memeber adding is not finished within one time. that means, in the first time, maybe only add the highest level. and later, adding the members under it. how can we manage it? Dynamic Hierachy or the others?
    Thanks

    You could also have the end user update a regular excel spreadsheet with the same column format as a membersheet.  Easiest would be to save off the membersheet in another location accessible to the end user.  Then it can be modified using excel.  Or have the end user maintain a delimited flat file containing all the information included in a membersheet.
    Using the bpc makedim package as a starting point, you can create a custom version that takes the user updated document as input and updates the bpc sql mbr table for that dimension then process the dimension. As long as the member list does not exceed the excel limitations, I would also suggest updating the membersheet in bpc.  In previous implementations this has meant taking a copy of the membersheet, deleting it, coping a template with the correct columns, then adding the members into it.  Updating excel spreadsheets from SSIS can be challenging if you have to deal with deleted members.
    Also if you have the potential of deleted members that might have associated facts, I have another post concerning that issue, but have not had time to try any of  the suggestions.
    Now, the end user is responsible for updating the member list without having access to BPC Admin tool, but someone with access to run datamanager packages would have to execute the datamanager package to process the dimension.

  • How to sort the members by alias names

    I am trying to create dimension build rule whicl will sort the dimension members in an ascending order, but it has to be based on the alias name instead of the member name.
    I have tried both Parent-CHild and Generation reference but it doesn't work.
    For example
    for the city members PSE ( alias name Purchase), and USALB ( alias Albany) needs to be sorted by alias names
    the current order is
    PSE(Purchase)
    USALB(albany)
    but the requirement is to be
    USALB( Albany)
    PSE(Purchase)

    Even with presorting the input, you still have work to do. By default, Essbase will add new members to the bottom of the list of membrers, it does not insert them into an existing hierarchy in the right places. If your trying to update existing hierarchies and are going the SQL route, you will need two rules (or 1 rule and a flat file). You also need to specify remove unspecified as part of the dimension build process.
    HAve a dummy input (either sql or file) that gets loaded the first time. IT will basically wipe out all the members of the dimension, then your second rule (or same rule calling your SQL) can reload the dimension sorted in alias order.
    IT is important that these two rules be done together (either in MaxL using comasin a single statement) or in a BSO cube in the outline before the outline is saved. Otherwise you will have deleted any data that existed in the database. It would be impartant that your SQL also pulls all members (including any special members)
    Edited by: GlennS_2 on Jan 6, 2010 9:48 AM
    You say you are going to change the stored procedure. That is not necessary, you could put an order by clause in your sql extract statement

  • How to find the specifed user-exit

    Hi, experts. i am first time to do enchancement. can anyone tell me how to find specifed user-exit. for example, how to find MV45AFZZ?  Also, what i should pay attention to when doing enhancment works? thanks.

    Hi Jrockman,
    There are many things associated to user exit.
    a) Tcode- CMOD.    here you can find
    b)  USER-EXIT triggering points ->
    Go to se93 and give the tcode to find the main program associated to it.
    Go to se38 and give the main program.
    Find the package associated to it.Go to->Object Directory Entry.
    Go to smod transaction.
    Press f4.
    Press Information System Button.
    Give the Project(Dev Class).
    Press enter.
    Find the enhancements associated
    c) Check the code posted by me ,to get the list of User exits and Badi for a particular tcode in the link mentioned below.
    Re: User Exit for IW22 - to populate custom fields
    d) few useful links to understand User exits.
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sappoint.com/abap/userexit.pdf
    ABAP Enhancements and Modifications - General
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050
    Menu Exit
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#
    Screen Exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Hope it helps.
    Manish

  • How to distinguish the field on which event is triggered? (ABAP Web Dynpro)

    I have an application where there are multiple input fields in the layout. After the user clicks search help for the input field and selects a value, some action has to be performed for each input field. Currently, I am coding the required action in "WDDOMODIFYVIEW" method. This method will be called whenever there is any action on any input field (as its name says), but how can I distinguish on which input field the method is triggered? or How can I know on which field the search help has been triggered?
    or I would be happy to implement any other solution if available.

    HI Deepak Dakshinadi  ,
    You can implement OVS in your input field.
    In the event ON_OVS you will get the value of the attribute  OVS_CONTEXT_ATTRIBUTE which can give you the id of the input field in which OVS is implemented.
    I think by using this you can distinguished among your input field and based on which you can do your particular coding.
    Check the link for implementing OVS.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    and check the forum to get the id of the field of that particular search help triggered.
    Re: More than 1 OVS in 1 View

Maybe you are looking for