cancel
Showing results for 
Search instead for 
Did you mean: 

creating metadata destination

Former Member
0 Kudos

Hi,

Please tell me the procedure and parameters involved when we are creating metadata destination during JCO configuration in webDynpro Content Administrator?

Thanks & Regards,

Mastanvali Shaik

Accepted Solutions (1)

Accepted Solutions (1)

former_member193726
Active Participant
0 Kudos

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

Thanks for your valuable information. And now I am very clear about creation of metadata destination.

Thanks & Regards,

Mastanvali Shaik.

Former Member
0 Kudos

Hi Mastanvali

You need administrator authorization for the J2EE Engine and access to a System Landscape Directory (SLD).

Procedure is

1. Define general data

Define a logical name for the JCo destination. This name must be unique and you should choose a self-explanatory name. In addition, you can define the client.

You can also specify the configuration of the JCo pool for a JCo destination in the left group. At runtime, the JCo connection is implemented with a pool. This pool is a set of client connections for a specific JCo destinations. The pool can automatically generate new connections for an SAP system and provides methods to return the connections to the pool if they are not needed any more. It also checks periodically which connections are no longer used by the application and can therefore be closed.

To minimize the use of resources, you can define the maximum number of connections that can be contained in a pool by using the option Maximum Pool Size. The pool keeps as many JCo connections open as you defined for the maximum pool size and these connections do not have to be newly created. You can reuse these connections any time. The JCo pool can, however, contain more connections than you defined for the Maximum Pool Size. This number of connections is specified by the option Maximum Connections. This is the maximum number of connections that can be set up at runtime.

If the number of Maximum Connections is higher than the number of Maximum Pool Size, the JCo connections that are not needed are immediately closed.

If the application needs more connections than defined for Maximum Connections, the required connections are sent to a queue and can only be opened when other JCo connections are closed.

For more information about JCo pool, refer to the SAP Library under SAP NetWeaver - > Application Platform (SAP Web Application Server) - >Connectivity -> Components of SAP Communication Technology ->Communication Between ABAP and Non-ABAP Technologies -> SAP Java Connector -> SAP JCo Client Programming -> Establishing Connection to an SAP Server -> Connection Pools, or refer to the help of the SAP NetWeawer Developer Studio for the description of the class JCO.Pool under SAP NetWeaver Developer Studio Documentation --> SAP Web AS for Java Applications -->API WAS --> Java Connector --> com.sap.mw.jco --> JCO.Pool.

Maximum Pool Size

Specifies the maximum number of open connections stored in the pool. They can be immediately used by the application.

Maximum Connections

Specifies the maximum number of connections available in the pool. They can be generated at runtime. If all connections are used and the capacity of the pool is exhausted, the next requested connection is sent to a queue until another connection is closed. The duration of the waiting time in the queue is specifed by the option Maximum Waiting Time. If no connection is closed during this waiting time, an error message appears.If the number of Maximum Connections is higher than the number of Maximum Pool Size, the JCo connections that are not needed are immediately closed.

Connection Timeout (sec.)

Specifies the time after which an opened connection that is not needed is closed.

Maximum Waiting Time (sec.)

Specifies the maximum time to open a connection in the pool when the capacity of the pool is exhausted.

2. Define the J2EE cluster

Assign the JCo destination to a J2EE Engine cluster. A cluster is a distributed system of the J2EE Engine dispatcher and other server elements that appear to the client as a unit.

The default is the locally installed J2EE Engine and it is labeled Use local J2EE Engine.

3. Define the data type and connection type

In this step you select the data type for the JCo destination. You can choose one of the following values in the radio button group

Dictionary metadata

Application data

You then define the destination type. It can be one of the following:

Load-balanced connection

Single server connection

The destination type for data type Dictionary metadata can only be a load-balanced connection. You therefore cannot select a single server connection.

There are two destination types available for data type Application data.

However, you should only use a single server connection for debugging a Web Dynpro application.

4. Define the application server or message server

Below you can define the application or message server type, depending on the selected connection type. If you are using a SAProuter, you can also define the SAProuter string in this step. If you selected connection type Load-balanced connection, you must define a message server.

For more information about the SAProuter, see the SAP Library under SAP NetWeaver ® Security ® SAPNetWeaver Security Guide ® Network Infrastructure ® Firewalls ® SAProuter.

5. Define the security settings

You have to take security matters into consideration and define the security settings when you specify a JCo destination.

You first select the required authentication method for user authentication.

If you select User/Password, you must define a user and the corresponding password.

This authentication method is used to define JCo destinations for metadata. The user is predefined for authentication method User/Password and cannot be changed. This user is a technical user who does not need dialog authorization. The name and password assigned to this user must be known in the backend. The authorizations for this user must be set in the backend so that this user can access all DDIC function modules.

If you select Ticket, ticket authentication is expected and you need not define a user and password.

The same is true for Client Certificate (X509). You need not define a user and password here either.

You also have to make the settings for Secure Network Communication (SNC).

Note that you have to make other settings to activate the Secure Network Connection on your J2EE Engine. For detailed documentation about security, see the SAP Library at SAP NetWeaver ® Security. For information about SNC, see SAP NetWeaver ® Security ® SAPNetWeaver Security Guide ® Network Infrastructure ® Transport Layer Security ® Secure Network Communications.

6. Summary of the defined parameters

The last step of the wizard gives you an overview of the defined parameters. To change parameters, navigate back to the location to be changed with Previous and make the corresponding changes.

You end the wizard with Finish. You have now created a new JCo destination.

You can also edit the JCo destinations you created by selecting Maintain JCo destinations in the toolbar of the Web Dynpro Content Administrator.

Regards

Pratyush

Former Member
0 Kudos

chk it

http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm

In this step you select the data type for the JCo destination. You can choose one of the following values in the radio button group

1. Dictionary metadata

2. Application data

You then define the destination type. It can be one of the following:

¡ Load-balanced connection

¡ Single server connection

The destination type for data type Dictionary metadata can only be a load-balanced connection. You therefore cannot select a single server connection.

There are two destination types available for data type Application data.

However, you should only use a single server connection for debugging a Web Dynpro application.