How to enable Edit in UI Element Table
Halo Gurus,
I am trying a application where user gives the BP number and press Display, it displays the details. Another Button 'Edit' which goes to another view and here I am displaying the details of the given BP number. But n here I need the fields to be editable.
How can I achieve this.
Any Suggestions would be appreciated.
Regards
Leo
Hi Leo.
Do you use a table to dispaly the details?
If so, when you right click on the table element in the tree view you can choose
create binding. Here you can choose the context element to bind and select a cell
editor for each table column. When you choose inputfield your cells will be
editable.
Cheers,
Sascha
Similar Messages
-
How to create the Dynamic UI element table in web dynpro in abap
Hi All,
Does anybody have reference note or teach me how to create dynamic UI element table in web dynpro in abap ?
Regards,
LukeHI LukeWong ,
for creating any UI dynamically you shoul use their runtime class that always start with cl_wd_* ui element name*
so for the Table UI element the runtime class is CL_WD_TABLE
now reffer the below code for creating the Table UI dynamically
METHOD wddomodifyview.
DATA lr_table TYPE REF TO cl_wd_table.
DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lr_column_name TYPE REF TO cl_wd_table_column.
DATA lr_text_view TYPE REF TO cl_wd_text_view.
DATA lr_table_header TYPE REF TO cl_wd_caption.
DATA lr_column_name_header TYPE REF TO cl_wd_caption.
IF first_time EQ abap_true.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_table = cl_wd_table=>new_table(
id = 'TBL_TABLE'
bind_data_source = 'TABLE'
design = cl_wd_table=>e_design-alternating
visible_row_count = 3
lr_flow_data = cl_wd_flow_data=>new_flow_data( element =
lr_table ).
lr_container->add_child( lr_table ).
lr_column_name = cl_wd_table_column=>new_table_column(
id = 'TBL_EXAMPLE_NAME'
lr_table_header ?= cl_wd_caption=>new_caption( text = 'Table UI elem
ent - example').
lr_table->add_column( the_column = lr_column_name ).
lr_table->set_header( lr_table_header ).
lr_text_view = cl_wd_text_view=>new_text_view(
id = 'TXV_NAME'
bind_text = 'TABLE.NAME'
lr_column_name_header ?= cl_wd_caption=>new_caption( text = 'Name').
lr_column_name->set_table_cell_editor( the_table_cell_editor = lr_text_view).
lr_column_name->set_header( lr_column_name_header ).
ENDIF.
ENDMETHOD.
Regards
Chinnaiya P
Edited by: chinnaiya pandiyan on Sep 17, 2010 12:01 PM -
How to enable Edit/Delete Discussion Forum?
Hi,
I have added 'Discussion Forums' task flow to a JSF page. When I run the page, I dont see 'Edit Forum', 'Delete Forum' etc.
It only shows 'Back to Forum List' and 'Create Topic'. How to enable icons like Edit, Delete?
ThanksI think jive_setup.xml has DB details..not sure about LDAP.
Can you please confirm from below:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file stores all properties needed by Jive Forums to startup. Property names must be in the
format: "example.prop.is=value"
That will be stored as:
<example>
<prop>
<is>value</is>
</prop>
</example>
All properties must be under the "jive" element.
This file should live in your jiveHome directory. The path to that directory
should be specified in your jive_init.xml file or by one of the other
supported mechanisms.
-->
<!-- root element, all properties must be under this element -->
<jive>
<!-- When setup is false, you can access the setup tool. -->
<setup>false</setup>
<!-- Database settings -->
<database>
<!-- Uncomment to enable Unicode support when using MySQL -->
<!-- <mysql><useUnicode>true</useUnicode></mysql> -->
<!-- Uncomment to enable Statement caching when using Oracle JDBC -->
<!-- <oracle><useStatementCache>true</useStatementCache></oracle> -->
<JNDIProvider>
<name>jdbc/OWC_DiscussionsDS</name>
</JNDIProvider>
<defaultProvider>
<maxConnections>25</maxConnections>
<minConnections>5</minConnections>
<connectionTimeout>1.0</connectionTimeout>
<username>webcenter</username>
<driver>oracle.jdbc.driver.OracleDriver</driver>
<password>welcome1</password>
<serverURL>jdbc:oracle:thin:@gdiora001.in.ibm.com:1523:SOA11</serverURL>
</defaultProvider>
</database>
<connectionProvider>
<className>com.jivesoftware.base.database.JNDIDataSourceProvider</className>
</connectionProvider>
<cache>
<Watches>
<size>2097152</size>
<maxLifetime>43200000</maxLifetime>
</Watches>
<Message>
<size>5242880</size>
<maxLifetime>43200000</maxLifetime>
</Message>
<Thread>
<size>5242880</size>
<maxLifetime>21600000</maxLifetime>
</Thread>
<Announcement>
<size>2097152</size>
<maxLifetime>43200000</maxLifetime>
</Announcement>
<Forum>
<size>6291456</size>
<maxLifetime>21600000</maxLifetime>
</Forum>
<Category>
<size>5242880</size>
<maxLifetime>43200000</maxLifetime>
</Category>
<User>
<size>5242880</size>
<maxLifetime>21600000</maxLifetime>
</User>
</cache>
</jive>
Thanks
Vivek -
How can i edit in photoshop elements 10 ?
HOW CAN I EDIT MY PHOTOS IN PHOTOSHOP ELEMENTS 10 ? JB [email protected]
No, sorry, I don't understand what you are talking about. Exactly what happens? You do not need to buy a different version of Elements, just explain EXACTLY what the problem is. And please turn off your caps lock key.
Adobe is not preventing you from using PSE 10. Thousands of people are using it, so we need to figure out exactly where the problem lies. Please explain step by step what you are doing and what happens. -
How to get editable data into internal table
Hi ABAPers,
I am displaying REUSE_ALV_GRID_DISPLAY report with one editable field and i have post button in report. Once i select post button i need to get editable data to internal table which i passed to REUSE_ALV_GRID_DISPLAY.
actually i am writing below code but data is not coming to internal table.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'PF-STATUS'
i_callback_user_command = 'USER_COMMAND '
it_fieldcat = t_field[]
i_default = 'X'
TABLES
t_outtab = <fs_display1>. "t_display
FORM user_command USING g_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
g_test1 = g_ucomm.
CASE g_ucomm.
WHEN 'POST'.
READ TABLE <fs_display1> ASSIGNING <fsw_display1> INDEX 1. "Just for testing index 1
IF sy-subrc = 0.
w_display = <fsw_display1>.
APPEND w_display TO t_display.
CLEAR : w_display.
ENDIF.
PERFORM v1.
PERFORM bapi_call.
ENDCASE.
ENDFORM. "USER_COMMAND
Please help me how to get.
Regards,
Raju.Hi,
Try the following:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'PF-STATUS'
i_callback_user_command = 'USER_COMMAND '
it_fieldcat = t_field[]
i_default = 'X'
TABLES
t_outtab = <fs_display1>. "t_display
FORM user_command USING g_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
g_test1 = g_ucomm.
CASE g_ucomm.
WHEN 'POST'.
* to reflect the data changed into internal table
DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data.
ENDIF.
READ TABLE <fs_display1> ASSIGNING <fsw_display1> INDEX 1. "Just for testing index 1
IF sy-subrc = 0.
w_display = <fsw_display1>.
APPEND w_display TO t_display.
CLEAR : w_display.
ENDIF.
PERFORM v1.
PERFORM bapi_call.
ENDCASE.
ENDFORM. "USER_COMMAND
Hope it helps.
Regards,
Gilberto Li -
How to enable edit mode to company code option in the copied PO in SRM 7.0?
Hello all,
Another strange requirement!
When we copy an old PO or when we reopen a saved PO, the Company code drop down option is freezed at the header part of the PO. How to enable this option for the user to edit the company code further?
Regards
MadhanHI Madhan,
As far as I know, the behavior you have mentioned is Standard behavior of SAP SRM. You are copying an old Purchase Order to create a new PO, the system assumes that all the important header information is same (that is the reason you are using the copy functionality) and gets copied to new PO.
When it comes to 'Saved PO' the system initially determines the company code from the organization assignment of the buyer who created the purchase order.
In such cases, I hope, the user can create multiple purchase orders with different company codes and treat them as templates.
This can be a workaround for the functionality your customer is looking for.
Thanks and regards,
Ranjan -
How to Enable and Disable column in Table Control.
Hi all,
I want to make certain column of Table control as Enable or Disable on Button action.
Enable means ready for input and Disable means not ready for input.
Please send me sample code.
Thanks in advance.Hi Vipin,
You have to loop through the table columns to set the properties in the PBO of your screen.
Here is the sample solution.
delcare a workarea for the columns in the table control in your top include.
Table Control .
CONTROLS: TAB1 TYPE TABLEVIEW USING SCREEN '0100'.
DATA: WA_COLS LIKE LINE OF TAB1-COLS.
in your screen
PROCESS BEFORE OUTPUT.
MODULE INTIALISE_100.
*& Module 0100_INTIALISE OUTPUT
MODULE INTIALISE_100 OUTPUT.
LOOP AT TAB1-COLS INTO WA_COLS.
WA_COLS-SCREEN-INPUT = 1.
MODIFY TAB1-COLS FROM WA_COLS TRANSPORTING SCREEN-INPUT.
ENDLOOP.
ENDMODULE. " 0100_INTIALISE OUTPUT
modify the screen-input property as required for the table control columns.
Please provide points if helpfull.....
Thanks,
Karthik
Message was edited by: Karthik
Karthikeyan K -
In Pages (iPad) how do I edit text in a table?
I made a Table in Pages. I put text on each cell of the table.
One of the cells has the following text: "The Ukraine is an independent nation, a former client state of the Soviet Union, which is struggling with the decision of whether to join the European Union or a similar Russian consortium."
Now, I want to put the cursor/insertion point just left of the "U", to get rid of "The".
No dice. Although I've managed to do all these by accident:
- select the whole table
- drag the whole table all around
- select the cell as a cell (but not any text in it)
- drag the cell around the table
- delete all the text in the cell
- get "Cut/Copy/Paste" to come up, but paradoxically, not "select" (which would suffice)
How do I stick the insertion point in text in the cell?
I could type the whole cell over, but that's not fun.Text in a form filed text box or in an annotation text box can be edited with Acrobat 9 Standard's form tools / comment tools if the field has not been flattened.
Once flattened either type of "text box" becomes part of the PDF page content. PDF (the format/technology - defined by ISO 32000-1) does not support word processor like edits. However minor touchups are supported. This capability is present in Acrobat Pro but not Standard.
Be well... -
How to make editable the colums of table control in the PBO
Hello Experts!
I`m using the table control in dynpro, and i want to make editable some colums depending of some values.
How can i do that?
Thanks!Hi
U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:
PROCESS PBO.
LOOP AT ITAB ......
MODULE LOOP_SCREEN_TC.
ENDLOOP.
MODULE LOOP_SCREEN_TC.
IF ITAB-FIELD1 = .........
LOOP AT SCREEN.
IF SCREEN-NAME = 'ITAB-FIELD2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
Max -
How to read Editable field in a table
Dear friends,
i have a table with 5 columns( one column is editable field ( Amount column)) pls check the below screen shot, , its binded with an internal table , now i want to edit the amount columns ( for eg 100 ), could any one pls let me know how to capture the editable value ( ie 100 ), when i am trying to read amount field , i am getting the old value ( ie 15,000),
Thanks
VijayaHi Laxmi,
I am able to read the values before edited and after editing. Code i have written is in the ONENTER action method. I have simply read the Table node values.
1. Applicaiton data
2. Values In Debugging mode by clicking on Enter button on the second row.
3. Edit second value and click on Enter
Regards,
Ravikiran.K -
How to enable editing sites with SharePoint Designer
HI,
when i try edit my web part in SharePoint designer I receive a error:
“Web Site Editing is Disabled. This web site has been configured to disallow editing with SharePoint Designer. Contact your web site administrator for more information.”
I never disable this. When I search for this error, it’s the same thing, how disable editing SharePoint designer… but I want ENABLE.
I try search the line “DisableWebDesignFeatures=wdfopensite” in my Onet.xml files but no exists.
I need edit a file, how? Please explain me, it’s for my work.
thanks
HernandezzSharePoint allows you to create custom web parts to help you provide highly customized solutions to your clients/users. The properties of these web parts are added by default but to
further customize the solution, you can also create custom properties. The following example demonstrates how to add a custom dropdown property to a custom webpart.
// Create a Enum for Languages
public enum LanguageByEnum
English = 0,
French,
Spanish
Sharepoint migration 2010
Cheers, Eliza -
How to enable edit in Photoshop?
I've just installed upgrades to move up to Lightroom 3 and Photoshop CS5 (on Vista). In Lightroom, the edit in Photoshop menu choices are all grayed out as not available. I have searched for a way to to turn on Photoshop editing in Lrightroom but cannot find it. How do I get Lightroom to make Photoshop editing available? Thanks!
L.K. Foster wrote:
Solution 1, reloading CS5, worked for me. The worst part was it took 2.5 hours to re-download CS5.
Yikes - now write it to CD! -
I need to know how to "enable editing" a document.
If I have a template where all I need to do is fill-up the areas like Date,vendor, product or service, or in other words a Purchase Order Form, what application do i need to do that?
Sincerely.
Benjamin MongeHi Benjamin,
You could use Adobe Acrobat to convert your document into a fillable form. You can download a free 30-day trial of Acrobat here: http://get.adobe.com/tryacrobatpro Once you've got the trial, check out this tutorial for creating a fillable form: http://tv.adobe.com/watch/learn-acrobat-xi/how-to-create-new-pdf-forms-from-existing-docum ents/
Please let us know if you have any questions.
-David -
How to enable editing (DML), Crucial for me
Dear All,
Please help me, After I created the application with report/form pages, I deleted the auto-generated process and created a new one servers the purpose of the application.
The problem:
I cannot edit the records nor delete them. A friend in the forum advised to create a new DML process but it did not work.
Please have a look and let me know ASAP.
http://apex.oracle.com/pls/apex/f?p=30382:1
username: dev
password: dev
Your help is highly appreciated.Did you try deleting the Apply Changes button and creating a new one. My experience with buttons and DML has been that they lose connection or something to the DML. Just a thought.
Shelly -
How can i edit my photos in photoshop elements 10 ?
HOW CAN I EDIT MY PHOTOS IN PHOTOSHOP ELEMENTS 10 ? JB
Duplicate. Please keep replies in this thread:
how can i edit in photoshop elements 10 ?
Maybe you are looking for
-
How to make a page that should be inside an iframe load up it's parent page?
Hello all Here's my dilema... I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well. The problem that I envisage is that, even with no-index robot me
-
Updated 1st gen mini to 1.4. Now my 5GB mini is 4GB!!!!
Hi guys, I have a real problem. I recently removed all my iTunes music, iTunes software and iPod software to install a new hard drive. Upon installing the iPod software, i just downloaded the latest software updater and updated the iPod. I have the 1
-
ONLY sync photos from iPad to iMac folder; automatically how?
I have 50 GB of pictures in iPhoto on my iMac (10.8.4) along with an iPhone 5 and an iPad 3. I would like new pics from the iPhone and iPad to be automatically downloaded into the folder I have set up to get pics from those devices "iPod Photos" How
-
Garbled Characters in Print as .pdf
I am using Acrobat Pro, version 9.4.4 Windows 7, 64 bit This issue has recently happened, before this everything was working perfectly... When I go to print something, (say a web email) using the .pdf printer so I can save a copy to my desktop, the
-
I have windows 7 and downloaded the latest version of Firefox and web pages will not load?
firefox opens but does not show websites