Setting column to input enabled in table control at run time
Hi friends,
I have one table control in that all columns are
set as display only field or ( output only).
Now, when I press enter key one column should be
enabled as input field. HOW TO DO THAT?
my coading.
loop at ztblctrl-cols into s_cols.
if s_cols-screen-name = 'ZGATEPASS-MENGE'.
s_cols-screen-input = 1.
s_cols-screen-output = 1.
s_cols-screen-invisible = 0.
s_cols-screen-active = 1.
s_cols-screen-required = 1.
move s_screen to s_cols-screen.
modify ztblctrl-cols from s_cols.
endif.
endloop.
Regards,
s.senthil kumar
Hi Kumar,
Hope your code is in PBO.
See the below 2 links and you will come to know where you are going wrong.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
http://sap.niraj.tripod.com/id29.html
Reward points for helpful answers.
Regards,
hari
Similar Messages
-
Changing data in the table control during run time of transaction F-28
Dear Experts,
in transaction F-28 of second screen of second column (Field Name: Assignment) currently the data is getting from BSEG table and populating this column of table control, now I have a requirement that the data should be get from the other ZTABLE and populate this column during run time instead of the data from BSEG table, please let me know your suggestions, if you guys feel it will be done using User Exit then please let me know the suitable exit for this.
Best Regards
VenkatHi Venkat,
Use the appropriate sort key in the GL to fill up the assignment field automatically.
U can create ur new sort key through OB16
Regards,
Kiran -
How to make screen field enable when table control gives an error
Hi,
I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
How to make the other parameter enable when table control throws an error.
Regards,
JayaHi Gobi,
Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
Thanks
Jaya -
[Urgent!!]How to control the running time??
Hi,
I'm an undergraduate researcher in the University of Michigan. I used NI labVIEW FPGA on my current project and now i meet a problem.
I have a labview code that has runs with 3 subroutines. they execute one after another for a given time period for each iteration of the entire code. that is i built them in a flat sequence structure inside a large while loop and each of the subroutine is a while loop with several subvi's in it. not that complicated but i have to specify how long each subroutine runs. now i have a problem to set that execution time. i don't know exactly what kind of timing function i shall use. i tried the "Elapsed time" function but that only works for the first iteration. from the second iteration on each subroutine only runs for once, instead of continuing to run until the given time elapsed. so i don't know how to correctly control the running time. It's reallly urgent, so could you please give me some suggestions about it? Thanks a million!!
XiaofeiThank you for your suggestion!
sorry but that this method won't help because my code is sort of difficult to put into a for loop .
the logic is like this: first the output is set to 0 for a user-defined amount of time (means no excitation). secondly it gets excitation and gets output but no data saving is allowed for a user-defined amount of time. at the same time, one paramater is automatically changed. (the reason for not saving data is that there is a transient response when the parameter changes). thirdly, data saving begins with the same
parameters as before, also for a user-defined amount of time. and then after these three steps one iteration is done. for iterations there is a different parameter, the user defines the range of the parameter and the number of different values in between and the code will do the increment at equal intervals automatically. my problem now is that i don't know how to correctly control the time. i have tried various ways but no one works.
the second problem is that i don't know how to let it run and not saving data and then saving data without changing everything else. what i have now is to call the same VI twice, once for only running and no data saving and the other for saving data. but then the problem is that in between these two routines, the output suddenly becomes zero and gets excited again after i call it. My professor said that i cannot let the output become zero, otherwise there is no meaning in waiting for the excitation to become stablee. but then i don't know how to call a VI only once and let it do the saving for only the latter part of the running time. i have been working on this thing for two weeks now and still have no idea....Sorry the problem is long and tedious, but if anyone have any idea about it, please let me know, i will be most grateful. Thanks a million!!! -
In ABAP How to locate an Input file from a Directory during run time
I'm loading data from a flat file(text file) into SAP thru BDC programs. All my input files are present in Application server.How to locate an Input file in a directory during run time to process BDC programs programmatically. Are there any in-built functions?Provided me some sample code or any method of doing the same.
Hello Murali,
you should ask this question in the ABAP forum.
Regards
Gregor -
How to change the numbers of items in a ring control in run time ?
Hi !
I would like change the numbers of items in a ring control in run time, but I can´t.
Thanks.Hello blaze,
did you try the "Strings And Values []" property of the ring?
LabView7.1 help says:
Array of clusters containing the strings from which you can select in the ring control
and the numeric values for each item. Use the Strings [] property if you do not need to
assign specific numeric values to each item.
Best regards,
GerdW
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
No entry in table T001P when running time eval
Hi,
Can someone tell me, why this error occurs. "No entry in table T001P" when running time evaluation PT60. I checked his Infotype 1 and has the Personal Area/Subarea assigned.
Thanks,
Swarna.Hi,
Please check these tables:
V_001P_ALL
V_503_AL
Or try creating a blank entry in table T001P.
Hope this helps,
Reward points if helpful,
Thank You, -
Dynamicaly setting SCREEN-INPUT field in TABLE CONTROL
hai guys,
in my table control i have REFNUM field and some other fields.
now my task is,
in every row,i have to enable the REFNUM field of table control for editing only if REFNUM is blank.
else i shud disable it.(when REFNUM is filled).
all other fields should be always disabled.
(right now,i am just able to either totaly enable the entire REFNUM coloumn or or totaly disable it for editing,irrespective of the values it is holding.)
shravan ramidiis this not possible?
can some one confirm it.. -
Closing INDIVIDUAL lines for input in a table control
Right, hopefully I can explain my issue clearly enough to get an answer that will help me resolve this pain in the *** issue.
My table control has a delete function but the client doesn't want the line removed from the control table they simply want the line in question to be greyed out (closed for input). Has anyone achieved this in the past? I know it's possible to grey out columns but I can't see any way of doing individual lines.
For all answers that help me I will shout a beer provided you are in either Sydney or Adelaide.Hi,
>
Neil Gardiner wrote:
> Right, hopefully I can explain my issue clearly enough to get an answer that will help me resolve this pain in the *** issue.
>
> My table control has a delete function but the client doesn't want the line removed from the control table they simply want the line in question to be greyed out (closed for input). Has anyone achieved this in the past? I know it's possible to grey out columns but I can't see any way of doing individual lines.
>
> For all answers that help me I will shout a beer provided you are in either Sydney or Adelaide.
Refer:-
it_zekpo is my internal table w/o header line,
wa_zekpo is work area.
Name of input/output fields on screen are:-
wa_zekpo-field1,
wa_zekpo-field2, and so on...
Add a field as flag(1) type c in the internal table and work area
And keep a name of SELCOL in the attributes of table control as wa_zekpo-flag
Take the group1 for all textboxes as 'ABC' in the table control
Try using code:-
At screen logic:
PROCESS BEFORE OUTPUT.
* MODULE status_8003.
LOOP WITH CONTROL po_tb.
MODULE read_data.
ENDLOOP.
PROCESS AFTER INPUT.
* MODULE user_command_8003.
LOOP WITH CONTROL po_tb.
MODULE modify_data.
ENDLOOP.
In PBO
*& Module READ_DATA OUTPUT
MODULE read_data OUTPUT.
READ TABLE it_zekpo INTO wa_zekpo INDEX po_tb-current_line. "po_tab is table control name
data : line_count type i.
describe it_zekpo
lines line_count.
po_tb-lines = line_count + 10.
"to increase the number of lines in table control dynamically
if sy-ucomm = 'DELETE'. "<--when user click delete button
if wa-zekpo-flag = 'X'. "<--if record selected
if screen-group1 = 'ABC'.
loop at screen.
screen-input = 0. "disable
screen-active = 0.
endloop.
modify screen.
endif.
else. "<--if record not selected
if screen-group1 = 'ABC'.
loop at screen.
screen-input = 1. "enable
screen-active = 1.
endloop.
modify screen.
endif.
endif.
endif.
ENDMODULE. " READ_DATA OUTPUT
In PAI
*& Module MODIFY_DATA INPUT
MODULE MODIFY_DATA INPUT.
MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tb-currentline.
"this will insert a new line
"and will modify the contents of existing line
ENDMODULE. " MODIFY_DATA INPUT
Hope this helps you.
Let mw know if you have any doubts.
Regards,
Tarun -
Make Select rows and columns as read only in Table Control
Hi All,
I would like to know how to make certain cells in a Table Control as display only.
Table control should look like-(Those in bold are read only or in display mode)
<b>Name1 Idno1 </b> Address1
<b>Name2 Idno2</b> Address2
<b>Name3 Idno3 </b> Address3
<b>Name4 Idno4</b> Address4
(Blank row to enter name idno and address)
(Blank row to enter name idno and address)
(Blank row to enter name idno and address)
My table control should display all the above fields the way it is above of which first two colums and 4 rows should be read only,and the rest of the empty rows in the TC should be in change mode.i.e it must have provision to add new rows but not change the first two columns of existing rows.
In short I am looking at solution to hide particular no of rows and columns and <b>not the entire column.</b>In the PBO of the table control loop. just write these statements
NAME and IDNO considering the fields on the screen.
and WA_TAB is the table work area being passed to the table control to display the rows.
if not WA_TAB-NAME is initial and not WA_TAB-IDNO is initial.
loop at screen.
if screen-name = 'NAME' or
screen-name = 'IDNO'.
screen-input = <b>0</b>.
modify screen.
endif.
endloop.
endif.
which means that the fields are disabled only if NAME and IDNO are not initial.
Regards
- Gopi -
Issue with input field in table control
Hi,
I have an issue with field acgl_item-rstgr in the table control.
I have created a screen program with a table control.
In the control i have added a dictionary field as acgl_item-rstgr.
When i execute, do f4 on the input field, select a value and press enter, then it is showing me
error as 'Entry 'val' does not exist in T053R (check entry). Its really weird to understand this. I have selected the value
from f4 and even then it says this. Its working for all other columns, but not working only for RSTGR.
Plz help me on this regard.
Code is like this.
TYPES : BEGIN OF ty_rstgr,
rstgr TYPE RSTGR,
END OF ty_rstgr.
TABLES : ACGL_ITEM.
DATA : it_rstgr TYPE TABLE OF ty_rstgr.
DATA : wa_rstgr TYPE ty_rstgr.
CONTROLS : table TYPE TABLEVIEW USING SCREEN 100.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
LOOP AT it_rstgr INTO wa_rstgr WITH CONTROL TABLE.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT it_rstgr.
ENDLOOP.
Thanks,Hi Navitha,
Its Check Table concepts for the error u stated. Please check wht the Search help ur using...Because for this field there is no search help at value table level...Use search help that hold all master data or create a custom search field in SE11 level or in program level.
Cheers,
Naveen -
A table control is created in screen painter and an internal table was used to store particular data in ABAP program.
Information were entered into the table through ABAP program(insert value into internal table). The input check generated by data dictionary do not work due to data not inserted from screen field. How can I solved the problem?
Do I need to manually program the input check using module as following:
FIELD f Module m.
But how can I make the whole row ready for input and with cursor on particular column just like what was done with normal data dictionary input check?
Message class 00 number 058 with text
Entry & & & does not exist in &4 - check your entry
can be used for compute the message.What are those conditions that will trigger the input check for my situation?
I can only do that for those fields with check table.
Here are what I had done:
<b>Flow Logic</b>
field EBAN-EKGRP MODULE CHECK_EKGRP. " Purchasing Group
<b>Module code</b>
MODULE CHECK_EKGRP INPUT.
TABLES: T024.
CHECK: EBAN-EKGRP IS NOT INITIAL.
SELECT SINGLE * FROM T024 WHERE EKGRP = EBAN-EKGRP.
IF SY-SUBRC NE 0.
MESSAGE E058(00) WITH EBAN-EKGRP '' '' 'T024'.
ENDIF.
ENDMODULE. " CHECK_EKGRP INPUT
However, this is not applicable for those without check table.
Please help. Points will be awarded for helpful answers. -
How to read mutiple excel columns from clipboard and populate table control
Hi All,
I have a requirement to populate two columns in table control from excel using clipboard. (Copy two columns from excel and then, click on a button on the screen and table control's two columns should be filled).
I am using FM CLPB_IMPORT to get clipboard values.
eg: I am getting clipboard values as val1#val2
val3#val4
where each row is a row in excel and # indicates the columns.
The problem here is that I am not able to split val1 and val2 using the SPLIT statement using # character.
Any ideas will be appreciated.
Regards,
Arun MohanHi,
Try suing the below code instead of "#" in the SPLIT statement.
CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
Regards,
Naveen
Edited by: Naveen Kumar on May 13, 2010 1:48 AM -
How to set total number of rows of table control
Hi All,
I want to set the total number of rows of table control. I don't want to display the blank rows in table.
Regards,
ShrinivasNeed some fine tuning regarding the scrollbar height but it's a start
Unless this isn't what you asked for
Small number of rows
Large number of rows
Attachments:
PlayingWithTable.vi 17 KB -
Changes are not reflecting in the table control in 2nd time
Hi,
In BSP Portal Asset management page, General,cost center, allocations ..etc tabs are there.and i have maintain button also in this page
After filling all these things, when i click the maintain button , the mandatory fields [General,costcenter,Eval1,Eval2]are displaying in the tablecontrol popup window,
In the tablecontrol popup whatever i selected ,it is displaying fine..
In the popup,save buttons is there.Once if i clicked the save button, popup will vanish and datas are stored in the internal table.and again it will come to portal main page.Now if i select the different values in the allocations dropdown, old vales are displaying in the tablecontrol popup. new dropdown values are not diaplying in the popup.what can i do?
This is my code: popupdisplay.htm
==============
<%
* DATE CHANGE.....: 20/07/2007 *
* AUTHOR..........: Mohan Pitchaimani (inmpi0) *
* CHANGE DESCR....: DIsplay the popup when clicking the maintainbutton *
* R/3 RELEASE... : 2.1 *
* MODIFICATION ID : MOD-001 *
* RIFE/TPR/SCR No.: FSSE698 BSP Asset Mass Creation BSP Request form * *
* RT/TRANSPORT....: 12403 / D94K969999 *
%>
<%--********************Begin of changes mod-001 on 20/07/2007 *****************--%>
<%@page language="abap"%>
<%@extension name="bsp" prefix="bsp" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@ extension name="/DS1/mdm" prefix="mdm" %>
<%
data :
lt_columns type /DS1/MDM_tt_table_control,
ls_column type /DS1/MDM_ms_table_control,
l_onload type string,
lr_field type ref to /ds1/cl_mdm_bspfield_services,
lw_maintain type /ds1/fss_ms_popup,
l_editable type char1,
lt_drop type /ds1/mdm_tt_dropdowns,
ls_sc type /DS1/MDM_MS_F4_SEARCH_CRITERA,
ls_rmap type /DS1/MDM_MS_F4_RESULTS_MAP,
ls_drop type /ds1/mdm_ms_dropdown,
l_number type int4.
%>
<%--********************Close the window **************************************** --%>
<% data: event TYPE REF TO CL_HTMLB_EVENT.
event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
%>
<%
if event is not initial.
CASE event->id.
WHEN 'con'.
%>
<script language="javascript">
self.close();
</script>
<% endcase.
endif.
%>
<%--************************ Popupdisplay ***************************************** --%>
<htmlb:content design = "design2002+design2003"
rtlAutoSwitch = "true"
forceEncode = "ENABLED" >
<htmlb:page title = "Maintain fields should be different from similar assets">
<script type="text/javascript" language="JavaScript" src="../MDM_GENERIC/Javascript/MDM_Generic.js"></script>
<%@ include file = "asst_scripts_change.htm" %>
<%@ include file = "../MDM_GENERIC/TableControlStyleInclude.xml" %>
<% delete controller->r_asset_data->T_MAINTAIN where TXT50 = space. %>
<% if controller->r_asset_data->t_maintain is initial.
lw_maintain-TXT50 = controller->r_asset_data->w_generaldata-DESCRIPT.
lw_maintain-INVNR = controller->r_asset_data->w_generaldata-INVENT_NO.
lw_maintain-kostl = controller->r_asset_data->w_timedependantdata-costcenter.
lw_maintain-ORD41 = controller->r_asset_data->w_allocations-EVALGROUP1.
lw_maintain-ORD42 = controller->r_asset_data->w_allocations-EVALGROUP2.
lw_maintain-ORD43 = controller->r_asset_data->w_allocations-EVALGROUP3.
lw_maintain-ORD44 = controller->r_asset_data->w_allocations-EVALGROUP4.
lw_maintain-GDLGRP = controller->r_asset_data->w_allocations-EVALGROUP5.%>
<%--******************** Appending the maintained values *************************** --%>
<%
if controller->r_asset_data->G_NO_ASSETS NE space.
clear l_number.
DO controller->r_asset_data->G_NO_ASSETS TIMES.
l_number = l_number + 1.
lw_maintain-SERNR = l_number.
APPEND lw_maintain TO controller->r_asset_data->t_maintain.
ENDDO.
else.
DO controller->r_asset_data->g_no_similarsubno TIMES.
APPEND lw_maintain TO controller->r_asset_data->t_maintain.
ENDDO.
endif.
controller->G_POPUP_FLAG = 'X'.
endif.
%>
<%--******************** VAlidations for the Requester and Approver screen *************************** --%>
<% if controller->ms_request_header-req_status = '00'.
ls_column-columnname = 'SERNR'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
endif. %>
<% if controller->ms_request_header-req_status = '05'.
ls_column-columnname = 'SERNR'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'TXT50'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'INVNR'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'KOSTL'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
endif. %>
<% if controller->ms_request_header-req_status = '06'.
ls_column-columnname = 'SERNR'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'TXT50'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'INVNR'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'KOSTL'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'ORD41'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'ORD42'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'ORD43'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'ORD44'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
ls_column-columnname = 'GDLGRP'.
ls_column-no_edit = 'X'.
append ls_column to lt_columns.
clear ls_column.
endif.
%>
<% if controller->ms_request_header-req_status = '00'. %>
<html>
<body>
<p>
You can Maintain/Edit details of Similar Assets/Similar Sub - Assets . Click confirm to maintain the entries
</p>
</body>
</html>
<% elseif controller->ms_request_header-req_status <> '00'. %>
<html>
<body>
<p>You can view details of of Similar Assets/Similar Sub - Assets.
</p>
</body>
</html>
<% endif.%>
<htmlb:form id='frmMain' >
<htmlb:group>
<htmlb:groupBody>
<htmlb:gridLayout columnSize ="2"
rowSize ="15"
width ="150%">
<htmlb:gridLayoutCell columnIndex="2" rowIndex="1" horizontalAlignment="left" verticalAlignment="top" width="200" wrapping="false">
<%
ls_column-columnname = 'TXT50'.
ls_column-input_type = '1'.
ls_column-data_type = '1'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
ls_column-columnname = 'INVNR'.
ls_column-input_type = '1'.
ls_column-data_type = '1'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* build F4 Search sceen
ls_sc-field_name = 'KOKRS'.
ls_sc-data_element = 'KOKRS'.
ls_sc-f4_from_data_element = 'X'.
ls_sc-value = 'OP01'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'BUKRS'.
ls_sc-data_element = 'BUKRS'.
ls_sc-f4_values = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_COCE_COMPANY( ).
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'KOSTL'.
ls_sc-data_element = 'KOSTL'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'KOSAR'.
ls_sc-data_element = 'KOSAR'.
ls_sc-f4_from_data_element = 'X'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'VERAK'.
ls_sc-data_element = 'VERAK'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'LTEXT'.
ls_sc-data_element = 'KLTXT'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'SPRAS'.
ls_sc-data_element = 'SPRAS'.
ls_sc-f4_values = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_LANGU( ).
ls_sc-value = sy-langu.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'TELX1'.
ls_sc-data_element = 'TELX1'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'FUNC_AREA'.
ls_sc-data_element = 'FKBER'.
ls_sc-f4_from_data_element = 'X'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'PRCTR'.
ls_sc-data_element = 'PRCTR'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
ls_sc-field_name = 'REGIO'.
ls_sc-data_element = 'REGIO'.
append ls_sc to ls_column-lookup_params-searchcriteria.
clear: ls_sc.
* set parameters for f4 lookup
ls_column-lookup_params-POPUPHEIGHT = '550'.
ls_column-lookup_params-POPUPWIDTH = '750'.
ls_column-lookup_params-SEARCHMAXRESULTS = '500'.
ls_column-lookup_params-SEARCHRESULTSKEY = 'KOSTL'.
ls_column-lookup_params-SEARCHTABLE = 'CSKS'.
* Set Column for Cost center
ls_column-columnname = 'KOSTL'.
ls_column-input_type = '4'.
ls_column-data_type = '1'.
ls_column-tooltip_fom_de = 'X'.
ls_column-scrollable = ' '.
ls_column-length = '15'.
ls_column-maxlength = '15'.
ls_column-halign = 'RIGHT'.
ls_column-valign = 'TOP'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Set Column for Evaluation group 1
ls_drop-dropdown_id = 'evlg1'.
ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '1'
im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
append ls_drop to lt_drop.
ls_column-columnname = 'ORD41'.
ls_column-input_type = '2'.
ls_column-DROPDOWN_ID = 'evlg1'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Set Column for Evaluation group 2
ls_drop-dropdown_id = 'evlg2'.
ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '2'
im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
append ls_drop to lt_drop.
ls_column-columnname = 'ORD42'.
ls_column-input_type = '2'.
ls_column-DROPDOWN_ID = 'evlg2'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Set Column for Evaluation group 3
ls_drop-dropdown_id = 'evlg3'.
ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '3'
im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
append ls_drop to lt_drop.
ls_column-columnname = 'ORD43'.
ls_column-input_type = '2'.
ls_column-DROPDOWN_ID = 'evlg3'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Set Column for Evaluation group 4
ls_drop-dropdown_id = 'evlg4'.
ls_drop-values_tab = /DS1/CL_MDM_F4_VALUES=>GET_VALUES_FOR_EVALGRP1( im_group = '4'
im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ).
append ls_drop to lt_drop.
ls_column-columnname = 'ORD44'.
ls_column-input_type = '2'.
ls_column-DROPDOWN_ID = 'evlg4'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Set Column for Evaluation group 5
ls_drop-dropdown_id = 'evlg5'.
ls_drop-values_tab = controller->GET_VALUES_FOR_EVALGRP5( im_bukrs = controller->R_ASSET_DATA->W_KEY-COMPANYCODE ) .
append ls_drop to lt_drop.
ls_column-columnname = 'GDLGRP'.
ls_column-input_type = '2'.
ls_column-DROPDOWN_ID = 'evlg5'.
APPEND ls_column TO lt_columns.
CLEAR ls_column.
* Input type
*1 Text box
*2 Drop down
*3 Checkbox
*4 F4 Lookup
*5 HTML
*6 Text just displayed
*7 Date
*8 Link
*9 Time
* Data type
*1 String
*2 Numeric
*3 Date
*4 Time
%>
<%---------------- TableControl display in the popupwindow --------------------------%>
<mdm:tableControl table="<%=controller->r_asset_data->t_maintain%>"
id="tv1"
width="650"
no_buttons = "X"
height="330"
columns="<%=lt_columns%>"
dropdowns= "<%= lt_drop %>"
title="Maintain Asset" >
</mdm:tableControl>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>
<input type="hidden" name="renderedtv1" value= "rendered-tv1" />
<%---------------- Confirm Button-------------------------------- --%>
<htmlb:button id="con"
design="STANDARD"
width="15"
text = "Confirm" onClick="confirm"
onClientClick = "self.close()"/>
<%---------------- Cancel Button-------------------------------- --%>
<htmlb:button id="cancel"
design="STANDARD"
width="15"
text = "Cancel"
onClientClick = "self.close()"/>
</htmlb:groupBody>
</htmlb:group>
</htmlb:form>
</htmlb:page>
</htmlb:content>
<%--********************End of changes mod-001 on 20/07/2007 *****************--%>
Message was edited by:
Durairaj Athavan Raja
--formattingHi Mohan,
Please use the formatting options to format ur question...!!
Thanks,
Tatvagna.
Maybe you are looking for
-
it does no good to send info to my acct. cause I can't access it . that is my problem!
-
I'm using iTunes 9. In the older versions I was able to check what Playlist I wanted to load on the ipod along with all my music. Now you check if you want your music or if you want your playlist. If I check music I still get my playlist loaded along
-
How to request - Updating an embedded image in a PDF using Actions but not all actions are recorded
i am trying to create an Action in CS3 but some of my actions are not been recorded. What i want to do is run the Batch option on a folder with a 1,000 PDFs in it. The PDFs (which were created in Illustrator CS3) consist of a single page with a singl
-
Hi, can i use LVM in node. i am implementing 2 node rac setup using openfiler 2.3 I node1&2 i have 3 SCSi hardisk of each 70 Gb. can i use LVM to combine the 3 Harddisks and use for a RAC environment. charan.
-
Slides turn off play in captivate 8
I have tried to use a button to get to the next slide to avoid slides placing project into pause status however the buttons do not respond until I click on the exterior play button.