How do i save the data in table ??? URGENT
how do i save the data in table ??? URGENT
Hope can attach some example VI for reference =]
Attachments:
data in table.JPG 271 KB
block diagram.JPG 459 KB
You didn't mention which version of LabVIEW you are using. I adapted your method in this example. Not sure this is an efficient method. I just pass the 2d array through in the false case.
Using LabVIEW 2010SP1 and TestStand 4.5
Attachments:
WriteTable.PNG 35 KB
Similar Messages
-
How can i save the data from the Oracle database to my local directory
How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run. -
How can i save the data in a jpanel form to a .txt document
how can i save the data in a jpanel form to a text file using parse function,this should happen when i click a save button .
please help me..each time when i fill the form and click save button ,all the data in the form should be written to a text file and each time when i repeat it should append to the old data in the text file.the elements in the form should be seperated by pipe delimeter.
thanks for your patience.. -
How to insert row in table control and save the data in tables
Hi,
I have one table control i am displaying data into table control ,
my problem is : i want to display data into read mode in table control.
but when i click on insert button on the same screen i want one blank line should inserted into table control , then i want to insert some data into table control on that row , when i click the save button . the new data inserted into the table control is insert that data into ztable ,
please give me solution
main problen is how can know inserted line in table control and pass that data into ztable.Hi,
Follow the below logic,
PROCESS BEFORE OUTPUT.
MODULE STATUS_0001.
MODULE POPULATE_TABLE_CONTROL. --> Get the data from table store in
ITAB
LOOP AT GT_CTRL_LP_D516 INTO GS_WA_CTRL_LP_D516
WITH CONTROL CTRL_LP_D516
CURSOR CTRL_LP_D516-CURRENT_LINE.
The following module moves data to control
MODULE MOVE_TO_CONTROL.--> Move data from ITAB to table control
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT GT_CTRL_LP_D516.
ENDLOOP.
MODULE EXIT AT EXIT-COMMAND.
MODULE USER_COMMAND_0001. --> Here you have to take out the values from table control and update database table
Reward points if helpful.
Thanks and regards,
Mallareddy Rayapureddy,
Munich, Germany. -
How can i save the data's which i have entered into the table (webdynpro)
Hi,
I have created one view in that username , password fields and one button are there .
While clicking on the button how can i save that data's into the table which i have created??
Where i want to write the code??
please help me...
Thanks
Shyjahi,
in component controller create a method save, on that read the node that containing the user name and password into itab using the code wizard.now write code to insert itab to the dbtable of ur choice. save the method and activate .
now go to ur view, create a button.. on action of that call the method in the comp_controller.
Regards
Sarath
Message was edited by:
sarath satheesan -
How can I display the data in table in separate column?
I have a vi reading data one by one in the same column.
How can I display the data with separate column?
like this:
data 1 | read | read
data 2 | read | read
data 3 | read | read
(would you mind if I will ask for an example
because it is much easier for me to work
with an example)
THANK YOU.If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
Attachments:
Data_Column_Example.vi 18 KB -
How can i save the data from ALV grid to my database tables?
Hi all,
Suppose in a grid i want to edit some fields and after editing the data i want to store the refresh data to my database tables. How can i do that? what is procedure? Please tell me in details.
Thanks in Advance,
Abhijit.Hi,
If you are doing it with oops concept then here are the steps for that.
1) Declare DATA : er_data_changed TYPE REF TO cl_alv_changed_data_protocol,
data_changed TYPE REF TO cl_alv_changed_data_protocol.
--For getting the row no of of the row which is edited by user
DATA : ls_mod_cell TYPE table of lvc_s_modi with header line,
lv_value TYPE lvc_value .
in your program
2) Define a class
CLASS notification DEFINITION.
PUBLIC SECTION.
CLASS-METHODS : handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid IMPORTING er_data_changed.
ENDCLASS. "NOTIFICATION DEFINITION
3) For that class write the implementation
CLASS notification IMPLEMENTATION.
METHOD handle_data_changed.
PERFORM handle_data_changed USING er_data_changed.
ENDMETHOD. "handle_data_changed
ENDCLASS. "NOTIFICATION IMPLEMENTATION
4) In the PERFORM handle_data_changed you code like this
FORM handle_data_changed USING er_data_changed type ref TO
cl_alv_changed_data_protocol.
SORT er_data_changed->mt_mod_cells BY row_id .
LOOP AT er_data_changed->mt_mod_cells
INTO ls_mod_cell .
append ls_mod_cell.
ENDLOOP.
*LS_MOD_CELL will have all the rows which were edited
and all the updated data corresponding to those rows*
You can now use the the data which is in LS_MOD_CELL
to update into your DB Table.
LOOP at ls_mod_cell.
READ TABLE itab3 INTO t_output INDEX ls_mod_cell-row_id.
ENDLOOP.
ENDFORM. " handle_data_changed
Regards,
Syed -
How do I save the data in multiple screen tabs concurrently?
Hi.
I have a screen (9000) that includes 3 tabstrip subscreens (9001, 9002 & 9003).
I used the tabstrip wizard to create the tabstrip. Right now, when I click on the 'Save' button, only the data in the active tab is saved.
How could I make changes so that data in ALL the tabs could be saved concurrently? My flow logic codes are as below:
PROCESS BEFORE OUTPUT.
*&SPWIZARD: PBO FLOW LOGIC FOR TABSTRIP 'TRANSFORM'
MODULE TRANSFORM_ACTIVE_TAB_SET.
CALL SUBSCREEN TRANSFORM_SCA
INCLUDING G_TRANSFORM-PROG G_TRANSFORM-SUBSCREEN.
MODULE PBO_9000.
PROCESS AFTER INPUT.
*&SPWIZARD: PAI FLOW LOGIC FOR TABSTRIP 'TRANSFORM'
CALL SUBSCREEN TRANSFORM_SCA.
MODULE TRANSFORM_ACTIVE_TAB_GET.
MODULE USER_COMMAND_9000.
Thanks.You didn't mention which version of LabVIEW you are using. I adapted your method in this example. Not sure this is an efficient method. I just pass the 2d array through in the false case.
Using LabVIEW 2010SP1 and TestStand 4.5
Attachments:
WriteTable.PNG 35 KB -
Re:How can we save the data without enter the mandatory fields
Hi all,
I am using Jdev11.1.2.3.0
Suppose you have a form that consists of inputTexts and some of them are required (required = true). These come from a data control
What my customer wants is two buttons: one submit button, and one save button.
The submit button behaves normally: when a required field is not entered, a validation error is shown.
The save button on the other hand, will perform a model update without complaining, even though some required fields could be empty. This would be the Save operation . the values that the user entered are saved in draf mode., but the process does not continue. It's like saving a draft version of the fields you entered, so you can continue filling in the form for example the next day.
How can i start this scenario.
How can I achieve this? can anyone help me out please.
Thanks,
G.ShilpaDuplicate of https://forums.oracle.com/thread/2596520
Please don't post question multiple times!
Timo -
How to see all the data base tables in sap
hi all,
i wanted to see the table ALBTCMON but i cannot and i want to know how to activate a table?
thanks for your time
chanduHai,
Why do you want to create a Table?
More over the table ALBTCMON you have mentioned should not be created because SAP allows only Tables with names starting with 'Y' or 'Z'.
Also you should know the fields, Developement class, etc., before creating the Table in SAP.
Please check the below link to create Table in SAP.
http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
Use Tcode SE11 to activate your table.
Regards,
Yoganand.V
Edited by: Yoganand Vedagiri on Dec 29, 2008 12:15 PM -
How do I sync my iPad to a new windows pc also how do I save the data on my iPad
I have a new windows pc and want to sync my iPad on it. How do I do this without losing my data on my iPad
Read my post in this discussion.
https://discussions.apple.com/thread/3445538?start=0&tstart=0 -
Hi,
I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
I need to save all the table data by using ONLY one button.
Thanks for the help!
Kind regards,
Amaloa S.Hi,
Thanks for the feedback. :-)
Your answered helped.
In this case I need to save the Data into an ARRAY.
Now I have the following issue. I will try to explain:
Suppose that I have following:
1. Several GROUPS of Data like this:
ER-1234
ER-3245
ER-4786
ER-9080
2. Each GROUP has the following ELEMENTS:
A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
So it would be like
ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
A:
2,3 2,4 2, 8, 2,8
2,2 2,3 2, 7, 2,6
2,1 2,6 2, 6, 2,7
2,5 2,4 2, 5, 2,3
How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
Thanks for the help!
Best regards,
Amaloa. -
How to modify and save the data in the table control
how to modify and save the data in the table control
hi priya,
kindly go thru the code below.
PROCESS BEFORE OUTPUT.
MODULE status_9010.
LOOP WITH CONTROL tab_control.
MODULE move_data_to_table.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE user_cancel AT EXIT-COMMAND.
LOOP WITH CONTROL tab_control.
MODULE move_data_from_table.
ENDLOOP.
MODULE move_data_to_table OUTPUT.
This is to move the data from the internal table to *the table control
*zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
READ TABLE int_factor INDEX tab_control-current_line.
IF sy-subrc = 0.
zmpets_mode-modecode = int_factor-modecode.
zmpets_range-rangeid = int_factor-rangeid.
zmpets_servfacto-factor = int_factor-factor.
ENDIF.
ENDMODULE. " move_data_to_table OUTPUT
**********************************************8888
MODULE move_data_from_table INPUT.
*To move the data from the table control to internal *table 'INT_FACTOR'.
int_factor-chk = line.
int_factor-modecode = zmpets_mode-modecode.
int_factor-rangeid = zmpets_range-rangeid.
int_factor-factor = zmpets_servfacto-factor.
MODIFY int_factor INDEX tab_control-current_line.
IF sy-subrc NE 0.
APPEND int_factor.
CLEAR int_factor.
ENDIF.
ENDMODULE. " move_data_from_table INPUT
if this helps , kindly award points.
for any clarification just mail me.
regards,
Anversha.S
[email protected] -
How can I set the data binding between Web Dynpro & Database table
Dear friend,
I am a beginner of Web Dynpro. I want to develop my simple project like these:
1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
1. How can I set the data binding between Web Dynpro and Database table ?
2. Are there any nescessary steps that I will concern for this case?
Sorry if my question is simple, I had try to find solution myself, but it not found
Thanks in advances,
SeMsHi,
You can write your own connection class for establishing the connection with DB.
Ex:
public class ConnectionClass {
static Connection con = null;
public static Connection getConnection() {
try{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
con = ds.getConnection();
return con;
}catch(Exception e){
return null;
You can place the above class file in src folder and you can use this class in webdynpro.
You can have another UserInfo class for reading and writing the data into the DB .
Regards, Anilkumar
PS : Refer
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
Message was edited by: Anilkumar Vippagunta -
How to save the data present in TEXT BOX?
Hi friends i am able to create a text editor in one of my screen but i want to know how to save the data when the text is entered in that text box and retrive when they open the screen?
Hi ,
Please check the format below since it is based on a working code
first you need to create a text in s010 function module...
there should be some key based on which you plan to save the text..imagine it is Purchase order then..PO+item numner is always unique.eg:0090010(900PO/item10).so in the code you can append these two and they will be unique..so you can always retrieve them,overwrite,save them anytime you need
**************data declarations
TYPES: BEGIN OF TY_EDITOR,
EDIT(254) TYPE C,
END OF TY_EDITOR.
data: int_line type table of tline with header line.
data: gw_thead like thead.
data: int_table type standard table of ty_editor.
****************fill header..from SO10 t-code..when you save you need the unique key..youfill it here and pass it in save_text function module
GW_THEAD-TDNAME = loc_nam. " unique key for the text -> our unique key to identify the text
GW_THEAD-TDID = 'ST'. " Text ID from SO10
GW_THEAD-TDSPRAS = SY-LANGU. "current language
GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created in SO10
*To Read from Container and get data to int_table
CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
IMPORTING
TABLE = int_table
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
ERROR_DP_CREATE = 3
POTENTIAL_DATA_LOSS = 4
others = 5.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop data from int_table and save to int_line-tdline appending it.
*save the text
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
HEADER = GW_THEAD
TABLES
LINES = InT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5.
IF SY-SUBRC 0.
ENDIF.
*To pass to Container
CALL METHOD EDITOR ->SET_TEXT
hope that the above sample with helps you solve the problem
Please check and revert,
Reward if helpful
Regards
Byju
Maybe you are looking for
-
I am unable to print to a Canon iR-Adv C5045 from a MacBook Pro (OS X 10.9.4) that is connected to Windows NT computer and shared on the company network. I am connected to the network by ethernet. I was able to add the printer manually by going to A
-
Need help. Exporting pdf to Word or cretaing live fields in doc
I need to take a 180pg doc and save it as a word doc or manage to turn all the necessary areas into live fields. I've tried going to export > word document or File > export to anything really and I keep getting this error message Adobe was unabl;e to
-
Dear ALL, During EWA, I have got the below error for Solution Manager 7.0 EHP1 Rating Alert Job SM:EXEC SERVICES cancelled during last run General Infrastructure Rating Alert Not all services in ICF required for Solution Manager Basis Processing are
-
Safari won't let me download images from iPhoto onto Facebook, etc.
When I've tried to upload images on Safari thru Facebook and Twitter, it won't recognize any of my albums/images that I have in iPhoto. Ideas on what to do to resolve this?
-
I am facing a current problem by trying to deploy my application which is using TopLink to OC4J 10.1.3. The problem is that it is written in the log.xml file: <MESSAGE> <HEADER> <TSTZ_ORIGINATING>2008-06-20T14:57:05.816+03:00</TSTZ_ORIGINATING> <COMP