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?

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.

http://help.sap.com/saphelp_nw04/helpdata/en/69/f9bc3d52f39d33e10000000a11405a/content.htm

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");

Regards

Harini S

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