Aktualisierungen Verworfen
Andreas Eugster
Hallo zusammenLeider musste ich heute einen etwas grösseren Bug miterleben:
Letzte Woche habe ich einen ziemlich grossen Extended Code (über mehrere Tage) geschrieben.
Leider stellte sich gestern, nach etwas tieferen Tests, noch ein Fehler heraus. Diesen habe ich dann auch angepasst, anschliesend funktionierte alles einwandfrei. Also ich heute das SAP startete, kam eine Fehlermeldung wegen falscher Syntax im Code. Als ich in den Extendet Code ging (ich hatte diese Fehlermeldung schon einmal), um mir das genauer an zuschauen, fiel mir auf, dass die Aktualität dieses Codes vom letzten Dienstag ist.
Nun die Frage: Warum geschieht das? Gibt es ein Log-File, in dem die Änderungen bez. Anpassungen gespeichert werden und ich wieder laden könnte?
Gruss
Andreas Eugster
Michael Egloff
Hallo Andreas,das von dir beschriebene Verhalten ist nicht normal, deshalb kann ich dir nicht sagen, wieso dass es so gekommen ist. Änderungen an den Regeln werden immer vorzu gemacht (beim Klick auf Aktualisieren), ein Log wird nicht geführt.
Zum Teil werden bei der aktuellen Version Aktualisierungen nicht gespeichert, wenn vorhergehend Zeilen dupliziert wurden. Mit der neuen Version (Ende dieser Woche) sollten diese Fehler jedoch behoben sein. Auf der ganz sicheren Seite bist du, wenn du "Aktualisieren" klickst, das Fenster schliesst und wieder öffnest und dein geänderter Code wieder da ist.
Gruss,
Michael
unknown
Good day Andreas,First of all, I have to admit that my German isn't very good.
I've found your post because I was searching, whether there was someone else with such problem. We are now two years and several SAP/CS versions later, yet this issue is still there. After months of research and thousands lines of lost code and I have pinned down the error (read: feature).
If you look at your SAP database you will notice a table: @COR_CUSTOM_GSCRIPT that's where ExtendedCode is saved in. Look for the field: U_Script. As you will notice the problem is that this field, however it is ntext(16) it is capable of saving only 64000 characters.
Saying that, I would also like to point out that ntext field type is deprecated since SQL2005: see the following articles:
http://msdn.microsoft.com/en-us/library/ms143729%28SQL.90%29.aspx
http://msdn.microsoft.com/en-us/library/ms143729.aspx
Herewith, I would like to call on CoreSuite Development Team to promptly solve this issue. The problem of having 64000 char limit on each written script is of such magnitude that it effectively renders any professional development in CoreSuite environment as highly unrealistic.
Thank you in advance!
Michael Egloff
Hello unknown...we are open for any suggestions and changes in our products. But please do not write such comments into answered posts, nobody is reading this closed postings...
coresuite customize is a fully integrated product and therefore uses the possibilities of the SDK of SAP. Therefore the creation of userdefined tables is also restricted to the possibilities of the SDK. When you open the userdefined table definition in SAP you will see that the type of the column script is 'Text'. This is the biggest field SAP is providing as alphanumeric field.
If you need more than 64000 char in the global code maybe it makes sense to think about developing professional modules / addons outside of coresuite customize (you can do that with the coresuite framework).
Regards,
Michael
0
Please sign in to leave a comment.
Comments
0 comments