Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dictionary Project

How make to access on Dictionary Project in one Portal Application Object?

I am beginning in Enterprise Portal.

Exists one SAP guide for this?

Former Member
Former Member replied

Hi Stein,

Dictionary is used to create database tables. Once you create a dictionary, you can deploy it and use it in any portal application. To create a dictionary project, refer to this link.

Once it is created, you can use it in your portal application using connection with datasource lookup something like this.

InitialContext ctx = new InitialContext();

DataSource ds = (DataSource) ctx.lookup("jdbc/SAPJ2EDB");

con = ds.getConnection();

stmt = con.createStatement();

stmt.execute("insert into TABLE (SNO,NAME) values(1,'Name')");

response.write("Insert Successful");


Harini S

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question