Warning in WD ABAP Table - Master Column Mapping deprecated
Hi ,
I am getting a warning 'Master Column Mapping deprecated' in a WD ABAP component while activating it .
Can anybody suggest what I have to do to solve this issue .
Best Regards
Sid
Hi,
Could you please tell me how to take Row Arrangement in Master Column?
Cheers
Harkesh Dang
Similar Messages
-
Table with tree view on master column
Hi,
I'm trying to generate a table with tree view on the master column and I get the table values from an RFC.
The problem is that I need to control some properties like "expanded" or "isLeaf" and I can't add the value attributes to the model node to control the rows.
Any ideia on how to overcome this (what i think is a) problem?
Thanks for the help.
Pedro BarbosaHi Subramanian,
Maybe I didn't explain myself right. I also followed that tutorial with success but in this case i have on my custom controller:
-MyNode (model node)
- Output
- MyTable
- attribute 1 (model attribute)
In my context/view controller the only way i can map that node is by using a model node referecing "MyTable" but this way i can't add any of my attributes to same level of the attributes (is that the ideia right?).
I also tried to recreate the structure in the view with value nodes and value attributes with the same type as the model attributes and then bind them but i always get "Incompatible context element type".
Am i missing something?
Pedro Barbosa -
Selection in table with Master Column
Hi,
can anybody explain me how selection works in table with MasterColumn (TreeByNestingTableColumn)?
I've created a table with several columns and the "master" one behaves differently from others.
First of all, leaf elements of master column are not clickable (i.e. I don't receive notification "onLeadSelect" from the table, when user clicks in the cell of leaf element of the column). With expandable elements I receive loadchildren event and can react on selection.
I'm using TextView as cell editor, will try LinkToAction, may be it will resolve situation, but it's rather workaround as solution
Second, getLeadSelection doesn't work anymore for the table - it works with indexes of top level elements only.
However onLeadSelect action brings me selected row number, which I somehow should map to the tree.
I.e. when I get "25" as selected element, I recursively traverse context node to find 25th element. Which is rather slow operation as for any selection I have to reiterate whole structure and I hope that visual appearance is similar to context element order.
May be there is simplier ways to get selected element by its index in "flat" list?
And one another strange thing: first click on the table sends me onLeadSelect "0", but highlight points to the element user clicked - not necessary first one.
Context node is "single" selection, initLeadSelect=true,
selection = 0..1 (with 1..1 setTreeSelection doesn't work - method I want to use to be able to select a node in hierarchy on my own)
all quite similar to other tables I have, which works well. Just the problems with the table, where Master Column is used.
Thank you!
Best regards,
Nick>Valery's proposal was to perform reverse traverse from current element to root and summarize parent element indexes.
It seems to work:
in method, which sets selection I applied
// we need to know index of the element not in whole context, but in scope of table-relevant node
int index = getIndexInContext(selElement, wdContext.currentXXXElement());
IContextElement curContext = wdContext.currentContextElement();
int firstVisibleRow = curContext.getTableFirstVisibleRow();
int visibleRows = curContext.getTableVisibleRows();
if (index < firstVisibleRow || index > firstVisibleRow + visibleRows) {
curContext.setTableFirstVisibleRow(index);
and method getIndexInContext looks as:
private int getIndexInContext (IWDNodeElement element, IWDNodeElement root) {
int index = element.index();
if (element == root) {
return index;
IWDNodeElement parent = element.node().getParentElement();
if (parent == null) {
// do whatever you like here for error diagnostic
myMsgMgr.reportException("Internal Error: getIndexInContext - element is not under passed root", false);
return 0;
// +1 - every level adds 1 (otherwise indexes of first children of hierarchy will be 0)
return index + getIndexInContext(parent, root) + 1;
Best regards,
Nick -
How to populate the master column in a table
Hi Experts,
I am trying to implement a hierarchy structure in a table. For that I have inserted a master column of TreeByNestingTableColumn type. The value which are getting displayed in a table are hard coded by me, but I am not able to understand how should I populate the values so that when the table initially appears, it should contain some data (which I hard code) and when I click the master column, it should expand and display value according the master column selected(which I again hard code).
Please help me in achieving it.
Regards
ArjunHi,
Go throgh the tutorial "Creating a Tree Structure in a Table" in the blow link.
Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
In these example only the souce of data changes as per your requriement. In the examples they are reading data from java class.
1. First you need to create a value node with (Parent Id, Boolean Type: isLeaf, Expanded, ChildernLoaded), attributes.
2. Then you have to create one recursive node under that Value node by selecting that node as reference.
3. As given in the example create one method called addChildern(Node, ParentId).
4. Now in the wdDoInit method call this method by passing the Value node and "ROOT" as parent Ids
5. In addChildern method if parentId is ''ROOT" then populate all the root elements in the parent node.
6. Now root elements will be populated.
7. When user clicks on any of the root element then invoke the action loadChildern(this should be binded to Master column) and pass recursive node of that parent element and the parenId (as given in the exmaple).
8. Based on this parentId now populate the chids in addChildern method.
See this thread: Helpful:
Re: Tree implementation in webdynpro project
Regards,
Charan
Regards,
Charan -
Hi, I am really new to OBIEE 10g.
I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
The view has 3 columns: branch_id, branch_code, branch_desc.
Now I want to set up the Business model to map this physical table (view).
I created a new Business model
Added new logical table Dim_retail_branch
In the sources, added the vw_Dim_retail_branch as source table.
But in the Logical table source window, column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
What should I do here? Manually type each column?HI,
Just you can drag and drop the columns from physical layer to BMM layer.
Select the 3 columns and drag and drop it to the created logical column in BMM layer.
for more reference : http:\\mkashu.blogspot.com
Regards,
VG -
No master pages applied because MasterPageMaps table contains no mapping information
I use FM8 and DITA files to create my books. I have tired in the past to apply masters automatically but have not been able to. Now that I create books from xml, it is even more important to automate this process. I use structured FM and have deleted and re-created the StructMasterPageMaps in my file. I created a book that has my one test file so I can experiment quickly. In that file I have a Master page defined as Chapter_cover which I can apply manually no problem. In the StructMasterPageMap, I refer to the paragraph tag title.0 and the right-hand MasterPage Chapter_cover and set the range to Single.
When I then select the book and try to update the master pages (Update book->Master Pages->update), I get the error "No master pages applied because the MasterPageMaps table contains no mapping information.
I have searched the forum and the archive and found an instance similar to mine (Jun19/07), but no clear resolution was found. I have tried the suggestions made therein such as re-creating the MasterPages reference page, which I have done. And I am sure that I have typed them correctly (case sensitive etc).
What could be my problem? I could send the book since it consists of only one 2-page fm file.
Thanks in advance for any help,
KevinFurther to this problem, I found that if I create a brand new file, import the structure definitions and then refer to E:title in the StructMasterPage table, it will apply the Master page, but not when I refer to the paragraph tag title.0
So I see that I am close, but I cannot use the Title element since it is used by all the tasks in the real files. Only the title.o paragraph tag will flag the first page.
Does anyone have any suggestions why the p tag does not work while the element does?
I have tried defining E:title or title and p:title.0 or title.0 to see if that made a difference, but it did not.
Thanks again -
Insert master column on table not found in NW CE EHP1
I installed SAP Netweaver CE EHP1 sneak preview. I inserted the table UI element. I am trying to insert a master column in the table. But I was not able to find the option to insert master column from the context menu of the table in NW CE EHP1 sneak preview. I was able to do it with previous versions. I am not sure whether it is a bug on this version. Any help is appreciated.
ThanksGo to Context Menu of the table and select to insert Row arrangement then you see tree by nesting table column.
-
How to use Radiobutton Cell Editor in Table using Master Column
Hi Guys,
I have a Table that uses a Master Column. I need to have a field that uses a Radio Button type cell editor. A user should only be ably to select ONE row via the Radio Button at a time.
I have done all this but I only seem to be able to select multiple radio buttons instead of only one. It is like the radio buttons do not get "regognised" as a group. Could you please advise as I probably set the "keyToSelect" and "selectedKey" properties incorrectly.
tks
ChristiaanI think the following should work:
Context:
Rows (node,c=0:n)
--- rowIndex (integer)
selectedRowIndex (integer)
Bind the "selectedKey" property of the radio button (cell editor) to attribute "selectedRowIndex" (outside table data source node) and bind "keyToSelect" to attribute "Rows.rowIndex". Make sure that the "rowIndex" attribute will contain the index of the node element in node "Rows".
Armin -
Multiselection in Tables with Master Column
The use case is the following:
I have a table with a master column in which I display a tree. The table is bound to a dataSource with a recursive node.
I'd like to implement multiple selection for the rows of this table, but it doesn't work (even when making context node's selection 0..n).
Is there any work-around for solving this problem?Thanks for the suggestion.
But there is still problem with this:
I will have have two methods for selection of rows of the table - there will be standart one which is provided by webdynpro and additionaly I will have a column of checkboxes. It is not convinient form user-perspective. Furthermore I can't put columns on the left of the master column which is also a problem, the checkboxes should be situated in the firs column.
Regards, Vasil -
I am searching for HANA Live Content views column mapping to SAP tables document. Please let me know where can I find it.
Hi Srinivas,
I guess this is the same question as the one about the SD content, so my answer is the same:
if you have access to the HANA Live RDS documentation which comes as part of the so called Step-by-Step Guide you can find a document RDS_SHL_HANA10V5_Technical_Content_Mapping_EN_XX.xls in the folder structure. To get to this file you need to drill down this path:..RDS SBS Guides\HANA Live\V5\Serv_Enabled\RDS
In that file you find all the tables used in all the RDS content.
Regards
Miklos
Solution and Knowledge Packaging
SAP Labs -
Create master column in web dynpro table
hi,
Can any one guide me with the steps to be followed to create a mastercolumn.I have a table with 16 columns.Each column has its own header.I must give 4 different headers above these headers by grouping columns four by four.How can I do this.Which UI element should I use and how.
Thanks in advance.Hi,
Have a look at this threads
Table columns captions
Re: Webdynpro table freezing columns
WebDnpro Table + Scroll
Regards,
Saravanan K -
Master Column Sequence in Table
Hello,
Is there any way to move Master Column like TableTree to the second place and let a normal column have the first seat?
ThanksAlternatively:
SQL> select table_name,
trim (dbms_xmlgen.getxmltype ('select max(sal) m from ' || table_name).extract ('//text()')) max_sal
from user_tab_cols
where column_name = 'SAL'
TABLE_NAME MAX_SAL
BONUS
EMP 5000
2 rows selected. -
Source Rows to Target Column mapping
Hi Gurus,
Please guide me on the bellow issue,
Source Side tables
CUSTOMER_MASTER(master table)-Customer ID is primary key
CUSTOMER_ADDRESS(Child Table)-Multiple customer rows based on address type ,OFFICE,RESIDENCE etc.
Target Table
TRG_CUSTOMER-Customer ID is primary key. This target table has column for each address type like OFFICE_ADDRESS,RES_ADDRESS.
I have to hand off all the rows of CUSTOMER_MASTER to TRG_CUSTOMER,if multiple address are there for customer in CUSTOMER_ADDRESS table i have to transfer those values to respective target columns.
Could plz share idea to implement this in the inteface?
Thanks,
KumbarHi ,
I am using some of the column of both tables to map target table, In Target table we have columns OFFICE_ADDRESS_LINE1 to OFFICE_ADDRESS_LINE3,home_ADDRESS_LINE1 to home_ADDRESS_LINE3,but in the source table CUSTOMER_ADDRESS we have row for each type of address.How to do
this maping and tranformation ?
Please help me, -
I am trying ABAP for master data lookup in update rule.
Here is the scenario ---
There is a Master Data object MDABC with attributes A1 , A2 . I need to Map IO1 to A1 and IO2 to A2.
What should be the Start Routine and Update Routine . Please help with a working code.
Thanks>
sap_newbee wrote:
> Thanks Aashish ,
> Here is the code I am usind but Its not populating any result May be you could help me out in debugging
>
>
> Start Routine -
>
> DATA: BEGIN OF ITAB_MDABC OCCURS 0,
> MDABC LIKE /BIC/PMDABC-/BIC/MDABC,
> A1 LIKE /BIC/PMDABC-/BIC/A1,
> A2 LIKE /BIC/PMDABC-/BIC/A2,
> END OF ITAB_NMDABC.
>
> SELECT
> /BIC/MDABC
> /BIC/A1
> /BIC/A2
> FROM /BIC/PMDABC INTO TABLE ITAB_MDABC
> FOR ALL ENTRIES IN DATA_PACKAGE
> WHERE /BIC/MDABC = DATA_PACKAGE-/BIC/MDABC.
> ENDSELECT.
>
>
> In Update Routine for Infoobject IO1 The code Iam using is
>
>
> READ TABLE ITAB_MDABC WITH KEY
> MDABC = COMM_STRUCTURE-/BIC/MDABC
> BINARY SEARCH.
> IF sy-subrc = 0.
> RESULT = ITAB_MDABC-A1.
> ENDIF.
> RETURNCODE = 0.
>
> ABORT = 0.
>
> Please help.
> Thanks
Please use table in the select statement. Modifications in BOLD
Edited by: Ashish Gour on Oct 17, 2008 2:57 PM -
Cannot find Master Column in Outline view
Hi Guys,
We are using NWDS 7.1 Composition Environment SP05 for development.
I am trying to do a Tree control nested in a Table. I am at the point where I'm supposed to add the Master Column from the context menu in the Outline perspective - but it is not there! I mean there is no entry called "Add Master Column" or somehting like that.
What am I missing?
Thank you.
ChristiaanHi,
Following is the way to add a master column in CE
Right click on the table.
Select Insert-> Row Arrangement->Tree ByNesting Table column.
Regards
Ayyapparaj
Maybe you are looking for
-
Adobe creative cloud say i'm not connected to the internet, but I am
adobe creative cloud says i'm not connected to the internet, but I am
-
Transfer iTunes on External Hard Drive to new computer?
To save hard drive space on my laptop I have my iTunes collection (about 50 gig) on an external hard drive. When I try to move it to another laptop, the new laptop does not "see" the collection on the hard drive, even though I have pointed it to the
-
Dear All, We created a condition type (Calculation Type : A (percentage) ) and assigned access sequence and maintained in pricing procedure but later decided to change the calculation type to B (Fixed Amount) on this condition type. I am wondering, w
-
Solaris 10 upgrade from U3 to U8
Hi Gurus, I need to upgrade solaris 10 from U3 to U8, we tried a unsuccessful failure after creating a boot environment when we tried to upgrade from DVD 10/09 with command luupgrade -u BE -s /cdrom it complaint about a one file in some path (not sur
-
OWB Mapping involving Oracle External Table to Oracle Target Table.
Hi All, I created a mapping which involves External Table as source & oracle table as target. Following were steps followed. 1> Created Directory & External Table on oracle server 2> Attached Text file with ',' delimiter to the External Table. 3> Imp