Creating a new Dimension Object in BW MDX Universe

Hi,
I am trying to concatenate 2 string elements in a Dimension Object within an MDX BW Universe.
Based on some research I have done, it seems like concatenation of strings can be accomplished with the + (plus) operator.
When I concatenate the strings, I get no parsing errors, but I get errors when using the universe in a webi report.
In the universe, the dimensions are defined as follows: [0FISCYEAR].[LEVEL01] and [ZPD_PRD].[LEVEL01]
I have tried many things: 
[0FISCYEAR].[LEVEL01] + [ZPD_PRD].[LEVEL01]
<EXPRESSION>[0FISCYEAR].[LEVEL01] + [ZPD_PRD].[LEVEL01]</EXPRESSION>
@Select(Time\Fiscal Year) + @Select(Time\Period)
<EXPRESSION>@Select(Time\Fiscal Year) + @Select(Time\Period)</EXPRESSION>
If I don't put the <EXPRESSION> xml tags around the concatenation I get an XML parsing error in the webi report, but when I put them in, I believe it is trying to interpret the dimension as a MEASURE.
I secondary need I have is to concatenate some static text (eg. "TEXT XYZ") to a single dimension, but am having the same challenges.
Can anyone help?  I suspect there is a different XML delimiter I need other than <EXPRESSION> to make this work.
ANy help is appreciated.  Thank you!

Hello,
You have two options to fullfill your requirement...
1. Use Concat(e) function in universe while creating Dimension Object.
2. In WebI if you use Concate([Obj1],[Obj2])
If you need space then..
Concate([obj1],Concate('  ' ,[Obj2]))
Thank You!!

