How to save the CLOB domain data in to database fron page fragment
Hi ,
Am using Jdev 11.1.1.2.1.
In the database am using i have a CLOB Domain Data. I want to Edit it.
Am displaying it in <af:richTextEditor> , But when i Edit it and save, it will throw an error saying that the String cannot be converted to CLOB Domain data.
Please let me know how to save it.
Thanks,
hari
Check this blog post:
http://baigsorcl.blogspot.com/2010/05/adding-boolean-checkbox-to-table.html
af:selectBooleanCheckbox can't submit value to VO?
Thanks,
Navaneeth
Similar Messages
-
How to save the XML converted data to App server
Hello All,
DATA : ITAB TYPE TABLE OF SPFLI,
L_XML TYPE REF TO CL_XML_DOCUMENT.
SELECT * FROM SPFLI INTO TABLE ITAB.
CREATE THE XML OBJECT
CREATE OBJECT L_XML.
CONVERT THE DATA TO XML
CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
CALL METHOD L_XML->DISPLAY.
i had used the sample code to display the internal table data to XML. but i need to save the converted XML data to my applicaiton server.. how can i do it.. any clues pleaseAny clues/help appreciated
-
How to save the editable alv data to another program ?
hi friends,
please solve this issue..
i have one editable alv grid report. after edit my data in the grid..
i want to
save those data (edited data )or
download those data into another internal table or
pass those data as input to another report program..
how can i do this ?The form switch to edit mode could be :
form p_edit.
data : is_fieldcatalog type lvc_s_fcat ,
it_ucomm type table of syucomm with header line ,
v_ucomm type syucomm.
* Switch Edit <-> Display
loop at it_fieldcatalog into is_fieldcatalog.
check is_fieldcatalog-fieldname ne 'NUM' and
is_fieldcatalog-fieldname ne 'RCODE'.
if is_fieldcatalog-edit eq 'X'.
clear is_fieldcatalog-edit.
else.
move 'X' to is_fieldcatalog-edit.
endif.
modify it_fieldcatalog from is_fieldcatalog.
endloop.
* Change the status of the grid.
if is_fieldcatalog-edit eq space.
move '&REFRESH' to v_ucomm.
call method obj_grid->set_function_code
changing c_ucomm = v_ucomm.
call method obj_grid->set_ready_for_input
exporting i_ready_for_input = '0'.
else.
call method obj_grid->set_ready_for_input
exporting i_ready_for_input = '1'.
endif.
* Modify the fieldcatalog.
call method obj_grid->set_frontend_fieldcatalog
exporting it_fieldcatalog = it_fieldcatalog.
* Refresh the display of the grid.
call method obj_grid->refresh_table_display.
* Set the column lines number.
perform p_set_lines_num.
* Clear the flag control.
clear v_flag_control.
* Messages.
if is_fieldcatalog-edit eq space.
move 'Passage en mode affichage.' to v_buff.
perform p_add_message
using v_buff
'ICON_DISPLAY'
else.
move 'Passage en mode édition.' to v_buff.
perform p_add_message
using v_buff
'ICON_CHANGE'
endif.
* Inactiv function.
if is_fieldcatalog-edit eq space.
set pf-status '100'.
else.
move '' to it_ucomm. append it_ucomm.
set pf-status '100' excluding it_ucomm.
endif.
endform. " P_EDIT.
and for the table:
data : w_id(60).
move 'ZTOTO' to w_id.
export it_table[] to memory id w_id.
in the other program, it's the same with the IMPORT instead of export. -
How to save the own fields value in a Database
Hi all
We create some customers fields with eewb fields for Service Order, but the value we enter in it, are not saved into the database table CRMD_ORDERADM_H.
Where and what we have to do to commit the values in the database?
We are working with CRM2007 WEB UI.
Best Regards
Edited by: Luis Felice on Nov 18, 2008 9:14 PMDid you check that your new fields have been created in table CRMD_ORDERADM_H?
If yes, then check the structure of context node BTAdminH in TX GENIL_MODEL_BROWSER.
If the fields popup in both, then everything with the EEWB should have worked fine.
The EEWB creates an include structure for the table. This structure is also include in all API (like the CRM_ORDER_MAINTAIN). Additionally it creates function modules that are called by the API and handle the additional fields. Thus you do not have to do any additional commit or coding.
In case everything is in place and it does not work, you should probably open an OSS. Otherwise let the wizard in the EEWB create the extension again.
cheers Carsten -
I am trying to generate an application that saves a copy of its front panel on completion. This is easy to do using an invoke node with Print VI to HTML but this does not work in an .exe format. I have seen elsewhere that you have to use the Get Panel Image method, but no details are supplied in LV 5.0.1 documentation of how to use the "image" data (1-D Unsigned Byte array) that is generated. I want to save this in a format that can then be read as a bitmap in any standard graphics package. Any assistance?
Hi,
If you'd upgrade to LV5.1 or 6 you could use the 'standard' vi's for this.
You need a VI called "Write BMP File.vi". It's not shipped with LV5.0.1.
This vi only uses 3 subVI's, so perhaps someone at NI can convert it and
send it to you (sorry, I won't, it's copywrited).
If you cannot get this VI anywhere, you'll need to figure out the BMP file
format yourself. It's not too complicated, but still could take some days.
Perhaps someone figured it out before LV5.1 was released.
Regards,
Wiebe.
"RDK" wrote in message
news:[email protected]..
> I want to use Get Panel Image in Labview 5.0.1 and need details on how
> to save the BMP data generated
>
> I am trying to generate an application that saves a copy
of its front
> panel on completion. This is easy to do using an invoke node with
> Print VI to HTML but this does not work in an .exe format. I have seen
> elsewhere that you have to use the Get Panel Image method, but no
> details are supplied in LV 5.0.1 documentation of how to use the
> "image" data (1-D Unsigned Byte array) that is generated. I want to
> save this in a format that can then be read as a bitmap in any
> standard graphics package. Any assistance? -
How to save the data to sap abap using Adobe Flex
Hi Everybody......
I am new to Adobe flex with sap abap.
How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service.
Please give me any suggisions on that.
Thank you
Venkatesh VHi Venkatesh,
Try with folowing coding...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="initApp()">
<mx:Label x="10" y="23" text="Airline" width="90" id="lblAirline"/>
<mx:TextInput x="108" y="21" id="txtAirline"/>
<mx:Button x="10" y="49" label="Get Data" id="btnGetData" enabled="false" click="getData()"/>
<mx:DataGrid x="10" y="97" id="dgFlightData" dataProvider="">
</mx:DataGrid>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.AbstractOperation;
import mx.rpc.events.FaultEvent;
import mx.rpc.soap.LoadEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.WebService;
[Bindable] public var flightData:ArrayCollection;
private var flightWS:WebService;
private function initApp():void{
flightWS = new WebService();
flightWS.wsdl = "http://uscib20.wdf.sap.corp:50021/sap/bc/soap/wsdl11?services=ZGTEST&sap-client=000";
flightWS.addEventListener(FaultEvent.FAULT,onWSError);
flightWS.addEventListener(LoadEvent.LOAD,onWSDLLoaded);
flightWS.addEventListener(ResultEvent.RESULT,onFlightWSGotResult);
flightWS.loadWSDL();
private function getData():void{
var operation:AbstractOperation = flightWS.getOperation("ZGTEST");
var input:Object = new Object();
input.Airline = txtAirline.text.toUpperCase();
operation.arguments = input;
operation.send();
private function onWSError (event:FaultEvent):void{
private function onWSDLLoaded(event:LoadEvent):void{
btnGetData.enabled = true;
private function onFlightWSGotResult(event:ResultEvent):void{
flightData = event.result.SFLIGHT;
]]>
</mx:Script>
</mx:Application>
Regards,
Vinoth -
How to save the form data into adobe db?
Hi All,
How to save the form data into adobe db?
I have designed one xdp file.
Through processFormSubmission(), I got the submitted form data as Document obj.
Then I have called the workflow kickoff program.
code:
InvocationRequest request = myFactory.createInvocationRequest ("myprocessname", //Specify the long-lived process name
"invoke", //Specify the operation name
params, //Specify input values (HashMap obj)
false); //Create an asynchronous request
It successfulyy started the workflow, but the submitted form data is not saved anywhere.
And also, How get the form data from tables?
Please provide the solution for the above.
Thanks in advance.
Regards,
Saravanan GYou need to create a process variable of type IN if you want to be able to pass data to your process. Then the params parameter (HashMap) contains a list of all the IN variables with their content that you want to pass to your process. They key is the name of the variable and the value the content. That way you should get it in your process.
Now LiveCycle will create a column in the database for every process variable, so the content will be saved in the database just by creating that process variable.
Jasmin -
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 -
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. -
Dynamically built query on execution How to save the data in Object Type
Hi,
In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
output of the query in it. Here is the Object Type I have
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
pkid NUMBER,
pkname VARCHAR2(100);
pkcity VARCHAR2(100);
pkcounty VARCHAR2(100)
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
--I initialize my Object Type*
data := new FIRST_RECORDTYPETAB();
FOR some_cursor IN c_get_ids (username)
LOOP
x_context_count := x_context_count + 1;
-- here I build the query dynamically and the same query generated is
sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
-- and now I need to execute the above query but need to store the output
EXECUTE IMMEDIATE sql_query
INTO *<I need to save the out put in the Type I defined>*
END LOOP;
How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
Any help is appreciated.
Thankshai ,
solution for Dynamically built query on execution How to save the data in Object Type.
Step 1:(Object creation)
SQL> ED
Wrote file afiedt.buf
1 Create Or Replace Type contract_details As Object(
2 contract_number Varchar2(15),
3 contrcat_branch Varchar2(15)
4* );
SQL> /
Type created.
Step 2:(table creation with object)
SQL> Create Table contract_dtls(Id Number,contract contract_details)
2 /
Table created.
Step 3:(execution Of procedure to insert the dynamic ouput into object types):
Declare
LV_V_SQL_QUERY Varchar2(4000);
LV_N_CURSOR Integer;
LV_N_EXECUTE_CURSOR Integer;
LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
OV_V_CONTRACT_NUMBER Varchar2(15);
LV_V_CONTRACT_BRANCH Varchar2(15);
Begin
LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
LV_N_CURSOR := Dbms_Sql.open_Cursor;
Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
Loop
Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
End Loop;
Dbms_Sql.close_Cursor (LV_N_CURSOR);
COMMIT;
Exception
When Others Then
Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
End;
step 4:check the values are inseted in the object included table
SELECT * FROM contract_dtls;
Regards
C.karukkuvel -
How to save the data on the database
Please tells me how to save the data on the database as soon as posible.
Thank!!
MichaelMichael,
What database? Citadel, or something that has an SQL?
If the latter, use the SQL toolkit. You can get it from NI.
Please elaborate if this is not your situation.
Thank you -
How to save the edited datagrid using array collection?
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="demo2">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.events.FlexEvent;
import spark.components.gridClasses.IGridItemEditor;
import spark.components.gridClasses.IGridItemRenderer;
import spark.events.GridItemEditorEvent;
[Bindable]
private var myDP:ArrayCollection = new ArrayCollection([
{label1:"Day1 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day2 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day3 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day4 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day5 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day6 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "}
protected function myDG_gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void
// TODO Auto-generated method stub
protected function button1_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
navigator.popView();
protected function button2_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
myDG.editable=false;
myDP
protected function myDG_exitStateHandler(event:FlexEvent):void
// TODO Auto-generated method stub
]]>
</fx:Script>
<s:DataGrid id="myDG" x="10" y="45" width="460" height="240" dataProvider="{myDP}"
editable="true" exitState="myDG_exitStateHandler(event)" fontSize="11"
gridItemEditorSessionSave="myDG_gridItemEditorSessionSaveHandler(even t)"
rowHeight="30" variableRowHeight="true" selectionMode="singleCell" >
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="label1" headerText="day" editable="false" />
<s:GridColumn dataField="label2" headerText="9-10am"/>
<s:GridColumn dataField="label3" headerText="10-11am"/>
<s:GridColumn dataField="label4" headerText="11am-12noon"/>
<s:GridColumn dataField="label5" headerText="1-2pm"/>
<s:GridColumn dataField="label6" headerText="2-3pm"/>
<s:GridColumn dataField="label7" headerText="3-4pm"/>
</s:ArrayList>
</s:columns >
</s:DataGrid>
<s:Button x="404" y="10" width="53" height="27" label="Back" click="button1_clickHandler(event)"
fontSize="13"/>
<s:Button x="24" y="10" width="56" height="27" label="Save" click="button2_clickHandler(event)"
fontSize="14"/>
</s:View>
please help me with this code...i dontknow how to save the data edited in the datagrid back to my arrayollection!!!please help with this......
-
How to save the template with cell locking?
Hi Gurus,
I have successfully locked the cell by using Data validation of Excel function in BPC input schedule. But when I save and reopen it once again the data validation does not work. My target is to distribute the cell locked template to different users thru offline wizard. Can anybody let me know how to save the data validation in the template ?
Regards,
KumarMGResolved myself
-
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
Unable to retrieve the data in multiple rows within webservice method.Hi Paul,
I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
this is my code
TextField1.rawValue=xmlData.document.rawValue;
xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
for(var i=0; i<count; i++)
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
Table1.Row1.instanceManager.addInstance(true);
Thanks
Hussam -
How to find the Contract Start date
Hi Friends,
with the help of the Transaction type, Item Category,reference Interest rate, how to find the Contract Start date/Billing Strat date and the Contract number.
Regards,
Raju.Hi
naj you can find the contract start date and billing date in crmd_order Financial details data tab, start of contract and Billing and the contract no u will find after Approval of Eligibility Norms, then save go to actions create certificate of acceptance the you will get contract number
Reward with Points
Venkat
Maybe you are looking for
-
Stopping the assembler from deleting the war file
Is there any way to stop the Web Services assembler from deleting the build directory (or the war file) after it is done packaging the ear file? I want to take the war file and package it into my own ear file.
-
Maintenance view of two tables
I need to update two tables Header and Item with the hepl of maintenance view.There structure is as follows : Header - GRPKEY (Pr. Key) Printchk Items :- GRPKEY ( Foreign key - check table Header-GRPKEY) fieldname ( Key)
-
IPhoto 08 to Aperture question
Any idea if I can import an existing iPhoto '08 library into Aperture? More to the point I'm wondering if Aperture will recognize the albums I have from iPhoto and sort the photos accordingly. I recognize that I could simply export the photos themse
-
Hi, The below question are related to J2EE 7.00. - What is the difference between Thred dump and Heap dump? - When I go to Config tool then I go to Instance ID. There are two nodes under the Instance ID, DIspatcher and Server (could be multiple). I s
-
HELP: REP-0065 and rep-0200
Has anyone else seen this error. Env: Report Builder 6i Win 2000 I have a simple report with two repeating frames (one embedded). When I query and get data back in a ref cursor I get a rep-0060 and rep-0200 error. I had the report running yesterday a