Error in Decision Table using Analytic View

Dear experts,
I am trying to create a Decision table on an Analytic view. As per the HANA document guidelines, the Analytic view has one Calc. Attribute, the Action is created from a Parameter and Conditions are created from Analytic View column.
But no luck while activationg the Decision Table and facing below errors. Has anybody gone through such scenario. Please suggest if I am missing something.
Message :
XML Parser error: ; Decision Table XML Parser Error: attribute 'ce-id-refs' of element 'av' is missing
XML Parser error: ; Decision Table XML Parser Error: actionVal is NULL
XML Parser error: ; Decision Table XML Parser Error: actionNode is NULL
HANA Version is 1.0 SPS8 Rev80
Thanks in advance,
~Papil

Hi,
I have resolved this issue by performing following steps.
1. Exported Decision Table Data into XL.
2. Removed the action variable.
3. Added again the same parameters as Action
4. Imported XL file of Decision table.
5. Validated and Activated. It worked.
regards,
Shweta

Similar Messages

  • Simple Count using Analytic view and Odata

    Hi Experts,
    I have an analytic view based on one table and Odata services on top of it.
    Now i want to include three measures just simple count with group by,
    just for this i ddint want to go for calc view. Please help me how to achieve this using analytic view and Odata script.
    Thanks,
    Devi.

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error when using Analytic view with Input Parameters

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error while using Analytic view with BO explorer

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • How to change data in decision table using excel file in operating system?

    Hello, BRF Experts
    I now brf + for the first time in the current project is being developed.
    Now, project has been facing a big problem.
    Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
    So, I was tested, but can not change data in decision table.
    [ error message : system is not change allowed ].
    The operating system itself to the current system setting is immutable and check it
    : changes and transports for client-specific object -> no changed allowed
    : cross-client object changes -> no changes to repository and cross-client customizing object.
    Decision table in the operating system can update the details if I want to know what to do.
    Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
    Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PM

    Hi ,
    Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
    Please refer the link-
    [BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
    Hope this helps.
    Thanks,
    Ajay

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • Error in Restricted Column of Analytic View

    Hi,
    I created a Analytical view and performed join between the tables. All the data has been populated successfuly.
    I restricted for the Column PER UNIT SALES PRICE based on the attribute value MATERIAL_NUM = 25. I do get an error when i validate the current view. Errors are displayed below for your reference and the screen shot of Data Preview Analytic view is placed below the errors.
    Message :
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Analytic View: nn'PER UNIT SALES PRICE' is an invalid value(7)nnSQL: transaction rolled back by an internal error: column store error: <?xml version="1.0" encoding="utf-8"?><createCubeResult version="1.0"><status><message>The scenario XML is not valid</message><errorCode>2112</errorCode></status><details><errors><detail><element>cubeSchema -> cubes -> cube (_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap) -> measures -> measure (MONITOR_PERUNITSALES) -> formula</element><code>7</code><message>'PER UNIT SALES PRICE' is an invalid value</message></detail></errors></details></createCubeResult>nnCreate OLAP Scenario statement: CREATE OLAP SCENARIO '<?xml version="1.0" encoding="utf-8"?><cubeSchema version="3" operation="createHanaCube"><cube name="_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap" registerCubeForApsFlag="true" registerCubeForSqlApsFlag="false"><cubeTables><cubeTable name="ID403381:CUSTOMER" type="d-table"/><cubeTable name="ID403381:CUSTOMER_FACT" type="f-table"/><cubeTable name="ID403381:MATERIAL" type="d-table"/></cubeTables><joinConditions><joinCondition name="JOIN_CUSTOMER_FACT_CUSTOMER_1" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="CUSTOMER ID"/><partner2 table="ID403381:CUSTOMER" column="ID"/></joinCondition><joinCondition name="JOIN_CUSTOMER_FACT_MATERIAL_2" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="MATERIAL NUM"/><partner2 table="ID403381:MATERIAL" column="MATERIAL NUM"/></joinCondition></joinConditions><joinPaths><joinPath name="PATH_CUSTOMER_1"><joins><join name="JOIN_CUSTOMER_FACT_CUSTOMER_1"/></joins></joinPath><joinPath name="PATH_MATERIAL_2"><joins><join name="JOIN_CUSTOMER_FACT_MATERIAL_2"/></joins></joinPath></joinPaths><dimensionAttributes><dimensionAttribute name="SALES REP ID"><columnMappings><columnMapping name="SALES REP ID" technicalName="SALES REP ID" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REP ID" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="SALES REVENUE"><columnMappings><columnMapping name="SALES REVENUE" technicalName="SALES REVENUE" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REVENUE" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ID"><columnMappings><columnMapping name="ID" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ID" type="key" table="ID403381:CUSTOMER" column="ID" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$NAME"><columnMappings><columnMapping name="NAME" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$NAME" type="key" table="ID403381:CUSTOMER" column="NAME" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$AGE"><columnMappings><columnMapping name="AGE" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$AGE" type="key" table="ID403381:CUSTOMER" column="AGE" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS"><columnMappings><columnMapping name="ADDRESS" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS" type="key" table="ID403381:CUSTOMER" column="ADDRESS" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY"><columnMappings><columnMapping name="SALARY" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY" type="key" table="ID403381:CUSTOMER" column="SALARY" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM"><columnMappings><columnMapping name="MATERIAL_NUM" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM" type="key" table="ID403381:MATERIAL" column="MATERIAL NUM" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME"><columnMappings><columnMapping name="MATERIAL_NAME" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME" type="key" table="ID403381:MATERIAL" column="MATERIAL NAME" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute></dimensionAttributes><measures><measure name="QUANTITY SOLD" table="ID403381:CUSTOMER_FACT" column="QUANTITY SOLD" aggregationType="sum" isVisible="true"/><measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures><constraints/></cube></cubeSchema>'n
    The below displayed are the Data Preview of the Analytic view
    ANALYTICAL VIEW OUTPUT
    ID
    NAME
    AGE
    ADDRESS
    SALARY
    MATERIAL_NUM
    MATERIAL_NAME
    SALES REP ID
    SALES REVENUE
    QUANTITY SOLD
    PER UNIT SALES PRICE
    6
    Dinesh
    18
    Kerela
    2,829.34
    53
    TOLL
    267
    2660 EUR
    6
    5
    12
    Matthews
    41
    UP
    28,282.24
    25
    TRIMAS
    170
    1145 EUR
    9
    31
    10
    Thomas
    19
    Bihar
    27,282.21
    35
    CORES
    109
    1757 EUR
    11
    4
    I need guidance to proceed further!!!
    Thanks and regards
    Sanjay

    One quick question:
    The measure definition as shown as:
    <measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures>
    Can you please check and confirm the data type for the Calculated measure.
    Regards,
    Ravi

  • Dynamic binding of items in sap.m.Table using XML views

    Dear SAPUI5 guru's,
    Let's start by saying I'm an ABAP developer who's exploring SAPUI5, so I'm still a rookie at the time of writing. I challenged myself by developing a simple UI5 app that shows information about my colleagues like name, a pic, address data and their skills. The app uses the sap.m library and most of the views are XML based which I prefer.
    The data is stored on an ABAP system and exposed via a gateway service. This service has 2 entities: Employee and Skill. Each employee can have 0..n skills and association/navigation between these 2 entities is set up correctly in the service. The data of this service is fetched from within the app using a sap.ui.model.odata.ODataModel model.
    The app uses the splitApp control which shows the list of employees on the left side (master view). If a user taps an employee, the corresponding details of the employee entity are shown on the right (detail view).
    Up till here everything is fine but I've been struggling with my latest requirement which is: show the skills of the selected employee in a separate XML view when the user performs an action (for the time being, I just created a button on the detail view to perform the action). After some hours I actually got it working but I doubt if my solution is the right way to go. And that's why I'm asking for your opinion here.
    Let's explain how I got things working. First of all I created a new XML view called 'Skills'. The content on this view is currently just a Table with 2 columns:
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
      controllerName="com.pyramid.Skills" xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Skills"
           showNavButton="true"
           navButtonPress="handleNavButtonPress">
      <content>
      <Table
       id="skillsTable">
      <columns>
      <Column>
      <Label text="Name"/>
      </Column>
      <Column>
      <Label text="Rating"/>
      </Column>
      </columns>
      </Table>
      </content>
      </Page>
    </core:View>
    The button on the Detail view calls function showSkills:
    showSkills: function(evt) {
      var context = evt.getSource().getBindingContext();
      this.nav.to("Skills", context);
      var skillsController = this.nav.getView().app.getPage("Skills").getController();
      skillsController.updateTableBinding();
    Within 'this.nav.to("Skills", context);' I add the Skills view to the splitApp and set its bindingContext to the current binding context (e.g. "EmployeeSet('000001')"). Then I call function updateTableBinding in the controller of the Skills view which dynamically binds the items in the table based on the selected employee. So, when the ID of the selected employee is '000001', the path of the table's item binding should be "/EmployeeSet('000001')/Skills"
    updateTableBinding: function(){
      var oTemplate = new sap.m.ColumnListItem(
      {cells: [
              new sap.m.Text({text : "{Name}"}),
              new sap.m.Text({text : "{Rating}"})
      var oView = this.getView();
      var oTable = oView.byId("skillsTable");
      var oContext = oView.getBindingContext();
      var path = oContext.sPath + "/Skills";
      oTable.bindItems(path, oTemplate);
    Allthough it works fine, this is where I have my first doubt. Is this the correct way to bind the items? I tried to change the context that is passed to this.nav.to and wanted it to 'drill-down' one level, from Employee to Skills, but I couldn't manage to do that.
    I also tried to bind using the items aggregation of the table within the XML declaration (<Table id="skillsTable" items="{/EmployeeSet('000001')/Skills}">). This works fine if I hard-code the employee ID but off course this ID needs to be dynamic.
    Any better suggestions?
    The second doubt is about the template parameter passed to the bindItems method. This template is declared in the controller via javascript. But I'm using XML views! So why should I declare any content in javascript?? I tried to declare the template in the XML view itself by adding an items tag with a ColumnListItem that has an ID:
                    <items>
                        <ColumnListItem
                        id="defaultItem">
                        <cells>
                            <Text text="{Name}"/>
                            </cells>
                            <cells>
                            <Text text="{Rating}"/>
                            </cells>
                        </ColumnListItem>
                    </items>
    Then, in the updateTableBinding function, I fetched this control (by ID), and passed it as the template parameter to the bindItems method. In this case the table shows a few lines but they don't contain any data and their height is only like 1 mm! Does anyone know where this strange behaviour comes from or what I'm doing wrong?
    I hope I explained my doubts clearly enough. If not, let me know which additional info is required.
    Looking forward to your opinions/suggestions,
    Rudy Clement.

    Hi everybody,
    I found this post by searching for a dynamic binding for well acutally not the same situation but it's similar to it. I'm trying to do the following. I'm having a list where you can create an order. On the bottom of the page you'll find a button with which you're able to create another order. All the fields are set to the same data binding ... so the problem is if you've filled in the values for the first order and you'll press the button you'll get the same values in the second order. Is it possible to generate a dynamic binding?
    I'm going to post you a short code of what I'm meaning:
    <Input type="Text" value="{path: 'MyModel>/Order/0/Field1'}" id="field1">
         <layoutData>
                    <l:GridData span="L11 M7 S3"></l:GridData>
               </layoutData>
    </Input>
    As you can see I need to set the point of "0" to a dynamic number. Is there any possibility to reach this???
    Hope you can help
    Greetings
    Stef

  • Table used in view

    Hi all,
    How can i get tables uses uinformation in view as hiererchy order.
    example.
    Table name : Employee
    I want to know in which view this table is using and also other view name which is using earlier view too.
    Example
    1. view A is created on table Employee
    2. View B is created on view A
    3. View C is created on View B .
    output should be
    view affected for employee table
    A
    B
    C
    Thanks in advance
    Tnaks & regards
    Deb

    debasishghosh wrote:
    Can you please send me the querySELECT [column list] FROM ALL_DEPENDENCIES;
    What to put in [column list] is left as an exercise for the student. Clues can be found be reading the very good description of ALL_DEPENDENCIES in the fine Reference Manual.
    =================================================
    I don't want to be flippant or rude, but if people want to be professionals in ANY field, the first knowledge they need to acquire is how to locate AND USE+ the fundamental reference materials for that profession. And the most important trait, the one for which they are really hired, is the ability to do independent research, and having a modicum of curiosity that would drive one to do that research. We don't mind helping newbies, and even the most experienced person on this board will run into something they are not familiar with, or occasionally just require a second set of eyes to look at something. But a professional+ needs, above all, a willingness and capability to check the docs. A professional isn't necessarily someone who has all the answers at their fingertips or has a full understanding about every arcane subject in their field. It certainly isn't someone who has an encyclopedia full of memorized answers but little understanding of how it all fits together. It's someone who knows where to find the answers when needed, how to recognize them when he sees them. It's less about knowing than it is about attitude. Everything you asked can be answered in the Oracle Concepts Manual at tahiti.oracle.com. You should bookmark that site. You were told the name of the view that has the information you seek. It is not an unreasonable assumption that anyone who comes to this forum knows how to write simple SQL. It is also NOT unreasonable to expect a a professional to be able to take a clue like that and use it. A professional does NOT expect to be spoon-fed everything.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • RABAX state error on Decision Table

    I'v receive this message when i try to create a DT.
    An exception in the Formula & Derivation Tool occurred because of content errors
    Afbrekingssoort: RABAX_STATE
    ABAP-oproephiërarchie:
    Method: CONVERT_DB_STRING_TO_TIMEPOINT of program CL_FDT_DATE_TIME==============CP
    Method: CHECK_ of program CL_FDT_CONSTANT===============CP
    Method: CHECK of program CL_FDT_CONSTANT===============CP
    Method: IF_FDT_TRANSACTION~CHECK of program CL_FDT_MAINTENANCE============CP
    Method: IF_FDT_TRANSACTION~CHECK of program CL_FDT_MAINTENANCE============CP
    Method: IF_FDT_TRANSACTION~CHECK of program CL_FDT_MAINTENANCE============CP
    Method: DISPLAY_MESSAGES of program /1BCWDY/7303W0RX67HZTJLLL28V==CP
    Method: IWCI_FDT_WD_CHECK_MSG_LIST~DISPLAY_MESSAGES of program /1BCWDY/7303W0RX67HZTJLLL28V==CP
    Method: CHECK of program /1BCWDY/7303R6YQRS4ZMK10IIYR==CP
    Method: IF_ACTION~CHECK of program /1BCWDY/7303R6YQRS4ZMK10IIYR==CP
    I'v created a function, END_GE_BEGIN,  to compare two dates with the result as boolean. This function is activated.
    Then i create a decision table, END_IS_VALID with the result of type boolean. Two columns, END_GE_BEGIN and END (date field).
    First row in decision table END is initial and the the boolean is true.
    Second row END_GE_BEGIN if true boolean is true.
    On the check or the activate i receive this error. Multiple times.
    It looks like that the error is triggered by the check END (date type) is initial.
    How can i check if a date is initial?

    I have the exact same error.
    Could you please update this thread with solution and eventual OSS note?
    Also Carsten: Do you have a release date for Netweaver 7 EHP2? Should be out by now but can't find any confirmation on that.
    Thanks a lot!
    Martin Jonsson

  • Tables used in Views, Trigger

    Hi,
    Please let me know the query to find the tables used for creating a view and database trigger.
    Thanks and Regards.

    Hi,
    {sorry but your question is unclear "we don't use a query to create..."
    if you want to:
    to create a view:
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10759/statements_8004.htm
    to create a trigegr
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10759/statements_7004.htm#i2235611
    to check existing views:
    {code}
    select * from all_views
    to check existing triggers:select * from all_triggers

  • How to maintain  data in tables using maintenace view of the tables in ECC6

    Hi,
    I have  two table  SBUSPART (Business partner) and STRAVELAG (Travel agency).
    SBUSPART  is foreign key table while STRAVELAGE is a reference table.  The relationships is :
            SBUSPART-MANDANT          =     STRAVELAGE-CLIENT
            SBUSPART-BUSPARTNUM    =     STRAVELAGE-AGENCYNUM
    now, I create a maintenance view ZVI_HT_PARTNER in which SBUSPART is primary table and STRAVELAGE is secondary table. I have also created maintenace interfaces by generating maintenance modules in function group zht_fg. Authorization group is SUNI  and maintenance type is one-step, the number maintenace screen is 100.
    Now I want to maintain the data in tables SBUSPART and STRAVELAGE together in the maintenace view. If i want to enter a new partner dirctly I have to enter it in table SBUSPART first, only then could I enter the corresponding data in STRAVELAGE.
    in older version I easyly do this by the way: in maintenace screen of zvi_ht_partner ( in se11) I choose:  system/ services/table maintenace/Enhance.Tab.maintain.
    but in ECC6 when I choose:  system/ services/table maintenace, there is no Enhance.Tab.maintain instead there are two options Extended table maintenace and View cluster maintenace.
    So in this case I don't know how to tackle this problem, Please help me if you have a solution. 
    Thanks,

    Hi,
        I suppose 'Extended table maintenace ' would be same as 'Enhance.Tab.maintain'.
    Regards,
    Himanshu

  • Error Handling in tables using ABap Webdynpro

    Hi All,
    I am new to this ABAP webdynpro programming. I have a small question. I am using a table control in one of my iview. I need to check some validations on some columns of this table. Let's say I have a table with 3 columns A,B and C. 
    Case 1 : Whenever any user enters values in C which is greater than A i want to raise an error message saying "The Value is greater than A". The user shouldn't be allowed to enter anyother inputs before correcting the same.
    OR
    Case 2: If the user enters 10 rows in the table and the 5th row contains the error. How can i highlight that row or field which contains the error.
    Your inputs will be valuable to me.
    Regards,
    Pravesh.

    Hi,
    Get the elements of the node for which you table is bound.
    Loop through the context element set.
    get the record for that context attribute and check the column A and column B value and throw
    the error using the report_error_element_message when there is error.
    Check this sample code -
      DATA:
        lt_attr_list type STRING_TABLE,
        ls_attr_list type string.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
    DATA: lit_elementset type WDR_CONTEXT_ELEMENT_SET,
    lis_element type ref to IF_WD_CONTEXT_ELEMENT,
    ls_data type <<strucure type>>.
        CALL METHOD <<nodename>>->GET_ELEMENTS
          RECEIVING
            SET = lit_elementset.
        LOOP AT  lit_elementsetINTO  lis_element.
    lis_element->get_static_atributes->
    importing = ls_data.
    if ls_data-columnC GT ls-data-columnA.
    lr_msg_manager->report_element_error_message->
    message_text = 'Column C canot be gretaer than column A'
    element = lis_element
    attributes = lt_attr_list <<Populate the attributes table for which errors are to be shown>>
    endif.
    clear: ls_data, lis_element.
    ENDLOOP.
    Regards,
    Lekha.

  • Dynamic binding of items in sap.m.Table using JS views

    HI,
    I am developing a master detail page for a Purchase Order application. In master page, i display the list of Purchase Orders & on clicking the PO, i should display the detail page.
    We use different ODATA models for Master & detail page. I am able to successfully list the POs in master page & i am struggling on the part where i have to pass the selected PO number to the new ODATA service URL & then display the details in a table.
    Below is the code i use on TAP of Purchase order from master page:
    tap: function(oEvent)
          sap.ui.getCore().byId("PODetailstable_nodata_id").setVisible(false);
          var oContext=oEvent.getSource().getBindingContext();
          var odataModel_PO_detail = new sap.ui.model.odata.ODataModel(detailServiceUrl,false,  "dev_sde", "28aug@2013");
          odataModel_PO_detail.setCountSupported(false);
          var tappedPONumber= oContext.getProperty("PONumber");
          var path = "/POHeaderSet('"+tappedPONumber+"')/HDRtoITM";
          PO_DetailsPage.setBindingContext(oContext);
          sap.ui.getCore().byId("po_details_table_id").setModel(odataModel_PO_detail);
          sap.ui.getCore().byId("po_details_table_id").bindContext(path);
          sap.ui.getCore().byId("po_details_table_id").setVisible(true);
    And below is the code of my Detail page & the table: I set the bindcontext with new path at "tap" function in master page, i also do bindaggregation for the table with the new path.
    The issue is i am able to HIT the new service URL, but no data is displayed. There is also a demo application on the same, but w/o source code it doesnt help me much in resolving this issue.
    var PODetailstable_nodata = new sap.m.Table("PODetailstable_nodata_id",{title : "No Data"});
      var po_details_table =  new sap.m.Table("po_details_table_id", {
      inset: true,
             headerText: "table for Detail page",
             columns: [
                       new sap.m.Column({
                           header: new sap.m.Label({ text: "PO Number" })       }),
                       new sap.m.Column({ header: new sap.m.Label({ text: "Vendor" }) }),
                       new sap.m.Column({
                           header: new sap.m.Label({ text: "Vendor Name" })  }),
      var oTemplate = new sap.m.ColumnListItem({
                cells: [
                        new sap.m.Text({ text: "{PoNumber}" }),
                        new sap.m.Text({ text: "{Vendor}" }),
                        new sap.m.Text({ text: "{VendorName}"})
      po_details_table.bindAggregation("items", {
             path:"/POHeaderSet('"+"{PONumber}"+"')/HDRtoITM",
             template: oTemplate
      var PO_DetailsPage = new sap.m.Page("PO_DetailsPage_id",
      // title : "Purchase Order Details",
      title :  "{PoNumber}",
      content : [
               PODetailstable_nodata,
               po_details_table,
        footer : new sap.m.Bar
           contentRight: [
                          new sap.m.Button({
                          text : "Approve",
                          //press: oController.approve_pr,

    I have modified my code by referring another forum,
    on Tap, i now invoke a method from controller to update the binding i.e to pass the clicked PO number to the context.
    updateBinding: function(oEvent)
      alert("updatebinding");
      var detailServiceUrl = "http://incas1054.ind.cldsvc.accenture.com:8000/sap/opu/odata/sap/ZPURCHASE_PAY_SRV";
      var odataModel_PO_detail = new sap.ui.model.odata.ODataModel(detailServiceUrl,false,  "dev_sde", "28aug@2013");
      odataModel_PO_detail.setCountSupported(false);
      var tableView=sap.ui.getCore().byId("po_details_table_id");
      tableView.setModel(odataModel_PO_detail);
      alert(tableView.getModel());
      var oContext = tableView.getBindingContext();
      //tableView.bindContext("/POHeaderSet");
      alert(oContext);
      var path=  oContext.sPath + "/HDRtoITM";
      var oTemplate = new sap.m.ColumnListItem({
                cells: [
                        new sap.m.Text({ text: "{PoNumber}" }),
                        new sap.m.Text({ text: "{Vendor}" }),
                        new sap.m.Text({ text: "{VendorName}"})
      tableView.bindItems(path, oTemplate);
    Now, i see the PO number is set in the context, but i want to set a different context for details page as i hit different URL, Can anyone suggest on how to set a different context for details page & then pass the PO number from master to detail page?

  • Error seen in table used for creating report being sent to BW

    we use customised table in creting a delivery report which is then being sent to BW. In <u>order</u> there is only one line item as well as in the <u>delivery</u>.. the item is warehouse managed material that is why in delivery, it reflects there that it picks from several bins/pallets to fulfill the ordered quantity... but when we run the order in a custimised table to create a report for BW.. it has more than 10 line items (only one material) compared to only one line item in <u>order</u>... all the line item in table does not fulfill the ordered quantity but they are in descending order... Is this normal/wrong? Why did it happen?
    please help..
    kind regards,
    Pablito

    please advise if this query is not posted in the correct thread... thanks

Maybe you are looking for

  • External display no longer detected

    I was prompted to install the iMacEFIUpdate1.7 & ThunderboltSoftwareUpdate1.1 automatically this evening and after the update my external display is no longer being detected, before the update everything was working fine.  Its connected from one of t

  • Error in delivery date

    Hi Gurus, while creating sales order I am entering Delivery date in item details as 31.12.2011, but it is giving error message that "delivery date is outside our factory calender 01".But I checked in that plant factory calender it is having 1996 to 2

  • Simple Question: Why does this code not exit properly?

    This code is pretty simple. All I want to do is load and play a sound file in an application, but this code to load the sound file does not exit properly. I know that some resources must be allocated which I need to deallocate in order to shut down t

  • Software raid 1 drive(s) failed

    Curious on what to do with a RAID 1 Drive (s) failure? I've searched the community and cannot find similar issue/answers. Configuration: One 1TB OS & App Drive is fine Two 3TB RAID 1 Drives for Video scratch are fine Two 2TB RAID 1 Data Drives are my

  • Creating an outline/stroke around a graphic

    I have a small graphic with a width of 170 and I simply want a 1 pixel stroke to be on all 4 sides of the graphic. I selected the whole graphic and it creates a selection around it, though how do I now turn that selection into a stroke? Thanks!