Similar Messages

  • Creating A new dimension for a characteristic versus adding in the same dim

    Hi Guys,
    I have a scenario where I have 0Material in a line item dimension in the cube.
    Have to add 0Mat_plant which is compounded to 0plant as we need MRP controller
    as one of the Nav attributes. 0Plant is also available in the cube.
    There are two options of doing this:
    1) Either add it to the 0Material dimension removing the line item property.
    2) Or create a new dimension for 0MAt_plant and make it as line item dimension
       considering the large volume of material information.
    Which is a better option and why.
    Please advise.
    Many Thanks and Regards,
    KAte

    Hi Kate,
    I'd recommend to have a new dimension as line itemdimension for 0MAT_PLANT, just for performance purposes (almost logarithmic access of data instead of full table scan)
    The Plant Segments in R/3 usually have a lot more records than the general material master has (max: number of plants * number of materials).
    Adding the object to 0material means that you have to unassign the line item flag. Usually this leads to increasing load- and queryruntimes.
    hth
    cheers
    sven

  • [JS, CS3] Creating a new boolean object. Is it possible?

    Hello,
    I am wondering if I can create a new boolean object in InDesign that I can use in a script I am working on. What I am doing is selecting some text and then manipulating other aspects of the selection's paragraph. I want to be able to determine if certain characters are selected, so the new boolean object would be, let's say "selected." If a character within the paragraph is selected, it's value would be "true," while other characters in the paragraph that are not selected would remain "false." Is this possible? I am also thinking that I could use an already existing boolean value, such as strikeThrough and then turn it off at the end of the script. But this is not elegant if the text were to REALLY need strikeThrough (not very likely, but just sayin'). Thanks for any advice.
    Regards,
    Len Swierski

    Len,
    Your current approach is the only feasible one. You can't create new properties for Indesign's objects. In some cases it's easy: text frames, for instance, can have their label set to a certain value, as can several other objects (cells, the application, etc.).
    But characters don't have the label property, so you have to use an existing property, as you did with overstrike. If you don't like using that particular one, have a look through the OMV under "Character" and see if there's a property that suits your needs better than overstrike.
    What you can use use this: in a script you can assign a character (text, word, etc.) an underline colour without setting underline. In the interface you'd have to enable underline, then set a colour, then disable underline. In a script enabling and disabling underline isn't necessary: just set myCharacter.underlineColor to some value ('Black' for "yes", 'White' for "no" or something like that).
    So though you can't add new properties to characters, they have so many already that you're sure to find one you can exploit.
    Peter

  • How to create a new Text Object to be used for SAVE_TEXT FUNCTION

    hi,,
    can anyone tell how can i create a new text object and text id for saving text by using function SAVE_TEXT.
    Thanks

    hi,.
    try out this 
    DATA: header LIKE thead.
    DATA: newheader LIKE thead.
    DATA:lines LIKE tline OCCURS 0 WITH HEADER LINE.
    header-tdobject = 'VBBK'.
    header-tdname = delivery number.
    header-tdspras = language.
    lines-tdformat = '*'.
    header-tdid = text id. "for example: Z022
    lines-tdline = your text that you want to write .
    APPEND lines. CLEAR lines.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    client = sy-mandt
    header = header
    savemode_direct = 'V'
    IMPORTING
    newheader = newheader
    TABLES
    lines = lines
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    object = 4
    OTHERS = 5.

  • Workflow - Create a new buisness object type for an new infotype.

    Hi all,
    I have an issue with creating a new buisness object type, which is related to a
    supertype, for an new infotype.
    I am new to workflow and business object. I don't have much knowledge in these area. I need to resolve this problem ASAP.
    Could someone please provide me a step-by-step guide on how to create a new business object type, which is related to an existing supertype, for an newly created infotype?
    If would be very much appreciated if someone could assist me in resolving this issue.
    Thank You.

    Business objects are maintained in SWO1 creating a subtype is done with the button: Create subtype (F9)
    If you don't have knowledge of workflow or abap objects, it is perhaps better to tell your employer that and find someone who has.
    If your problem is simply only creating a subtype then go with the instructions I already gave you, if however more things need to be done, like extending the subtype with (virtual)attributes, methods, events, delegating the subtype and implementing the methods in newly created tasks and subsequently workflows I really advise to find someone who can do this, or attend a SAP course on this subject.
    Kind regards, Rob Dielemans

  • How to create a new custom object in SRM

    Hi there gurus,
    Is there any (easy) way to create a new Object in SRM?
    What I need is a new object similar to a PO, Shopping Cart, RFX... in order to model a business requirement needed after Bid Responses and just before Approval Process (Contract or PO).
    I need a bus id, a range for document numbers, some custom fields related to this new object (one object per Response) and new screens in order to populate needed information...
    Any information regarding that would be really appreciated.
    Thanks in advance.

    Hi and thank you so much for your answers!
    Basicly, just after the last BID Response has been received a new approval process called "XXX" has to be performed in order to classify each response into "Acceptable" or "Unaceptable". It may sound like no business object has to be defined because a new flag field "Acceptable" could be added to the Quote, but it is not so easy because, as i said before, the underlaying workflow needs different kinds of approvals (there are additional issues which I don´t really know) and the functional team have dediced that the only way is creating a new Business Object "XXX".
    So, there should be one "XXX" for each BID Invitation, and this "XXX" object should have one item line for each BID Response received.
    All in all, I need a new screen with an input field in order to specify a BID Invitation number. I have to retrieve all offers for this invitation number and display them in a table with fields: Response Number, Response Status, Company Name, Bidder Name, Country, Amount, Price Type and Resolution (Acceptable o Unacceptable). This table represents the "Item" level for the new object "XXX".
    The header level should contain tabs for "XXX" General Info, Notes&Attachments, Approval and Tracking. We suppose that all of these tabs are standard tabs for all business objects. Furthermore, standard buttons to Save, Order, Print Prev, etc should be added and 2 new buttons have to be visible when "XXX" is approved.
    Thus I need technical information related to three different levels: i) actions to do at EP level (iviews, pages, or whatever I need to integrate this new object into the menus, powl, etc), ii) actions to do at Webdynpro level (I think that lot of standard functionalities could be reused, ie. common tabs for notes&attachments etc) and iii) actions to do at data-model level (in order to store all data regarding the new object in a proper way).
    I hope this help...
    Thank you!
    Edited by: Vicente Ángel Lopez Romero on Jul 30, 2009 11:24 AM (Typo error)

  • Error while creating a new Dimension/Model in BPC 10.0 NW

    Hello Experts,
    I am using BPC 10.0 NW system.
    When I try to create new Dimensions or Models I get the following Error Message.
    "Error in Admin module or a component used by Admin module.
    Failed to create SAP NetWeaver BI InfoObject for dimension."
    I am assigned to all the needed task profiles to create Dimensions and Models.
    Please assist me to resolve this issue.
    Thanks & Regards,
    Archana

    Thanks Roberto.
    The error was coming because while creating the user id "SAP_ALL" Profile was not assigned. So I was not able to create Dimensions and models.
    Now the issue is solved.

  • Create a new dimension in business layer from Data source: text file on the web

    Hi,
    I have a text data source which is published every few hours that is accessible from a certain URL. I follow the instruction given in this http://scn.sap.com/docs/DOC-43144 - where it shows in great detail how to create the connection, data foundation as well as business layer to create a universe for this type of data.
    All is well - I can use this universe in my WEBI doc and display the data.
    However, in order for me to merge the data from this universe with another universe, I need to create  new dimension based on the data from the text file. The new dimension value is simply the first 4 characters of the Subject found in the text file. The "Subject" dimension is of variant type: varchar.
    Following the guide mentioned earlier, the connection is using SAP BO OpenConnectivity driver. And this driver limits severely the SQL statement that I can use to extract a substring of another string. Here's the screenshot of the SQl expression that I can use with this driver
    After hours of searching, I cannot find any other connection driver for a text file that's published on a certain URL. The BO OpenConnection driver is the best that I could find.
    So here are my problems
    1. one of my data source is a text file published on a web
    2. the only connection I can create does not allow me to create  new dimension in the universe to create an important column "subject ID"
    3. I can create the column in webi as a variable. But when I do so, I cannot merge it with existing dimension (webi not allowing to merge these 2 types). And without the merge, the flat file universe with my database universe can't be combined.
    I'm using WEBI Rich client version 4.1 SP3 Patch 1. Build 14.1.3.1300
    Is there any other idea that you can suggest without requiring to change the extracted data?
    Thanks.
    With warm regards

    Hi Bala,
    Were you able to find out a solution for the problem with uploading values for a variable from a text file on the web?  I am confronted with the same request from users.
    Thanks,
    BQ

  • Index out of range when trying to create a new dimension (reporting type)

    I just created all my dimensions/characteristics, created 2 cubes/infocubes (rate & ownership) in my new appset called 'CONSOLIDATION' and I can't seem to create a 'reporting type cube'.
    When I try to create a cube called TEST or CONSO... (generic, finance or conso) it says 'index as out of range. Must be non negative & less than the size of the collection. Parameter name : index'. The message pops up immediately, before I can even try to choose dimensions.
    Anybody who has a clue, I look forward to suggestions.
    Regards
    Nico

    Hi Sorin,
    Thanks for the reply. If I understand correctly, then in my application set, I cannot create any non-reporting type application? As we have deleted the 'Rate' application which was delivered along with APSHELL. Is there any way out to overcome this as from your reply, it seems not possible as the system needs a reference application belonging to the same application type.
    Many Thanks for your reply.
    Santosh

  • Error after creating a new dimension in dev studio

    Hi,
    I have set up ATG 10.1.2 along Endeca 3.1.1
    For the CRS application the cartridges are shown properly.
    But once I create an autogen dimension from dev studio and run the baseline the navigation cartridges disappear giving the below mentioned error.
    error=com.endeca.infront.navigation.NavigationException: com.endeca.navigation.ENEException: HTTP Error 404 - Navigation Engine not able to process request 'http://localhost:15000/graph?node=10098&refinement=dimvalid:10093+dynrank:0+exposed:1&refinement=dimvalid:10001+dynrank:0+exposed:1&refinement=dimvalid:10002+dynrank:0+exposed:1&refinement=dimvalid:1+dynrank:0+exposed:1&refinement=dimvalid:10011+dynrank:0+exposed:1&groupby=product.repositoryId&offset=0&nbins=0&allbins=1&autophrase=1&autophrasedwim=1&filter=AND%28product.priceListPair%3asalePrices_listPrices%2cOR%28product.siteId%3astoreSiteUS%29%29&irversion=640'., displayNameProperty=displayName_en, dimensionId=10001, buryRefinements=[]}, {showMoreLink=false, sort=default, @type=RefinementMenu, boostRefinements=[], maxNumRefinements=200, numRefinements=10, displayNamePropertyAlias=displayName, name=Size, moreLinkText=Show More Refinements..., dimensionName=clothing-sku.size
    I have also put the --back_compat flag as 640 but even then getting the same error.
    Only the redeployment of full application removes the error.
    Please suggest if anyone has faced similar issue.
    Regards,
    Varun

    Please see the suggested solutions in the following docs.
    Entity Maps Not Defined For Attachment Error When Selecting A Deliverable (Doc ID 358385.1)
    Corrupt Personalization - No Entities Found Entitymaps Not Defined For Attachment Item (Doc ID 1085011.1)
    R12:Supplier Page Unexpected Error: 'No Entities Found EntityMaps not Defined for Attachment Item' (Doc ID 1361320.1
    Geography Hierarchy No Entities Found, EntityMaps Not Defined For Attachment Item (Doc ID 831088.1)
    Depot Repair Bulk Receiving Error: "No entities found, entityMaps not defined for attachment item" (Doc ID 1357977.1)
    Thanks,
    Hussein

  • MMM1061 error when creating a new dimension

    why after i make a new dimension, there's always MMM1061 error notification like this : "MMM1061 : corrupted array : position msimatch at 2". what does it mean? how 2 fix it??
    thx a lot guyz.....

    Check if below helps
    http://zimmergren.net/technical/sp-2013-duplicate-field-name-was-found-after-upgrading-your-sharepoint-2010-solutions
    http://jshidell.com/tag/finding-a-duplicate-field-name-was-found-error-in-sharepoint-2010/
    http://www.sharepointassist.com/2011/11/05/a-duplicate-field-name-x-was-found/

  • Cannot create a new StockTransfer object in SDK DI

    I'm having a problem using the V6.7 DI SDK with VB 6.
    My code loops through a collection, creating stock transfer entries in SAP BO. The User requirement is to add detail lines to the stock transfer until the from warehouse code changes after which a new stock transfer is created for all items originating from this warehouse, etc.
    So I have declared a stock transfer object:
    Private SAPStockTransfer As SAPbobsCOM.StockTransfer
    Set SAPStockTransfer = SAPCompany.GetBusinessObject(oStockTransfer)
    After which I set the appropriate properties of the stock transfer object and add the stock transfer lines as appropriate.
    When the warehouse changes I firstly call the add() method of the stock transfer object then I reset the stock transfer object as follows:
    Set SAPStockTransfer = Nothing
    Set SAPStockTransfer = SAPCompany.GetBusinessObject(oStockTransfer)
    The problem is at this stage, the SAPStockTransfer is not re-initialized, as I would have expected, but persists the previously held values.
    Am I doing something wrong?

    Hi Marinos,
    Try calling the garbage collector before re-inistialising the Objects.
    Try this:
    Set SAPStockTransfer = Nothing
    GC.Collect
    Set SAPStockTransfer = SAPCompany.GetBusinessObject(oStockTransfer)
    If this doesn't work try passing the parameters of the stock transfer into a procedure that will create the Stock Obj, instanciate it, do the stock transfer and the kill the stock obj
    <b>
    (Set SAPStockTransfer = Nothing
    GC.Collect)</b>
    Call this procedure for each transfer. This must work.

  • How to create a new database object?

    i login at sys or system, then enter below:
    create database project;
    the error is < privileges deny >
    what is going wrong???
    null

    Kelvin (guest) wrote:
    : i login at sys or system, then enter below:
    : create database project;
    : the error is < privileges deny >
    : what is going wrong???
    The full format of the command is
    create database project
    controlfile reuse
    datfile '?/oradata/system.dbf' size 250M reuse
    autoextend on next 100M maxsize 550M
    logfile '?/oradata/redo1.rdo' size 30M reuse,
    '?/oradata/redo2.rdo' size 30M reuse
    maxdatafiles 256;
    To execute this command do this:
    sqlplus /nolog <<EOF
    connect internal
    startup force nomount
    create database project
    controlfile reuse
    datafile '?/oradata/system.dbf' size 250M reuse
    autoextend on next 100M maxsize 550M
    logfile '?/oradata/redo1.rdo' size 30M reuse,
    '?/oradata/redo2.rdo' size 30M reuse
    maxdatafiles 256;
    alter tablespace system minimum extent 64k;
    create rollback segment rb_t;
    alter rollback segment rb_t online;
    @?/rdbms/admin/catalog
    @?/rdbms/admin/catproc
    EOF
    and your project database will be created.
    null

  • Create new dimension on top of SAP BW data

    Hi expert,
    I'm having a problem to create a new dimension on top on SAP BW data. I have a dimension details object called 'L01 G/L Account Key'. When I drag this object to the result object in the web intelligence, it display full data like '1000/30100'. How can I trim the data so it shows '30100'?.Is there any formula that support in universe?
    I don't want to do the formula inside the web intelligence report because I want to use this dimension to other reports as well.
    Please expert....help me!
    Thanks & Regards,
    Syahida-

    Hi,
    SAP BW MDX does not support calculations that return string or date: this is a limitation of SAP BW OLAP engine.
    By the way I found exceptions that satisfy your requirement.
    For instance you can manipulate a substring of a dimension only with NAME and UNIQUENAME attributes.
    Example, you can use these expressions:
    <EXPRESSION>right([OD_COUNTRY].currentmember.name, 4)</EXPRESSION>
    <EXPRESSION>right([OD_COUNTRY].currentmember.uniquename, 4)</EXPRESSION>
    <EXPRESSION>left([OD_COUNTRY].currentmember.name, 4)</EXPRESSION>
    <EXPRESSION>left([OD_COUNTRY].currentmember.uniquename, 4)</EXPRESSION>
    <EXPRESSION>mid([OD_COUNTRY].currentmember.uniquename, 2,4)</EXPRESSION>
    Regards
    Didier

  • Variable to create new dimension value in Webi

    hi There
    in a webi report, i have couple of variables, what i need to do is to create a new dimension by these variables, so i can use it in a chart
    for example:
    i have current month, previous month, previous of previous month, all of them are variables, i need to create a new dimension, so i can use it in a crosstab to create a chart
    thanks
    Cleo

    because the client needs 6 months trend report, and in webi level, it is hard to use the report date prompted by the user to calculate the 5 previous months, so in universe level, i create 5 objects to get 5 previous month of report month prompted by the user, for example, if the user input the report month ="3/24/2014", the previous month will be 2/1/2014, and previous previous will be 1/1/2014, then 12/1/2013, 11/1/2013, 10/1/2013
    under each month, i will create 6 variables for another metric, say % medium error=total tickets opened where priority = medium, the reason, i create these fields manually, because not all of the month will have tickets opened by all support group, i know i can create a 6 months object in universe level, but if i add drill down filters, if the support has no ticket, the 6 months trend will be changed to 2 or 3 months, the user wants report layout has no change no matter if it will have data or not, that is why i create different variables for the month, and different variables for other metrcis. i already finished this table part, but the issue is i cannot use this table data to create a chart, so i need to creat new variables to include all these 6 months variables and metrcis "% medium error" variables
    thanks,

Maybe you are looking for

  • IPod Nano shuts down randomly and doesn't restart unless connected

    This happened to me two days ago. I was working on a pool listening to a podcast, with the iPod in my pocket. I was wearing black pants and it was very hot, so I'm not sure if it's simply an issue of overheating, but what happened was while I was lis

  • Windows 8 important update failure

    The following can be installed but they are failed in configuration after rebooting.  1. Security update for windows 8 x64-based systems (KB272758) 2. Update for windows 8 for x64-based systems (KB2769165) 3. Update for windows 8 for x64-based system

  • Send text file as an attachment

    Hi All, We have a requirement wherein we need to send the contents of an internal table in a text pipe delimited file as an attachment in to an external mail id. The problem is that the total record length of the internal table is around 450 char whi

  • Airplay icon not working on any devices now...

    My TECH: ATV3 iPad 3 iPhone 5 Internal Airport Internet Sharing iMac 11,3 I'm getting extremely frustrated with how my ATV3's Airplay function is up and down for working. This has happened before and after the i0S6 updates... Basically, I can never g

  • Hotmail, only in Firefox, does not function, chrome, yes, IE, yes, but not firefox--WHY?

    I have uninstalled all versions of Firefox, no matter-Hotmail loads, but when trying to open any email or part of hotmail, does not function. I have now added Chrome and IE and they have no probs with Hotmail! So, WTF?????