Doing an update in form
hi all,
I am working on oracle forms. I need to do an update of a field in the database, but that update should not commit the form. How can I do an independent / part commit in a form.
I'll be thankful to you all for any help.
Thanks and Rgds,
Amlesh
Amlesh,
You can do the updation and committing using FORMS_DDL built-in. By this the form won't be committed.
FORMS_DDL('<update_statement>');
FORMS_DDL('COMMIT');Regards,
Manu.
If my response or the response of another was helpful, please mark it accordingly
Similar Messages
-
Error While updating Process form data Using Scheduler
Hi All,
I am trying to update Process form data (ex : lastname) using a scheduled task Code. I am getting Error while updating Field.
Code :
HashMap<String, String> map = new HashMap<String, String>();
map.put("UD_EBS_PF_LASTNAME", "lastname");
formintf.setProcessFormData(instancekey, map); //I AM GETTING AT THIS LINE
Saying
Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl_1036_WLStub.setProcessFormDatax(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy2.setProcessFormDatax(Unknown Source)
at Thor.API.Operations.tcFormInstanceOperationsIntfDelegate.setProcessFormData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy3.setProcessFormData(Unknown Source)
at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.execute(AssignRandomPasswordToAllUsersSchedulerTest.java:182)
at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.main(AssignRandomPasswordToAllUsersSchedulerTest.java:63)
Caused by: Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:761)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:426)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Is that possible there was the field ZDATE in your form interface/ context and now it is not? I guess some source has changed so the field in the form (binding to the not existing field) cannot be processed. Otto
-
Error Message when trying to update a form
Hello,
I receive the following error message when I try to update a form:
Error: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
Insufficient privileges (WWV-12600)
When I click on the Update button on my form, I call a dynamic page which calls a procedure to update the database and display a confirmation message to the user.
The parameter I am having a problem with is the v_ins_1.
This links does not work: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=SS-002+Dollar+Cost+Averaging+%28PMID+%3D+40215%29&v_ins_2=&v_in s_3=&v_ins_4=&v_ins_5=&v_ins_6=&v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid =2543&_fnavbarid=1&_fnavbarsiteid=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
This link works: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=*Custom+Inventory&v_ins_2=&v_ins_3=&v_ins_4=&v_ins_5=&v_ins_6=& v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid=2543&_fnavbarid=1&_fnavbarsitei d=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
Any suggestions?Also got a message "Acrobat failed to set up a workflow folder in the specified shared folder or hosted service"..?
-
Where is the update records form wizard in dreamweaver cc?
Where is the update record form wizard in dreamweaver cc?
Does anyone know of a website or a reference manual about dreamweaverCC? every example and tutorial online are mostly about older versions of Dreamweaver. Some brainiac at Adobe thought, why don't we change the whole freaking interface around so nobody can figure out where anything is anymore with the new version....&^$@^#$^^Simply choose Server Behaviours --> + --> Update Record
-
I am having problems with inserting update record forms and
Custom From from the wizards into php files i am using Dreamweaver
cs3 and Developer Toolbox.
An Insert form works OK.
The Update Form inserts into the page and can be accessed
from the server, bit on attempting to update database I get the
following message:
quote:
Developer Details:
tNG_update.prepareSQL:
No Primary Key Column was set. (UPD_NO_PK_SET)
quote:
tNG Execution Trace - VIEW
* tNG_update.executeTransaction
o STARTER.Trigger_Default_Starter
o tNG_update.doTransaction
+ BEFORE.Trigger_Default_saveData
# tNG_update.saveData
+ BEFORE.Trigger_Default_FormValidation
+ tNG_update.prepareSQL*
o tNG_update.getRecordset
o tNG_update.getFakeRsArr
o tNG_update.getLocalRecordset
o tNG_update.getFakeRecordset
/Q]
When using the Custom form wizard (inset and update) and
{else} statement is inserted into the code and only the 'insert'
button appears when I require 'insert', 'update' and 'delete'.
Has anyone else experienced this - is there something I am
not doing?Hi Glenn, I kept having the same problem this morning. What I
finally figured out is that I wasn't using the session variables
properly. For example. My user_ID field maps to the session
variable name kt_login_id
my email field maps to kt_login_user (I use my email as user
name) and password is kt_password. I finally printed out the
Session information from login settings in the control panel so I
was sure to fill out the data in the update wizard correctly.
Open up the Update Transaction panel and under the Fields
Tab, you can see how your table fields are mapped to the session
fields. Hope it helps.l -
Hello all,
I've got an update record form on one of my pages (it is a
php site). I followed the tutorial in dreamweaver 8, but it does
not work like I want it to work.
I am hoping that when a user logs into the site, and they
want to update their information, they will be redirected to a page
that has a form. This form has all the text fields blank, except
for thier username (which is not editable). The rest of the fields,
they can enter as many as they want. The fields that are left blank
will have no effect on the record in the database.
How it is now, I've got to have them retype in their username
and password, then the form fields populate, but if they make a
mistake and erase a field, then that field is deleted in the
database.
Is there a tutorial that I have not found yet that I can
learn how to do this?
Thank youHi,
If you dont want the Dreamweaver to update your dependent files, Just go to the "Edit -> Preferences" menu, In the preferences dialog click on the "Site" category which can be seen in the left panel, and there you might have some options for setting the "Dependent files" preferences, just check out the "Get/Check Out" and "Prompt on Put/Check" options.
I hope this might fix your issue.
HTH -
BAPI_ACC_DOCUMENT_POST does not update BKPF/BSEG tables
Hello,
I used bapi_acc_document_post to post a accounting document The following routine says that the document is successfully posted, however, does not update the acccounting tables. I read several messages on the SDN and unable to get the correct answer.
Your help is appreciated.
Regards
William
REPORT ze_bapi_acc_document_post .
SELECTION-SCREEN BEGIN OF BLOCK bl01 .
SELECTION-SCREEN ULINE.
PARAMETERS:
ref_key LIKE bapiache01-obj_key DEFAULT 'TEST000001BAPICALL',
dest LIKE bdi_logsys-logsys DEFAULT ' '.
SELECTION-SCREEN END OF BLOCK bl01 .
DATA:
gd_documentheader LIKE bapiache09,
gd_customercpd LIKE bapiacpa09,
gd_fica_hd LIKE bapiaccahd,
it_accountreceivable LIKE TABLE OF bapiacar09 WITH HEADER LINE,
it_accountgl LIKE TABLE OF bapiacgl09 WITH HEADER LINE,
it_accounttax LIKE TABLE OF bapiactx09 WITH HEADER LINE,
it_criteria LIKE TABLE OF bapiackec9 WITH HEADER LINE,
it_valuefield LIKE TABLE OF bapiackev9 WITH HEADER LINE,
it_currencyamount LIKE TABLE OF bapiaccr09 WITH HEADER LINE,
it_return LIKE TABLE OF bapiret2 WITH HEADER LINE,
it_receivers LIKE TABLE OF bdi_logsys WITH HEADER LINE,
it_fica_it LIKE TABLE OF bapiaccait WITH HEADER LINE,
it_accountpayable LIKE TABLE OF bapiacap09 WITH HEADER LINE,
it_paymentcard LIKE TABLE OF bapiacpc09 WITH HEADER LINE,
it_ext LIKE TABLE OF bapiacextc WITH HEADER LINE.
PERFORM fill_internal_tables.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
DESTINATION dest
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
TABLES
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return.
WRITE: / 'Result of check all:'. "#EC NOTEXT
PERFORM show_messages.
DATA: l_type LIKE gd_documentheader-obj_type,
l_key LIKE gd_documentheader-obj_key,
l_sys LIKE gd_documentheader-obj_sys.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
IMPORTING
obj_type = l_type
obj_key = l_key
obj_sys = l_sys
TABLES
accountgl = it_accountgl
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return
EXCEPTIONS
OTHERS = 1.
WRITE: / 'Result of post:'. "#EC NOTEXT
PERFORM show_messages.
REFRESH IT_RETURN.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
IMPORTING
RETURN = IT_RETURN.
COMMIT WORK. .
BREAK-POINT.
Form fill_internal_tables
FORM fill_internal_tables.
PERFORM fill_header.
PERFORM fill_accountgl.
PERFORM fill_accountap.
PERFORM fill_accounttax.
PERFORM fill_currencyamount.
ENDFORM. " fill_internal_tables
Form Show_messages
FORM show_messages.
IF it_return[] IS INITIAL.
WRITE: / 'no messages'.
ELSE.
SKIP 1.
LOOP AT it_return.
WRITE: / it_return-type,
(2) it_return-id,
it_return-number,
(80) it_return-message,
it_return-message_v1,
(20) it_return-parameter,
(3) it_return-row,
it_return-field.
ENDLOOP.
ENDIF.
ULINE.
ENDFORM. " Show_messages
FORM fill_accountgl *
FORM fill_accountgl.
Actual invoice line
CLEAR it_accountgl.
it_accountgl-itemno_acc = 2.
it_accountgl-gl_account = '0000009223'.
it_accountgl-item_text = 'Line Iten'. "#EC NOTEXT
it_accountgl-profit_ctr = 'DNDDUMMY'.
it_accountgl-comp_code = '0180'.
it_accountgl-tax_code = 'IG'.
it_accountgl-FUNDS_CTR = '1985BA'.
it_accountgl-COSTCENTER = '1985BA'.
it_accountgl-FUND = 'C113'.
it_accountgl-TAXJURCODE = 'CAON'.
APPEND it_accountgl.
ENDFORM. "fill_accountgl
FORM fill_header *
FORM fill_header.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = gd_documentheader-obj_sys.
OBJ_TYPE has to be replaced by customers object key (Y* or Z*)
gd_documentheader-obj_type = 'BKPFF'.
gd_documentheader-obj_key = ref_key.
gd_documentheader-BUS_ACT = 'RMRP'.
gd_documentheader-username = sy-uname.
gd_documentheader-header_txt = 'BAPI Test'. "#EC NOTEXT
gd_documentheader-obj_key_r =
GD_DOCUMENTHEADER-reason_rev =
gd_documentheader-comp_code = '0180'.
GD_DOCUMENTHEADER-AC_DOC_NO =
gd_documentheader-fisc_year = '2008'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = '20070901'.
GD_DOCUMENTHEADER-TRANS_DATE = SY-DATUM.
GD_DOCUMENTHEADER-VALUE_DATE =
GD_DOCUMENTHEADER-FIS_PERIOD =
gd_documentheader-doc_type = 'RE'.
gd_documentheader-ref_doc_no = '6000009268'.
GD_DOCUMENTHEADER-COMPO_ACC = 'FI'.
gd_documentheader-bus_act = 'RFBU'.
ENDFORM. "fill_header
FORM fill_ap *
FORM fill_accountap.
vendor line
CLEAR it_accountpayable.
it_accountpayable-itemno_acc = 1.
it_accountpayable-comp_code = '0180'.
it_accountpayable-pmnttrms = '0006'.
it_accountpayable-TAX_CODE = 'IG'.
it_accountpayable-vendor_no = '0001200051'.
it_accountpayable-item_text = 'Vendor Line'. "#EC NOTEXT
APPEND it_accountpayable.
ENDFORM. "fill_accountap
FORM fill_tax *
FORM fill_accounttax.
tax line
CLEAR it_accounttax.
it_accounttax-itemno_acc = 3.
it_accounttax-gl_account = '0000081710'.
it_accounttax-tax_code = 'IG'.
it_accounttax-acct_key = 'VST'.
it_accounttax-TAXJURCODE = 'CA00'.
APPEND it_accounttax.
ENDFORM. "fill_accounttax
FORM fill_currencyamount *
FORM fill_currencyamount.
CLEAR it_currencyamount.
it_currencyamount-itemno_acc = 1.
it_currencyamount-curr_type = '00'.
it_currencyamount-currency = 'CAD'.
it_currencyamount-amt_base = '106.00'.
APPEND it_currencyamount.
CLEAR it_currencyamount.
it_currencyamount-itemno_acc = 2.
it_currencyamount-curr_type = '00'.
it_currencyamount-currency = 'CAD'.
it_currencyamount-amt_base = '100.00'.
APPEND it_currencyamount.
CLEAR it_currencyamount.
it_currencyamount-itemno_acc = 3.
it_currencyamount-curr_type = '00'.
it_currencyamount-currency = 'CAD'.
it_currencyamount-amt_base = '6.00'.
APPEND it_currencyamount.
ENDFORM. "fill_currencyamountU have to implement the BADI for this.. ‘AC_DOCUMENT’
Add source code into Method: CHANGE_INITIAL & CHANGE_AFTER_CHECK,
*---<SAPLBPFC> is for Posting with BAPI: BAPI_ACC_DOCUMENT_POST
*---<SAPCNVE > is for Posting(Tax) with BAPI: BAPI_ACC_DOCUMENT_POST
*---<SAPMSSY1> is for Test(Check) with BAPI: BAPI_ACC_DOCUMENT_CHECK
DATA: wa_header TYPE acchd.
IF sy-xprog NE ' SAPMSSY1 '.
CLEAR wa_header.
wa_header = im_document-header.
ex_document-header-bktxt = wa_header-bktxt.
CLEAR wa_header.
ENDIF. -
We've created a form on FormsCentral, and it's working very well. We'd now like to add a reset button to the form. I know we can do this in Adobe Acrobat to the base form we created before bringing it into FormsCentral, but I don't want to lose the form information we already have for the existing form that FormsCentral is tracking.
Can we update the form we have without losing all the response information? I suppose I could re-import the information into FormsCentral from an excel sheet or other if the existing information isn't carried forward, but I'd like some feedback on this before I start making changes to the form and the information collected.Hi;
It sounds like you are distributing your FormsCentral form in PDF and want to edit that PDF before continuing distributing adding a "Reset Form" button which you would do in Acrobat - is that correct? Assuming it is, you could do this by doing a "Save a Copy" in Acrobat which will remove the Ubiqutization (enabling rights in Reader), you could then edit the form adding the "Reset Form" button, re-do the Reader Enabling and then send the form out. We don't explicitly support editing the PDF but as long as you don't modify form in a way that breaks the submit you should be OK.
Regarding Importing your PDF back into FormsCentral and having to re-import your data into that new form, you would also lose the ability to edit your form further in FormsCentral and you would lose the URL to fill the form out in a web browser. The Import PDF Form feature is best for existing forms you do not want to re-create using our design tools, but they don't have a URL to fill out the form, and are not editable. You are going to get better results by editing the PDF in Acrobat and then re-ubiquitizing it.
Let me know if I understood correctly, hope this helps.
Thanks,
Johs -
Why does JRockit updates lag behind Sun's?
If I understand correctly, JRockit's class libraries are exactly the same as Sun's.
Sun has already released update 8 for their 1.5.0 JRE, and JRockit is still at update 6, which means that the class library bugs fixed in update 7 and 8 are still present in JRockit.
Why does JRockit updates lag behind Sun's? Judging by [url http://forums.bea.com/bea/message.jspa?messageID=600038245&tstart=0]this post, this lag is measured in months!
Doesn't the VM development happen separate from the class libraries? It should be possible to release a new JRE with the "stable", QA'd JRockit VM and the newest class library (with all its bug fixes) within a week or so, instead of months.The class libraries are almost identical, correct. But a JDK update from Sun almost always contains changes in other components than just the class libraries. Some of these affect JRockit, in particular the native libraries (AWT, I/O, etc). Changes in the class libraries may cause performance or stability regressions.
With every release of JRockit we certify our JDK (Sun classes + JRockit JVM + other components) on a large number of platforms. We did a count earlier this year and came up with around 80 different combinations of JDK level, OS and hardware that we have to test in every release by the end of this year.
On these platforms we run a huge set of tests, including performance and stress tests. Even though a large part of our QA is automated, it is simply not possible to run everything in parallel so there is a certain minimum amount of time this certification takes. On top of that we have a set of time-consuming tests that have to be run manually.
To summarize it is simply not possible to do this without some lag. And JRockit has a much quicker uptake than almost all other 3rd party JDK providers (many of them with JVMs based on Sun HotSpot). One example is that it took IBM almost 18 months to get their first J2SE 5.0 implementation out of the door. -
Problem getting correct data from MS Access after doing an Update
Hi all,
I have a problem getting correct data after doing an update. This is the scenario
I am selecting some(Eg: All records where Column X = �7� ) records and update a column with a particular value (SET Column X = �c� ) in all these records by going through a while loop. In the while loop I add these records to a vector too, and pass it as the return value.
After getting this return value I go through a for loop and get each record one by one from the DB and check if my previous update has actually happened. Since No errors were caught while updating DB, I assume all records are updated properly but my record set shows one after another as if it has not been updated. But if I open the DB it is actually updated.
This does not happen to all records, always it shows like this
1st record Mode = �c�
2nd record Mode = �7�
3st record Mode = �c�
4nd record Mode = �7�
9th record Mode = �c�
10th record Mode = �7�
I am relatively new to java and this is someone elses code that I have to modify,So I am not sure if there some thing wrong in the code too
//Here is the method that gets records and call to update and add to vector
public static Vector getCanceledWorkOrders() throws CSDDBException{
//Variable declaration
try {
objDBConn = DBHandler.getCSDBCon();
strSQL = "SELECT bal bla WHERE [Detailed Mode])=?)";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setString(1, '7');
objWOPRs = objStmt.executeQuery();
while (objWOPRs.next()) {
//Add elements to a vector by getting from result set
//updating each record as PROCESSING_CANCELLED_WO(c)
iRetVal = WorkOrderDetailingPolicy.updateRecordStatus(objPWODP.iWorkOrderNumber, objPWODP.strPersonInformed, EMSConstants.PROCESSING_CANCELLED_WO);
if (iRetVal == -1) {
throw new NewException("Updating failed");
catch (Exception e) {
vecWONumbers = null;
throw new CSDDBException(e.getMessage());
}finally{
try {
objWOPRs.close();
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
catch (Exception ex) {}
//return vector
//here is the code that actually updates the records
public static int updateRecordStatus(int iWONumber, String strPerInformed , String strStatus) throws CSDDBException{
PreparedStatement objStmt = null;
Connection objDBConn = null;
String strSQL = null;
int iRetVal = -1;
try{
objDBConn = DBHandler.getCSDBCon();
objDBConn.setAutoCommit(false);
strSQL = "UPDATE Table SET [Detailed Mode] = ? WHERE bla bla";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setString(1, strStatus);
objStmt.execute();
objDBConn.commit();
iRetVal = 1;
}catch(Exception e){
iRetVal = -1;
}finally{
try{
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
}catch(Exception ex){}
return iRetVal;
//Here is the code that call the records again
public static WorkOrderDetailingPolicy getWorkOrders(int iWorkOrderNo) throws CSDDBException{
Connection objDBConn = null;
PreparedStatement objStmt = null;
ResultSet objWOPRs = null;
WorkOrderDetailingPolicy objPWODP = null;
String strSQL = null;
try {
objDBConn = DBHandler.getCSDBCon();
strSQL = "SELECT * FROM [Work Order Detailing] WHERE [Work Order No] = ?";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setInt(1, iWorkOrderNo);
objWOPRs = objStmt.executeQuery();
if (objWOPRs.next()) {
objPWODP = new WorkOrderDetailingPolicy();
objPWODP.iWorkOrderNumber = objWOPRs.getInt("Work Order No");
//......Get Record values
catch (Exception e) {
objPWODP = null;
throw new CSDDBException(e.getMessage());
}finally{
try {
objWOPRs.close();
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
catch (Exception ex) {}
return objPWODP;
}Hello,
Can you put an example of your problem online?
Are you sure you're not having problems with case sensitive data?
Thanks,
Dimitri -
I tried doing my update and it told me I don't have enough storage, so I deleted all of my apps, photos, videos, and music and I still don't have enough storage. Any suggestions?
Do you memeber the complete wording of the error message?
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
My macbook pro keeps booting up, then after a few seconds, goes back to the sign in page. This happened after I was doing software updates and my computer restarted in the middle of an update. Help! Thanks.
Start up in Safe Mode.
http://support.apple.com/kb/ph14204
Repair Disk Section: "Try Disk Utility"
http://support.apple.com/en-us/HT203176 -
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
Call Function module fm_name *
call function fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 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. -
Does any update help to install and run myFaces components?
Hi.
I have JSC trial. And didn't make update.
I can't install myFaces component library. Why?
Does any update help to install and run myFaces components, and other component library?
Thanks.Hi,
The following thread could be of help for you:
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=48666
Cheers :-)
Creator Team -
Current platform : Linux
Current firefox version : Firefox 4 beta 12
Issue : does not update to RC 1 using the check for update feature.
Background : previously downloaded beta 8 and then it automatically updated to beta 12 using update features but for RC1, it does not.
I know users under Windows platform had same problem but was resolved and they can now update via check for update feature.
Please implement for Linux users too.
Thanks !!If you can't update then you can download and install the full Firefox 4 RC version.
* http://www.mozilla.com/firefox/all-beta.html
Maybe you are looking for
-
Issues in jsp page for Authentication.
Hi, I am working on jsp and jsf and i am suffering from an error.I am not able to login into the application. below is the error it appears on the browser.i am able to enter login-id and pwd.After that if press enter then it shows. The request sent b
-
HT1414 i need a passcode? for my ipod?
Does anyone know the passcode for resting the ipod touch?
-
hai in case of error messages while mapping , how it can be captured and how it can be send through mail adapter . whether we can use fault msg for the above requirement. what is the use of fault messages?
-
Album artwork area is completely blank
So as the title says, the area where my artwork is supposed to go, at the top of iTunes is completely blank. I don't mean there's black boxes w/ question marks that I can scroll through, there is a black rectangle where the artwork is supposed to go.
-
I just got a new iMac (desktop) and need to transfer all existing fonts from a G5. Fonts work fine on the G5 but when I try to install them on the iMac all I see is a blackened icon that won't open for installation. Any suggestions as to what I can d