How to make the Pager for table view as non editable?
Hi,
I am using an HTMLB pager for my table view .
It appears as Page '1' of 2 for examle.
But '1' is dispalyed in an input field.
How do I make this input field as disabled.
I just want to use the Vertical and horizontal indicators to traverse through the pages of the table view.
I do not want the user to enter the page number ..
Thanks,
Sachin
Look at SBSPEXT_XHTMLB sample, pages pager.bsp and pagerX.bsp.
If you use the external pager, then you can specify a format where a text string will only be displayed without an inputfield for editing.
Similar Messages
-
How to set the font for table view contol
Dear All,
My requirement is to set Font type = Arial and size=1 for
Table View control. The same font should be for header, Rows and footer.
One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
Is there any simple way to fix font fot the entire TableView.
Thanks
MarkandeyaAn approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page. It's a bit of a hack, but it did the job. You will need to find ALL the styles used in a table view, and override the font size.
<%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
<style>
<!--
.sapTbvCellStd {
PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
.sapTbvCellAlt {
PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
//-->
</style> -
When the page will be load how to make the page blank in run time
Dear
when i will run the page the fields shoud come with blank Field.
i want to make it in runtime.
example- i have one page having employees data. but when i will run that page the data will not come only blank fields should come, after thar i will create.duplicate how to make the page blank field in runtime
-
How to make the page expired when user click back
how to make the page as expired when i click back button on the browser.
i want a better way.
actually i have a timer.when it reaches 00.00 then the expired page will be called automaticlly using location.href="expired.jsp" then if the user clicks back it should not show the previous page.this concept is applied with paging concept
response.setheader is not working ...
i have redirect when click back using
<body onunload>....i call another page here.
but it is not a good way.
so pls help me to solve this problem
using session or another good wayUse this instead.
Frame.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); -
How to make the Page UP and down work on a table control screen?
Dear all,
Can some one suggest how to make the table control screen work with Page Up and Page down controls.
when I press on Page down it works for the first time and after that i need to select the table to make it work the second time. it there a way I can make the index on the screen stay on the table control at all times.
Regard,
VjTake this code as a referance:
Sample code for vertical scrolling in PAI processing will look like this:
MODULE user_command_XXXX INPUT. (XXXX is screen no.)
CASE ok_code.
WHEN 'P--'.
CLEAR ok_code.
PERFORM paging USING 'P--'.
WHEN 'P-'.
CLEAR ok_code.
PERFORM paging USING 'P-'.
WHEN 'P+'.
CLEAR ok_code.
PERFORM paging USING 'P+'.
WHEN 'P++'.
CLEAR ok_code.
PERFORM paging USING 'P++'.
*& Form PAGING
* Form to do scrolling for screen XXXX
* -->CODE OKCODE value (P--, P-, P+, P++ )
FORM paging USING code.
DATA: i TYPE i,
j TYPE i.
CASE code.
WHEN 'P--'. <table control name>-top_line = 1.
WHEN 'P-'.
<table control name>-top_line =
<table control name>-top_line - line_count.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
WHEN 'P+'.
i = <table control name>-top_line + line_count.
j = <table control name>-lines - line_count + 1.
IF j LE 0. j = 1. ENDIF.
IF i LE j.
<table control name>-top_line = i.
ELSE.
<table control name>-top_line = j.
ENDIF.
WHEN 'P++'.
<table control name>-top_line =
<table control name>-lines - line_count + 1.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
ENDCASE.
ENDFORM. " PAGING
Regards,
Ravi -
HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!
Dear all,
Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll.
Please Help!!!!
VjHi
In TC, goto attributes and set 'Fixed columns' as 2. This will fix the first 2 columns.
Regards
Navneet -
I'm having an issue fitting everything I need into the space provided by the program. Is there any way to make the page longer in order to fit everything I need into it? Thank you in advance.
Taffypro wrote:
What is the best width setting so that my website appears to take up the full screen
Gary ~ Apple's own design award-winning site at apple.com mostly has a width of *980 pixels*. Apple's developer guidelines for the iPhone/iPod touch say: "Safari on iPhone also sets the viewport width to *980 pixels*, the width of most webpages." And: "...if your webpage is less than *980 pixels* wide causing it to scale too small on iPhone..." -
How to make the fields of table clickable?
Hi Experts,
I have created one RFC based WD program. We are displaying data in a table. Now I have to make some of the fields of table clickable.
When the user will click on some of the fields, another RFC should be called.
How I can do so?
Regards,
Garyhi
when you try to select the attributes of the table that has to be populated
you may have to right click on the rootuicontainer and select apply template and select table
and select the attributes from the node that has to be populated in the table and click next
and you can find the attributes name and textview which is by default that would be shown inthe table
instead you can change the textview and select from the dropdown select the linktoaction and linktourl
and or you can go other way as add a new column to the table and select buttons to the table .
and for each each row and on click of the button you can call the RFC .
Thanks -
HOw to start the project for first view in webdynpro application
Hi,I am having a problem regarding scenario for customer feedback for portal end user i.e..wen user login to a application for feedback there it check the Id of the user wether it had given the feedback or not by comparing the Id with the database Idu2019s from SQLserver.If the feedback is thr of that Id then a view shud say u hav already given feedback otherwise feedback form shud open ,the user will giv feedback and closes by thanking with other view.My problem is how to openthe view were it will compare the userlogin Id with the database Id to move further.How shud I handle this scenario for first view.I am creating this application in webdynpro.In this project how shud I manage the viewsu2026
Hanif,
you can create a webdynpro application and create an iview and set the height and width to 0 .inside that webdynpro application open a popup that provides the feedback form .and you invoke this popup window in the WDDOINIT() or WDDOMODIFYVIEW() of the webdynpro main view.
apart from this you need to get the logged user id in main view and get the output from database whether you want to open the feedback form
check this forum on developing webdynpro application
Web Dynpro Java
Thanks
Bala Duvvuri -
How to make the page blank field in runtime
Dear
when i will run the page the fields shoud come with blank Field.
i want to make it in runtime.
example- i have one page having employees data. but when i will run that page the data will not come only blank fields should come,rakesh,
af:panelformlayout
see the naveeth comments.
You are following a wrong design for your application.
If there are no rows in the VO instance, show the message as 'There are no rows'.
What is the use-case that you have - in order to do the same for all the pages in the application. -
How to add the toolbar for ecl viewer in BSP
i took help of the following link
/people/durairaj.athavanraja/blog/2005/09/14/using-ecl-engineering-client-3d-viewer-viewer-in-bsp-application
the 3D image in opening properly.
My question is, is it possible to add the TOOLBAR in the Internet explorer which get normally in Ecl Viewer which has the options like file tools etc
Edited by: Amit Sawant on May 28, 2008 1:03 PMthe control doesnt come with the toolbar. in ABAP they are implemented using the methods in the dll. similarly you have to create the toolbar for your webapp as well.
Raja -
Cannot select the fields for table view WB2_V_MKPF_MSEG2
Hi, I have a program where the query is using join statement of MSEG and MKPF. As part of the performance enhancement I use Table View WB2_V_MKPF_MSEG2 instead.
Validation: Entries in MSEG and MKPF is the same as in WB2_V_MKPF_MSEG2 = OK (via SE16)
But upon debugging the program on SY-SUBRC breakpoint, I can see 5 rows appended in internal table T_MSEG "BUT" the entries are all blank.
The entries in my SE16 are exact data that's appearing on the filter statement in my SQL query below. SE16 is giving correct output, but using table view in my SQL does not give me the correct output.
(Note: This is my first time to use table view in ABAP-SQL)
SELECT MATNR_I BWART_I MENGE_I
FROM WB2_V_MKPF_MSEG2
INTO CORRESPONDING FIELDS OF TABLE T_MSEG
WHERE MATNR_I IN R_MATNR3
AND MATNR_I IN R_COMPNTS
AND WERKS_I EQ P_WERKS
AND BWART_I EQ '931'
AND BUDAT IN S_GSTRP
AND MJAHR EQ W_DOC_YEAR.
IF SY-SUBRC EQ 0.
ENDIF.
THANKS, appreciate your inputs.
Regards,
JunHi Suhas,
I just did a short test just now:
REPORT ZTEST_SELVIEW.
TABLES: WB2_V_MKPF_MSEG2.
TYPES: BEGIN OF Y_MSEG,
MATNR LIKE MSEG-MATNR,
BWART LIKE MSEG-BWART,
MENGE LIKE MSEG-MENGE,
END OF Y_MSEG.
DATA: T_MSEG TYPE STANDARD TABLE OF Y_MSEG.
SELECT MATNR_I
BWART_I
MENGE_I
FROM WB2_V_MKPF_MSEG2
INTO CORRESPONDING FIELDS OF TABLE T_MSEG
WHERE MATNR_I EQ '000000000000004000'
AND WERKS_I EQ '0288'
AND BWART_I EQ '931'
* AND BUDAT EQ '20071117'
AND MJAHR EQ '2007'.
IF SY-SUBRC EQ 0.
ENDIF.
In my debug, T_MSEG contains the same number of rows that my SE16>WB2_V_MKPF_MSEG2(using the hard coded statement in my SQL) "BUT" each rows does not have any entries. Bottomline, I can't only see blank entries in ITAB T_MSEG but the rows are being selected properly, so the itab contains x-number of rows with blank entries.
Thanks. -
How to make the page disabled or unvisible with specific password ?
I am student. I need your help in my assignment.
I have 2 main page called = call problem and call report. The call problem page only can access by operator and call report page only can access by manager with the specific paasword.
Did any body know how to disabled or invisible the page with the specific password ? Or have other method to do that ?
Thanks.Hello,
You can create a Authorization Scheme 'operator' and 'manager'.
And then you attach the 'operator' and 'manager' authorization schemes to the pages 'call problem' and 'call report' respectively.
Regards,
G. -
How can make the cell in table keep unchanged?
In my program, I have set the cell in table as :jTable1.setCellSelectionEnabled(false); so I think it can't be edited, but it does't work, I can still edit it by double clicks on this cell, why ? what will I do ?
thanks!// although this is swing related question.
public class UneditableTableModel extends
javax.swing.table.DefaultTableModel{
public boolean isCellEditable(int row, int col){
return false;
// then pass this class to constructor of JTable.
// i.e. new javax,swing.JTable(new
UneditableTableModel(record, columnNames))thanks ,it works very well !!! -
How to download the SP6 for BPC 7.0, Microsoft Edition?
Hi,
I'm not accustomed very much with the SAP portal, and couldn't find through notes or whatsoever where to download (or ask for download) the latest SP for BPC 7.0, Microsoft Edition.
Could you help me?
Thanks
DanieleHi Daniele,
Go to https://websmp206.sap-ag.de/support. Login with your S User ID. Navigate to Downloads -> SAP service packs -> Support Packages and Patches - Entry by Application Group -> SAP application components -> BPC for microsoft -> BPC 7 for microsoft.
You will find 3 categories there. You need to click on each of them and download the required SP.
Hope this helps.
Maybe you are looking for
-
Urgent - Migrate data from Excel sheets
Hello all.. I want to move data from excel sheets into oracle9i Database I have a bout 50 table with average of 5000 row per table How could I do it I will be so obligated if you could detail it for me Thanks in advance
-
I am having a problem in Acrobat 9 Pro, where I create an editable form, and need to save it out so that the user (who has reader 6) can use it. By default, it seems that the lowest version I can save down to, with "enable user rights" is version 7.
-
I've created a pdf form using Adobe Live Cycle ES 8.2 and it has been working fine. Now I need to change the email address it gets sent to when the user clicks on the "Submit Form" button. How can I change this email address? Thank you in advance
-
Implement B2B Trading Partner scenario using DUNS Number
Hi, I have a requirement where in we have to send XML to different external Partners. The external Partners are identified based on the DUNS number. Also these external Partners would be sending us the data and depending upon the Partner we have t
-
The preinstalled ilife programs are not showing up on my macbook pro
I just bought a new macbook pro that had been returned to best buy. When I turned it on the ilife programs are not there like they are supposed to be. What do I need to do.