cancel
Showing results for 
Search instead for 
Did you mean: 

Error While Creating Proxy in SPROXY

Former Member
0 Kudos

Hi All,

We Created one Packagewith NAme ZPACK1 in SE80.

While Creating Proxy in SPROXY TC, it is Asking Package & Prefix

We gave Package as ZPACK1 & Prefix as ZPREFIX.

Then One Error is Comming Like <b>"Package ZPACK1 has no use access to package interface SAI_TOOLS"</b>

Please let me Know the Solution for this Error.

Regards

Bopanna

Accepted Solutions (0)

Answers (4)

Answers (4)

aashish_sinha
Active Contributor
0 Kudos

Hi,

The packages that contain or use proxy objects must have a use declaration for the package interface SAI_TOOLS. In addition, the corresponding structure package must contain a use declaration for the package interface SAPPINT.

For the proxy runtime, a use declaration must be available for the package interface SAI_SXMS.

Generating Proxies By Using Transaction SPROXY

...

1. Call transaction SPROXY in the system in which you want to generate a client or server proxy.The system displays a navigation tree on the left-hand side of the screen; it has the same structure as the interface maintenance tree in the Integration Builder. The interface objects are ordered according to software component version, namespace and object type

If no connection to the Integration Repository exists, the system only displays

interface objects in the tree structure for which a proxy exists in the system.

2. Choose an interface object for which no proxy already exists. To create a proxy for this interface object, double click the context menu Create Proxy.

3. In the dialog box, specify the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.

Other way.. try this :

Generating Proxies By Using the Object Navigator (Transaction SE80).

1. Call the Object Navigator (transaction SE80) in the system in which you want to

generate a client or server proxy. Select a package and call the context menu. Choose Create &#8594; Enterprise Service / Web Service &#8594; Proxy Object.

2. In the subsequent dialog window, choose the source of the WSDL document (URL/http destination, local file, UDDI or XI Repository).

If you choose XI Repository as the source of the WSDL document, the hierarchy of the software component versions in the Integration Repository is displayed in the

subsequent window. The interface objects are ordered according to software

component version, namespace and object type . Choose an interface object for which no proxy already exists and confirm by choosing Copy.

3. In the subsequent dialog window, enter the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.

Hope this will help you a bit.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

I Created Package Using SE80.

Package has been created.

While creating Proxy----I Provided Package & Prefix As Z.

Even though it is giving the Same Error

<b>"Package ZTAFE has no use access to package

interface SAI_TOOLS"</b>

Regards

Bopanna

Former Member
0 Kudos

Hi Bopanna.

First check by giving $tmp for the package name and prefix as Z while creating the proxy. If it works, then check the permissions/attributes of your package

Go to SE80. Open your package. Under the properties tab, Check if the option "Main Package" is not selected. In the same way check for it's other permissions under the "Use Access" tab, Package Interfaces etc.,

I think there are some restrictions created on your package.

Regards,

Hari.

VijayKonam
Active Contributor
0 Kudos

Hi Boppana,

You need to add your package created to SAI_DEMO or SAI_TOOLS in SE21.

VJ

Former Member
0 Kudos

Hi Bopanna.

Giving the package name ZPACK1 is ok.

For the prefix give "Z" or "Y" only. Since the proxy that you are creating is a custom object, the system expects it's name to start with Z or Y. That value it takes from the prefix option. So just give the value as "Z" or "Y" there. This should solve your issue.

Regards,

Hari.

Former Member
0 Kudos

Check authorizations...

Former Member
0 Kudos

Hi All,

Any Clues.....

Regards

Bopanna