Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member214355
Contributor

A brief background.

NetWeaver Development Infrastucture (NWDI)

SAP NetWeaver provides a platform for your Java-based development called NWDI. NWDI provides a centralized development environment for the entire software lifecycle.

NetWeaver Developer Studio (NWDS)

The NWDS provides access to the NWDI. The NWDS consists of Local Development Environments (IDE) on the PCs of the developers and Services that provide the development team with a consistent development environment.

In this blog i will describe a common problem that can occur when Creating a Development Component in NWDS, in this example, the vendor and names on the dropdownlist cannot be selected as they are grayed out.

Steps to Recreate:

1. Start the NWDS (Netweaver Developer Studio).
2. In "Development Infrastructure Perspective" log on to Netweaver Development Infrastructure (NWDI).
3. Create Development Component (Right click on track > context menu appears > Choose "New").

4. You may notice that you are not able to edit the Vendor field as it is grayed out and set to "sap.com".

Cause:
Prefixes for development components must consist of at least two components (Vendor/Name Prefix).
If you want to allow all of the prefixes under your vendor, enter "xxx.com/*" see note 710315.

Another cause can be that all of the steps have not been completed.

Check the following steps to ensure that you proceeded correctly;


Step 1. Stop NWDS.

Step 2. Open SLD.


http://<host>:<port>/sld/
> Name Reservation.
> List Namespace Prefixes.
> Select Development Component Name.

Apart from the "sap.com" default namespaces you can see here what namespaces have been defined (newcompany.com/appl, etc).


http://<host>:<port>/sld/
> Name Reservation.
> List Namespace Prefixes.
> Select Design Time Package.

Notice the syntax difference (org.newcompany.appl, etc).

Step 3. Restart SLD from SLD > Administration.

Step 4. Update CMS and Re-save the track

Step 5. Update the Development Configuration in NWDS (on NWDS releases where this feature is not available ensure that there are no open activities, then delete and reimport the development configuration)

Step 6. Start NWDS and logon to NWDI.

If you start NWDS but don’t logon, then try to create a new DC, it will look like this;

Step 7. Logon to NWDS with your Developer user and create a new DC.

It should look like this;

Another cause can be the Object Server.

In the following example;
I created a new namespace prefix, but I’ve previously changed the object server in the SLD > Administration > Settings > Server Configuration > Object Server.

Restart SLD from SLD > Administration.

I added a new Prefix newcompany.org/os.
Now go to SLD > CIM Instance / CIM Classes > Classes with Instances > Select Allowed Namespace Prefix (num).

Be aware: Since you have changed the object server, only one of the prefixes will be available in NWDS when you try to create a new DC. See Note 935245.

Reference Notes:
#710315  New prefix namespace for SAP NetWeaver.  
#876701  Name reservation of CMS domains in NWDI.
#935245  Importance of "Object Server" SLD parameter.

If you see the below error;

Please apply the following note;

#1816503 NWDS not identifying Vendor/Name Prefix defined in SLD

3 Comments