SAPScript ampersand (&) substitution in PERFORM

Hi all,
My SAPScript has a PERFORM
PERFORM ROUTINE1 IN PROGRAM ZPROG
USING &VAR1&
CHANGING &VAR2&
ENDPERFORM
In the ABAP debugger I see the value of VAR2 as A&B&C, but when I go back to the form, the SAPScript debugger is showing the value as AC. My guess is that &B& is considered to be a symbol with a null value. How can I format VAR2 so it would come back as A&B&C?
Thanks and Regards.

Hi,
If a text like this was entered via the graphical Sapscript editor, it would have masked the text as A<(>&<)>B<(>&<)>C. If it was originally entered with the non-graphical Sapscript editor(line editor) and the masking characters were not used, then it would interpret the &B& as a symbol.
So VAR2 should contain A<(>&<)>B<(>&<)>C. i.e. the & characters need to be masked if they are to be interpreted as real ampersand characters rather thant he beginning of a symbol.
Regards,
Aidan

Similar Messages

  • Oracle 10g express edition ..ampersand substitution variable

    when i enter the ampersand substitution variable and run the script in the oracle 10g express edition it is giving me the error of (ORA-01008: not all variables bound)...can someone please indicate what the problem is..
    thank you

    i am running the script in the browser but when i run it it does not give me the possibility to enter the value and that error which i mentioned before comes instantly
    reuben

  • Ampersand substitution in create or replace procedure statement

    Hi Guys,
    I wonder why my ampersand substitution does not work in a create or replace stored procedure statement.
    CREATE OR REPLACE PROCEDURE UPDATE_DIM_SALES AS
    UNDEFINE DimSales;
    UNDEFINE FactTable;
    DEFINE DimSales = 'TESTTAB';
    DEFINE FactTable = myfact;
    BEGIN
    Error(5,20): PLS-00103: Encountered the symbol "=" when expecting one of the following: := . ( @ % ; not null range default character
    If I then assign the value with := I get the error "invalid table" later on for the INSERT statemnt:
    CREATE OR REPLACE PROCEDURE UPDATE_DIM_SALES AS
    UNDEFINE DimSales;
    UNDEFINE FactTable;
    DEFINE DimSales := 'x2';
    DEFINE FactTable := 'x1';
    BEGIN
    INSERT INTO &DimSales  (column1, column2,...)
    Why does ampersand substitution not work within a stored procedure?

    Hi,
    Thanks for the suggestion.
    The IF---ELSE Logic I have to write is quite complex.
    I dont think joins will not do the trick and limiting the collection size to smaller than 4000 seems not very practical. there
    is no poin using a collection if I have to use X amout of them.
    UNDEFINE DimSALES;
    UNDEFINE FactTable;
    DEFINE DimSALES = 'TESTTAB';
    DEFINE FactTable = 'testfact';
    --Collect all distinct SELLERNr into materialized views
    CREATE MATERIALIZED VIEW v1 AS select distinct SELLERnr from &FactTable;
    CREATE MATERIALIZED VIEW v2 AS select distinct SELLER_ID from &DimSALES;
    DECLARE
    v_SELLERNr VarChar(9);
    CURSOR v1_cursor IS Select * from v1;
    l_exists INTEGER;
    BEGIN
    OPEN v1_cursor;
    LOOP
    FETCH v1_cursor INTO v_SELLERNr;
    EXIT WHEN v1_cursor%NOTFOUND;
    SELECT COUNT(*) INTO l_exists FROM v2 WHERE SELLER_id =v_SELLERNr AND ROWNUM = 1;
    IF l_exists <> 1 THEN
    INSERT INTO &DimSALES (K_SALES,REG,BVL,DS, VS,RS,SELLER_ID,VK,VALID_FROM)
    (SELECT SEQ_DIM_SALES.NEXTVAL ,REG, BVL,DS, VS,RS,SELLERNR,VK,sysdate from &FactTable where SELLERNR =v_SELLERNr);
    commit;
    ELSE
    --Update old combination(s), invalidate (DATE)
    UPDATE &DimSALES SET VALID_TO = SYSDATE -1 WHERE REG||BVL||DS||VS||RS||SELLERNR||VK IN(
    --In case the SELLER and combinations exists and differs from what is in the dimension then invalidate old combinations and insert new ones
    SELECT * FROM(
    SELECT REG||BVL||DS||VS||RS||SELLERNR||VK WHERE SELLERNR = v_SELLERNr FROM &FactTable;
    MINUS
    SELECT REG||BVL||DS||VS||RS||SELLERNR||VK WHERE SELLERNR = v_SELLERNr FROM &DimSALES;)
    commit;
    --Insert new combination
    INSERT INTO &DimSALES (K_SALES,REG,BVL,DS, VS,RS,SELLER_ID,VK,VALID_FROM)
    (SELECT SEQ_DIM_SALES.NEXTVAL ,REG, BVL,DS, VS,RS,SELLERNR,VK,sysdate from &FactTable where SELLERNR =v_SELLERNr) subselect;
    WHERE &DimSALES.SELLER_Id=v_SELLERNr AND subselect.REG||BVL||DS||VS||RS||SELLERNR||VK NOT IN &DimSALES.REG||BVL||DS||VS||RS||SELLERNR||VK
    commit;
    END IF;
    END LOOP;
    CLOSE v1_cursor;
    END;
    DROP MATERIALIZED VIEW v1;
    DROP MATERIALIZED VIEW v2;
    -----------------

  • ORA-33858: The value of the ampersand-substitution expression is NA." Cube

    Hi David ,
    While deleting a cube I am gettingbelow error . Any reason as the error is not easy to understand .
    The transaction is not committable: "An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('BASE_PLAN_AGGR.CUBE' 'DELETE')", Generic at TxsOqStdFormCommand::execute
    at oracle.olapi.transaction.BaseTransaction.commit(Unknown Source)
    at oracle.olapi.transaction.BaseTransactionProvider.commitCurrentTransaction(Unknown Source)
    at oracle.olap.awm.dataobject.DatabaseDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UModelDO.commitOLAPI(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UModelDO.delete(Unknown Source)
    at oracle.olap.awm.dataobject.olapi.UCubeDO.delete(Unknown Source)
    at oracle.olap.awm.navigator.node.DeleteThread.run(Unknown Source)
    Many thanks,
    DxP

    Hi David ,
    Now we are getting the same problem while adding one of the dimension to our cube . Before addition of that dimension the cube was running fine . Now if we add this and click apply then it is throwing the same error . However that dimension has been used in different cube in same workspace and it is perfectly fine there.
    Not able to understand the cause and the problem for the addition of new dimension there .
    Any clue ? or same BUG /
    Rgds,
    DxP

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • SapScript - Print table out_par - more than one entry for object

    Hi Gurus,
    following problem.
    I have a SapScript form and call an external program from within the form.
    In this programm I get more than one entry for the same out_par-value - this is correct.
    My problem now is that on the form there is only printed one of the entrys.
    Here my coding in SapScript.
    /:           DEFINE &ZZ_OBJECT& = '        '
    /:           PERFORM LESEN_OBJEKTLIST IN PROGRAM ZIHFORM
    /:           USING &CAUFVD-AUFNR&
    /:           CHANGING &ZZ_OBJECT&
    /:           ENDPERFORM
    *           All involved object:
    *           &ZZ_OBJECT&
    Many thanks in advance for your help.
    Regards

    In Sapscript PERFORM-ENDPERFORM statements, the parameters can contain only one value as they are variables of type character & length 80.
    If you want multiple values in your CHANGING parameters, fetch all of them in different variables. Also, in your program store them in the same order, in the output internal table of structure ITCSY.
    Check this thread
    http://wiki.sdn.sap.com/wiki/display/profile/ExternalSubroutinesinSAPScript

  • Ampersand in update statement to prevent substuition variable

    select (company_name)
    from company
    where compnum = 111;
    update company
    set company_name = 'Jones & sons'
    where compnum = 111;
    (causes ampersand substitution variable message)

    Hi,
    If you're not using substitution variables, then give the SQL*Plus command:
    SET   DEFINE  OFFFrom that point on, & will be treated like a normal character.
    Be careful; you may call scripts later on that do use substitution variables, so you may want to turn that feature on again after you finish your INSERTS. Use:
    SET   DEFINE  &

  • Passing values to substitution variables in a loop

    Hi,
    I want to pass values to a procedure in a loop. What I need is; pass new values to each iteration.
    begin
    for i in 1..10 loop
    test (&empno, '&hdate');
    end loop;
    end;
    But it takes values for first time and then the loop goes till end without prompting the new values. I am trying it in PL/SQL.
    Can anyone suggest please!
    Regards,
    Zaaf

    Substitution variables are a SQL*Plus feature, not a PL/SQL one. The substitution is performed on the text before it is sent to the server for execution as PL/SQL. PL/SQL is not interactive - you would have to write a script or other client-side application to interact with the user and feed commands to the server.

  • Getting total pages incorect in SAPSCRIPT FORM with SAPSCRIPT-FORMPAGES

    Hi,
    In scriptform I have total 3 pages, one is envelope_page, second is page_first, and third page_next. I want total no pages excluding envelop page, I have given HOLD for envelop page, START for first page, and INC for next page. Now when I run, I have only one page as output in my script(excluding envelop) so when am printing &PAGE& of &SAPSCRIPT-FORMPAGES& on first page, its giving me 1 of 2 instead I WANT 1 of 1, I even tried subtracting 1 from &SAPSCRIPT-FORMPAGES&, even by perform, but its not working.
    Its very urgent.
    Basically if anyone can even tell me how to do
    'total pages - 1' , that will also help.
    Please advice.
    Thanks for your help in advance.

    Hi Sanjay,
       In your case where you want to increment the value of the total number of pages always use <b>&SAPSCRIPT-JOBPAGES&</b> and for the individual page <b>&PAGE&</b>.
    Since you have to increment the value of the total number of pages, pass the value to a variable increment the variable and then display that variable.
    :   PERFORM CHECK_PAGE IN PROGRAM Z_SCRIPT
    :   USING &SAPSCRIPT-JOBPAGES&               
    :   CHANGING &WS_PAGE&                           
    :   ENDPERFORM                                
    FORM check_page TABLES p_page STRUCTURE itcsy
                           p_page1 STRUCTURE itcsy.
      READ TABLE p_page INDEX 1.
      IF sy-subrc = 0 .
        p_page1-value = p_page-value + 1.
        MODIFY p_page1 INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    "check_page
    Now your total number of pages would have been increased by 1 and display this variable in the script. But one point is <b>dont declare</b> the variable <b>WS_PAGE</b> in the driver program. If you declare the value will be reset. It will work believe me it works.
    Reward if helpful.
    Regards,
    Tushar

  • PO SAPScript question.

    Hello SAPients!
    I'm a little confused with a situation I have, I have to modify SAPScript MEDRUCK (ZMEDRUCK in fact) and print program SAPFM06P (ZSAPFM06P) I wanted to modify the ENTRY_NEU subroutine but there I can only see this code:
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
           exporting
                ix_nast        = l_nast
                ix_druvo       = l_druvo
                doc            = l_doc
                ix_screen      = ent_screen
                ix_from_memory = l_from_memory
                ix_toa_dara    = toa_dara
                ix_arc_params  = arc_params
                ix_fonam       = tnapr-fonam          "HW 214570
           importing
                ex_retco       = ent_retco.
    endform.
    According to the development standards for this project, the SAPScript should not have PERFORM sentences, all the processing and calculating functionality should be in the print program, does that mean I have to modify the Function modules? Do you know other way of doing it? What would you recommend?
    Thanks

    In reality, the print program that you mention is really just an "in between" driver, the actually printing goes on in the function group MEDRUCK or ZMEDRUCK.  You must copy the function group MEDRUCK to a "Z" version called ZMEDRUCK, this will then allow you to copy the function modules within,   one of wich being the ME_PRINT_PO function module,   copy this into Z_ME_PRINT_PO.  Now in this function module is where you will make you modifications.  There are lot so includes in there where you will need to copy them as well and comment out the old include name and include the "Z" version.  Also, you will need to change the call in the mentioned program above so that it calls the "Z" version of your print function module.
    call function 'Z_ME_PRINT_PO'            "<--  Like So
    exporting
    ix_nast = l_nast
    ix_druvo = l_druvo
    doc = l_doc
    ix_screen = ent_screen
    ix_from_memory = l_from_memory
    ix_toa_dara = toa_dara
    ix_arc_params = arc_params
    ix_fonam = tnapr-fonam "HW 214570
    importing
    ex_retco = ent_retco.
    endform.
    REgards,
    Rich Heilman

  • Sapscript graphic

    Dear all,
    Some time ago I created a sapscript form in the english language (EN), then I maintained the form in the bulgarian language (BG). A few days ago I was asked to insert the company logo in the form. I did this by creating a graphic window on the form and importing the company logo. My problem is that the logo is printed only when using the english language form (the original one). The following text is created in the graphic window only in the english form: /: BITMAP 'COMPANY_LOGO_COLOR' OBJECT GRAPHICS ID BMAP TYPE BCOL
    My question is: How can I copy the same command in the GRAPHIC window (I repeat: in the graphic window, not a text window)  for the bulgarian language?
    In addition I would like to know as well: How can I insert graphics that will be visible in all languages for the same form? Is there a particular procedure to insert graphics in sapscript forms?
    Thank you in advance
    George

    Hi,
    Just now I got the same problem. In my search for a solution I found your question. I suppose your problem has been solved by now, but since the solution was not mentioned: check out
    http://www.howforge.com/how-to-insert-graphics-image-bitmap-in-sapscript
    You need to perform this action for every language.
    This worked for me.
    Regards,
    Suzy

  • This used to work!

    I use some code to assign items a character string that is an img tag such as
    if p_num = 1 then
    :P3_TERMINAL := '<img src="#WORKSPACE_IMAGES#box_check.GIF">';
    end if;
    In my region source, I then put this image tag into the page using the &P3_TERMINAL. format. This worked fine before the upgrade.
    Since the upgrade these have been showing up in the resultant HTML page with the < character replaced by an ampersand followed by the letters "lt" and a semi-colon. (I can't put those into this message or it converts them into the < .) When you view the page, instead of seeing the image you see the image tag text.
    How can I overcome this?
    Bill

    hey bill--
    to assist in preventing cross-site scripting (XSS) attacks, there's a fix change that comes with the 1.5.1 patch that escapes the html in your item substitutions when made in HTML regions. so to sum up the gist of the fix...
    "The purpose of escaping special characters where we do that is to protect the developer from the introduction of malicious code via the URL or POSTDATA into session state which might subsequently be rendered in HTML regions and other places by the HTML DB engine during the normal page rendering process. The developer presently cannot prevent session state from being tampered with in various (sometimes malicious) ways, so we have taken steps to minimize the harm that might arise in the situations noted above."
    ...and the specific places this occurs are...
    * &ITEM_NAME. substitutions performed within rendered HTML regions have special characters escaped, e.g., '<' becomes "& lt ;" (without the spaces)
    * This rule does not apply to region headers and footers; item substitution is performed without escaping special characters in those sections.
    * &ITEM_NAME. substitutions performed in report output, including column headings have special characters escaped.
    * Certain other situations where &ITEM_NAME. substitutions take place also include the escaping of special characters, specifically, the replacement of branch targets in direct page branches (not redirects) where the branch target might be something like &LAST_PAGE. and in branches that use an item name to contain the branch target and in region titles, item labels, and similar situations.
    * All other situations where item name substitution occurs results in no further transformation of the resultant text
    * Form field values are displayed with special characters escaped so that a '<' looks like that character when rendered, but is represented in HTML as '& lt ;' (without the spaces).
    * Form field values submitted to be saved in session state are passed in POSTDATA such that they are received by the ACCEPT procedure and saved in session state in unescaped format.
    ...and for a work-around, you should consider rendering your session state value from a region of type pl/sql...
    * For dynamic content, e.g, PL/SQL regions and anywhere else developer-provided code is executed, the developer is in full control of the output that is sent to the browser. HTML DB makes no attempt... to filter output produced by developer code in these types of regions and processes. Developers should follow best practices to guard against cross-site scripting attacks that might target the output produced in these dynamic content cases. For example, before emitting v('SOME_ITEM') in a region with htp.p, or concatenating :SOME_ITEM in a javascript alert, the developer should have ascertained that these items cannot have had malicious content stored into them by URL tampering or other means. The simplest approach is to wrap all output-producing calls in htf.escape or the equivalent, allowing for exceptions deliberately and selectively.
    ...and for what it's worth, there's more XSS talk in our best practices doc at...
    http://www.oracle.com/technology/products/database/htmldb/pdf/Oracle_HTML_DB_Best_Practices.pdf
    ...hope this helps,
    raj

  • Oracle Database 11g: SQL Fundamentals I 1Z0-051 Question

    i bought the OCA Oracle Database 11g: SQL Fundamentals I Exam Guide (Exam 1Z0-051) and i am not sure do i have to read the whole book ! or just go through the exam objectives table ? because the book covers lots of topics that's not in the exam and i am kind of tight on time if any one had the book or used it pls help
    To make it more clear i have a table in the book that shows each exam topic with page number next to it Like this:
    Restricting and Sorting Data
    [ ]      Limit the rows that are retrieved by a query Pg:104
    [ ]      Sort the rows that are retrieved by a query Pg:136
    [ ]      Use ampersand substitution to restrict and sort output at runtime
    Using Single-Row Functions to Customize Output
    [ ]      Describe various types of functions available in SQL Pg:170
    [ ]      Use character, number, and date functions in SELECT statements Pg:177
    Edited by: user7804566 on 01-Mar-2009 02:00

    Yes indeed. Practice at work (and elsewhere) is the best way to learn and ro reinforce learning.
    However, the more you read, the more you will be exposed to ideas and variations. Eventually you will find that many of the books have errors in various places. You will be winning when you are able to read and identify the errors AND explain why they are errors.
    The way your original question was written implied that you were after the minimum effort to pass an exam. Your last reply implies a different, and better, attitude.
    My suggestion therefore is to concentrate on the actual examples, but as quickly as possible expand to areas of interest. Explore as much as you possibly can, but make it a 'learning exploration' byut asking yourself questions and then investigating what the answer is.
    Also note that in Oracle nearly every answer has an exception. The best of the best know this and try very hard to understand when things go according to plan and when (and why) expections occur.

  • Date format in Scripts

    Dear All,
    I want to change date format in script text elements. Now the date format is MMDDYYYY. Now I want change it into DDMMYYYY. How I can change that.
    Thanks and regards,
    Krish....

    WRITE ONE Z PROGRAM .
    EX. ZTEST
    write the code below.
    PROGRAM ZTEST.
    form GET_NEWDATE tables in_tab STRUCTURE itcsy
    out_tab STRUCTURE itcsy.
    DATA : LV_NEWDATE TYPE D.
    DATA : LV_OLDDATE LIKE OLDDATE,
    data : gv_dd(2) type c,
    gv_mm(2) type c,
    gv_yy(4) type c.
    data : date(8) type c.
    gv_dd = LV_OLDDATE(+22).
    gv_mm = LV_OLDDATE(2).
    gv_yy = LV_DOC_DATE+4(4).
    CONCATENATE gv_dd gv_mm gv_yy INTO date.
    LV_NEWDATE = DATE.
    read table OUT_tab index 1.
    MOVE LV_NEWDATE TO OUT_TAB-VALUE.
    CONDENSE OUT_TAB-VALUE.
    MODIFY OUT_TAB INDEX 1.
    ENDFORM.
    write the code below in ur sapscript,
    /:DEFINE &LV_NEWDATE&.
    /:PERFORM GET_NEWDATE IN PROGRAM TEST
    /:USING &LV_OLD_DATE&
    /:CHANGING &LV_NEWDATE&.
    PRINT &LV_NEWDATE&
    ENDPERFORM.

  • XOQ-01600: OLAP DML error "ORA-33858: 11g Cube

    Hi All ,
    I was trying to apply the cube changes after changing the sparsity definition against one of the dimension under Storage tab and it is throwing below error .
    Any reason ?
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('MARKET_SALES_CUBE_WORKING.CUBE' 'ALTER' 'NUMBER' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 2) 'TIME.DIMENSION' 'TIME.CALENDER.HIERARCHY' 'TIME.MONTHLY.LEVEL' 'COMPRESSED' 'YES' 'YES' 'MARKET_SALES_CUBE_WORKING.SOLVE.AGGREGATIONDEFINITION' 'NO')", Generic at TxsOqStdFormCommand::execute
    Thanks in advance,
    DxP

    I have seen this kind of error show up if you rename an object (e.g. a measure) and then make further modifications. Did that happen in your case? If you export the cube to XML, delete it from AWM, and then recreate it from XML, then it may resolve the problem. If not, and if it is preventing your from making progress, then I would open a service request since we usually need to enable tracing to resolve this class of error.

Maybe you are looking for

  • Signing a PDF

    When I try to sign a PDF I get a message saying the security settings won't allow me to place a signature or add text from Adobe Reader. How do I change that?

  • Cannot import 1 clip into iMovie

    I'm a newbie so I'll try to give as much detail as possible on my current problem and hope some more experienced users can offer some suggestions. This has been a recurring problem since using iMovie '09.  I'm using '09 on an iMac with OS-X.  When I

  • Upload CSV from application page

    Hello !!!!!!! Could u please any one help me to create a application where i can upload a csv file from the application page in silmple way i tried this discussions but i couldnt understand.....i m new to apex File Browse, File Upload Loading CSV fil

  • Console error if I open acivity from Activity Management View

    Hello, following error appears if I open manual activity from the Activity Management / Manual Activities / All Activities Application: Service Manager Application Version: 7.5.3079.0 Severity: Error Message: An error was encountered while running th

  • Archivo txt a html

    Hola a todo el mundo, me gustaría saber como puedo hacer para que una pagina html publique el contenido de un fichero txt. Gracias David