How to make double column of submenu items?
Hello,
With DWCS3, I've used the Spry menubar to make a vertical
menu and it looks great! Most of my items have only 2-3 submenu
items to choose, and it works fine. However, I have one menu item
that has maybe 20 or 30 submenu items to choose from, and so on
mouseover, the list gets cut off by the bottom of the page. I'm
worried that the page viewers won't think of using their "down"
button or mouse to scroll down to see all of the possible
selections.
How can I make a submenu that displays as two or more
columns? Though I know it's possible to divide things up into
sub-submenus, I'd prefer to keep the original categories.
Thanks!
Hi Michel,
If you want to do it inside the Expression Editor, this will work:
stringleft(<columnvalue> & Local.PadString, Local.ColumnWidth)
Where <columnvalue> is the string you want to pad out to the ColumnWidth length using the PadString.
You can left-pad the value to a fixed length in a similar manner using stringpart() .
Regards, Steve
Similar Messages
-
How to make reports on FI Line items
Hi all,
Let me know how to make reports on FI Line items especially drill down reports. suggest me steps for developing reports through Bex query designer. Am new in reporting on FI. How to make the drilldown reports. Plz let me know step by step.
Thanks,
JackHi
Follw the steps
Step1
Lets take an example of ODS Accounts Payable: Line Items Technical Name: 0FIAP_O03
install all this 0FIAP_O03 ODS from the Business content.
For more details on FI Line item ODS
http://help.sap.com/saphelp_nw04/helpdata/EN/af/16533bbb15b762e10000000a114084/frameset.htm
Step2
After installing make sure that all the infoobjects and transfer rules and update rules are in active state
Step3
Now type the transaction code RRMX , you will get into the query designer
Step4
Select the Infoprovider from the above example 0FIAP_O03 . now you will arrive to the screen where you can see Rows and colums
Step5
Drag and drop the characteristic infoobject in to the row which is necesseayfor the report output
Step6
Drag and drop the Keyfigure infoobject into the column which is necesseayfor the report output
Step7
Now under Free characteristics draga and drop the charactor infoobject which you need to navigate in the reporting.
Note: Before dragging the objects in the freecharacteristic make sure that you need to check the navigation in the ODS level
Step8
Now save the report , when you save give the technical name of the report and save
now execute the report
Santosh
Edited by: Santhosh Nagaraj on Nov 15, 2009 1:35 AM -
How to make a column in a tabular form required?
How to make a column in a tabular form required ?
the column name is test_id , and the debug report is :
0.00000
0.00000
...NLS: Set Decimal separator="."
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
Metadata: Fetch application definition and shortcuts
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=ar-eg
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
alter session set nls_language="EGYPTIAN"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
alter session set nls_territory="EGYPT"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
NLS: CSV charset=AR8MSWIN1256
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.01500
A C C E P T: Request="CREATE"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set NLS Group separator=","
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_date_format="DD/MM/RR"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_timestamp_format="DD/MM/RR HH12:MI:SSXFF PM"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_timestamp_tz_format="DD/MM/RR HH12:MI:SSXFF PM TZR"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...Setting session time_zone to +02:00
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...metadata, fetch translated app info
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...fetch session state from database
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
fetch items
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...fetched 14 session state items
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check session 8341322256175063 owner
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check for session expiration:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Metadata: Fetch Page, Computation, Process, and Branch
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Session: Fetch session header information
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...metadata, fetch page info
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate item page affinity.
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate hidden_protected items.
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check authorization security schemes
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Initialize tabular form column mapping
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Session State: Save form items and p_arg_values
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_CLIENT_NAME" New Value="asdf"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_AGE" New Value="23"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_SEX" New Value="ذكر"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_PHONE" New Value="23"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_EMAIL" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_DOC_NAME" New Value="adsf"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_NOTES" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_NEXT" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_PREV" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_COUNT" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Processing point: On Submit Before Computation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Branch point: Before Computation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Computation point: After Submit
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Tabs: Perform Branching for Tab Requests
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Branch point: Before Validation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Validations:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Perform basic and predefined validations:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate is not null for P38_CLIENT_NAME
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate is not null for P38_AGE
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.01600
...Validate is not null for P38_PHONE
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.03100
0.00000
...Validate is not null for P38_DOC_NAME
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.03100
0.00000
Perform custom validations: -
How to make few columns of single record inactive in Table conrol?
Hi all,
Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular record , now table control should contain ten records , but nine records are in editable state and one record in non editable state .
How to make few columns of single record inactive in Table conrol?
Thanks in advance.hi there...
select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
dont forget to modify sscreen after setting the attribute values.
i hope this helps.
do reward if helpful. -
How to make text columns with adobe muse
Hi,How to make text columns with adobe muse (like InDesign)?
Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
div
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;
I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work. -
How to make a column in Table popin read only
Hi Everyone
Could anyone let me know how to make a column in table popin read only.
Regardsif you ar eusing an ALV table
try this
DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
* get reference to ALV component interface
lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
* get ConfigurationModel from ALV Component
wd_this->r_table = lr_salv_wd_table->get_model( ).
* init ColumnSettings
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= wd_this->r_table.
* get table of column settings - each line one column
DATA: lt_columns TYPE salv_wd_t_column_ref.
lt_columns = lr_column_settings->get_columns( ).
* loop over table - in each loop another column can be modified
DATA: ls_column TYPE salv_wd_s_column_ref.
* define visible columns (fields) by naming them,
* exclude others by setting visibility to none
DATA: ls_tooltip TYPE string.
LOOP AT lt_columns INTO ls_column.
" get header of column
lr_col_header = ls_column-r_column->get_header( ).
" do settings here
ENDLOOP.
Or see this document for more tips.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
regards,
Joris -
How to make a column as command link
hi,
how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
thanks in advanceJDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
public void commandButton_action2(ActionEvent event) {
// make the clicked row the current
//Get access to the value binding
ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
//the command link is a child of af:column, which is a child of af:table
CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
//access the row data, to obtain the Row object and the formatted key string
JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
//set the current row in the binding
dciter.setCurrentRowWithKey(rowKey);
// open dialog
FacesContext fctx = FacesContext.getCurrentInstance();
AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
UIViewRoot viewRoot = new UIViewRoot();
viewRoot.setViewId("/yourDialogPage.jspx");
HashMap properties = new HashMap();
properties.put("width",300);
properties.put("height",200);
adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
}If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
Frank -
How to make 1st column as header in ALV grid
Hi Experts,
How to make 1st column as header in ALV grid as attached. Please help.
Thanks in advance.Hi manoj,
Try with,
FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
Regards,
Venkat. -
How to make excel columns width autofit ?
Hello Experts ,
I download data from an internal table to create an excel attached file and send it to customers by mail. The excel sheet looks untidy .
the columns width of excel are not autofit .
It's default 8.43 character . Costomers can not use equally excel tools. eg. format->column->autofit selection in excel.
I was wondering how to make all excel columns' width autofit by means of ABAP . Is there any way to reach this property of excel via SAP when I send excel attached files from an internal table .
suggestions will be rewarded .
Regards ,Hi Rajkumar or all,
If any one able to display the records more than 65k line in Bex report v7.0..
Pls reply with detail expalination.. Thanks in advance.. will give the reward points..
Waiting urgently for your response.. -
Hi all,
I want a column to have checkboxes in my table where user can select at runtime.
I added one colum to my table with Checkboxes.But the checkboxes are comming in non Editable mode.
How to make them editable???
My context structure is already binded to my table..now i added one ValueNode with One attribute and i binded that texts property of checkbox to the Valueattribute
The cardinality of my ValueNode is 1..1 and selection is 0..1
Regards
Chandrashekar.Hi,
when you added the checkbox as cell editor, then go to it's property:
set "enable" as true.
set "readonly" as false.
and create a boolean attribute "checked" in the table bode and bind it to the check box value property.
And in the onAction of checkbox wirte the code to select or deselect the checkbox.
and set the value as follows:
wdcontext.nodeTable().getcurrentElement().setAttribuiteValue("checked", true);
Regards,
Praveen -
How to make table column of the webdynpro application scrollable??
Hi all,
I want to make some columns of my table to be fixed and some to be scrollable...
So if anybody know how to do it..
Please do let me know...
Thanks and regards..Shruti,
If you are using NW 7.0 (NW04s) then check properties:
-- Table.scrollableColCount
-- Column.fixedPosition
Both let you define number of of "fixed" columns at left/right and number of scrollable columns in between.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
ALV: How to make a column color
Hi.
How to make a particular column of any one color in
list dispaly and grid displayHi osk,
1. Row wise color is possible.
2. Not only the full row color,
we can also manipulate the color in each cell.
3.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m. -
How to make a column as buttion alv oops
i need have a buttion at every row end (ie last column) in the oops alv grid,
when i click on this button some functionality should run.
i have taken last field of internal table as some icon , currently in grid icons are displaying
now how to catch the function code? and how to trigger the functionalityHi Tummala,
You can add a checkbox as suggested by others.
Or if in case your requirement is to call any transaction,
you could make any column as 'Hotspot' and when you would
click on that it would call that transaction.
Hope you may find this helpful.
If your requirement is this and you require more help,
revert back.
Sumit -
How to make a column as Password field?
Hi,
I need to change the column as "Password" field.
I.e. the data should be shown as "******" in DB Also.
How to make this happen in Table column?
Kindly guide / help me on this.
Thanks,
Orahar.Orahar wrote:
Dear Kumaran,
Thanks.
Can you explain me about the view which I need to create to displays the column value as stars ("*****")?
Thanks,
Orahar.
SQL> create table tbl_test (id number, name varchar2(10));
Table created.
SQL> insert into tbl_test values(111,'test');
1 row created.
SQL> select * from tbl_test;
ID NAME
111 test
SQL> create or replace view vw_test as
2 select '*****' id, name from tbl_test;
View created.
SQL> select * from vw_test;
ID NAME
***** test
SQL> insert into tbl_test values(2,'test2');
1 row created.
SQL> select * from vw_test;
ID NAME
***** test
***** test2
SQL> -
How to make a column a key using CALL METHOD cl_salv_table= factory
hy guys
i have gotten everything right but cannot make a column of my internal table a key column
done this so far for columns:
DATA: alv_columns_list TYPE REF TO cl_salv_columns_list.
DATA: alv_column TYPE REF TO cl_salv_column.
alv_columns_list = alv_table->get_columns( ).
alv_columns_list->set_optimize( 'X' ).
alv_columns_list->SET_KEY_FIXATION( 'X' ).
try.
alv_column = alv_columns_list->get_column( 'BNAME' ).
catch cx_salv_NOT_FOUND.
message e000(zz) with 'Element not found'.
endtry.
alv_column->SET_SHORT_TEXT( 'User' ).
alv_column->SET_MEDIUM_TEXT( 'User' ).
alv_column->SET_LONG_TEXT( 'User' )
found class cl_salv_column_list with method set_key
but how do i get to it. if it is even the right one
please help
janYes CL_SALV_COLUMN_LIST is the right one to use.
After the following code:
alv_column = alv_columns_list->get_column( 'BNAME' ).
Add the following:
alv_column_list ?= alv_column.
alv_column_list->set_key( ).
Don't forget to add the data definition for alv_column_list.
Hope this helps.
Cheers,
JB
Edited by: Jonathan Bourne on Apr 4, 2008 3:01 PM
Maybe you are looking for
-
Urgent,showing error while running form..pls,help...
Hi, I have created my own view named GP_NUIF_V and have also successfully established a Database connection,using FWK_TBX_TUTORIAL.I have developed a personal page in Oracle9i JDeveloper ,which is to fetch particular details from my view and show it
-
Which is better to use: BEx query or Web Application as an iView in portal?
Hi gurus! Are there any experienced opinions, which is better - publish a BEx query in portal or publish a BEx Web Application in portal? Is it easier to alter the layout attributes etc. if I create a BEx Web Application first before publishing? What
-
Use of SOAP adapter in PI7.11 - migration from PI7.0
Hello everybody, We are migrating from PI7.0 to PI7.11. we have a scenario RFC => PI => SOAP in PI 7.0 that work perfectly for 2 years in PI 7.11 that doesn'"t work. That gives the error message "com.sap.engine.interfaces.messaging.api.exception.Mess
-
Should I upgrade to 4.11 or not?
New mini. Clean install just done. Combo pack here ready to go, tested before the clean re-install. No probs. But all in all, is the .11 upgrade worthy? All I know is many websites get screwed on Safari3, while they're nice on Safari2.x Suggestions w
-
Hi All, I'm trying to spool records from my Oracle table into a fixed width text file. As you'll see below, I'm using the RPAD function to set the maximum width for my columns but for some reason the spool doesn't recognize the RPAD function and just