BSP Tree View - how to create checkboxes on each node?
Hello all,
On my (non-MVC) BSP page I'd like to have a tree in which each node has a checkbox that the use can select, e.g. node 1.1: X, node 1.2: space; node 1.3: X
It doesn't seem like the standard <htmlb:tree> can do this. Is there any quick way I can achieve this functionality?
Any suggestions/code samples will be appreciated.
Rgds,
Louis.
Hi Louis,
Go through the sample program which is exactly as per your requirement,
http://www.sapdevelopment.co.uk/webapps/bsp/bsp_orgunit.htm
Regards,
Azaz Ali.
Similar Messages
-
How to create checkbox group and table dynamically?
HI All
How to create checkbox group and table dynamically?
Regards
Ravihi
check this links for creating tables dnamically
How to Create a table dynamically?
Re: how to create a table dynamically in webdynpro
and for checkboxgroup
IWDTransparentContainer rootContainer =
(IWDTransparentContainer)view.getElement("RootUIElementContainer");
IWDCheckBox check = (IWDCheckBox)view.createElement(IWDCheckBox.class,"Check"+k);
//Here "check"+k k represents a unique value every time u create so that u wont get a duplicate instance
check.setChecked(false);
rootContainer.addChild(check);
or Re: adding checkboxes dynamically -
How to create one more server node for SAP J2EE server?
Hi,
Can any one please suggest how to create one more server node for SAP J2EE server? I am using WAS700.
Thanks and Regards,
Smriti.Hai,
Login into the Configtool(C:\usr\sap\SID\DVEBMGS<inst no>\j2ee\configtool) if ABAP+JAVA stack or C:\usr\sap\SID\JC<inst no>\j2ee\configtool) if JAVA stack
click on the instance and and select the addserver button on the top to create a servernode for J2EE server.
Thanks and Regards, -
SMARTFORM: how to create 3 copy (each copy can print more than one page)
SMARTFORM: how to create 3 copy (each copy can print more than one page)
Hello everyone.
my user want to have form that print 3 copy.
such as 1 copy description = master, 2 copy description = copy 1 ,3 copy description = copy 2.
so i create 3 page . I copy from page 1.
and in each page there is main window which can have data more than 1 page.(such as have a lot of sale data ,it's take 2 page for show output .so it's take 2 page in each copy)
please help me.
how to set page and window in each page for print 3 copy and each page can have main window that print more than 1 pageHello Vinit.
thank you very much for your help.
could you help me more please.
in below code
DO NAST_ANZAL TIMES.
l_counter = l_counter + 1. " << pass this to FM and use for the TEXT to print
CALL FUNCTION LF_FM_NAME
EXPORTING
COUNTER = l_COUNTER " USE this to derive the text into PRINTOUT
enddo.
Now i out of office .so i cannot test.
where do i set NAST_ANZAL for 3 ?
can i input ?
NAST_ANZAL = 3.
DO NAST_ANZAL TIMES.
l_counter = l_counter + 1. " << pass this to FM and use for the TEXT to print
CALL FUNCTION LF_FM_NAME
EXPORTING
COUNTER = l_COUNTER " USE this to derive the text into PRINTOUT
enddo.
Edited by: dittaporn nanasilp on Mar 12, 2011 3:33 PM -
How to create checkbox in mail content
Hello,
I have created a program to send mail. The requirement is to write some text in mail content along with pdf.
The issue I am facing is that the mail content(body) should contain check boxes.
At present the mail body fetches all text from SO10 standard text. I have tried inserting symbol in SO10 ( SAP-SYMBOLS ) but the out displays <697>,, instead of checkbox in mail.
How should I create checkbox that are displayed in mail body.?
<removed by moderator>
Edited by: Thomas Zloch on Aug 10, 2011 12:01 PMgo to the standard text > change editor > select PC editor
now you can put an HTML TAG
<br>
<input type="checkbox" name="option1" value="Milk"> Milk
<br>
I can see the check box in SAP, but not in OUTLOOK... not sure whether we an issue with SAP or OUTLOOK or we entirely look in different way.. -
ALV Tree - how to put checkbox on the node level?
Hello everyone!
I have an AlvTree and I have special column named SEL. That column contains checkboxes. I want to put additional checkboxes at the node level, I need them to create select all option.
In other words I must somehow create something similar to do_sum option. DO_SUM works for numeric columns, the sum of all rows in current node appears at the top level. So I must do the same but checkbox.
Are there any ideas?
Here is my code of creating the tree.
DATA: g_tree9001 type ref to cl_gui_alv_tree_simple.
" Here I fill fieldcat...
create object g_tree9001
EXPORTING
i_parent = g_doc_cont
i_node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
i_item_selection = 'X'
i_no_html_header = 'X'
i_no_toolbar = ''.
call method g_tree9001->set_table_for_first_display
EXPORTING
i_save = 'A'
is_variant = ls_variant
CHANGING
it_sort = gt_sort9001
it_outtab = gt_tree9001
it_fieldcatalog = gt_treefcat9001.
My output table gt_tree9001 has sthe following structure:
BUKRS, KTEXT, SEL, SWERK.
My sort table gt_sort9001 has 2 rows. Sorting by BUKRS and KTEXT.
My tree looks like this:
BUKRS/KTEXT --- SEL --- SWERK
+bukrs1 ------------------------------
-- ktext1 --- X --- swerk1
-- ktext2 --- X --- swerk2
+bukrs2 ------------------------------
-- ktext3 --- X --- swerk3
I want to get:
BUKRS/KTEXT --- SEL --- SWERK
+bukrs1 ----------X----------------
-- ktext1 --- X --- swerk1
-- ktext2 --- X --- swerk2
+bukrs2 ----------X----------------
-- ktext3 --- X --- swerk3
Appreciate any help!Hi ,
Check the below threads, it may give some idea to get check box in the node .
[LINK1|Check box on left navigation of ALV tree;
[LINK2|Checkbox ALV Tree CL_GUI_ALV_TREE;
Regards,
Saravana.S -
How to creating checkbox on SAP B1
Hello Experts,
Please tell me how to create check-box in table..
I have machines more than 100 and for creating quotation i have to choose machine and its part say 10 out of 100 so in this case we do select parts by pressing CTRL key but what happens once we shift to 2nd page we missed out previous parts.so its hectic to search parts again.so if we put check-box field thne choosing parts will be easy..
so please tell me how to do that.Urgent
regards
SmitaI can only assume from your post that you mean you want to add a checkbox column to the table form opened by going to Tools-> User Defined Windows
This is not possible.
To do what you want to do, you will need to create a customised form to represent your table and then set one of the columns to be of type checkbox. Please check the SDK helpfile and samples for information on how to do this. -
How to create CheckBox in Smartform
Hi All,
Any body please tell me how to create and display checkbox in Smartforms.
Thanks,
Neethu.Hi Neethu,
Check this link:
Check boxes in smartform
Even you might have easily got this if you do a simple searcch:
http://forumsa.sdn.sap.com/search.jspa?threadID=&q=checkboxsmartform&objID=f231&dateRange=thisyear&numResults=15&rankBy=10001
Regards,
Swarna Munukoti. -
How to create checkboxes in BIP templates?
I am creating BI Publisher Template for use with Siebel. In the datastream, values for boolean fields are passed as Y or N.
However if I place a MS Word checkbox object and give the field as the property, nothing happens at all.
I have tried using conditional sections and Wingdings font to display checked and unchecked icons depending on the value of the flag. But, when report is run in PDF, Wingdings can not be used.
When exposing the field directly, it populates with "Y" or "N". However, we want checkboxes.
Any ideas appreciated.I have similar issue.
1) I have copied Wingdng2.ttf file to $BIHome/jdk/jre/lib/fonts/ folder.
2) I have created xdo.cfg file and configured to use Wingdings 2;82;163 for checkbox display.
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<fonts>
<truetype path="c:\windows\fonts\WINGDNG2.ttf"/>
</fonts>
<properties>
<property name="rtf-checkbox-glyph">Wingdings 2;82;163</property>
</properties>
</config>
Problem: The checkbox displays fine under English locale, however it is displayed as Rhombus/Diamond under French locale (when .xlf file is used). I am using BIP 10.1.3.4.2.
Does anyone know how to fix this issue? It looks like the translation of checkbox from english to french is messed up. -
How to create checkbox in WAD for every record
Hi All,
We have a requirement where in the user selects some of the records from the IP screen and he should be able to see only those selected records and also should be able to plan on the same. So how can i create a checkbox in WAD for each and every record. If this is not possible through check box then are there any other options to achieve this. Request your valuable inputs.Hi,
Not sure if you can create a check-box in wad but for sure you can set properties of the table in which you display your data. There should be something like "Selectable rows" (don't have access to the system now). When you switch it on you will be able to select rows of your report. Then you need to set filter based on the selection you made.
Tomasz -
How to create and use a node globally as well as internal table
HI,
Kindly let me know how can I create a node & internal table globally and which I can use them in various methods in view and controller as well, if u can provide an example it could be very help full.
my requirment is uploading a multiple files in wdp ABAP for this I just followd the link below
http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
which for single upload and for making this for multiple upload I need a node could be usefull globally or a IT please check my code below
DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
DATA ls_n_upload TYPE wd_this->element_n_upload.
DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
data ls_file_upload TYPE ZFILE_UPLOAD1.
ZFILE_UPLOAD_1 = wd_componentcontroller->Elements_ZFILE_UPLOAD_1.
t_file_upload = ig_componentcontroller->ITAB1.
t_file_upload = wd_this->zfile_upload1.
navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
navigate from <CONTEXT> to <N_UPLOAD> via lead selection
lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
get element via lead selection
lo_el_n_upload = lo_nd_n_upload->get_element( ).
@TODO handle not set lead selection
IF lo_el_n_upload IS not INITIAL.
get all declared attributes
lo_el_n_upload->get_static_attributes(
IMPORTING
static_attributes = ls_n_upload ).
ls_n_upload will contain the File name file type and file contents *
ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
append ls_file_upload to t_file_upload.
clear ls_file_upload.
lo_nd_n_file_download->bind_table( new_items = t_file_upload set_initial_elements = abap_true ).
ENDIF.
so here I would like use t_file_upload(node or IT ) to use globaly which can keep the previous data and I can add the existing data and in another method I would like to submit the data in t_file_upload to table
Regards
rajHi Chandra,
Resloved, I createa table type in SE11 by giving my table name as a line type and I used that as a Global IT in view "attributes" tab and I made the my code as follows its working now
DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
DATA ls_n_upload TYPE wd_this->element_n_upload.
DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
data ls_file_upload TYPE ZFILE_UPLOAD1.
data t_file_upload TYPE standard table of ZFILE_UPLOAD1.
navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
navigate from <CONTEXT> to <N_UPLOAD> via lead selection
lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
get element via lead selection
lo_el_n_upload = lo_nd_n_upload->get_element( ).
@TODO handle not set lead selection
IF lo_el_n_upload IS not INITIAL.
get all declared attributes
lo_el_n_upload->get_static_attributes(
IMPORTING
static_attributes = ls_n_upload ).
ls_n_upload will contain the File name file type and file contents *
ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
append ls_file_upload to ME->wd_this->gt_file_upload .
clear ls_file_upload.
lo_nd_n_file_download->bind_table( ME->wd_this->gt_file_upload ).
endif.
thanks for the support.
Regards
Raj -
How to create buttons for each slide in slideshow
I currently have a slideshow working with prev and next buttons,
but would like to add numbered buttons for each slide at bottom of images,
with a static number for the active slide that has a colored circle around that number.
I can create static number with colored circle in Photoshop and add that to a layer,
but it's labor intensive to do that for all numbers.
Is there a better way to create the highlighted numbers for active slide?
For numbered buttons that link to non-active slides, I can create numbers in Photoshop and import images into Flash,
then convert to symbols and assign actions for them,
But that too is labor intensive to do for all the numbers.
Is there a better way to create numbered buttons for non-active slides?
I'd also like to have a hover function on the numbered buttons,
that changes from plain image of number to number with colored circle like I want to use for active slide.
How do I assign a hover function to button symbol, that will load another image or symbol?Try to think in terms of having reusable symbols. Think it thru before you try it.
Use a movieclip symbol instead of a button. Have a dynamic textfield in that movieclip for the number, and set the textfield to not be selectable. Have one frame of this movieclip where it displays as the highlighted (selected) one and have the movieclip go there where you are on that slide.
Use the textfield for the number--assign it dynamically so that you don't have to import an image for it. Use as many of these movieclips as you need to for all your buttons.
Have functions that reset all the buttons at once so that when you move to a new slide, the previously selected one goes back to mormal... follow that with setting the newly selected one to be in its "selected" frame. -
How to create a specific property node w/ VI script
I am writing a VI script to work with some multi column listboxes. I need it to create a property node that gets a reference to the ItemNames field. I see that I can create a property node via the invoke node method Create.Property Node, but how to get the ItemNames field specifically I so far can't figure out. Can anyone help?
To be clear, I am writing code that looks like this:
...and when I run the script, I want it to produce this:
Right now it produces the MCL as expected, via the New VI Object node...but I don't know how to get the ItemNames created automatcially. I thought it might be in the PropItems array but so far no luck.
thank you
Solved!
Go to Solution.The output of "PropItems[]" will be a one element array. Index that element and wire the reference to an invoke node. Select the method "SetProperty".
-
How to create JTree without root node
Hello;
I like to create a JTree without root node?
Any help?
Thanks!
--tonyjavadocs JTree,
setRootVisible
public void setRootVisible(boolean rootVisible)
Determines whether or not the root node from the TreeModel is visible.
Parameters:
rootVisible - true if the root node of the tree is to be displayedSee Also:
rootVisible -
How to Create Interface specific Monitoring Node in RZ20
Is it possible to create Interface/namepsace specific Monitoring node in CCMS RZ20. If yes, then how??? I need to have this node in ECC system.
Thanks and Regards,
Pallavi SinghHi,
It is possible to achieve this using the MTE class SXMB - this will allow thr highlight of errors within the local IE.
Is this what you need ??
Kind regards
Colin.
Maybe you are looking for
-
ITunes 10.3.1 freezes when I try to delete files I have ripped from my own CDs.
I am in the process of updating a number of CDs that I ripped at 128kbps with rips at 256kbps. When I delete the 128kbps files most of the time iTunes 10.3.1 freezes with the spinning beach ball. The files are in the trash but I have to force quit
-
Please help me with installation of adobe reader
Hello, I hope I'm in the right spot. I finally was successful in downloading and installing flash player but now I can not download and install the adobe reader!! It gets all the way through the download and gives me the message "installation did n
-
Terms of payment in sd module along with the fico interface
Explain breifly abou the terms of payment in sd module along with the fico interface?
-
Connecting external display to PreAluminum MacBook
My MacBook does not recognize any external display that I connect via a USB port. What am I doing wrong? Is there another port connection I should be using? My MacBook is the pre aluminum model so it may have different ports than the new generation a
-
How to set validtion on hmlb:inputfield
hi I want to set a validation on htmlb:inputfield on client side.That whenever user enter wrong entry in inputfield a alert will pop. Thanks, Aashish