How to provide links to Table rows
Hi
I hava a scenario like this
i will be displaying BAPI Data in the Table in web dynpro application in one view.
if i click each line item (row) in the table. it will show the all the row values in a seperate view in PDF form format with Print option
So please let me know the solutions.
regareds
mmukesh
Hi lohitha,
Thanks for your reply.
My issue is as follows
first
i will display valus from BAPI in a Table in the Start View.
in the table on column should contain link.
second
when i click on that link that particular row values should display in a PDF form and in a seperate view. (REsult view)
this is my issue
so please let me know the solution for this
regards
mmukesh
Similar Messages
-
How to provide Link to Column in the Table
Hi
please let me know how to provide link to one column in the table.
i have two views
in one view i will dispaly emp id and emp dept in a table
i have to provide link to the emp id column table
when i click emp id column then it will fire other view and display remaining details of emp.
so please let me know how to provide link to column in the table.
Solution is urgent
regards
mmukeshHi Mukesh,
You can insert LinkToAction column in table.you can have two cattributes in Valuenode one is of type boolean and other is of type string(empno)
you can create eventhander in that you can fire plug to seconf view where you can displays the emp details
With Regards
Naidu -
In ER DIagram using toad( how can i link two tables)
Hi,
Any Toad expert can guide me that how can i link two tables in Toad in ER Diagram to show the relationship between two tables.
ThanksHi,
I hope there is foreign key relationship in tables, if so then you can click on "Find table dependencies" icon which will draw lines between them.
~Vinod -
How to join two internal table rows in alternative manner into one internal table?
How to join two internal table rows in alternative manner into one internal table?
two internal tables are suppose itab1 & itab2 & its data
Header 1
Header 2
Header 3
a
b
c
d
e
f
g
h
i
Header 1
Header 2
Header 3
1
2
3
4
5
6
7
8
9
INTO itab3 data
Header 1
Header 2
Header 3
a
b
c
1
2
3
d
e
f
4
5
6
g
h
i
7
8
9Hi Soubhik,
I have added two additional columns for each internal table.
Table_Count - It represents the Internal Table Number(ITAB1 -> 1, ITAB2 -> 2)
Row_Count - It represents the Row Count Number, increase the row count value 1 by one..
ITAB1:
Header 1
Header 2
Header 3
Table_Count
Row_Count
a
b
c
1
1
d
e
f
1
2
g
h
i
1
3
ITAB2:
Header 1
Header 2
Header 3
Table_Count
Row_Count
1
2
3
2
1
4
5
6
2
2
7
8
9
2
3
Create the Final Internal table as same as the ITAB1/ITAB2 structure.
"Data Declarations
DATA: IT_FINAL LIKE TABLE OF ITAB1. "Final Internal Table
FIELD-SYMBOLS: <FS_TAB1> TYPE TY_TAB1, "TAB1
<FS_TAB2> TYPE TY_TAB2. "TAB2
"Assign the values for the additional two column for ITAB1
LOOP AT ITAB1 ASSIGNING <FS_TAB1>.
<FS_TAB1>-TABLE_COUNT = 1. "Table value same for all row
<FS_TAB1>-ROW_COUNT = SY-TABIX. "Index value
ENDLOOP.
"Assign the values for the additional two column for ITAB2
LOOP AT ITAB2 ASSIGNING <FS_TAB2>.
<FS_TAB2>-TABLE_COUNT = 2. "Table value same for all row
<FS_TAB2>-ROW_COUNT = SY-TABIX. "Index value
ENDLOOP.
"Copy the First Internal Table 'ITAB1' to Final Table
IT_FINAL[] = ITAB1[].
"Copy the Second Internal Table 'ITAB2' to Final Table
APPEND IT
LOOP AT ITAB2 INTO WA_TAB2.
APPEND WA_TAB2 TO IT_FINAL.
ENDLOOP.
"Sort the Internal Table based on TABLE_COUNT & ROW_COUNT
SORT IT_FINAL BY ROW_COUNT TABLE_COUNT.
After sorting, check the output for IT_FINAL Table, you can find the required output as shown above.
Regards
Rajkumar Narasimman -
UIX: How to add linked view table columns to the Read-only table
Hi
I have two tables
T1: ID, STAFF_ID, NOTE
T2: STAFF_ID, USERNAME
I have created corresponding entity objects (E1, E2), views (V1, V2), association A(E1->E2 as *..1 using STAFF_ID) and viewlink VL(V1->V2 as *..1 using association A).
My model in AppModule looks like
V1
----V2 via VL
Now I have single UIX page in which I drop V1 as Read-only table. The table displays columns correctly: ID, STAFF_ID, NOTE
What I want is to add a column STAFF_ID from the V2 into this table. I have tried to drop it into the table but when the page is run it does not display anything in that column. It has to do something with binding.
I have done similar test with dropping V1 as read-only FORM and then added STAFF_ID from V2 as messageTextInput and everything is rendered correctly.
Anyone knows how to do the same thing but with table?Yes that is true but I would like to give another example where this may not apply.
Say I have 3 tables
CLIENT(INDIVIDUAL_ID,...)
ADDRESS(ADDRESS_ID,...)
ADDRESS_HISTORY(ADDRESS_ID, INDIVIDUAL_ID,BEST_ADDRESS)
where ADDRESS_HISTORY is intersection table in CLIENT to ADDRESS many to many relationship.
Suppose I have VO2 that consists of ADDRESS and ADDRESS_HISTORY entities (corresponding association exists) and user needs to add new address for the selected customer in VO1 (made from CLIENT entity). There are several issues here:
1) An input form made out of VO2 must contain an entry for BEST_ADDRESS flag but since it will be read-only, seems that this approach may not work. However, I found a post re:Updating view objects with multiple entities that provides workaround this.
2) In that case assume that I use DBSequence to automatically add ADDRESS_ID when user inputs new record in this input form. I am using DB Trigger on ADDRESS table and have selected ADDRESS_ID in ADDRESS entity as DBSequence. Now observe that VO2 would contain another ADDRESS_ID from ADDRESS_HISTORY entity which has to be automatically populated with the same value. How?
In a nutshell my question relates to the problem how to automatically populate intersection table when new record is added to the detail. But the trick is that some attributes of the intersection table must be inserted by the user in the form..
Please advise -
How to create links in table view
Hi
I am working in IC WebClient.
Can any body guide me how to create link on particular column of the table view and How can we navigate to another page by clicking on this link ?
I am filling the internal table (for table view) by z tables. I do not have context node for that.
Points will be rewarded.use Iterators. In the itarator you can create any BSP Object you wish to.
in the method RENDER_CELL_START of the interface IF_HTMLB_TABLEVIEW_ITERATOR
METHOD if_htmlb_tableview_iterator~render_cell_start.
DATA: lo_text TYPE REF TO cl_htmlb_textview,
lo_link TYPE REF TO cl_htmlb_link,
lv_link_click TYPE string,
lv_link TYPE string,
lv_dim TYPE string,
lv_pernr TYPE string.
FIELD-SYMBOLS: <dat> TYPE ANY.
lv_link = 'info.htm?pernr='.
lv_dim = 'left=300,top=220,width=620,height=200,menubar=0,scrollbars=yes,resizable=no'.
row_ref = p_row_data_ref.
CASE p_column_key.
WHEN 'PERNR'.
CREATE OBJECT lo_link.
lo_link->id = p_cell_id.
lo_link->text = get_column_value( p_column_key ).
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lo_link->text
IMPORTING
output = lv_pernr.
CONCATENATE `window.open('` lv_link lv_pernr `' , '` lo_link->text `', '` lv_dim `');` INTO lv_link_click.
lo_link->text = lv_pernr.
lo_link->onclientclick = lv_link_click.
p_replacement_bee = lo_link.
WHEN OTHERS.
CREATE OBJECT lo_text.
lo_text->id = p_cell_id.
lo_text->wrapping = 'FALSE'.
lo_text->text = get_column_value( p_column_key ).
lo_text->design = 'STANDARD'.
p_replacement_bee = lo_text.
ENDCASE.
ENDMETHOD.
How to use Iterators.
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
Hope this helps.
Cheers
Amandeep
<i><b>Reward points for each helpful answer.</b></i> -
How to I link the table MARC with all the forecast table, eg MPOP
Hi,
Can anyone tell me how do I link the marc table with all the forecast structure?
I am trying to create an abap extraction query
thanksHi,
Please check the below links..
MM43: Forecast Values Table
http://www.se80.co.uk/sapfms/m/mass/mass_marc_read.htm
http://www.se80.co.uk/sapfms/m/mass/mass_marc_merge.htm
and also try with FM - MATERIAL_FORECAST_DISPLAY..
Hope it may help you...
Kuber -
How to make a whole table row be read at once?
Hi,
I want to make a whole table row be read at once by screenreaders if the table is not editable?
I tried to use "getAccessibleSelection" and return a own implementation which returns the number of columns at "getAccessibleSelectionCount".
But if "getAccessibleSelectionCount" return anything else than 1, the method "getAccessibleSelection" is never called.
Does anybody have a idea or a suggestion to solve this problem?
Thanks in advanceHi AJL,
If you mean a table of data values in the Data Portal, i.e. a list of channels, then yes you can do it. In that case you should just register load the channels you want to be read-only. You can do this interactively by right-clicking on the data file in question and select "Register data". You can also double-click on the file to select individual channels to load or register. Programmatically, this looks like
Call DataFileLoad(DataFilename, DataPluginName, ImportAction)
Setting ImportAction = "Register" will register load the channels. If dragging and dropping the data file loads it correctly, then you can set DataPluginName = "". Otherwise, you can specify there which DataPlugin to use for the import process.
You can also programmatically selectively load some of the channels from the data source:
Call DataFileLoadSel(DataFilename, FileImportFilter, ImportSelection, ImportAction)
The "ImportSelection" parameter works just like the CNo() function in DIAdem:
"GroupName/ChannelName"
"GroupName/[ChannelIndex]"
"[GroupIndex]/ChannelName"
"[GroupIndex]/[ChannelIndex]"
If, on the other hand, you mean a read-only table in the REPORT panel, your options are limited, though you can do that with a SUDialog.
Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
How can i mark a Table Row in WebDynpro ?
Hi at all,
i have a problem in my WebDynpro View
In my WebDynpro-View there is a Table (Information about Invoice documents, around 50 lines) and the User can select all this rows by click with a mouse.
Another way for selecting rows is on the Top of the Table (left side) there is a Context-Menü, where the User can click by mouse "Select all rows". For this i have created a Action "onSelect" and can select all Elements from the Table.
But the main problem here is, that i cant "mark" the rows in the Table, the User can't see, that all rows is marked!
(Example "Screenshot" of my description is attached)
How can i solve this problem?
With best thanks
ErsinHi Ersin,
To select all records for processing in your WebDynpro table , the table node property Initialize Lead Selection drop down should be marked no. also Cardinality Property must be 0..N & Selection 0...N.
If multiple selections can be made in the Table, that is, if selectionMode = multi or multiNoLead, or ifselectionMode=auto and dataSource has selection cardinality 0..n or 1..n, the user can select or deselect rows using the menu. If the user chooses Select All , the lead selection stays. If no lead selection is set, no lead selection can be set when Select All is chosen. If user chooses Deselect All , the lead selection is deleted too.You can find an example in the system in component WDR_TEST_TABLE under Selection.
Best Regards
Priyesh Shah -
How to determine length of table row in sql 2005
How, other than by doing the addition on my own, can I detemrine the length of a row in a table?
TIA,
barkingdogEDM,
Is this still an issue?
Thank you!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
How do i keep my table row selected when i come back to the same page?
I have have the following issue.
I have a table with many rows. I select one row and click the button which takes me to another page. From that page when i click the back button which takes me back to previous page but the problem is that the row is no longer selected. How would i fix this problem?
Any idea, suggestion or sample code will be appreciated.
Thanks
NahmanHere you go..
1. To Get the selected Rows:
DATA: TV TYPE REF TO CL_HTMLB_TABLEVIEW,
LT_FORMS TYPE TIHTTPNVP,
TABLE_EVENT TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request
name = 'tableView'
id = 'tvX' ).
IF tv IS NOT INITIAL.
table_event = tv->data.
clear selectedRowIndexTable.
selectedRowIndexTable = table_event->PREVSELECTEDROWINDEXTABLE.
if table_event->event_type eq CL_HTMLB_EVENT_TABLEVIEW=>CO_ROW_SELECTION.
read table selectedRowIndexTable with key table_line = table_event->ROW_INDEX
transporting no fields.
if sy-subrc eq 0.
delete selectedRowIndexTable index sy-tabix.
else.
field-symbols <i> type i.
append initial line to selectedRowIndexTable assigning <i>.
<i> = table_event->ROW_INDEX.
endif.
endif.
ENDIF.
ENDIF.
<b>Page attribute:</b>
selectedRowIndexTable TYPE INT4_TABLE
2. To store the selected row index into Server side cookie...
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE
EXPORTING
NAME = 'select_row'
APPLICATION_NAME = 'NONE'
APPLICATION_NAMESPACE = 'NONE'
USERNAME = SY-UNAME
SESSION_ID = 'NONE'
DATA_VALUE = selectedRowIndexTable
DATA_NAME = 'sbsp'
EXPIRY_TIME_REL = 3600.
3. Get the value from Server side cookie..
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
EXPORTING
NAME = 'select_row'
APPLICATION_NAME = 'NONE'
APPLICATION_NAMESPACE = 'NONE'
USERNAME = SY-UNAME
SESSION_ID = 'NONE'
DATA_NAME = 'sbsp'
CHANGING
DATA_VALUE = selectedRowIndexTable.
Hope this will help you...
<b>* Reward each useful answer</b>
Raja T -
How to delete the source table rows once loaded in Destination Table in SSIS?
Data Base=kssdata
Tables= Userdetails having 1000 rows
Using SSIS:
Taking A
OLE DB Source----------------->OLE DB Destination
Am Taking 200 rows in Source table and loaded into Destination table once
Constraint: here once 200 rows are exported in destination table , that 200 rows are deleted in source table
repeat the task as source table all the records are loaded into Destination table
After that am taking another 200 rows in source table and loaded into Destination tableProvided you've a sequential primary key or audit timestamp (datetime/date) column in the table you can do an approach like this
1. Add a execute sql task connectng to source db with below statement
SELECT COUNT(*) FROM table
Store the result in a variable
2. Have another variable and set it to below expression
(@[User::CountVariable]/200) + (@[User::CountVariable]%200 >0? 1:0)
by setting EvaluatesExpression as true. Here CountVariable is variable created in previous step
3. Have a for loop container with below settings
InitExpression
@NewVariable = @CounterVariable
EvalExpression
@NewVariable > 0
AssignExpression
@NewVariable = @NewVariable - 1
3. Add a data flow task with OLEDB source and OLEDB Destination
4. Use source query as
SELECT TOP 200 columns...
FROM Table
ORDER BY [PK | AuditColumn]
Use PK or audit column depending which one is sequential
5. After data flow task have a execute sql task with statement as below
DELETE t
FROM (SELECT ROW_NUMBER() OVER (ORDER BY PK) AS Rn
FROM Table)t
WHERE Rn <= 200
This will make sure the 200 records gets deleted each time
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to pass the selected table row data from popup to source view
Hi ,
I have requirement of passing the data from popup view to source. , searching some data in popup view and displaying in table,
Like i am passing some input and click search button will display the data in table, when select any of the row in the table and click on the another button , i should be able to pass the select row to the source view and also should close the popup.
When i implement , In the popup windiw, when i enter the customer no, and click on search button, it is closing the popup itslef. not able to see the data in popup.
Can u tell me what is that soultion.
Regards
VijayHi Harsimran
Thanks for the reply,
1) Source view
In "Source View" i have input field called Customer_no. But, the end user will not have any idea , what customer no to enter. so i am searching the customer no in the popup view.
1) Customer_no( This is an inputfiled , to get the customer no from the popup view)
2) Get Customer NO( This is a button to call the popup view)
"Get Customer NO" This button action will open the popup view.
In this popup, i have
1) Input field (To enter the search term)
2) Search (To seach the customer no based on the search term)
3) Table ( To display the search data)
4) Button in Table tool bar called "Select" .( To close the popup view after selected the required data in the table to pass it back to the source view).
so in the popup view what happening is, when i click on the search button itself , it is closing the popupview by transfering the first row of the tbale ,with out select the required row in the table.
i need to close the window after click on the "Select" button in the toolbar , after selected the required row data to trasfer in the table.
Can u pelase tell me what are the modifcations i need to do it.
Regards
Vijay -
How to provide link for the topics of Webhelp in the Context Sensitive Help in RH10 ?
I am using Robohelp 10 and currently working on Context Sensitive Help in which there is a need to create certain links for the topics that are present in Webhelp. My area of concern is that we can't use map id's since CS Help and Webhelp had already been created and it will be a mess for developers too since they had to relook their code. While generating output we don't give js files to our developers, we just give them folders and css file. Considering all these points, is there any way to provide a link for a topic of Help in Context Sensitive Help? Anyone, Please Help !
I'm not clear on what the question is. You seem to want CSH and to not use Map IDs. That leaves other methods to which Willam has already pointed you. Essentially it's Map IDs or URLs. So are you asking if there is a method that does not involve the developers? No as it is they who must create a link of some sort from a screen to a topic.
You also say you don't give JS files, just folders and CSS. The Rh WebHelp output contains many files and folders and you have to give the whole output or the help will not work properly. Exactly what are you giving them?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How to provide link in OIM 11g requestor screen
Could you please anyone suggest how we can put a link in OIM 11g request screen ? When we click the link it should open a diffrent window.
Thanks in advance for your help.Have you been through http://download.oracle.com/docs/cd/E21764_01/doc.1111/e14309/uicust.htm#BABBIIFH
Something to start with.
HTH,
BB
Maybe you are looking for
-
Problem installing Mac OSX 10.5 on new HDDc
Hello, I needed to replace my HDD and I'm trying to install Leopard on my new blank HDD. I have the install disk that came with my macbook, but it's not working. I insert the install disc and restart the macbook holding down the C key. It starts from
-
Invoice number against incoming payment in report
Dear Experts, I want to know if we can add the reference of the column invoice number in the customer ledger of SAP against the incoming payment number which we have taken the against those invoices. these are on account payments done which are reco
-
Links get broken after adding photo gallery
I discovered a strange problem when creating a website with photo gallery. I have a menubar with static links to all pages of the website which worked perfectly. Now after adding a photo grid the links of the my menubar are not clickable at all. This
-
Nokia 6131 to be switched off for data transfer
I have a strange problem. I have 2 Nokia 6131 (NFC enabled) phones in my hand .In the first phone I have an application(Midlet) which writes data to the internal mifare of the same phone. Now I brings the second phone closer to first one.I want secon
-
HP C6280 all-in-one Photosmart printer
Does the above referenced printer (HP C6280) have wireless capabilities? Thank you.