Show TOC Start of Content Area

Procedure documentation Preparing DC's for Use by Other Components  Locate the document in its SAP Library structure

In following steps, you have to specify some DC properties in such a way that the EJBs defined in the EJB DC can be used from another DC’s.

Procedure

...

Specifying Permissions in the EJB DC

       1.      Select the project node for your EJB DC project and choose Development ComponentShow in Component Properties in the context menu.

A multi page editor appears where you can use to specify DC-specific properties. 

       2.      Select the Permissions tab and activate the option Entity Forwarding Allowed.

This graphic is explained in the accompanying text

       3.      To perform the DC Build, select the project node again and choose Development ComponentBuild.

Creating the Public Part in the Enterprise Application DC

...

       1.      Select the project node for your Enterprise Application DC project (studsapp) and choose Development ComponentShow in Component Properties in the context menu.

       2.      In the properties editor, select the Public Parts tab.

       3.      Choose Add… to create a new public part. Enter ejb_pp in the Name field and select Compilation as Purpose option. Then choose Finish.

       4.      Select the node for just created public part and choose Reference Entities in the context menu.

In the next screen, you have to reference the public part of the EJB DC. 

       5.      Expand the MyComponents [demo.sap.com] tree und select the EJB DC (myejbdc). Then mark the client public part.

This graphic is explained in the accompanying text

       6.      Choose Finish.

This graphic is explained in the accompanying text

       7.      To perform the Build for Enterprise Application DC, select the project node again and choose Development ComponentBuild.

Result

You have specified all properties required for importing EJBs using the Enterprise JavaBean model in Web Dynpro. 

End of Content Area