Urgent!!!How to add a Dropdown in a Table View Iterator CLass?
Hi All,
I want to add a Drop Down List in the Table View Iterator Class. I am not able to do that.
If any of you have done please reply, as it is very urgent.
Please give the code extract possible (with data defination too)
Regards,
Dhaval
Points will be given
Mark this as Urgent
Hi
You need to modify RENDER_CELL_START method of your iterator class and you use the p_replacement_bee attribute to output the drop down
The example below outputs the units of measure for a material
data:
col_dropdown TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX,
col_listitem TYPE REF TO CL_HTMLB_LISTBOXITEM,
table_bee TYPE REF TO cl_bsp_bee_table,
CASE p_column_key.
WHEN 'Column Name'.
needs to change. way too slow to select each time.
prod_id = <current_line>-matnr.
CALL FUNCTION 'Z_GET_UOM'
EXPORTING
PRODUCT_ID = prod_id
IMPORTING
UOMLIST = uom_list.
clear uom_line. append uom_line to uom_list.
CREATE OBJECT table_bee.
CREATE OBJECT col_dropdown.
rowidx = p_row_index.
shift rowidx left deleting leading space.
concatenate p_column_key rowidx into col_dropdown->id.
col_dropdown->width = '100%'.
col_dropdown->selection = <current_line>-zieme.
table_bee->add( level = 1 element = col_dropdown ).
loop at uom_list into uom_line.
CREATE OBJECT col_listitem.
col_listitem->key = uom_line-name.
col_listitem->value = uom_line-value.
table_bee->add( level = 2 element = col_listitem ).
endloop.
p_replacement_bee = table_bee.
Similar Messages
-
Urgent: how to add additional records to hashed table
Hi,
I want to add records to a hashed table.
my code is:
data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln.
loop at izoba into wzoba.
clear wpn_pc_zoba .
read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.
if sy-subrc ne 0.
wpn_pc_zoba-vbeln = wzoba-LS_KDAUF.
append wpn_pc_zoba to ipn_pc_zoba.
endif.
endloop.
The Error is : You cannot use explicit or implicit index operations on tables with types "HASHED TABLE" or "ANY TABLE". "IPN_PC_ZOBA" has the type "HASHED TABLE". It is possible that .
How to solve this?
Please reply ASAP.
Regards,
SRIIn your code you should use
INSERT WPN_PC_ZOBA INTO IPN_PC_ZOBA.
This is the only way to append data to a hashed table. It will also only work as long as wpn_pc_zoba-vbeln is unique in the hashed table.
If you are getting an error, what does the error say?
Michael -
How to add a coloumn in a table view
Hi all,
In BSP SRMSUS, i need to add a column COUNTRY in the table view of PARTNER.
i got to know that it can be done through iterator.
But i have no idea on how to do that.
Any help in this regards!!!
Thanks and Regards
VedaHi Ravi,
i got it. There is an SPRO setting where we control the fields to be displayed on the screen.
i have added my required field which is present in the strcture in that spro setting.
And i got it.
Thanks
Veda -
How to add a dropdown menu in flash document (.swf, .fla) ??
as i am developing a website for my semester proj, i need to add some flash contetn in the website..
here is the link, http://www.mediafire.com/?wnx1jkwkkx9c118
Check Out..
the thing is i want a dropdown list/menu in "language selection - tab " (check the html page in above link).. plz help me out..
Thank You,
sairamFor Flash questions check the Flash Forums.
http://forums.adobe.com/community/flash
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
shivNice, can you point me to the solution please ?
I'm trying to do this but I get an error :
Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
StackTrace: at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews) at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)
All help really appreciated. -
how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
ananyaHey Ananya,
I believe what you want to do is possible, but it will not be
easy. If you want to add a scroll bar that will scroll the graph
back and forth but keep the axis set, you would want to add a
horizontal or vertical scrollbar. Then you would create an event
handler for the scroll event. You would have to manually plot
different data within this scroll event. Unfortunately, there is
not really a built in way to do this with the Measurement Studio plot
control.
Thanks,
Pat P.
Software Engineer
National Instruments -
Hi Experts,
How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
I have no idea how to start with, please give some advice.
Thanks!
IceDear Ice,
Use Append structure, see given link:
https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
Regards,
Abbas. -
How to add scroll bar in webi table
Hi Experts,
Currently i am working on webi report it consist lot of tables and charts. As per my requirement the webi table should contain scroll bar instead of showing all data in single shot. And user will scroll down if he/she required. Is it possible in webi?
Regards,
PRK.Hi Praveen,
Adding scroll ball in Webi table is not possible currently.
Requests has been raised by some people in SAP Idea place, see the link below for more details.
You can vote in SAP Idea place for getting this feature
Add scroll bars for Webi tables : View Idea -
Add a button on the Table view screen
Hi ,
i need to add a button to da table view screen for which i have created a transaction also.How do i go about it?
please help.
Thanx and Regards,
Srestha<div><button
style="float:left;">LEFT</button><button
style="float:right;">RIGHT</button></div>
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"-Michael--" <[email protected]> wrote in
message
news:edf6hm$aea$[email protected]..
> How do i add a button at the top left side of the
screen, then in the same
> row
> add a button to the right side of the screen. (I want
the buttons to stay
> left
> and right nomatter how big the users computer screen is)
> -
Urgent - How to add a new control instead of tabs in JTabbedPane
Hi,
Please give me an idea or a sample program for how to add a new control
in JTabbedpane instead of tabs that means overlay any Java controls or pane
in the tabpane empty place next to tabs"Urgent" is not relevant to the question. Your question is no more important than anybody elses.
My answer in this posting show a limited solution:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=636289
Otherwise I suggest you try using a layered pane approach:
http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html -
PLz Help me its urgent, how to add new field in mm01 basic data screen
Hi everyone,
plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
Thanks,
murali.Hi Murali,
when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
reward if useful.
thanks
abdulsamee. -
Hello there,
I know that in the search center you can add search verticals. Then you can configure the search box so it has a drop down menu so you can specify the result source you want to search.
But my question is about the 'search this site' box which appears on all subsites, so not the one in the search center. Is it possible to add the same dropdown menu to this box as in the search center?
Thanks in advance!Hi,
According to your post, my understanding is that you wanted to add a dropdown menu to the search box.
You need to look at the Search Settings page that is located under the Site Collection Administration of the Site Settings.
Here are some similar blogs for your reference:
SharePoint 2013 Search Settings and Search drop down menu
Customizing Search Navigation on a SharePoint 2013 Publishing Site
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to add a dropdown box in an ALV toolbar??
hi,
i have a requirement where i need to add a dropdown box in my ALV Toolbar. To be precise next to the export button in my ALV.
Plz help me on this, thanks.Hi Frank,
I am providing the some peice of code which will be helpful to you.
Adding the DropDown list to the ALV toolbar:
lr_functions ?= wd_this->r_table.
lr_function = lr_functions->create_function( 'MYDROPDOWNBYINDEX' ).
create object lr_dropdown_by_idx
exporting
texts_elementname = 'DROPDOWNBYINDEX.VALUE'.
lr_dropdown_by_idx->set_label_text( 'MYDROPDOWNBYINDEX' ).
lr_function->set_editor( lr_dropdown_by_idx ).
Providing the values to that DropDown:
Here in my example DROPDOWNBYINDEX.VALUE is the context attrubute. And i write the Supply function for that node as follows:
data:
lt_dropdownbyindex type if_componentcontroller=>elements_dropdownbyindex,
ls_dropdownbyindex type if_componentcontroller=>element_dropdownbyindex.
ls_dropdownbyindex-value = 'Nothing'. "#EC NOTEXT
append ls_dropdownbyindex to lt_dropdownbyindex.
ls_dropdownbyindex-value = 'ActionDropdownByIndex'. "#EC NOTEXT
append ls_dropdownbyindex to lt_dropdownbyindex.
node->bind_table( lt_dropdownbyindex ).
For reference you can refer the WD component SALV_WD_TEST_TABLE_TOOLBR which holds the same code
Hope this will help you. Reward points if it helps.
Cheers,
Darshna. -
Urgent: How to add reference DTD at receiver side XML?
Hi!
I have a problem to transfer IDOC to XML.
During Migration from Business connector to XI 3.0,
At original result xml header,
....<?xml version="1.0" encoding="ISO-8859-1"?>
....<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
.................................~~~~~~~~~~~~~~~~~~~~~~~~~~~
But, thru XI,
....<?xml version="1.0" encoding="iso-8859-1"?>
....<!DOCTYPE Shipments>
so, target system can't recognize that result xml.
we are using mapping program with abap-class, XI3.0 SP14.
How to add it at xml header in abap class?
regards
Message was edited by: ChangSeop SongHi,
I don't know if this will work
but I'd try with xslt and <b>doctype-public</b> and <b>doctype-system</b> declarations to do what you want
in the second mapping (after the abap mapping)
of the interface mapping that you're using
Regards,
michal -
Urgent - How to add buttons to a Table
How to add buttons to a Table and enable them for Mouse Listeners/ Action Listeners
extends the defaultcellrenderer make it return a Jbutton as the component to draw.
class OverCellRendererClass extends DefaultTableCellRenderer {
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) {
//put your stuff here to make or get a button
return myButton;
Use something like this to set the renderer for the column :
tb.getColumnModel().getColumn(4).setCellRenderer(new YourCellRendererClass());
Maybe you are looking for
-
Getting Errror Meassage No 802 while sending Fax
Hi all, I'm using FM <b>SO_NEW_DOCUMENT_SEND_API1</b> to send Email and Fax through ABAP prog. I'm able to send to mail to External ID menwhile Fax is not going but getting thefollowing message if we the status in T-Code <b>SOST</b>. <b>Msg No 802 No
-
Tried to update Imac G4, now wont startup!
I tried to be a big man and update my friends Imac G4 with Tiger for her. It almost got to the end of the installation but said there was a problem with the disk. So I intended to just scrap the project. I Own a powermac G5 so I wasnt sure how to get
-
Hi Guys! Can a brand new Mac Mini (latest edition) support 2 monitors, and if so how (what should i buy)? ** I have 2 brand new monitors with DVI cables. Cheers! I.
-
Taxware SAP configuration on the basis of product code
Hi, I request you to send the cofiguration steps for Taxware and SAP on the basis of product code. Thanks in advance, Subhabrata
-
Hi, I am doing export and import of schema in Oracle 10g. After doing an import I noticed all the jobs are missing in imported schema. Any suggestions on this. Thanks