on 11-20-2008 4:13 PM
Hi,
I run the code inspector for my web dynpro application and got a lot of errors within the "Syntax Check/Generation" part.
Message Code 0042
"Object WDYN <my wd component> has insufficient authorization to use objects... from package...
in package... in package <my package name> does not have sufficient use..."
Has someone an idea what this is and why I get this error messages?
In an other WD application, assigned to a local object, these error message does not occure.
So I think it has something to do with my package?
edit 08.12.2008
detailed example message:
"ObjectType WDYN Object name <my web dynpro component> Include /1BCWDY/B_4JKIK8... Row 66 Column 1
Object WDYN_<my web dynpro component> has insufficient authorizaiton to use objects CLAS CX_WD_BAD_STATE from package SWDP_RUNTIME_EXCEPTIONS
/1BCWDY/4JKIK8TYP5EI8H8FMHRT==CP in package <my Z package> USAGE_AFTER_DO_EXIT in package SWDP_RUNTIME_EXCEPTIONS
Package <my Z package> does not have sufficient use access
Thanks,
Andreas
Edited by: Andreas Leis on Dec 8, 2008 9:43 AM
Hi Marcel,
thanks for your helpful answer!
I've found following trouble shooting:
[http://help.sap.com/saphelp_nw70/helpdata/en/ea/c05d85f01011d3964000a0c94260a5/content.htm]
But adding the interface "SWDP_RUNTIME_EXCEPTIONS_I" into my z-package (in tab "Use access") does not work.
Error message "Package <my Z packag> cannot use package interface SWDP_RUNTIME_EXCEPTIONS_I'.
the help button shows following advice:
"Procedure
The package <my Z package> must first of all be included in the list of allowed user packages of package interface SWDP_RUNTIME_EXCEPTIONS_I."
That's funny...
If I don't add all the packages to my z-package, will this take an negative effect on the behaviour of my web dynpro application?
Do you know where I can set the "The global package check switch" mentioned in the sap docu
[http://help.sap.com/saphelp_nw70/helpdata/en/6b/566a47988611d596b900a0c94260a5/content.htm]
Edit: found it, see oss note 648898
Regards,
Andreas
Edited by: Andreas Leis on Dec 10, 2008 4:35 PM
Edited by: Andreas Leis on Dec 10, 2008 4:59 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Andreas,
ab Basis 7.00 gibt es eine Paketprüfung.
Die wird global scharf geschaltet und verhindert dann den unbefugten Zugriff auf Objekte
aus anderen Paketen.
Lösung:
Schreibe dir die Pakete / Objekte auf die du nicht nutzen darfst.
Bei dir Z.Bsp.: CX_WD_BAD_STATE aus SWDP_RUNTIME_EXCEPTIONS
Suche aus der SE80 raus welche Paketschnittstellen das Paket hat
Z.Bsp für SWDP_RUNTIME_EXCEPTIONS
gibt es : SWDP_RUNTIME_EXCEPTIONS_I
und füge es in dem paket in dem dein WebDynpro ist
unter dem Tabreiter "Paketverwendungen" bzw. "Use access" hinzu.
Dann sollte es gehen..Grüße,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.