Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting a package error when trying to activating

Former Member
0 Likes
442

Hi Everyone,

I have a scenario which looks like the image below

SUPER_PACKAGE

|====> PACKAGE_1

|_______ |==> CLASS_11

|====> PACKAGE_2

_______ |==> CLASS_21

_______ |==> REPORT_21

i am getting this error

(E) Objects of package "PACKAGE_2" must not use object "CLAS CLASS_11" with any of the usage types "useObjectOrType".

I am using the class CLASS_11 in CLASS_21 as well as the report REPORT_21.

Can anyone suggest why i am getting this error and how to solve this?

I am getting thie error while activating the report REPORT_21

*I have included the underscores in the package to improve the readability

--

Thanks and Regards,

Vinay Bedre

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
414

When creating the package, transport layer has to be provided. In your case there might be different transport layers for each package that may be the reason for the error. To check trnsport layer : Goto SE80 -->Give the package name --> At the bottom of the screen under "Transport Attributes" you can see this.

Try to change give one for both the packages then try saving. I think it wll work.

Regards,

Preetham

Hi Everyone,

I have a scenario which looks like the image below

SUPER_PACKAGE

|====> PACKAGE_1

|_______ |==> CLASS_11

|====> PACKAGE_2

_______ |==> CLASS_21

_______ |==> REPORT_21

i am getting this error

(E) Objects of package "PACKAGE_2" must not use object "CLAS CLASS_11" with any of the usage types "useObjectOrType".

I am using the class CLASS_11 in CLASS_21 as well as the report REPORT_21.

Can anyone suggest why i am getting this error and how to solve this?

I am getting thie error while activating the report REPORT_21

*I have included the underscores in the package to improve the readability

--

Thanks and Regards,

Vinay Bedre

1 REPLY 1
Read only

Former Member
0 Likes
415

When creating the package, transport layer has to be provided. In your case there might be different transport layers for each package that may be the reason for the error. To check trnsport layer : Goto SE80 -->Give the package name --> At the bottom of the screen under "Transport Attributes" you can see this.

Try to change give one for both the packages then try saving. I think it wll work.

Regards,

Preetham