Invalid mdx question

Hi experts,
I've built a dashboard that uses QAAWS against a BEx query. The user selects a parameter from a dropdown list and this is passed to the query. The dropdown is populated via another BEx query. Certain selections cause the error below but others work fine..
A database error occured. The database error text is: The MDX query SELECT  { [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMAQHVEHK2ZSLZC3A], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMC9V42075V0QU4MU], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMDT8CPIU8Q8VOX6E], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09V98NHYRCDSG9Z852], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VAS0QM9ZGNOEU0OM], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VCBDZ9SMJIWJOT86], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VD32LLJY2YIM47HY], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VDUR7XB9ME4OJLRQ], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VEMFU92L5TQQZ01I] }  ON COLUMNS , NON EMPTY  { [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXVHBZ2PH1IWV1APPDCBNQU], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POKB6YZZPNWJYWP4VQ], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK8VX50FPA94PEY2E], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK7CJWCX27DWKK5IU], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK6KVA15QNYAI4R92] }  DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [Z_M25/Z_M25_Q023] SAP VARIABLES [!V000002] INCLUDING 58DFDF3E4D542B47B8128DD98EFB7B6C failed to execute with the error Invalid MDX command with DFDF3E4D542B47B8128DD98EFB7B6C.
Does this mean that the value of the prompt "DFDF3E4D542B47B8128DD98EFB7B6C" is invalid? If I run the query in Analyzer and paste this value in the query executes successfully.....
Thanks

Just an update on this one in case anyone else has the same issue. Turns out to be a bug. See SAP Note 1505565 - "Error WIS 10901 when the SAP prompt value starts with a digit/number in Xcelsius".
Workaround was concatenating double quotes around the prompt value which the MDX parser accepted.

