Skip to Content
author's profile photo Former Member
Former Member

Central Build Problem

We are facing a problem while doing a central build of a DC. The details of the problem are given below.

Scenario:

A Webdynpro Development Component (DC A) contains the SQLJ files(Ctx.sqlj,CustDetails.sqlj,UserDetails.sqlj,MyLanguage.sqlj).

The generated Java classes CustDetails, UserDetails and MyLanguage is being used in the application (Same DC A) to create, delete and modify records in the database tables.The local build of this DC (DC A) is successfull and is working fine inthe local testserver.While doing a Central Build of DC A it gives an error message that unable to resolve sysmbolCustDetails, UserDetails and MyLanguage.

Help will be generously appreciated.

Thanks and Regards,

Prasanna

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 14, 2005 at 08:21 PM

    Hi

    One Solution to this is Create a development component and in src/packages folder of the component, place all the SQLJ files. Expose this package folder as Public part. In public part use Java Package Tree option (select all the files). Build and deploy this component.

    Use this component in the your component as used webdynpro component.

    Let me know if you require any other help.

    Kishore

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2005 at 05:14 PM

    Hey,

    Im afraid that the CBS server does not compile the .sqlj files in the WebDynpro DC's. You could report this issue as a Customer Message to SAP.

    However, using .sqlj files in the webDynpro app suggests that you are doing the database access/modify in the webDynpro application, which is not a very good idea in general, as webDynpro is to provide only the "view" or the "user part" of the application. WebDynpro should not execute backend operations directly, but access some exposed interface of the backend. That's why you cannot access SAP tables directly, but have to use BAPI's.

    Consider moving the data mangling functionality out of the WebDynpro application, for example into an EJB or a WebService, and call those from webDynpro.

    --

    regards

    Marcin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2005 at 10:02 AM

    Solution was similar to what kishore has posted.

    Created a Java DC containing the SQLJ files and helper classed to insert/select... records from table. In this dc created a public part and exposed the class files.

    In the webdynpro declared the above mentioned java dc as a used dc....

    thanks for all the replies.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.