Not a valid date - error in Web dynpro hosting the form
Dear Experts,
I have an interactive form embedded in an ABAP WebDynpro screen. It has a date field which is filled by the user.
This field has been working perfectly fine except for one user. Whenever he tries to enter a date and validate (round trip to backend) he gets a 'DD.MM.YYYY is not a valid date format' error (i.e. '15.02.2011 is not a valid date format').
Since this is a user specific error, I am unable to debug. When I tried debugging with his login, this error could be intercepted as this is an error thrown by the framework itself because of incompatible types(I think).
I am using all 3 patterns (validation, edit and display)as DD.MM.YYYY. it is working fine for everyone else, including me!!!!!!
It is not a system/version issue as we both tried on a neutral system and it worked for me but not for him.
Does anybody have an idea as to how this is possible? Any solution for this issue?
I am baffled, to say the least.
Regards, Amith
Edited by: Amith Menezes on Feb 15, 2011 3:47 PM
Hello there,
I just found a solution to this problem.
The crux of this issue was that the 'Binding Pattern' of the date field in the form did not match the Date format of the user's 'Own Data'. For now, I requested the user to change to the frmat maintained in the form and it all worked well..
But this leads me to a new question.
How can we make sure that the binding pattern always matches any user's own data!
Is there a way this can be achieved??
Regards,
Amith
Edited by: Amith Menezes on Feb 16, 2011 1:35 PM
Similar Messages
-
PDFDocumentRuntimeException Error with web dynpro and Interactive Forms
Hi,
I installed on my notebook the Trail Versions of:
- SAP NetWeaver Application Server 7.00/Java AS 7.00
- SAP NetWeaver Developer Studio Version: 7.0.14
- Acrobat Reader 7.0.9
- Internet explorer 7.0.5730.13
I configured and tested the ADS after the configuration guide and i get the Version info sucessfully if I do the http://localhost:50000/AdobeDocumentServices/Config Test.
So i developed a web dynpro application with interactive forms after a tutorial and did exactly the same (so i think i have to configure something on the server or on the client). All other Webdynpro applications without an interactive forms are running without any problems.
when im running the application with the interactive forms this error occured:
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../local/TableDemo/TableDemoApp/~wd_key27_1206449390828/Error+PDF.pdf;jsessionid=(J2EE9974800)ID2009226050DB10771811086936887683End;saplb_*=(J2EE9974800)9974850?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=f50f6853fa6911dca5cc001a4b8ead76&sap-wd-appwndid=f50f6854fa6911dc97d6001a4b8ead76&sap-wd-norefresh=X
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:405)
... 29 more
Have anybody a solution for this problem ?!
Im not quit sure if i installed the Adobe Component Framework. Could this be the problem ?
Where can i download the ACF ?I installed and configured the credentials, but there is still the same problem:
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Tue Apr 01 08:31:54 CEST 2008 com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. Exception Stack Trace: com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: C:\usr\sap\J2E\tmp\adobewa_J2E_9974850\DM6591376789253148875.dir\DM7896718136952797773.tmp Specific error information: error while logging into credential ^0 GeneralError: Operation failed. SecurityHandler.login:-1: The digital ID specified is unknown. at com.adobe.ads.operation.UsageRights.execute(Unknown Source) at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source) at com.adobe.ads.operation.CachableOperation.doWork(Unknown Source) at com.adobe.ads.request.Request.processOperations(Unknown Source) at com.adobe.ads.request.Request.process(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120) 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:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0 at com.adobe.document.pdf.CredentialLoginFailureHelper.read(CredentialLoginFailureHelper.java:67) at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:284) at com.adobe.ads.remote.EJB_PDFAgent.setUsageRights(Unknown Source) ...
I cant figure out ..what the problem is..
I als made the test in http://localhost:50000/AdobeDocumentServices/Config successfully:
this is the Response:
HTTP/1.1 200 OK
Connection: close
Set-Cookie: <value is hidden>
Set-Cookie: <value is hidden>
Server: SAP J2EE Engine/7.00
Content-Type: text/xml; charset=UTF-8
Date: Tue, 01 Apr 2008 06:36:54 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><rpl:rpDataResponse xmlns:rpl='urn:AdobeDocumentServicesVi'><rpl:Response xmlns:pns='urn:com.adobe'><pns:rpStreams></pns:rpStreams><pns:rpStrings><pns:RpString><pns:name>Error_Level</pns:name><pns:value>0</pns:value></pns:RpString><pns:RpString><pns:name>Results</pns:name><pns:value>Processing exception during a "checkDocument" operation.
Request start time: Tue Apr 01 08:36:54 CEST 2008
com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
Exception Stack Trace:
com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
at com.adobe.ads.request.Request.checkDocument(Unknown Source)
at com.adobe.ads.request.Request.setUpOperations(Unknown Source)
at com.adobe.ads.request.Request.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
</pns:value></pns:RpString><pns:RpString><pns:name>VersionInfo</pns:name><pns:value>800.20070708051308.406522</pns:value></pns:RpString><pns:RpString><pns:name>TraceString</pns:name><pns:value> com.adobe.ProcessingException: Required stream: "PDFDocument" not found in request OR its length is zero.
</pns:value></pns:RpString></pns:rpStrings></rpl:Response></rpl:rpDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
My installation:
SAP NetWeaver Application Server 7.00/Java AS 7.00
SAP NetWeaver Developer Studio Version: 7.0.14
Acrobat Reader 7.0.9
Internet explorer 7.0.5730.13
xAcf_NW711_SP00
J2EE 7.00 SP14 -
How to add "Prepare Data" from a web service to the form
Hello,
Can any one please advise on how to add the "Prepare Data" process from the existing web service and have the form to pre-populate the data from this "Prepare Data" process instead of using schema xsd. I heard that this is an alternative or may be a better way to pre-populate data in ES2/ES3 to avoiding creating a data source in Form Designer. I try to find a sample on Adobe site but could not find one, most of them are using schema.
Any guidance or URL to the sample would be helpful.
Thanks,
HDThanks
-
Upload and Download Errror " File does not contain valid data"
We are on the ECC 6.0 Unicode system.
I dowloaded the Role from QA server and tried to upload into DEV box.
I am getting the Error " File does not contain valid data".
However, when I downloaded the Role, it was done successfully.
Please let me know if anyone has that problem.
Thanks,
From
PRANAVThis is what I see here.
DATE 20090716 131756RELEASE 700LOADED_AGRS Z_BI_HR_REPORTING_FUNCTIONALAGR_DEFINE 210Z_BI_HR_REPORTING_FUNCTIONAL PTHAKER 20080523131557000000000000000PTHAKER 20090709142400000000000000000AGR_TCODES 210Z_BI_HR_REPORTING_FUNCTIONAL TRRRMX X 00000AGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000001S_RFC T-BD90003500 U O000004Authorization Check for RFC AccessAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000002S_RS_AUTH T-BD90003500 U O000013BI Analysis Authorizations in RoleAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000003S_RS_COMP T-BD90003500 U O000016Business Explorer - ComponentsAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000004S_RS_COMP1T-BD90003500 U O000023Business Explorer - Components: Enhancements to the OwnerAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000005S_RS_FOLD T-BD90003500 U O000029Business Explorer - Folder View On/OffAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000006S_RS_HIER T-BD90003500 U O000032Data Warehousing Workbench - HierarchyAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000007S_RS_ODSO T-BD90003500 U O000038Data Warehousing Workbench - DataStore ObjectAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000008S_RS_PARAMT-BD90003500 U O000045Business Explorer - Variants in Variable ScreenAGR_1250 210Z_BI_HR_REPORTING_FUNCTIONAL 000009S_TCODE T-BD90003500 S O000009Transaction Code Check at Transaction StartAGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000001S_RS_COMP T-BD90003500 RSZCOMPTP CKF U O000021AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000002S_RS_COMP T-BD90003500 RSZCOMPID * U O000020AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000003S_RS_COMP1T-BD90003500 RSZCOMPID ZHCM* U O000025AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000004S_TCODE T-BD90003500 TCD RRMX S O000010AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000005S_RS_HIER T-BD90003500 ACTVT 71 U O000033AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000006S_RS_HIER T-BD90003500 RSHIENM * U O000034AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000007S_RS_HIER T-BD90003500 RSIOBJNM * U O000035AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000008S_RS_HIER T-BD90003500 RSVERSION * U O000036AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000009S_RS_PARAMT-BD90003500 PARAMNM * U O000047AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000010S_RS_COMP T-BD90003500 RSINFOAREAZPA_ECM* U O000018AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000011S_RS_ODSO T-BD90003500 RSINFOAREAZPA_ECM* U O000040AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000012S_RS_COMP1T-BD90003500 RSZCOMPID ZPAOS* U O000025AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000013S_RS_ODSO T-BD90003500 ACTVT 03 U O000039AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000014S_RS_COMP1T-BD90003500 RSZCOMPID ZPAPA* U O000025AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000015S_RS_ODSO T-BD90003500 RSODSOBJ * U O000041AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000016S_RS_ODSO T-BD90003500 RSODSPART DATA U O000042AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000017S_RS_ODSO T-BD90003500 RSODSPART DEFINITION U O000042AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000018S_RS_ODSO T-BD90003500 RSODSPART EXPORTISRC U O000042AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000019S_RS_ODSO T-BD90003500 RSODSPART UPDATERULE U O000042AGR_1251 210Z_BI_HR_REPORTING_FUNCTIONAL 000020S_RS_COMP T-BD90003500 ACTVT 03 U O000017AGR_1251 -
Unable to download photos from my camera. iPhoto returns an error message that states: The following files could not be imported (they may be an unrecognized file or the files may not contain valid data). FILE NAME: 100_0490.JPG REASON: com.apple.ImageCaptureCoreError- 9905. WHAT'S UP WITH THAT? Did not have a problem importing photos under the LEOPARD OS, however, now that I have upgraded to Yosemite 10.10.3 the iPHOTO app is not performing the imports.
Are you using Photos, or iPhoto? Maybe you've got a corrupt file on your camera. I would try using the image capture application to import the bad picture to my desktop. If it works and the picture looks ok, then delete that pic from the camera, then try to import into iphoto again. You can then import the pic it was saying was bad from your desktop.
Or, try downloading all the pics using image capture and then import from the download folder. -
RSPLAN - User account not in validity date
Hallo,
when I open the TA RSPLAN and jump into the planning modeler, I get the error message "User account not in validity date" in the web-browser.
I've checked the validity period of my SAP user in the SU01 (... also in the backend of the Netweaver portal) - The date is valid (01.10.2009 - 31.12.9999)! So, why I get this message?
Thanks in advance...Hi,
If you run the support desk tool, note 937697. It will most likely tell you where the problem is, my guess is that one of the users defined in the JCo destinations of the Web Dynpro Content Administrator are not in validity date in SU01.
thanks,
Michael -
What kind of data types in Web Dynpro can be bound to Interactive Form?
Hello
Apparently it is not possible to bind a Web Dynpro Context variable of type boolean to a checkbox in an interactive form. We get the PDF Document Render Exception until the data type is changed to string, then the generation seems to work. Does anyone know what data types in Web Dynpro other than String can be bound to an Interactive Form Document? Is there any information about this in help.sap.com/adobeforums.com/elsewhere? I have researched a bit, but couldn't get a general statement on this topic.
Thank you for your help!
Kind regards
Bettina HeppHi,
You can Bind the Boolean type of webdynpro to the CheckBox in Adobe Interactive Form.
Just define the value Attribute in the Context of type Boolean and bind the Checkbox in Aif with this attribute.
Sample Code:
if (wdContext.currentContextelement.reason == true)
ur validations.....
Regards
Mustafa -
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 -
ORA-01843 Not a valid month Error
Dear all,
We did a database upgrade from 9.2.0.1 to 11gR2 and after that everything is working fine.
But now we noticed that the users are getting ORA-01843 Not a valid month Error.
I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persist.
As a work around I changed the NLS_DATE_FORMAT=DD-MM-YYYY on the client pc registry and now its working in that pc..
Is there any other way so that the change gets affected globally ??
Any tips
Thanks in adv,
Maheshmahesh wrote:
Dear all,
We did a database upgrade from 9.2.0.1 to 11gR2 and after that everything is working fine.
But now we noticed that the users are getting ORA-01843 Not a valid month Error.
I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persist.
As a work around I changed the NLS_DATE_FORMAT=DD-MM-YYYY on the client pc registry and now its working in that pc..
Is there any other way so that the change gets affected globally ??
Any tips
Thanks in adv,
MaheshNLS_DATE_FORMAT can be set in multiple places, but it's not an either/or situation. Setting it in an init parm at the db level is the WEAKEST setting. That setting is overridden by the client OS, which in turn can be overridden by an ALTER SESSION, which in turn can be overridden by use of TO_CHAR and TO_DATE at the individual sql statement. and if the date is being entered by a human at a keyboard (actually keyed in, not picked from a calendar tool or some sort of drop-down pick list) you really have no direct control over the format of the string they key in. So ultimately it is up to the application to insure that character strings presented as dates are in the correct format.
Which is why I advise developers to ALWAYS use to_char and to_date at the sql statement level. It is the only way they can insure control over the setting. -
Buffer Table not up to date error while accessing Catalogs
Hello,
I am getting Buffer table not up-to-date error while accessing ARIBA Procurement Catalogs.
Initially, my Test system was pointing to Production Catalogs but now, when I changed the settings in "Define External Web Services" and pointed it to DEV Catalogs, it is failing with error: "Buffer Table not up-to-Date"
Refreshed the Buffer already but still error not fixed.
We already have the similar settings in other systems and there the connections are working fine
Please advise
Regards
Manish AgrawalHi Manish,
Could you please check the below notes and implement the same since I had the same issue upon punching out from the catalog to SRM system.
2041631 - Simplified Shopping Cart:Dump on Check Out From Catalog
2086844 - Dump "Buffer table not up-to-date" on Check Out from Catalog
In addition to the above, please maintain the portal information in the path as shown in the below screen shot
Kindly check and let me know on how it goes.
Best Regards,
Bharathi -
Error inserting Web Dynpro Script
Hello Word,
I have a problem when I try to insert the web dynpro script, sends a messages "Error inserting Web Dynpro Script", any idea?
sorry about my english
Christian..Chintan Virani, Thaks for the answer
The Disigner version is 7.1 (ALD 7.1), I am trying to create Interective Forms with Web Dynpro in ABAP.
I read in some palce that upgrading the sap GUI resolve the problem but I have the 710 version sap GUI (I suppose it's the last version) but this do not resolve the problem.
can you help me please, thaks
Christian -
RFC_ERROR_LOGON_FAILURE: User account not in validity date
Dear All
We are trying to upgradfe one of our ECC system to EHP4. We created a system in the solution manager. However, it had some problems and we tried to delete it. During deletion, we are receiving an ABAP dump as "CALL_FUNCTION_REMOTE_ERROR". Detailed dump mentioned the error as :-
RFC error text: "RFC_ERROR_SYSTEM_FAILURE"
CPI-C error text: "Server repository could not create function template for
'FM_DIAGLS_NOTIFY_JAVA' caused by: com.sap.mw.jco.JCO$Exception: (103) "
We checked on the java trace file and we found this error occuring repeatedly.
Exception thrown [Fri Feb 18 12:25:14,057]:Server repository could not create function template for 'FM_DIAGLS_NOTIFY_JAVA' caused by: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User account not in validity date
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User account not in validity date
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1025)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)
at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4725)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6180)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6135)
at com.sap.mw.jco.JCO.getClient(JCO.java:8803)
at com.sap.mw.jco.JCO$Repository.getRepositoryClient(JCO.java:20461)
at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20541)
at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:20649)
at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:19687)
at com.sap.mw.jco.JCO$Server.getFunction(JCO.java:7471)
at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2260)
at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1738)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:8182)
at com.sap.mw.jco.JCO$Server.work(JCO.java:8302)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8249)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
Can anyone please help. Our complete upgrade is struck due to this.
Thanks in advance
Regards
LokeshHi Sven
Thanks for the update. I checked and found 3 communication users to have expired. I increased their expiry date to 31.12.9999.
However, now when i tried to perform the deletion action, I am receiving a different dump as
RFC state: " "
RFC error text: "RFC_ERROR_SYSTEM_FAILURE"
CPI-C error text: "Bean FM_DIAGLS_NOTIFY_JAVAnot found on host a2ms00015,
ProgId =WEBADMIN: Object not found in lookup of FM_DIAGLS_NOTIFY_JAVA."
The Java Trace file shows this error :-
Exception thrown [Fri Feb 18 16:46:06,657]:Exception thrown by application running in JCo Server
java.lang.RuntimeException: Bean FM_DIAGLS_NOTIFY_JAVAnot found on host a2ms00015, ProgId =WEBADMIN: Object not found in lookup of FM_DIAGLS_NOTIFY_JAVA.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Please help
Regards
Lokesh -
Period Comparison - getting not a valid month error
I am trying to do a period comparison. I have the query condition as
select ppv.draft_invoice_num
,ppv.ra_invoice_number
,ppv.invoice_date
, idv.expenditure_item_date
,ppv.gl_date
,ppv.gl_period
,to_date(ppv.gl_period,'MON-YY')
--,idv.bill_amount
-- ,ppv.org_id
from pa_proj_invoices_view ppv
,pa_proj_invoice_details_view idv
where ppv.project_id= idv.project_id
and ppv.draft_invoice_num = idv.draft_invoice_num
and ppv.project_id = 25
and idv.expenditure_item_date between '01-MAR-09' and '30-APR-09'
and to_date(ppv.gl_period,'MON-YY') between to_date('MAR-09','MON-YY') and last_day(to_date('MAY-09','MON-YY'))
group by ppv.draft_invoice_num
,ppv.ra_invoice_number
,ppv.invoice_date
, idv.expenditure_item_date
,ppv.gl_date
,ppv.gl_period
order by ppv.draft_invoice_num;
I get an "Not a Valid Month" error. How can I do the date comparison? I have tried number of options . How can I compare the ppv.gl_period for a range of periods?
ThanksHi,
1)
lv_date := '09/25/2009';lv_date is a variable of datatype date, but you are assigning a varchar, which Oracle is not able to do implicit conversion because of nls_date_format
change to something like to_date('09/25/2009','mm/dd/yyyy')
2)
lv_date:= TO_DATE(lv_date,'MM/DD/YY');
lv_date:= TO_CHAR(lv_date,'MM/DD/YY');Why would be assinging a char value to date datatype. Use any one depending on datatype of lv_date
Regards
Anurag Tibrewal. -
ESW : User account not in validity date
hi team,
i'm trying to log in to the system " HU2" with the id P1047788 and for which i'm getting the error as " User account not in validity date".
i have already registered again in the page " http://www.sdn.sap.com/irj/sdn/soareg" using my P-id and the password.
but, unfortunately i didn't receive any mail communication since 2pm totay.
could you please help me to activate my account ?
thanks in advance,
AlokHELLO ALL,
I am also facing the same problem, can any one helps us out to solve this problem. -
Unreadable files (may not have valid data)
I posted this message on the MacOSX forums website. Any help here will be greatly appreciated.
Hi
I am trying to import some photos from my 7.2 mp Sony Cybershot camera onto iPHOTO. When i click import, it prompts me to "skip over" those i have already imported and, when i do, it pauses and an error message comes up.
Quote
The following files could not be imported (they may be an unrecognized file type or the files may not contain valid data).
/private/var/tmp/folders.501/TemporaryItems/iPhoto/DSC00361.JPG
/private/var/tmp/folders.501/TemporaryItems/iPhoto/DSC00362.JPG
/private/var/tmp/folders.501/TemporaryItems/iPhoto/DSC00363.JPG
/private/var/tmp/folders.501/TemporaryItems/iPhoto/DSC00364.JPG
/private/var/tmp/folders.501/TemporaryItems/iPhoto/DSC00365.JPG
endQuote
This question is posed to those who have either a) used and is familiar with the Cybershot system and its troubleshooting and b) received the same error message and have troubleshooted or fixed the problem.
Thanks much for any future help. I hope someone can come to my rescue!
Sedukai
please note that this has only recently began to occur. I have about 100 pictures in my library that I have successfully imported into my library. I read the help section on this problem located in iPHOTO help and it told me that "the files may not be picture files." In my experience, .jpg is a picture file so i sort of rules that out (and also the fact that the help was directed to those with iPHOTO 2.0).
Thank you so much for any help!
Sedukai
p.s. also note that when i try to eject the camera (put the desktop pic into the trash) it says that it is in use and i should "quit the program".Sedukai:
To rule out the files themselves use Image Capture, located in your Applications folder, to upload those files to the Desktop first. Then try to import from there.
If they don't import from there are there any setting on the camera that might have been changed, i.e. file type or the like. Also make sure there's an extension on the file and it's not been left off for some reason.
Do you Twango?
Maybe you are looking for
-
I have the oringinal ipad, it does not seem to support ios6 and will not connect to itunes, WHY is this?
-
Pricing Conditions from Sales Order to Purchase Order
Hi, This is a third party scenario. The vendor says that he will sell product ABCD for $10 to us. When the customer places and order, we have a manual condition type ZDIS in sales order and we enter $10 for the product ABCD while we create the order
-
Anyone has success with UFT or Vugen 11.5 on WDA via portal?
Hi, all We are in the process of evaluating UFT 11.5 and/or Loadrunning 11.5 to do both functional and load testing for webdynrpo ABAP(WDA) via the SAP portal. So far, both tools failed miserably. Some of the issues I saw are: 1) Both tools cannot ca
-
Hi guys, In R/3 systems(4.7 with SQL) when i saw workprocess in SM50 which are in PRIV mode with Hold status but i saw same workprocesses in SM66 they are same PRIV mode but with stopped status. why same workprocesses are showing different status in
-
Help? get plus + (R) has stopped working when loading Flash player
When trying to install flash player - I get this message and then it says a problem has stopped the programme working properly. Windows will close the programme and will notify me if a solution is possible. Now stuck as nothing happens Any advice?