on 06-06-2011 3:47 PM
Hi,
In Shift Administration, when i click on Shift Plan tab i page is not working and i get this error
"Error name: TypeError - Error message: Object doesn't support this property or method - Error description: Object doesn't support this property or method - Error number: -2146827850"
Did any one faced the similar issue? I am not sure why I get this error though everything seems to be working ( the transaction, queries....) I even tried deleting the temporary internet files and cache and checked but no success.
Would be great to hear from someone with the solution to solve this issue
Thanks,
Raveen
Can someone guide me on this.
P.S : If I refresh the page then the page loads with no error which I used to get earlier but when i select the Factory drop down list, I don't get any response from the page and I need to close MII forcefully.I see this issue with other tabs of Shift Administration as well. MII Version is 12.1
Thanks,
Raveen
Edited by: raveensap on Jun 28, 2011 12:48 PM
Edited by: raveensap on Jun 28, 2011 12:53 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I activated JAVA Console but I don't see anything in there. Sometime soon I click on a ShiftPlan tab the system gets hanged with no option left I had to endtask the application.
I am not sure how to debug the application, as these are default templates I assumed it should work fine.
P.S : I do get a different error now " Error name: SyntaxError - Error message: Target applet or JVM process exited abruptly - Error description: Target applet or JVM process exited abruptly - Error number: -2146827287"
Thanks,
Raveen
Edited by: raveensap on Jun 28, 2011 4:10 PM
Hi Raveen,
There are probably as many ways to troubleshoot as there are MII developers.
I would start with opening the display template for the page(s) with the error in the Workbench. Then execute it from there (you may have to point it towards the correct query template). If that runs without error, save the html (view source and scrape it into a new irpt). Then execute that page after saving. Depending upon when you experience the error, you may then want to execute the query separately (and if Xacute, the underlying transaction).
Alternatively, you could start with the problem page saved as a separate file (I usually create a project named Dummy or Testing). Then after each error start ripping out chunks of javascript and applets until you figure out where the error comes from.
Either method presumes that the log files and other messages provide no indication of where the error comes from.
Good luck,
Mike
Thanks a lot Mike for your inputs. I have tried to trace the issue and across this error " com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'AS'.u2019.with the query "SAP_BM/ESB/Masterdata/Planning/SelShiftDefinitionListQuery"
When I check the SQL Query it is as is
SELECT
[Param.2]
AS name,
ShiftDefinition.idShiftDefinition AS idShiftDefinition
FROM ShiftDefinition
INNER JOIN ShiftDefinition_lang
ON ShiftDefinition_lang.idFactory = ShiftDefinition.idFactory
AND ShiftDefinition_lang.idShiftDefinition = ShiftDefinition.idShiftDefinition
WHERE ShiftDefinition.idFactory =
[Param.1]
order by ShiftDefinition.timeBegin asc
No Clue, I wonder as it is a default template for SAP BM and I didn't do any changes. Appreciate any help on this.
Thanks,
Raveen
Edited by: Michael Appleby on Jul 18, 2011 6:24 PM
Edited by: Michael Appleby on Jul 18, 2011 6:25 PM
Thanks Anshul, It solved the query issue...I don't know I did I missed it.
Moving ahead I found a issue with ShiftPlanningXacQuery when I run this I get this error "Could not evaluate conditional node[conversion exception]..I looked at the transaction it is talking too and the in the transaction properties I didn't understood the input for Illumlogin as "ysa" and local properties also have the start and end dates for shift planning and for next shift dates as well.
Thanks,
Raveen
P.S : The underlying transaction "ShiftPlanningTransaction" is working fine
Edited by: raveensap on Jul 18, 2011 1:37 PM
Hi Raveen,
The LogWrite() function is used in most of the functions .I dont exactly remember the line since I have customized the function.
Any way if that doesn't work please comment the Try & Catch Blocks.Let the browser throw the error line in javascript.
I am sure there is some logical error somewhere because even I faced same problem when I initially started with Shift Planning
Hello Neha,
Sorry for getting back lately on this as I am involved in some other projects not able to work on this. I am able to work with the Shift Plan page now, as per your suggestions I did put a comment and page is coming up and even I can enter the values but the execute planning button & Remove future Shift Planning buttons are not active and I don't see any list coming up for Shift list and Team list.
Can you please guide me further please.
Thanks,
Raveen
Edited by: raveensap on Aug 15, 2011 3:51 PM
Hi Raveen,
The Buttons are disabled because I guess you have not preconfigured data. You need to create factory users, teams & shifts. These are mandatory. The transaction called on create plan has a bug of some unknown variable, you need to fix that too when the buttons become visible.
Thanks & Regards,
Neha
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.