How could I use Appendchunk Function in DBTools
I am a user of Labview2009,I want save a binary file into MySQL(5.1) and I want use the Appendchunk Function ,which is one method of the ADO-parameter object . How should I do it with LabView DBTools?
thanks your help!
charles
Have you tried looking in the Database Connectivity Toolkit documentation yet? I've implemented sending all kinds of data to a SQL database with its help. You can find it at:
http://digital.ni.com/manuals.nsf/websearch/F0E03761C7F4ACB486256A3E00509BA9?OpenDocument
I'm not aware of how to use the Appendchunk function in LabVIEW. I'm not sure what will be the best way to store your data. You send/receive data with this toolkit using variants, but you might have to tell the database you are sending up a string. So unless you can send up the file, you'll need to open up the file and send its contens up as a string. If I'm wrong about that is there someone that knows how to send up a file to a DB with this toolkit?
Hope that helps!
Similar Messages
-
How can i use reuse_alv_fieldcatalog_merge function module
I am using below steps for populating the final internal table.How can I use reuse_alv_fieldcatalog_merge function module in the place of declaring all these fields.How canI put title of the report in reuse_alv_fieldcatalog_merge function module.
FORM BUILD_FIELDCATALOG .
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'KUNNR'.
FIELDCAT-SELTEXT_M = 'Customer Name'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VBELN'.
FIELDCAT-SELTEXT_M = 'Invoice Reference'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VKBUR'.
FIELDCAT-SELTEXT_M = 'Sales Office'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VKGRP'.
FIELDCAT-SELTEXT_M = 'Sales Person'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'POSNR'.
FIELDCAT-SELTEXT_M = 'Item No'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FIANL'.
FIELDCAT-FIELDNAME = 'ARKTX'.
FIELDCAT-SELTEXT_M = 'Item Description'.
FIELDCAT-JUST = 'L'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.Hello,
It is very easy to use reuse_alv_fieldcatalog_merge.
You try this it will work.
example
data:
DATA : gv_repid TYPE syrepid VALUE sy-repid . " Report id
PERFORM set_field_catalog USING gst_struct CHANGING lst_fieldcat.
FORM set_field_catalog USING uv_tab TYPE slis_tabname
CHANGING xt_fieldcatalog TYPE slis_t_fieldcat_alv.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = gv_repid
i_internal_tabname = uv_tab
i_inclname = gv_repid
CHANGING
ct_fieldcat = xt_fieldcatalog
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " set_field_catalog_spec -
How can I use 3D function in Photoshop CS6 (student package)?
Please let me know how can I use 3D function in Photoshop CS6 (student package)?
Thanks,Thanks so much for your helpful reply.
Now I' ve already installed Adobe Creative Suite 6 Production Premium (Student Package), Extended included. But when I open Photoshop CS6, there' s still no 3D function in menu bar.
Would you please tell me how to activate this function?
Thanks, -
How can i use this function module
Hai
How can i use this function module /SAPHT/SALES_ORDER_READ, already apply the some parameters in this function module, but it shows the error , please tell me, how to declare the parameters in this function module ,
thanks
neelimaHi
For a particular sales order,you have to pass the order number and the item number in the sales order.
It will display the rest of the values which u can capture them using internal tables.
Regards,
Vishwa. -
i have bought a iphone 4s from uk. but i face problem in using sim on it. this is updated with 6.0.1 version. this phone also have a chip in sim plate. now how could i use it?
Where did you purchase in UK and is the iPhone carrier locked ??
-
How could I update my apps that have my old Apple ID and how could I use face time
How could I update my apps that have my old Apple ID n how could I use face time
I can't help you if you don't know your Apple ID and/or password. You can change your password at: Manage My Apple ID. You will need to know the answers to your security questions. If you don't know those, then see the following:
Alternatives for Help Resetting Security Questions and Rescue Mail
1. Apple ID- All about Apple ID security questions.
2. Rescue email address and how to reset Apple ID security questions
3. Apple ID- Contacting Apple for help with Apple ID account security.
4. Fill out and submit this form. Select the topic, Account Security.
5. Call Apple Customer Service: Contacting Apple for support in your
country and ask to speak to Account Security.
How to Manage your Apple ID: Manage My Apple ID -
I don't know the owner I found an iPhone4 how could I use this???
i don't know the owner how could I use this???
If you found a phone you should take it to the police. You don't have the right to hang onto it. If it's not claimed after a period then you may be able to retain it. But in any case if it is 'Activation Locked' only the original owner can unlock it. There is no way round this, and without being able to contact him (and if you could you should return it) the phone is permanently unusable if locked in this way.
-
My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited as it only sells apps and books products.
No Way... i've got simillar problem with bmonteo... wanna cry
-
How could we assign customized function module to the object
Hi Experts,
How could we assign z made function module to the object type.
for instance, i have prepared one z function module and want to assign segment builder.
Please help in this regard
Thanks
Mahesh BabuHi Thiru,
Standard Transaction Codes, have their own Function Modules for generating Outbound/Indbound Idocs. Where these Function Modules will be configured to a particular Process Codes.
For E.g for PO's
Process code : ME10 - IDOC_OUTPUT_ORDERS - for creation
In case if its a Z Function Module, It depends on the case how you use IDOC types. either directly through Z Program or through Inbound/Outbound Process codes with respective Function modules.
Regards,
Anbalagan -
How to avoid use of function module in case of background jobs?
Hi ,
I am working a file tranfer interface .Functionality is to extract file either apllication or presentation server , and process the file through bapi , send the result in their respective server. This program should run through batch jobs in background mode.
I am using following function module :
SUBST_GET_FILE_LIS : Get the file list from application server
TMP_GUI_DIRECTORY_LIST_FILES : Get the file list from presentation server
GUI_UPLOad : to extract file data from presentation server
GUI_downLOAD : to download data to presentation server
in case of background job these function modules will not work.... so how to resolve this issue...
what are the methods we can apply?
Thanks & Regards
SandeepHi,
This FM is used to get list of files from Application server (will work in Background). This cannot be used to list files from presentation server. There is no way , by which you can process presentation server files in background mode.
Regards
Vinod -
How can I use the function keys in a GUI with swing?
I'm wondering how do you declare you want an action to happen when a user uses a function key or any key for that matter. How can you specify something frame wide or for that matter for a specific jtextbox?
you need to use an accelerator
setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK) -
Hi Gurus,
can any one inform me,how to use SX_OBJECT_CONVERT_OTF_INTO_PDF function module in script..
how can we convert the script output into pdf file format....
i need your help......plz
my mail id : [email protected]
Thanks,
Rajkumar.A
Edited by: rajkumar annadurai on Feb 19, 2008 10:25 AMHi, Dear
In XI 3.0 we are tyring to setup SAPconnect;
1 Step; Create RFC connection for Mlunxsnd file, anyway!!! we download thease file and create RFC connection; fine working no error
2 Step: Create Nodes T-code SCOT => connection INT => and support address type like Internet its just show only "PDF, HTM, TXT" thats it its not show some others format
3. Step; When check email T-code SOST Getting an error messages: "Connot process message in node, parameters cannot be converted"
4. In R3 RPD and Others system when I check format its ok its show some others format which is support to be such as "ALI, OBJ, OTF, SCR, URL" ...
How may install these format in XI 3.0
Please Advice I will be really appriciated
Thanks a lot
Travis -
How can i use a function in a create table?
I have done one funtion to do one check in a create table statement, but i don't know where to use it. How can I use it?
I have the function:
CREATE OR REPLACE FUNCTION verificar_NIF (nif varchar2) return boolean as
l_check_digit constant varchar2(23) := 'TRWAGMYFPDXBNJZSQVHLCKE';
l_mod number;
l_result varchar2(1);
l_return boolean := false;
begin
l_mod := mod(substr(nif, 1, 8), 23);
l_result := substr(l_check_digit, l_mod+1, 1);
if l_result = substr(nif, 1, 9) then
l_return := true;
end if;
return l_return;
end;
And I have the table:
CREATE TABLE Clients (
id_client NUMBER(5) PRIMARY KEY,
nif VARCHAR2(9),
cog1 VARCHAR2(50) NOT NULL,
cog2 VARCHAR2(50) NOT NULL,
nom VARCHAR2(50) NOT NULL,
adre VARCHAR2(50) NOT NULL,
Poblacio VARCHAR2(40) NOT NULL,
CONSTRAINT err_NIF CHECK ( verificar_NIF(nif)=true )
I want the var nif to have a concert value. It is correct to check in that way? -
How can I use AGO function with aggregates
I use aggregated table and a detailed table
I have time hierarchy whose lowest level is date. For sales I
created year-to-year (YTD) comparision with AGO function. It
works OK.
BUT, I want to speed it up, so I used aggregates. I created new
time table grouped by MONTH and corresponding agg_SALES table. I
created connections and mapped the fields. It works OK for
normal queries, that means my queries at month level use
aggregates. BUT when I add YTD measures or YAGO measure in query, it goes to
then SALES table whose grain is date.
How can I force BI Server to use AGO function with aggregates?
I use OBIEE 10.1.3.4
Thank you
Ishaq
(Question originally taken from ITtoolbox and posted by Gorazd)
SORRY - THE QUESTION IS IN THE WRONG FORUM
Edited by: ishaq12 on Nov 19, 2008 12:21 PMHi,
you can not do it in Administration tool but you can set agregation for that field in Answers (fx->Agregation rule->Sum) and effect should be the same. Note that it may not work properly on Oracle 10g as generated SQL is not 100% recognized, on 11g everything is OK (at least in my case).
Regards,
Marko
Edited by: user10449532 on 2008.11.19 06:29 -
How Could I use Java to program a SSL application?
Hi, I am new Javar, I have a project. I need SSL and want to program with Java. Who could help me?
Thanks!THanks! But I still do not know how to implement the interface.Such as HandshakeCompletedListener interface, how could I program a class to use it?
Sorry for such simple question but I am very very new to java.
Maybe you are looking for
-
Free Goods Automatically triggered in PO
Dear all SAP experts, I want to handle the free goods in PO. First, I have set the exclusive free goods through MBN1 for specified vendor & material and its normal gross price condition. Just say BUY every 10 pc of Material A can get 1 pc of materi
-
Can we use repository variables in bi publisher like in anwers
can we use repository variables in bi publisher like in anwers if possible then how
-
Can I use apps from foreign app store on my iPad?
Hi guys, I apologise if this has been answered before. I would like to use apps from a foreign iTunes store on my iPad and wondered if anyone could help me with that. We live in Australia and I want my kids to learn German as well, so I thought it wo
-
I in have a product registered an old account, how do i move it to a new account and close the old one?
-
Hello, I created a view on a remote database. This view contains a calculated column. I created a tabular form based on the view. When I try to cheange and update a record I receive the following message: Error Unable to process update. Error in