Row repeater issue
Hi Experts!
Following is node structure
Project
|
--------User
|
-----------Task.
Repeater is repeated only project times but i need it to repeate user times.
Plz help!!
Mangesh,
if_wd_context_element - there is a method get_child_node... this will be useful to get child node reference..
ex.
lt_parent_node_elements..
loop at lt_parent_node_elements into ls_parent_elements..
lo_nd_child_node = ls_parent_elements->get_child_node( 'ND_CHILD' ).
"""" now you can make use of child node reference at index 1 of parent node..
lo_el_child_node = lo_nd_child_node->get_element( ). etc...,
endloop.
try, work around this..
Similar Messages
-
Hi All,
I am using a row repeater UI element to display the results of search. Once the results are displayed the user can navigate to a different page in the row repeater. Lets say the user navigates to page 5. Now when the user goes back and modifies the selection criteria, the row repeater still displays page 5. This time there might be no data in page 5. How can we go back to first page.
Thanks,
PoojaHello Pooja,
I didnt see any method available in the CL_WD_ROW_REPEATED to reset it. Alternative what I can think of is to reset the view elements. But I'm not sure whether this will have impact on you other UI elements. May be you can try this
1. create a member variable in Attributes tab (MR_VIEW) of type ref to IF_WD_VIEW
2. in the WDDOMODIFYVIEW, write the following code
if first_time = abap_true.
wd_this->mr_view = view.
endif.
3. in the search method or in the event handler method for search, call reset_view
wd_this->mr_view->reset_view( ).
this method will reset all the UI elements in the view
other alternative would be to place the Row_Repeater in a transparent container. And during search delete the old row repeater and create a new one and bind the data source.
BR, Saravanan -
Header Row Repeating Erratically
Hi,
I have a problem with a dynamic table using Adobe Lifecycle Designer 8.0 and Adobe Acrobat Professional 8.0.
The table starts with a header row and a single row. The user can add additional rows and the table flows onto multiple pages. Everything appears OK, but when EITHER the user goes back to page 1 or if the user closes and reopens the file, there can be multiple header rows repeated on page 1. Sometimes there might only be 2 header rows, but other times there can be upwards of seven header rows one on top of the other.
This is wrecking the layout and my head. Has anyone had similar problems or could give me a direction as to where I am going wrong.
Thanks in advance.
NiallHi,
I am facing the same issue.
My table header has 2-3 rows of data...the data is populated dynamically. The text fields are set to expand, so I have to make the subforms to flowed.
As soon as I set the subforms to Flowed...evrything overlaps on the second page.
Please help.
Regards
Neha -
Row chaining issue in Oracle 10g
Hello All,
I was seeing row chaining issue in one of our production DB. Row chaining was present in all tables having LONG RAW columns.
As of now I am not supposed to change these to BLOB/CLOB, so I did exp/imp to solve the issue. However, we are repeating this excercise once every quarter, and now it is time we put a permanent fix to it.
One of such tables has below storage parameters:
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 40K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
)Can I be advised what would be the tuning options in above? Note: All of these tables are in GB's.
For any inputs, please let me know.
Thanks,
SuddhasatwaSELECT table_name,
Round(( blocks * 8 ) / 1024 / 1024, 2)
"Physical Size (GB)",
Round(( num_rows * avg_row_len / 1024 / 1024 / 1024 ), 2)
"Actual Size (GB)",
( Round(( blocks * 8 ) / 1024 / 1024, 2) - Round((
num_rows * avg_row_len / 1024 / 1024 / 1024 ), 2) )
"Wasted Space (GB)"
FROM dba_tables
WHERE owner = 'SYSADM'
AND ( Round(( blocks * 8 ) / 1024, 2) - Round(
( num_rows * avg_row_len / 1024 / 1024 )
, 2) ) > 20
AND table_name IN (SELECT table_name
FROM dba_tab_columns
WHERE data_type IN ( 'RAW', 'LONG RAW', 'LONG' ))
AND table_name IN (SELECT table_name
FROM dba_tab_columns
WHERE data_type LIKE '%LONG%')
ORDER BY ( Round(( blocks * 8 ) / 1024, 2) - Round(
( num_rows * avg_row_len / 1024 / 1024 )
, 2) ) DESC; is the air inside the gas tank on your car considered "Wasted Space"?
would you car run any better if the size of the gas tank got reduced as gasoline was consumed?
Realize & understand that Oracle & does reused FREE SPACE without any manual intervention.
It appears you suffer from Complusive Tuning Disorder! -
RTF Header Rows Repeat in eBus BI Publisher (5.6.3)
Hi,
I have been struggling to get the Header Rows Repeat functionality working when generating RTF output with the eBus integrated BI Publisher - currently eBus 11.5.10.2 with ATG H RUP 7. The "How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12" Note (362496.1) doesn't provide anything more specific than 5.6.3. Based on the "Naming and Versioning" sticky note from Tim, I think this is equivalent to 10.1.3.2.
According to http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_misc_101333.htm, this functionality is not available until BI Publisher 10.1.3.3.3.
To "Overview of Available Patches for Oracle XML Publisher (embedded in Oracle E-Business Suite)" Note (1138602.1) does not list any stand alone patch which seems to be refer to this functionality.
Can someone tell me if this Header Rows Repeat in RTF output functionality available with the eBus integrated BI Publisher? Or do I need to log an SR?
theFurryOne
Edited by: thefurryone on Sep 14, 2010 5:01 PMHi Tim,
Thanks for that - the 7487412 readme doesn't say anything about the RTF header bug fix being included, but the Bugs Resolved by this Patch lists 6270261 (ER: RTF Output to support set Table Header Report, Table Row Keep-Together).
Patch # 7487412 is only available in R12, but with the specific ER number, I was able to find Note # 861915.1 (I couldn't it find with my keyword search) and this note indicates that 11i patch # 7702372 should resolve the problem for me in 11i (and it's readme explicitly documents 6270261 as being fixed by the patch).
Thanks again,
theFurryOne -
Deleting a row from a Row Repeater
Hi All,
How could i delete a row from a row repeater??????
I am using REMOVE_ELEMENT method from IF_WD_CONTEXT_NODE interface... Is this the correct way!!!!!!.
Is there anyother way to do the same?????
Best Regards.
Shafiq Ahmed Khan.Hi
first u get the index from the context element. with the help of the index u can get that particular element using get element.
then u remove the element .
check this code.
CALL METHOD context_element->get_index
receiving
my_index = lv_index.
CALL METHOD lo_nd_rcf_edu_det->get_element
EXPORTING
index = lv_index
receiving
node_element = lo_el_rcf_edu_det .
CALL METHOD lo_nd_rcf_edu_det->remove_element
EXPORTING
element = lo_el_rcf_edu_det
receiving
has_been_removed =
Declare a parameter context_element in the method of type if_wd_context_element
regards
chythanya -
I have a dynamic table that calculates the sum of all rows, no issue. I'm struggling with pulling out a subtotal though. I would like to have a check box in each row that flags those rows and gives the sum of their total. Any help would be greatly appreciated.
Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
var subtotal=0;
for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
nfSubtotal.rawVlaue=subtotal; -
Dynamically populating a row repeater
Hi,
I have a requirement wherein in the UI i have to populate a link with a delete icon for each of the selected(multiple via f4) records. This would be 0..n. The row reaptor should have 2 columns. The contents are generated on the fly as and when the records are selected. In the Webdynpro view we jst have a transparent container and a button.
Can anyone suggest how do we go about this? [I also tried using a row repeater ui element in the view but it actually repeats the same row :). ]
Regards,
AbhayI hope you already created table column with link_to_action UI element as cell editor and created another attribute in the context node which is binded to your table UI element.
You just need to bind the imageSource property with the newly created context attribute.
In the event handler of the onSelect of the table.
get the lead selected element and set the new attribute to value 'ICON_DELETE'
Abhi -
Oh Hi I have selected Optimize height by row content from Table and font tab and it shows all my text in activity name but when i saved the layout it changes back to keep current rows heights. Can any one tell me how do i fix this
Thanks in Advanced*793199 ,*
The "Row Height" issue is a common problem. Some things that affect my row height are:
* Not saving my layout after changing row height
* Notebook items in the gantt chart affecting the row height and may have to be manually widened to display all of the text or symbols
Row Height*
Optimize height by row content:* Indicates you want each row's height determined by its content. If you choose this option, type or select the maximum number of lines that should be included in each row.
Good luck and let me know how it turns out. -
DropDown by Key and Row Repeater
Hello,
I 've build a form inside a rowrepeater, inside the form there are several empty drop down by key.
The key value table of each dropdown by key belong to the selected country grouping (an input field with search help inside the form).
OnEnter event of the molga field, I call a BL to fill the key value table and get the index of the form (regarding to the dataprovider of my row repeater).
Here is the structure of my context:
CONTEXT _
|_CTX_COLL (0:N)
|_CTX_DROPDOWN (1:1)
* --- GET MOLGA --- *
* navigate from <CONTEXT> to <CTX_COLL> via lead selection
lo_nd_ctx_coll = wd_context->get_child_node( name = wd_this->wdctx_ctx_coll ).
lo_nd_ctx_coll->get_static_attributes_table( importing table = lt_ctx_coll ).
read table lt_ctx_coll into ls_ctx_coll index iv_index.
lv_molga = ls_ctx_coll-country.
* --- GET DROPDOWN NODE INDEX REFERENCE --- *
lv_idx_str = iv_index.
concatenate 'CTX_COLL.'
lv_idx_str
'.CTX_DROPDOWN' into lv_path.
condense lv_path no-gaps.
* navigate from <CONTEXT> to <CTX_DROPDOWN> via index selection
lo_nd_ctx_dropdown = wd_context->path_get_node( path = lv_path ).
lr_node_info = lo_nd_ctx_dropdown->get_node_info( ).
* --- SET DROPDOWN --- *
lt_value_set = wd_assist->get_priority( lv_molga ).
* set values (table) to context attribute
lr_node_info->set_attribute_value_set(
name = `PRIORITY`
value_set = lt_value_setwell ehrr
I see two completely different implementations
the context dropdown must be used with a drop down by INDEX
the value set must be used wth a dropdown by KEY
as you have a ddk, it uses the value set
furthermore, you set the value set on the dropdown context
try the index one
I'm not sure what you are trying to do, but try the following option
you have a node in which your dropdown field resides
make a subnode with the values for that field
fill the subnode depending on the selected country (don't forget to invalidate the node when the country changes)
bind a ddi to the dropdown values in the node
the value set is defined on node level, not on element level
so setting a different value set per element won't work i'm afraid
correct me if i'm rong
Edited by: Tom Van Doorslaer on Apr 3, 2009 3:48 PM -
Using Row Repeater - adding a remove row button
I have an input field on my view for users to enter Project Numbers along with an Add Button.
When the user enters a project number & clicks on the add button, I append that project to my row repeater. this is working fine.
In my Context, I defined my row repeater as having 2 attributes: project_num and rem_row.
I bound my row repeater to my context node. I wanted to use a Button element as my rem_row, so a user could click on the icon and I could remove that particular row.
However, I can't bind the Button to the rem_row attribute of my context.
is there a way to find out which row the user selects?what i've done is place a checkbox in the second field and evaluate that on the "on toggle" event. then delete the appropriate row.
this works, but i'd really like an icon there instead of a checkbox and "Remove Row" text -
Hi,
I would like to know how to use Row Repeater, UI Element, in WD. I want to create a layout for email where recipients can be more than one. so the Input field has to be accordingly set for input from user.
Regards
PiyushI agree with Silke, for this kind of requirement I prefer the multipane as well.
Online help for the RowRepeater:
http://help.sap.com/saphelp_nw70/helpdata/EN/44/93d3792e8c60d6e10000000a114a6b/frameset.htm
Online help for the Multipane:
http://help.sap.com/saphelp_nw70/helpdata/EN/df/da8b412bb5b35fe10000000a1550b0/frameset.htm
I'm afriad that unless you provide us with more specfics on where you are having problems, that is about all the help I can offer. -
Hi All,
I am having a requirment, where in, on action of a button i am displaying a pop up. In this pop up i am having search functionality & after retriving the data if click on OK button of pop up the data should be displayed on my first screen.
If this process repeats means if want to add more data how could i do that using row repeater??hi Mr Khan,
Well wht i understood from your requirement i am giving you following solution by considering that you know webdynpro abap .
Step 1: In first view you created a button ADD.
Step 2: After clicking your ADD button you call other window which will act as pop up and in this new window you embed a view in which you have your search crieteria and table result.
Step 3: Now in second window's view when you select particular row from the table again you have to close this windo and call the first view and pass this data ie lead select to the first view.
NOTE : for this solution the most important thing is you should knw how to migrate your data from one window to other window efficiently.
regards
pankaj -
Hello,
how can I reset a row repeater, when the user clicks on an action button, the row repeater should be intialized,
can anybody tell me how can I resolve this?
thank youInvalidate node bound to RowRepeater dataSource
ROWREAP_NODE->INVALIDATE( ).
Regards,
Nikhil Bose -
Rows repeating themselves, without incrementing row count
Well, here's my problem. As the title says, some of my data's repeating itself. I first thought it might come from loops, but it quickly became obvious that it wasn't the case. It's especially strange since my table count doesn't take in consideration the repeated lines.
Here's the part of my code that interests us :
While Not rs.EOF
package = New Package(cnn, CLng(rs.Fields("No_Package").Value))
nbModules = nbModules + package.get_nb_modules
dataset.item.AdditemRow("PACKAGE NO." & package.get_id)
dataset.item.AdditemRow("Has " & package.get_nb_modules & " modules")
dataset.item.AdditemRow("Date : " & package.get_date_creation)
dataset.item.AdditemRow("Actual nb of rows : " & dataset.item.count)
rs.MoveNext()
End While
It should get me something like this :
PACKAGE NO.X
Has X modules
Date : [some date]
Actual nb of rows : 3
[and so on]
But here's what I get :
PACKAGE NO.X
PACKAGE NO.X
Has X modules
Has X modules
Date : [some date]
Date : [some date]
Actual nb of rows : 3 [<-- odd]
[and so on]
If it's a known bug or issue, I'd really like to know how to solve it. In any case, I haven't modified any parameters regarding my fields, report or printer.
Thanks.
Edited by: carle_al on Apr 27, 2009 11:45 PMVisual Studio 2005 (version 8.0).
Crystal Report v10 (with the label Business Object, used in the studio). Can't tell the patch level though.
Window application.
In designer and preview everything goes just fine, as with the header and footer fields. My only problem goes with the "body" (not sure it's the right name, I use a french version).
Not sure neither of what you mean by on the fly. Once the program starts, I fill my dataset and send my report to a report viewer for testing. I checked how it behave when printed directly and it ain't got any better.
Here's the part where I send it to the CRviewer :
cr.SetDataSource(dataset)
CRviewer.ReportSource = cr
Nothing fancy.
Thanks.
Maybe you are looking for
-
How do I request a service for my phone? (SGS5)
Since I've gotten my phone in the beginning of May, I've been trying to figure out how to schedule text messages from the default application "Messages." I've found out that a lot of people that have Verizon do not know about this feature and it's ki
-
Hi just been to apple store as i am having trouble 1) updating new software 2) icloud wont back up phone due to lack of storage 3) I can't but extra icloud space due to the fact the phone is a replacement and itunes cant verify the bank details 4) wh
-
Is there any software which displays all form objects - tables, views, etc?
Dear friends, I need to know if we have some software product which opens an Oracle form and shows all objects (tables, views, procedures, functions, and so on) accessed by it. For each form, this software should show all operations made in each tabl
-
I get this message while trying to open ITune on my desktop. I click "ok" and then get another message: ITunes was not installed correctly. Please reinstall ITunes. Error 7 (Windows error 127). I downloaded and installed ITunes and still get these
-
Problems with Premiere Elements 10, please help!
Hello, I am in the process of editing some videos for the charity I work for using Premiere Elements 10 but I am encountering some problems... Firstly, Elements keeps crashing for no reason... It happened time after time when I was trying to edit a t