Similar Messages

  • Statistical calc with MDX question (Mode function as an excel)

    Hi All,
      I need to create an MDX Calc to Returns the most frequently occurring, or repetitive, value in an array or range of data.
      For example, the mode of 2, 3, 3, 5, 7, 10 is 3.
      In Excel I use the MODE() function but I don't know how to do this in MDX and add it as a measure in Universe.
      I can't do the formula in WEBI because we have big data volume and I can't retrieve all the customers in WEBI.
      We have SAP BW 7.0 and SAP BusinessObjects XI 3.1 fix pack 1.3
    Thanks in advance.

    Hi,
    it looks like you created the entry twice so I would suggest you close on of them:
    Statistical calc with MDX question (Mode function as an excel)
    I don't think that those kind of statistical functions are available in MDX. you can always go to se37 and use the bapi_get_functions to see the list of supported functions.
    Ingo

  • OLAP Universe and Invalid MDX error

    Hi all,
    I'm new to OLAP/BW universes and I've run into some strange issues. I've generated a universe based on a Bex query and I'm getting invalid mdx errors when drilling on a couple of the hierarchies. There has been no customisation of the universe so I'm not sure how invalid mdx can be generated??? I've placed Product and Profit center hierarchies and a single Key Figure onto a report and when I drill down on the hierarchies I get the error. It only seems to happen when I have more than one hierarchy on the report. A single hierarchy with Key Figures does not cause an error.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Executing the mdx in MDXTEST gives the error "Invalid MDX command with {...}"
    Webi log entry below.
    Any advice would be much appreciated.
    Cheers
    Keith
    kc3cdbtbdacs.cpp:3962:static ConnectionServer::Status tbCnxSrvrRecordSet::doCSExecute(ibo_ptr<IConnectionServer::JobResultSet>&, std::auto_ptr<ConnectionServer::ResultSet>&): TraceLog message 147
    2010/05/04 05:34:26.997|>=|E|X|17343|1596992400| |||||||||||||||Uncaught Exception in SilentScope: C3_dacs:CSJob::Execute(*Res): 6.598
    kc3cdbtbdacs.cpp:317:BOResult DoReportCSError(const ConnectionServer::Error&, int, const char*): TraceLog message 148
    2010/05/04 05:34:26.997|>>|E| |17343|1596992400| |||||||||||||||**ERROR:C3_dacs:CS::Error :  (DBD(1),ID:769) "The MDX query SELECT  { [Measures].[DCF59QUC57XIIT50PJKVFYR8K] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN(  { [0PROD_HIER                    PRDHA].[10001                           0PRODH1] } , INTERSECT( INTERSECT( { Descendants(  { [0PROFIT_CTR                   1000YBPH].[000000000000000000000000100010000HIER_NODE] } , [0PROFIT_CTR                   1000YBPH].[LEVEL02]) } , { Descendants( [0PROFIT_CTR                   1000YBPH].[LEVEL01].MEMBERS, [0PROFIT_CTR                   1000YBPH].[LEVEL02], LEAVES) }  ) , { Descendants( {  }, [0PROFIT_CTR                   1000YBPH].[LEVEL02]) }  )  ), [0CUSTOMER].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [COPA_C01/COPA_C01_Q002] SAP VARIABLES [!V000001] INCLUDING [0FISCPER].[V62010010] failed to execute with the error Invalid MDX command with {...}"
    Edited by: Keith Liauw on May 5, 2010 2:18 AM

    Issue has been resolved by applying the following notes
    "1399684 - MDX: Flattening returns incorrectly formatted data"
    "1440912 - WebI reports incorrect after BW 7.1.5 upgrade: Cannot drill below Level 5 of Hierarchy."

  • UJO_READ_EXCEPTION_018 MDX invalid MDX command num_val = num_val

    Hi Experts,
    NW 740 CPMBPC 801 SP-05
    I create input form in EPM or on web. When I choose value of context as parent node of hieararchy I get this error:
    {"code":"UJO_READ_EXCEPTION_018","description":"MDX statement error: Invalid MDX-command  <num_val> = <num_val>","severity":"error","log_id":"051Mabeq7kIFi3UvBpRqnm","variables":[{"key":"DATAVALUE","value":"Invalid MDX-command <num_val> = <num_val>"},{"key":"MDX","value":""},{"key":"V1","value":"Invalid MDX-command <num_val> = <num_"},{"key":"V2","value":"val>"},{"key":"V3","value":""},{"key":"V4","value":""}]}]
    I removed temporiry objects by prog: SAP_DROP_TMPTABLES
    I refreshed cash of measures by prog: UJA_REFRESH_DIM_CACHE
    Problem did not solved, pls help.
    Regards
         Amirkhan

    Hi Amirkhan,
    Try OSS Note 1976552 - BPC generates MDX Statement with invalid property.
    Regards,
    Gersh

  • Essbase MDX question

    Hi there
    I am at a client where I have to do comparative store analysis. Basically with MDX I need to do the following:
    When doing comparable store analysis on a daily level in my Time dimension a store must have traded a year ago on the same comparable day as per the company's trading calendar.
    When doing comparable store analysis on a weekly level a store must have traded a year ago for the full same comparable previous year's week (i.e. all the days in the week) as per company's trading calendar.
    If the criteria is not met #missing must be returned else the day or week value.
    On day level my MDX works fine:
    CASE
    WHEN
    IsLevel([Entity].CurrentMember, 0) AND
    IsLevel([Time].CurrentMember, 0) AND
    NOT IsEmpty([Periodicity].[LY])
    THEN
    ([LY], [Act], [Time].CurrentMember, [Entity].CurrentMember, [Account].CurrentMember)
    END
    The question is on a week level how do I check if a store traded on every single day of the same week last year. Getting the week is no problem, but checking every child of that week.
    Just another point on this: I need to do this on month, quarter etc levels as well, so hard coding to check from day 1 to 7 will not suffice.
    Thanks
    Johan

    You are correct, currently Essbase does not support updates via MDX.

  • Invalid Packages question

    Hi All,
    First of all, here the background information about the database:
    Oracle EBS R12.0.4
    RDBMS 10.2.0.2
    AIX 5L 5.3 64 bits
    I have a question about invalid packages. When looking at ssome invalid package in TOAD, when I click on "ERROR" tab (or query dba_errors), I can see this message:
    PLS-00923: native compilation failed: C compilation or linking failed:spdzj.c:Could not invoke program /usr/local/bin/gcc: No such file or directory
    For now, I got the sysadmin to create a soft link from /usr/local/bin to point to /usr/bin/gcc and I could compile the packages.
    When I log on the server as the RDBMS owner, and do the following:
    env | grep gcc -> return nothing
    which gcc -> /usr/bin
    Considering the gcc should be going to /usr/bin and that when I type "which gcc" it return the one in /usr/bin, where in Oracle is it set to be in /usr/local/bin?
    I looked into some configuration files and didn't find anything that would 'hardcode' the path to GCC.
    Anyone ever got this issue?
    Thank you,
    Felix

    Pl see if MOS Doc 269012.1 (PL/SQL Native Compilation in Oracle 10g) can help you
    HTH
    Srini

  • MDX question

    hi allAgregate storage databasei have dim [MEASURES] where some elements have UDA "NoScl"and dim [SCALE] where is two elemetsa1 - all data imports into itand a2 which has member formula iif (isuda([MEASURES].currentmember, "NoScl"), [a1]/1000)when i try to verify this formula essbase writes me "sintax error in input MDX query on line 1 at token ')' a2what is wrong with formula?if possible please mail me at [email protected]

    I have this issue with Essbase 7.1 on a Unix server (Sun).If I remember correctly, when you remove the [] from any member name in your formula, then the formula validates.The problem is that the formula won't work properly.This should be solved in 7.2.Denis

  • Filtring and more/MDX Question

    Hello,
    I sure am new in MDX and since it differ so much from standart SQL Im looking for some help. For example in this particular query:
    select
    nonEmptyCrossJoin(
    [Customer].[Country].Members,
    [Customer].[State-Province].Members
    on 0,
    nonEmptyCrossJoin(
    [Date].[Calendar Year].Members,
    [Product].[Category].Members
    on 1
    from [Adventure Works]
    where (Measures.[Internet Sales Amount]) 
    1. How can I apply filter so I will only get results for 'Bikes' sold in particular period of time?
    2. Is it possible to remove all columns that contains at last one null value?
    3. And is it possible to apply filter on Sales Amount for example to obtain only values greater than 2.000.
    The database is AdventureWorks for analysis service from microsoft.
    Regards, Uszkers

    Try the query below. It gives u the ability to filter bikes only and sales amount > number.
    It is possible to put Country/state in your columns such as Country * state crossjoin, but this would mean you kinda get an odd table with multiple columns and a large amount of cells per column, and than it is not possible to filter. (Cause you will be
    forced to filter an entire row or entire column), if you know what I mean :)
    Please try query below as I'm new to MDX myself and still learning :)
    select
    ORDER(
    NONEMPTY(
    [Measures].[Internet Sales Amount] 
    BDESC
    ) on COLUMNS,
    FILTER(
    NONEMPTY(
    [Date].[Calendar Year].[Calendar Year]
    *[Product].[Product Categories].[Category].&[1]
    *[Customer].[Customer Geography].[Country]
    *[Geography].[State-Province].[State-Province]
    ,[Measures].[Internet Sales Amount]
    [Measures].[Internet Sales Amount] > 2000000
    )on ROWS
    FROM [Adventure Works]

  • Another MDX question.

    In MDX, What is the correct way to retrieve the set of level-0 descendants of a CurrentMember that is at Level-2 or higher? I am using the following:
    *count(TopPercent([Region].CurrentMember.Levels(0).Members , 80, [Measures].[SALES] ))*
    This is counting ALL level 0 members, not just the ones that are descendants of the CurrentMember.. I also tried to use:
    *count(TopPercent(Leaves([Region].CurrentMember) , 80, [Measures].[SALES] ))*
    but in this case, I get #Missing values for my Count cells!
    Lastly, in the hope of simply subtracting Level 1 members from the set of all descendants I also tried the following:
    *count(TopPercent(Descendants([Region].CurrentMember) , 80, [Measures].[SALES] )) - count(TopPercent([Region].CurrentMember.Children, 80, [Measures].[SALES])*
    this gives me a count which is 2 less than the expected value. What is the best way of getting at CurrentMember level-0s ?
    thanks.
    Edited by: axe1 on Oct 7, 2010 12:34 PM

    I simply want a function that will return a set of all level 0 members for a given Current Member. My Current Member can be at any level higher than 0. If my CurrentMember is at Level 1 then this is simply achieved by using *[<DIM_NAME>].CurrentMember.Children*. But what do I use if my CurrentMember is at Level-2 or higher. I tried using the following:
    1. *[<DIM_NAME>].CurrentMember.Levels[0].Members* -> this doesn't work
    2. Leaves([<DIM_NAME>].CurrentMember) -> this doesn't work either
    3. I also tried *(distinct (union (Descendants( [<DIM_NAME>].CurrentMember), ( [<DIM_NAME>].CurrentMember.Children)* -> this does work when CurrentMember is at Level 2, but at Level 3 and higher it doesn't work, because the resulting set contains both level 1 and level 0 members..
    Again, I just want to be able to get a set of Level 0 members that are descendants of a given CurrentMember...
    Descendants([<DIM_NAME>].CurrentMember.Levels[0].Members) doesn't work either. This doesn't pass verification itself, because we can't pass a set as an argument to the Descendants function.

  • MDX question using MDXTEST

    Hello.  I was wondering if anybody has any experience using MDX to return an XMLA result set for a query that contains a hierarchy. Any help of simple example would be helpful.  We are trying to use the MDX web service within BI and are testing out various MDX queries.
    Thank you.

    Hello Aron,
    Please see this doc
    [Load Testing Web Services in ESA with Custom Examples|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f4cabe-0401-0010-fbba-fae6c7a8d29e]
    See this blog as well
    [SAP Network Blog: Work with XMLA Web Service for BI Data in External Applications!|/people/prakash.darji/blog/2006/09/04/work-with-xmla-web-service-for-bi-data-in-external-applications]
    Other docs
    [Web Dynpro Java Application to Execute MDX Query Using the Business Intelligence Java SDK|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1]
    [Using the MDX Editor (SAP Library - SAP NetWeaver Visual Composer: User Guide)|http://help.sap.com/saphelp_nw04/helpdata/en/45/f33574fee1487f9b8487d2986a2658/frameset.htm]
    Thanks
    Chandran

  • MDX Question - roll up to parent value

    Hi,
    I have a relatively simple issue that I am not able to solve.
    I have the following calculation as a calculated member in my cube:
    SUM([Territory].[State - City Hierarchy].[City].CurrentMember.Parent, [Measures].[Total Sales])
    What I would expect to see is that the City is assigned the total sales for the State.  So for example, if Total Sales is:
    WA - Seattle - 15
    WA - Tacoma - 10
    Then instead of seeing the above I would instead see:
    WA - Seattle - 25
    Wa - Tacoma - 25
    However with my code as is, this field is simply null.  Can anyone assist?

    Hi,
    Try removing the reference to the level of the hierarchy - that is;
    SUM([Territory].[State - City Hierarchy].CurrentMember.Parent, [Measures].[Total Sales])
    Also, you wont need the sum, so you can just define the measure as;
    ([Territory].[State - City Hierarchy].CurrentMember.Parent, [Measures].[Total Sales])
    HTH, 
    Paul
    www.paultebraak.wordpress.com

  • MDX question Named set

    Hai,
    This is my named set fomula in the cube (as 2008r2):
    subset
    (filter(descendants(period.period.year,1),VBA!Val(period.period.properties("id_"))<=VBA!Val(([period_now].item(0)).properties("id_"))),0)
    This shows>> Per1,Per2,Per3 etc.
    But now I want to show it like: Per3,per2,Per1 etc. How can I do that in the formula?
    Tnx for the information.

    Hi MYMY ,
    I would recommend to use the 'order' function (desc or asc depend on you per orde) .
    http://technet.microsoft.com/en-us/library/ms144767.aspx
    Regards, David .

  • Error MDX when executing WBI query with different prompt but same text

    Current version is BO XI 3.1 SP2 FP 2.6
    Connected with SAP BI7
    Identified problem :
    when using same text prompt in different filters, only the first one is correctly answered, the MDX code for following ones are not correctly generated : the engine uses the right filter but applied to the object from the first filter which gives a MDX code error.
    Example :
    In a report :
    - asking a user choice on 'document month' for operational view
    - using the same answer to fill up the 'posting month' in financial view
    Document month (0FISCPER) filter is filter !V000001
    Posting month (FISCPLCD) filter is filter !V000002
    Question text is unique : "Single Year Period ?" and should be sent to both prompts/variable.
    When using the same text prompt, the MDX code generated is :
    SELECT  { [Measures].[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( [0FISCPER].[LEVEL01].MEMBERS, [FISCPLCD].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [CATS_M01A/ZGL_CATS_UTILISATION] SAP VARIABLES [!V000001] INCLUDING [FISCPLCD].[Z12010006]
    Please notice that in this generated code, the filter !V000001 is applied to the FISCPLCD object, while filter !V000001 is related to document month. A MDX error is generated.
    Any clue to solve this issue ?
    Thank you for your help.
    G.OM.
    Edited by: GERALDINE OMNES on Jan 14, 2011 12:44 PM

    Ok, I've simplified the case.
    Here is the real case :
    Object filter =
    Based on object =
    .[LEVEL01]
    Object filter =
    Based on object =
    .[LEVEL01]
    In WBI query result I take these objects :
    .[LEVEL01]
    .[LEVEL01]
    .[4IUX93YJGXQEHGLX0T0GPNA9Y]
    In query filters, my 2 filters with same text :
    1.
    I run the query.
    Answer to question 'Single Year Period ?' = Period 06 2010
    ==> MDX error
    A database error occured. The database error text is: Echec de l'exécution de la requête MDX SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006] avec l'erreur Invalid MDX command with . (WIS 10901)
    And you can see that the value sent to both filters is the same and come from the first filter .[Z12010006] instead of applying the value to each filter .[Z12010006] for the first one and .[Z12010006] for the second one.
    Please, notice that if I change the order of this 2 filters in the WBI query, the MDX generated become :
    SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006]
    Thanks for your help.
    G.OM.

  • MDX Filter Expression

    Hi,
    I am trying to get a filter expression to work.  I am trying to create a filter that will choose the current year.  This will be part of a filter condition that will be a YTD filter.  I am trying to get the year part working first.  Here is what I have so far.  I get this database error:
    A database error occured. The database error text is: Failed to execute MDX query. Reason: Invalid MDX command with ). (WIS 10901)
    Here is the MDS statement:
    <FILTER EXPRESSION="FormatNumber(Year(CurrentDate());'####')">
    <CONDITION OPERATORCONDITION="Equal">
    <CONSTANT CAPTION="1"></CONSTANT>
    </CONDITION></FILTER>
    Thank you for your help,
    Aaron

    I figured out the issue.  I cannot use formatnumber() Year() and getdate() in MDX.  I am using BO over SAP BW.  
    What I was trying to do is create a filter to automatically calculate the current month and year for a YTD filter.  I found out that the MDX YTD() function can be used but the function does not know the current date, so you have to use a prompt to have the user enter the current date.  If there is another way I am up for suggestions.
    Thank you
    Aaron

  • How to find out the projects with status "Invalid"?

    I'm new to Oracle Projects -OP. We are on 12.0.4. This' my new job.
    I have a task of "Remove projects with status 'Invalid' ".
    Questions:
    How to access the OP forms to verify the existent of the invalid projects?
    What are the PA tables having the status info -- I mean those showing the status with 'Invalid'?
    Thanks A lot.
    an apps dba

    I could not find a sample for the DELETE_PROJECT. I have coded the delete project by modifying the sample of the CREATE_PROJECT.
    -- delete a project with the status INVALID shown in pa_project_statuses.project_status_name
    --set serveroutput on size 20000
    DECLARE
      -- Variables needed for API standard parameters
      l_api_version_number          NUMBER := 1.0;
      l_commit               VARCHAR2(1) := 'F';
      l_return_status          VARCHAR2(1);
      l_init_msg_list          VARCHAR2(1) := 'F';
      l_msg_count               NUMBER;
      l_msg_index_out          NUMBER;
      l_msg_data               VARCHAR2(2000);
      l_data               VARCHAR2(2000);
      l_pm_product_code          VARCHAR2(10);
      l_responsibiity_id          NUMBER;
      l_user_id               NUMBER;
      l_pm_project_reference     PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
      l_pa_project_id          PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
      API_ERROR               EXCEPTION;
    BEGIN
    -- GET GLOBAL VALUES
      select user_id, responsibility_id
        into l_user_id, l_responsibiity_id
        from pa_user_resp_v
       where user_name = 'J23N';          -- need to get from Apps
    --SET GLOBAL VALUES
        pa_interface_utils_pub.set_global_info(
        p_api_version_number     => 1.0,
           p_responsibility_id     => l_responsibiity_id,
           p_user_id          => l_user_id,
        p_msg_count          => l_msg_count,
           p_msg_data          => l_msg_data,
           p_return_status          => l_return_status);
    -- PRODUCT RELATED DATA
      l_pm_product_code := 'R_INVALID';           -- can be user defined
    -- PRODUCT DATA (PROJECT_IN_REC_TYPE)
       l_pm_project_reference.pm_project_reference := null;
       l_pa_project_id.pa_project_id := 1001;
    --INIT_CREATE_PROJECT
      --pa_project_pub.init_project;
      dbms_output.put_line('Before delete_project');
    --DELETE_PROJECT
      pa_project_pub.delete_project(
         p_api_version_number => l_api_version_number,
         p_commit                    => l_commit,
         p_init_msg_list         => l_init_msg_list,
         p_msg_count                => l_msg_count,
         p_msg_data                  => l_msg_data,
         p_return_status         => l_return_status,
         p_pm_project_code       => l_pm_product_code,
      p_pm_project_reference => l_pm_project_reference,
      p_pa_project_id         => l_pa_project_id 
    -- Check for errors
      if l_return_status != 'S'
      then
        raise API_ERROR;
      end if;
      dbms_output.put_line('Deleted Project Id: ' || l_pa_project_id.pa_project_id);
      --dbms_output.put_line('Deleted Project Number: ' || l_project_out.pa_project_number);
      Commit;
    --HANDLE EXCEPTIONS
    -- Get the error message that were returned if it did not complete sucessfully
      EXCEPTION
      When API_ERROR then
        dbms_output.put_line('An API_ERROR occurred');
        if l_msg_count >= 1
        then
          for i in 1..l_msg_count loop
            pa_interface_utils_pub.get_messages(
              p_msg_data      => l_msg_data,
              p_encoded     => 'F',
              p_data           => l_data,
              p_msg_count      => l_msg_count,
              p_msg_index_out => l_msg_index_out);
            dbms_output.put_line('error message: ' || l_data);
          end loop;
          rollback;
        end if;
      When OTHERS then
        dbms_output.put_line('An error occured, sqlcode = ' || sqlcode);
        if l_msg_count >= 1
          then
          for i in 1..l_msg_count loop
            pa_interface_utils_pub.get_messages(
              p_msg_count      => l_msg_count,
              p_encoded     => 'F',
              p_msg_data      => l_msg_data,
              p_data           => l_data,
              p_msg_index_out => l_msg_index_out);
            dbms_output.put_line('error message: ' || l_data);
          end loop;
          rollback;
        end if;
    END;Can anyone with the experience of PA_PROJECT_PUB make comment on this Delete Project block? On the struncture level is it correct?
    I run it and get
      pa_project_pub.delete_project(
    ERROR at line 48:
    ORA-06550: line 48, column 3:
    PLS-00306: wrong number or types of arguments in call to 'DELETE_PROJECT'
    ORA-06550: line 48, column 3:
    PL/SQL: Statement ignored
    Please make your comment on the structure (the logic)  of the delete project before providing the advice on the debug.
    I would like to make sure the logic is correct first.
    TIA

Maybe you are looking for

  • Microsoft word documents and removing policy.

    Can DocumentManger class can be used to remove security policy from secured Microsfot word docuemnts. Or protable protection library is the only way to deal with Microsoft word documents? I want my application to remove the strip off all security inf

  • Wage type not processed in payroll

    Hi friends in infotype 14 a wage type entry is made but that wage type is not reflecting in payroll. please help  in solving this.. regards nikki gupta

  • ACR 4.6 and PSE6 Organizer still crashes

    I posted this a long time ago for ACR 4.5 and I'm gonna do it again for CR 4.6. Please read below I'm still having the same problem with ACR 4.6 (BETA). I'm experiencing the following problem when I download ACR 4.5 to be used with PSE6. The problem

  • InDesign CS4 treats corner effects differently than in CS3

    Hello, I need to fix 4000 inline graphic boxes because InDesign CS4 treats corner effects diiferently than in CS3. See the problem here: http://indesignsecrets.com/cs4-treats-rounded-corner-objects-differently.php Because the designers used this tric

  • Could not write installation information to disk. Contact applecare

    Hi everyone. I'm a foreigner so i'm not use English fluently. But i have a problem with my macbook, please help me.Any one have ocurred it and solved it?. I cant reinstall it because whenerver i try it show a message like:"Could not write installatio