Table: show the line of lead selection
Hello,
I have a table with 691 lines, showing 20 lines per page. Is it possible to change the lead selection for example to line 60 and also jump to line 60. So that the table automatically shows the 3rd page with the line 60 - 80.
I can change the lead selection with:
node_trefferliste->set_lead_selection_index( index = 60 ).
Lead selection is set correctly to 60 but the table still shows the lines 1- 20.
best regards
Stefan
Hi Stefan,
What ever you have done is correct. One thing you need to change is whenever you change the lead selection for you table you need to scroll ALV also. For that get the lead selected entry and set it as frst_visible_row for you ALV table. Please do this coding in the respective view controller method WDDOMODIFYVIEW(). so that you will get exact result what you are expecting.
I hope i make you clear.
Warm Regards,
Vijay
Similar Messages
-
What is the use of Lead selection?
Hi Experts
i am new to webdynpro.
i would like to understand what is the use of lead selection and why do we need it?
Thanks
Abdul Hakim
Moderator Message: Basic WDA question. Please search before posting
Edited by: Suhas Saha on Aug 14, 2011 1:11 PMLead selection is used to set the values to the context element.
if you have a table and if you use lead selection , it will show that particular record highlighted.
If you are using a drop down and used a set_lead_selection method for that, you can actually set the desired option in the list of entries.
Basically you have an option , to set the desired entry in the list of options.
if you are using a get_lead_selection method, you can get the selected value to the context element. -
Get the line from my selection screen
Hii,
I need help. If I select a value from the value help, I also want to read the line from my itab to make changes in this line and save this line bank to the dtab. I have no idea how to get the the row from my internal table that will appear in my selection selection screen.
Could anyone give me some advices how to get the line from my selected value?
AT SELECTION-SCREEN ON VALUE-REQUEST FOR CREATION.
SELECT * FROM flight INTO TABLE lt_flight.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'UPDATE_DATE'
value_org = 'S'
TABLES
value_tab = lt_flight
return_tab = return_tab
IF SY-SUBRC = 0.
ENDIF.
ls_dynpro_value-fieldname = 'CREATION'.
thanks and regards,
JohnHi,
Try to pass parameter to FM like this:
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'SAKNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_SAKNR' "dynpro field
window_title = 'AR Account'
value_org = 'S'
TABLES
value_tab = lt_skat_f4 "internal table contain values
EXCEPTIONS
parameter_error = 1
no_values_found = 2
others = 3.
Hope this help.
BR,
Thien -
Is there a way to just show the lines that have keys on?
Hi,
Is there a way to just show the lines of the pararameters that have keys on?
Thanks.Select all of the layers in the timeline, and hit the "u" key.
-
Show the line after draw with IMAQ selectline.vi in the image display
hi..
may i know how to show the line on the image display after i draw the line by using the IMAQ select line.vi??
i use the the IMAQ select line.vi for drawing few couples of lines...but i don know how to show it all on the image display...
because i will forget the location of the lines after i draw it by IMAQ select line.vi...
thanks for help..Hey,
Just use IMAQ Draw.vi
Christian -
Obtain a reference to the element at lead selection
I am trying to obtain a reference to the element at lead selection of a context node (Node name is Person) of component controller, i had a method initPerson() to initialize the values, so when i am writting
IPersonElement personEl = wdContext.nodePerson().currentPersonElement();
to obtain a reference , at IPersonElement it is giving me an error
IPersonElement can not be ressolved or is not a type !
can anyone help me on this
Thanks in advance.
Rashmi.
Edited by: Rashmi Gupta on Nov 6, 2008 11:40 AM
Edited by: Rashmi Gupta on Nov 6, 2008 11:41 AMHi
Usse
view/controllerName.IPersonElement
Just like given example below
IPublicAllInOne.IFlight_List_1Element ELE = wdContext.nodeFlight_List_1().createFlight_List_1Element(new Bapisfldat());
PS: Orgine the import files. by pressing control+Spece button at time
or
controlSpeceO
Thanks -
I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.
Thanks for you reply.
But actually I don't want to show the \ (backslashes) to the user in my text box.
Ok let me elaborate this problem little more.
I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark).
Regards,
Waqas Ahmad -
How to chop the line "25 rows selected"
Hi all,
I am creating reports by connecting Oracle from a shell script using spool,however everything is ok.
how do I chop the line "25 rows selected" at the end of report?
Any suggestion!!!!set feed off
before the query. -
Count on a header table including the line data also in the query
Hi,
I have a requirement to develop a report which shows the metrics on supplier. I need to find the total PO's for this supplier that are matched to invoice
report has to have toatl#ofpo's, #invoice, total_inv_amt and total_po_amt, total_tax_amt with item numbers also with in a time period. So my question is how can we achieve this I have this below query whih gives all the data but not sure how to get the counts with this. Any ideas
SELECT hou.name,
pov.vendor_name,
api.invoice_num,
api.invoice_id,
invoice_date,
gl_date,
api.invoice_currency_code,
apid.line_type_lookup_code inv_line_type,
apid.description inv_description,
apid.amount,
apid.unit_price inv_price,
amount_paid,
apt.name payment_terms,
payment_status_flag,
apc.check_number,
apc.check_date,
poh.segment1 po_num,
poh.creation_date po_creation_date,
por.creation_date po_rel_creation_date,
por.release_num,
pol.line_num,
mc.segment1 category_name,
(select msi.segment1 item_num
from inv.mtl_system_items_b msi
where msi.inventory_item_id = pol.item_id
and msi.organization_id = 1) item_num,
pol.item_description po_item_description,
poll.need_by_date,
pol.unit_price po_price,
poll.quantity,
poll.quantity_cancelled,
poll.quantity_received,
poll.quantity_billed
FROM ap.ap_invoices_all api,
hr_operating_units hou,
ap_terms_tl apt,
ap.ap_invoice_distributions_all apid,
po.po_distributions_all pod,
po.po_vendors pov,
po.po_headers_all poh,
po.po_lines_all pol,
po.po_line_locations_all poll,
po.po_releases_all por,
ap.ap_checks_all apc,
ap.ap_invoice_payments_all apip,
-- inv.mtl_system_items_b msi,
apps.mtl_categories_b mc
WHERE apt.term_id = api.terms_id
AND hou.organization_id = api.org_id
AND TRUNC (poh.creation_date) BETWEEN :p_start_date AND :p_end_date
AND api.invoice_id = apid.invoice_id
AND apid.po_distribution_id = pod.po_distribution_id(+)
AND pov.vendor_id = api.vendor_id
AND poh.po_header_id(+) = pod.po_header_id
AND poll.line_location_id (+) = pod.line_location_id
AND pol.po_line_id (+) = pod.po_line_id
AND apip.check_id = apc.check_id(+)
AND apip.invoice_id(+) = api.invoice_id
AND mc.category_id(+) = pol.category_id
AND por.po_release_id (+) = pod.po_release_id
AND pov.vendor_id = 1Hi,
The sounds like a job for the COUNT function. That's all I can say with any confidence based on the information you gave.
If you want to see, on each row of output, how many of the rows with the same value of api.invoice_num have a value for poh.po_header_id, the you can use
COUNT (poh.po_header_id) OVER (PARTITION BY api.invoice_num) AS po_cntI could give much better directions if you could post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data. I realize that's hard with so many tables. Even seeing some of your current output, and the desired output, might help. -
Which table shows the tablespace in read-only mode or read-write mode.
HI All,
Can someonoe help me out to find which table shows whether the a tablespace is in Read-only mode or Read-write.
Thanks,
naveenTry this:
select tbl.table_name, tb.tablespace_name, TB.STATUS from dba_tablespaces tb, dba_tables tbl
where TB.TABLESPACE_NAME = tbl.TABLESPACE_NAME and TB.TABLESPACE_NAME = 'YOUR_TABLESPACE_NAME' and tbl.table_name = 'TABLE_NAME' -
Playback shows the beginning slide when selection is in the middle
Does anyone know why or how to change the playback timeline to stop showing the beginning slide when you let go from viewing a video recording ? Example. video record something go down to the time line, select the red playhead bar in the middle. you should be able to see the recording fine. then let go of the player head and it stops where you let go but shows the first slide. How are you to edit this? Why does it do this? Please help..
Thank you
ElleHi there
Let me put my psychic skills to the test. (Closing eyes here and saying hmmmmmmm)
You recorded the project using Full Motion Recording. (To confirm this, look at your Film Strip. You should see a video camera icon superimposed in the lower right corner of the slide thumbnail.)
Sorry, but that's not the mode we normally recommend for capturing. Yes, I know it's an option, but so is filling the back seat of your sedan with bags of concrete. Just because it's possible doesn't mean that in reality you should.
This is simply one of the issues you will have to deal with when working with this recording type. The only workaround is to scrub the playhead and observe, then position other elements as you desire. Rinse and repeat until placement works like you want.
Other than that, you may wish to consider switching to slide by slide recording mode. That's the mode where Captivate shines. Full motion isn't Captivate's forte.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
How do I show the first record as selected on the first load of a Master/Detail html page?
I have been looking for any reference to setting a selectrow onload or defaultrow and it seems all references to answers lead to missing pages or examples.
I have created a master detail page using the insert spry function in DW5. I have had no trouble making it work or changing the css to show a selected column 0 (master) after the first click, but I would like to see the default first row shown as selected.
I am such a javascript noob I need an example if possible.
I followed Greg Rowis's example on AdobeTV "Creating A Progressive Enhancement" but this was not addressed.Thank you for the reply but it was not quite what I needed.
My html div was/is
<div spry:region="ds1" class="MasterContainer">
<div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" >{Industry}
</div>
</div>
With the col0 renamed Industry and this works when I click (select) an Industry I get a change in my display to show which row is selected.
See http://dev.workway.com/
What I want is to have About Workway selected on page load. It is the default display but is not shown selected.
Thanks again for your help. -
Select list with URL redirect - not showing the same display value selected
Hi
I have several select lists with URL direct on my page similar to this
for p6_queries item the LOV is
select QUERY_NAME display_value, 'f?p='
|| :APP_ID
|| ':'
|| 6
|| ':'
|| :APP_SESSION
|| '::::p6_queries:'||QUERY_ID||'#qtables' return_value from .....
I am assigning a return value to the item p6_queries. But when the page is redirected, I dont see the selected value as selected in the list. Instead it goes to the null display text. Can any one help me on this?The problem is that your setting the item value to value of query_id. But your select list has the value of each item as the URL so it will never match and show you what you selected.
The best thing to do may be to change your select list from a "redirect to URL" to "submit page", make it a normal query:
select QUERY_NAME display_value, QUERY_ID return_value ...
Then create an "On Submit: Before Computation" branch:
Target Type: URL
URL Target: f?p=&APP_ID.:6:&SESSION.::&DEBUG.::P6_QUERIES:&P6_QUERIES.#testing
Condition Type: Request = Expression 1
Expression 1: P6_QUERIES -
Where does Runtime NPE show the line of error?
When I compile my program it's fine. However, when I try to run it I get a NullPointerException error in the command prompt. Does it say which line the error is occuring on?
What about reading whatever is written on the console?
-
HT1237 Why doesn't the "Available Firmware" table show the iMac8.1?
The "Available Firmware" table at http://support.apple.com/kb/HT1237 does not list the iMac 8.1 (mid 2008). Anyone know why?
A number of Macs have none. No firmware update is necessary.
Maybe you are looking for
-
Migration mysql to Oracle thr SQL Developer 1.2
Customer using SQL Developer migrate MySQL4.1.22 database data to Oracle 9206 database. Capture and Convert completed but it hang during generate stage. Customer follow steps published in otn.oracle.com. 1-2 steps Create a schema and user, named "clu
-
http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/1bd84580-ed93-4a3 0-b1c1-60329b47a628 http://forums.adobe.com/thread/532521?tstart=0 the above two links talk about a problem that's becoming increasingly common for people i ta
-
New Macbook Pro with Lion, how best to migrate?
Hi All I'm currently running a Macbook with Snow Leopard, but tomorrow I'll be ordering a new Macbook Pro. What is the best way to migrate my old computer files over to the Macbook Pro given that it will be loaded with Lion? I will have the Macbook a
-
Can we change skin for menus??
Can we change skin for menus, or doing some changes on firmware??
-
Sharing itunes on mine and my wifes laptops??
I have backed up my cd collection to an external hard drive, I also have two laptops in my house, (1 for home (my wifes), 1 for work whilst I'm away) we both have itunes on our laptops, can we share this external library on either computer??