Remove prefix from dimension id in *rec statement

Hi,
I search through the documentation and find that to add a prefix, the statement should be
*REC(ACCOUNT = ACC_ + ACCOUNT.GROUP).
Does anyone knows how to remove the prefix when creating new records,
for e.g. in my account dimension, I have a member "ACC_HC". After processing, it should generate a record using account "HC"?
appreciate you help. Thanks!
Rgds
PH

I don't know if I understand you correctly, but what you want to do is not use the prefix?
Cause then you would just type
*REC(ACCOUNT=ACCOUNT.GROUP)
and it would generate a record without prefix.
Regards,
Tim Vierhout

Similar Messages

  • Concatenate property with two other dimension values in REC statement

    Greetings,
    I am attempting to concatenate a member property with two member values to create a this dimension member ID in a REC statement, as in the example:
                      *REC(FACTOR=1, COSTCENTER = PROFITCENTER.PCID + %DEPARTMENT% + %COMPANY%)
    So the COSTCENTER member is the concatenation of the PCID property of the current PROFTCENTER member and the ID of the current DEPARTMENT member and the ID of the current COMPANY member.
    I appreciate your help.
    Regards,
    Craig
    P.S. This syntax works fine in the Microsoft version
    Edited by: Craig Tennant on Oct 27, 2010 9:58 AM

    Gersh,
    I have tried:
    *REC(FACTOR=1, COSTCENTER = [PROFITCENTER].PCID %DEPARTMENT%) //PROFITCENTER has brackets around it and there is a space between the two.
    When I validate and save it tells me "Attribute PCID%DEPARTMENT% does not exist in dimension PROFITCENTER"
    *REC(FACTOR=1, COSTCENTER = [PROFITCENTER].PCID_%DEPARTMENT%) //PROFITCENTER has brackets and there is an underscore between the two.
    When I valiudate and save it tells me "Attribute PCID_%DEPARTMENT% does not exist in dimension PROFITCENTER"
    *REC(FACTOR=1, COSTCENTER = [PROFITCENTER].PCID [DEPARTMENT].ID) //PROFITCENTER and DEPARTMENT have brackets around them and there is a space between the two.
    When I validate and save it tells me "Member [PROFTCENTER].PCID[ does not exist"
    *REC(FACTOR=1, COSTCENTER = [PROFITCENTER].PCID_[DEPARTMENT].ID) //PROFITCENTER and DEPARTMENT have brackets around them and there is an underscore between the two.
    When I validate and save it tells me "Member [PROFTCENTER].PCID[_ does not exist"
    Again I appreciate your help and insight
    Cheers,
    Craig

  • How to use dimension property in REC statement?

    Hi,
    In dimension ACCOUNT I have created additional property ZACC where I store "alternative" account numbers.
    After I load actuals from BW to "regular" accounts I want to copy values to "alternative" accounts.
    Regular accounts are hierarchy nodes and alternative are base members.
    ACCOUNT dim values looks like that:
    ID     ZACC
    A1     A.1
    A2     A.2
    A.1
    A.2
    etc.
    I wrote code below for that but when I validate I get message:
    UJK_VALIDATION_EXCEPTION:Invalid dimension "ACCOUNT].[ZACC" in model ZXC
    *XDIM_MEMBERSET TIME=2012.01
    *XDIM_MEMBERSET ZKEYFIGURE=ZBALANCE
    *SELECT(%ACC%,"[ID]",ACCOUNT,"[ZACC]<>' '")
    *FOR %AC%=%ACC%
    *WHEN ACCOUNT
    *IS BAS(%AC%)
    *REC(ACCOUNT=[ACCOUNT].[ZACC])
    *ENDWHEN
    *NEXT
    Can you suggest me how to fix my code?
    Thanks,
    Andrzej
    Message was edited by: A Ksik

    Hi Andzej,
    I will try to explain in details. If we are talking about target member override in REC like:
    *REC(EXPRESSION=%VALUE%,SOMEDIM=TARGETMEMBER,...)
    TARGETMEMBER can be:
    1. Some fixed single member
    2. Variable like %VAR%, but this %VAR% will get the value from FOR/NEXT loop (simply duplicating lines of code).
    Something like:
    *WHEN SOMEDIM
    *FOR %VAR%=MEM1,MEM2,MEM3 //lines between FOR and NEXT are duplicated
    *IS %VAR%
    *REC(EXPRESSION=%VALUE%,SOMEDIM=PREFIX%VAR%SUFFIX)
    *NEXT
    *ENDWHEN
    Where PREFIX%VAR%SUFFIX - is the target containing fixed prefix or suffix and contents of %VAR%
    The result of code processing this code will be evaluated to:
    *WHEN SOMEDIM
    *IS MEM1
    *REC(EXPRESSION=%VALUE%,SOMEDIM=PREFIXMEM1SUFFIX)
    *ENDWHEN
    *WHEN SOMEDIM
    *IS MEM2
    *REC(EXPRESSION=%VALUE%,SOMEDIM=PREFIXMEM2SUFFIX)
    *ENDWHEN
    *WHEN SOMEDIM
    *IS MEM3
    *REC(EXPRESSION=%VALUE%,SOMEDIM=PREFIXMEM3SUFFIX)
    *ENDWHEN
    This code is VERY slow and ineffective!
    In you case the code can be:
    *FOR %AC%=%ACC% //list of nodes
    //or *XDIM_MEMBERSET ACCOUNT=BAS(%AC%)
    *WHEN ACCOUNT
    *IS BAS(%AC%) //or * if XDIM
    *REC(EXPRESSION=%VALUE%,ACCOUNT="PREFIX%AC%")
    *ENDWHEN
    *NEXT
    but you will need special coding for target to support PREFIX
    3. Member property containing correct member ID, like
    SOMEDIM.SOMEPROPERTY
    In this case the member property of the current record of WHEN/ENDWHEN loop will be used as a target.
    Hope it's clear!
    B.R. Vadim

  • How to remove prefix from AD group names in ldap auth. provider?

    Hi all,
    I'm using weblogic 10.3.5 and LDAP authentication provider for accessing microsoft AD.
    Group names in AD are created and look like this: PREFIX_basic_user, PREFIX_advanced_user...
    but enterprise roles in ADF application are created like this: basic_user, advanced_user...
    Is there a way to map AD groups to enterprise roles trough LDAP Authentication provider without adding PREFIX_ on enterprise roles in ADF application?
    Thanks in advance

    Powershell (or vbscript if you want to be old school).
    You can trigger a powershell script which will remove the offending user(s) easily enough with out resorting to a TOLDAP pass.  Nearly any script type thing would work but powershell is preferred.  It can be triggered separately from the TO AD stuff and will take multiple objects to run in one pass if you can construct the command line (or create a text file and feed it in).
    Otherwise, TOLDAP is the way to write to AD...
    Peter

  • 4.2 removing security from dimension

    We currently have a dimension in a 4.2 application that was mistakenly set up as a secure dimension.  We have tried using the Manage Dimensions fuctionality to unselect it then processed both the dimension and saved the application yet this doesn't seem to do anything.
    Is this possible?  Are we missing a step(s)?
    Thanks.

    Was the dimension appset secured (so was security checked in the dimension itself?) or application secured (so was security checked in the manage applications screen of 4.2?). if it is removed in both screens then make sure you remove all the entries in your security sheet, since you have to do that manually in 4.2. Also process the dimensions and save the application. If this doesn't work check if there is still a table starting with the name ACS in the database for the secured dimension that shouldn't be secured and check into the tbldimension if there is still a security setting for your dimension in this table. If so try to change it here, but of course I would rather do it via the eAdmin menu.
    Hope this helps!
    -Joost

  • Remove prefix at the end?

    I'm using apple scripts with Automator to remove prefix from files. How can I remove prefix at the end? For example, the file name is test01.mov. I want it to be test.mov
    I have found this script but this script works in front. I'm not I programmer and I can't make any sense of the script.. Can any one help me out?! Thanks!
    repeat with thisFile in input
                        tell application "Finder"
                                  set fileName to name of (thisFile as alias)
                                  set fileName to (do shell script "echo " & quoted form of fileName & " | sed 's/^[0-9]*//'")
                                  set name of thisFile to fileName
                        end tell
              end repeat

    I can't help with Automator or scripts, but clarifying your question -
    A 'prefix at the end' is called a suffix. By definition, a prefix can only be at the beginning of something.
    And, I think you want to remove something from the end of the file's name (the filename) rather than from the file itself.

  • Set dynamic member to dimension in *REC statement

    BPC Experts,
    Please refer to the below script logic . In this i wanted to pass the dynamic value to the BPC dimension. For the INPUT auditidm , i want to update different AUDITID value based on the dynamic selection in BPC . But the below script logic is throwing warning message and the dynamic value to the auditid is not considered, instead it uses the variable name itself while generating the records. I m using BPC 10 version SP Level 12.
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%
    *XDIM_MEMBERSET AUDITIDM= INPUT
    *WHEN AUDITIDM
    *IS *
    *REC(EXPRESSION = %VALUE% * ($PER_INPUT$/100), AUDITIDM = $HLA_INPUT$ )
    *ENDWHEN
    *COMMIT
    PROMPT(SELECT,,,,"CATEGORY,ACCOUNT,TIME,")
    PROMPT(TEXT, %PER_INPUT%, "Input Percentage",,)
    PROMPT(COMBOBOX, %HLA_INPUT%, "Select HLA AudiitID from the list",0,"HLA_01",{"HLA_02","HLA_03","HLA_04"},)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,%APP%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,REPLACEPARAM,PER_INPUT%EQU%%PER_INPUT%%TAB%,AUDITIDM%EQU%%HLA_INPUT%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,HLA.LGF)
    After the run package, warning messages shows
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    Invalid Members [AUDITIDM]=%HLA_INPUT%
    How to pass dynamic value to the REC statement ? Please provide your inputs

    TASK(/CPMB/FX_RESTATMENT_LOGIC,REPLACEPARAM,PER_INPUT%EQU%%PER_INPUT%
    %TAB%,AUDITIDM%EQU%%HLA_INPUT%) -> you have given comma after %TAB% remove that and use HLA_INPUT not AUDITIDM
    Correct:
    TASK(/CPMB/FX_RESTATMENT_LOGIC,REPLACEPARAM,PER_INPUT%EQU%%PER_INPUT%
    %TAB%HLA_INPUT%EQU%%HLA_INPUT%)
    Also remove inverted comma in combo box.
    Correct:
    PROMPT(COMBOBOX, %HLA_INPUT%, "Select HLA AudiitID from the list",0,HLA_01,{HLA_01,HLA_02,HLA_03,HLA_04},)
    Hope this helps..

  • How to remove namespace prefix from target payload when using HTTP in PI7.0

    Hi,
    i have a requirement to remove namespace prefix from target payload when receiver receives the payload by an HTTP request.
    i am not able to use XML Anonymizer Bean as in HTTP channel its not possiile.
    Target structure after mapping now is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns3:Order xmlns:ns3="urn:xxx-com:pi:project">
    fields
    </ns3:Order>
    i need the target structure after mapping should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <Order xmlns:="urn:xxx-com:pi:project">
    fields
    <Order>
    i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Please reply if anyone has solved this problem before.
    Thanks

    Hi ,
    >>>i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Which process you've used for removing namespace...java/xslt mapping. In case of java mapping plese remove ns3 while creating the target element. Please go through the below blog it may help you.
    Quick Tips: Dealing with Namespaces in XI/PI
    Regards,
    Priyanka

  • How to remove prefix namespace in Xml from XmlBean

    I am trying to generate XML from XML Bean but i am getting namespace prefix in all my xml elements.
    For example
    <abc:Cutomer xmlns:abc="http://www.xyz.com/pqr>
    <abc:Name>
    I don't have this namespace prefix in my XSD (imported in Weblogic workshop).
    Is there any way that I can remove this prefix from my xml elements?
    Also, I don't need xml namespace in my xml string.
    Is there any way that I can generate xml without having namespace?

    Hello ,
    I think this issue as been discussed earlier in this forum. Refer follwoing link..
    http://forums.bea.com/bea/message.jspa?messageID=400000090#400000090
    Regards,
    Kuldeep Singh.

  • Remove L01 prefix from Olap uni

    HI Experts
    In my webi doc . i should not have L01 prefix from the olap universe.
    For ex: if i have L01Country from olap uni . i should only have country in webi.
    My issue is i can edit object properties and do it but how to do it at once when there are around 2000 or more object details i cant edit each and every one .
    any procedure to hide it r remove it at universe level
    Regards

    i think this link may help you
    http://www.forumtopics.com/busobj/viewtopic.php?t=21029&postdays=0&postorder=asc&start=0
    good luck
    Amr

  • Remove prefix L01 from olap universe

    HI Experts
    I need to remove L01 or prefix from the object name in olap universe ... i found tools- options in that there is replace preifx l00, l01 but i am nable to use it properly can some one help
    Example : if object is L01 business partner it should appear Business partner only it should not have L01
    regards

    You can find some handy tool Based on VBA to mass update the texts of your universe and replace the L00 and L01 prefixes. As far as i could find out in XI 3.1 currently is the only way, unless you want to do it manually one by one. Have a look at the links below. I can confirm that it works.
    [http://www.forumtopics.com/busobj/viewtopic.php?t=21029&postdays=0&postorder=asc&start=0]
    [Remove L01 prefix from Olap uni;

  • BPC Script Logic Multi-dimension REC Statement

    Hi All BPC Experts,
    The way that our data in the dimensions is setup, members in one dimension have properties that "point" to members in other dimensions.
    In this case when I write the REC statement, whilst I'm just doing arithmetic on P_ACCT, when I write the final value, I also need to specifiy the members for the dimensions CUSTOMER, ENTITY, MINE, DESTINATION.
    In the example below I hve hardcoded the CONTRACT and TIME dimension members, but going forward, this logic will be appllied to a number of CONTRACTS and TIMES so the members of the other dimensions need to be retrieved dynamically.
    *XDIM_MEMBERSET P_ACCT = CAPACITY_REV,CAPACITY_RATE,FINAL_VOLUME
    *XDIM_MEMBERSET CATEGORY=FORECAST
    *XDIM_MEMBERSET P_DATASRC=Input
    *XDIM_MEMBERSET CONTRACT=0005000001_10
    *XDIM_MEMBERSET TIME=2009.JUL
    *WHEN P_ACCT
          *IS CAPACITY_RATE
             *BEGIN
                REC(EXPRESSION=(%VALUE%[P_ACCT].[FINAL_VOLUME]),
                         CUSTOMER = CONTRACT.CUSTOMER,
                         DESTINATION = CONTRACT.DESTINATION_ID,
                         ENTITY = CONTRACT.HAUL_PC,
                         MINE = CONTRACT.MINE_ID,
                         P_ACCT = "CAPACITY_REV")
             *END
    *ENDWHEN
    *COMMIT
    My Question is twofold:
    - Can anyone see any problems with the above code, ie is this a valid way of writing the REC statement?
    - Can anyone suggest another way of writing this code?
    Best regards
    Mark Rodrigues

    Just repostoing the logic as "Code"
    *XDIM_MEMBERSET P_ACCT = CAPACITY_REV,CAPACITY_RATE,FINAL_VOLUME
    *XDIM_MEMBERSET CATEGORY=FORECAST
    *XDIM_MEMBERSET P_DATASRC=Input
    *XDIM_MEMBERSET CONTRACT=0005000001_10
    *XDIM_MEMBERSET TIME=2009.JUL
    *WHEN P_ACCT
      *IS CAPACITY_RATE
        *BEGIN
            REC(EXPRESSION=(%VALUE%P_ACCT.FINAL_VOLUME),
                                            CUSTOMER = CONTRACT.CUSTOMER,
                                            DESTINATION = CONTRACT.DESTINATION_ID,
                                            ENTITY = CONTRACT.HAUL_PC,
                                            MINE = CONTRACT.MINE_ID,
                                            P_ACCT = "CAPACITY_REV")
        *END
      *ENDWHEN
    *COMMIT

  • REPLACE statement removing commas from a money convert... I do NOT want it to do this

    I am using a case statement to remove the '-' from a negative number and place a '(' there instead. 
    The negative side of the CASE statement is as follows:
    REPLACE(CONVERT(varchar, CONVERT(money, SUM(Begin_Balance)), 1), '-', '(') + ')'
    The positive side is:
    CONVERT(varchar, CONVERT(money, SUM(Begin_Balance)), 1)
    The data output for the positive portion is 100% correct. Here is an example of the output I receive.
    (18271.15)
    (25000.00)
    82,490.00
    45,000.00
    Why is the replace statement stripping my commas?

    >> I am using a case statement to remove the '-' from a negative number and place a '(' there instead. <<
    So many horrible fundamental errors in one sentence! 
    1.  CASE is an expression, not a statement. An expression returns a scalar value of a known data type, A statement changes the schema. 
    2. In SQL, all display formatting is done in a presentation layer, never in the database.
    3. We use the ANSI/ISO Standard  CAST()  and not the old Sybase/Unix CONVERT today
    4. We use DECIMAL() and not the old Sybase/Unix MONEY. This thing does not work; it fail to do correct math; Google it! Do a data audit and see if you can go to jail for this. 
    5. SQL is not COBOL. The COBOL language treats all data as strings. STOP DOING THAT IN SQL! This language uses abstraction in the database and the presentation does the job that your old PICTURE clause used to do. 
    Can you get a 2-3 week intro course to SQL and modern programming form your company? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Msg states: "your Mac os x startup disk has no more space available for application memory...Removing files from startup disk may help." yet, I have 299.11GB of 319.73GB available. Why is msg received?

    The full message reads as, "
    Force Quit Applications
    Your Mac OS X startup disk has no more space available for application memory. 
    To avoid problems with your computer, quit any applications you are not using.  Closing windows and removing files from your startup disk will also help."
    Currently I have:
    Capacity: 319.73GB ; Available: 299.11GB ; Used: 20.62GB
    Why am I receiving this message and being forced to force quit items?  Both times the message has been received, Safari was open (frozen) while checking yahoo! mail.
    I received my MacBook Pro as a gift less than a month ago and I have only saved 20 pictures within iPhoto and installed Skype and Vuze...no other modifications from default have been made.
    Any idea?

    The full message reads as, "
    Force Quit Applications
    Your Mac OS X startup disk has no more space available for application memory. 
    To avoid problems with your computer, quit any applications you are not using.  Closing windows and removing files from your startup disk will also help."
    Currently I have:
    Capacity: 319.73GB ; Available: 299.11GB ; Used: 20.62GB
    Why am I receiving this message and being forced to force quit items?  Both times the message has been received, Safari was open (frozen) while checking yahoo! mail.
    I received my MacBook Pro as a gift less than a month ago and I have only saved 20 pictures within iPhoto and installed Skype and Vuze...no other modifications from default have been made.
    Any idea?

  • Dynamic tuple expression in *REC statement

    Hi there,
    I think I know the answer to this already, but here goes...
    I need to use a tuple expression in a *REC statement (in place of the old-fashioned GET) but I want it to be dynamic, so at least one of the tuple members changes at runtime.
    To use the basic example from SAP Help, but amended slightly, let's say this is the standard expression:
    *XDIM_MEMBERSET P_ACCT = CE0004010,CE0652000
    *WHEN P_ACCT
    *IS "CE0004010"
    *REC(EXPRESSION=%VALUE%/([P_ACCT].[CE0652000],[P_ACTIVITY].[LABPRD],[P_ENTITY].[E123]), P_ACCT="CE0661000")
    *ENDWHENBut what if the P_ENTITY member should be dynamic, depending on the ENTITY member the user selects in the DM package? What I WANT to do is something like this:
    *XDIM_MEMBERSET P_ACCT = CE0004010,CE0652000
    *WHEN P_ACCT
    *IS "CE0004010"
    *REC(EXPRESSION=%VALUE%/([P_ACCT].[CE0652000],[P_ACTIVITY].[LABPRD],[P_ENTITY].[%ENTITY_SET%]), P_ACCT="CE0661000")
    *ENDWHEN
    ...but it doesn't work. Is this even possible? And if so, what am I doing wrong?
    Thanks very much,
    Jason
    PS. I'm already using a lookup to pull out a tax% in the same script, so I can't use it for this as well...

    Some theory:
    You have some scope at the script start (defined by user selection in DM prompt)
    For each dimension you have variable %SOMEDIM_SET% containing initial script scope. If you change scope of some dimension using *XDIM_MEMBERSET SOMEDIM=MEM1,... you can always later restore original scope with *XDIM_MEMBERSET SOMEDIM=%SOMEDIM_SET%
    WHEN/ENDWHEN will loop records with base members of the scope before WHEN. %VALUE% is a current record value.
    You can use tuple references to other members in EXPRESSION=... Dimensions not defined in tuple will have the same base member as current record. In tuple you can also use parent members.
    You can use LOOKUP as a replacement of FLD to get member from the property of the member in current record. LOOKUP can get data from current model or other model.
    Vadim

Maybe you are looking for

  • ALV Report output in Excel format

    Hi , I am facing a different behaviour in two computers , while trying to take an Excel format of an ALV report output. After generating the ALV output ,in one , when I click on the Excel Format button - the Excel spreadsheet opens with the output da

  • How to make a layer not selectable in CC?

    After recent update (CC) the feature which was allowing the invisible layers (turned off by "eye" icon) to be not selectable by Move Tool is gone. So when one have a web page design with 300 layers and 3 states in groups and you decide to deactive so

  • Software

    What Bible software is available for the Palm Z22? Thanks Post relates to: Palm Z22

  • Crystal reports - layout problem

    Hi I imported one a the layouts in the .b1p package file (sales quotation) and proceeded to edit the layout according to the customer's requirements. Everything went well until I tried adding the OITM table (not included in the available tables in th

  • Reader X on Win7 64-bit: Path Problems cause error

    Hi, Environment Problem Description Workaround and Further Issues Environment I'm running Windows 7 64-bit and just downloaded Reader X from the FTP - both exe and msi files. It doesn't make a difference which installer I use. Problem Description Whe