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


hi ,

i have some problem using Application service using CURD operations

i have taken BAPI in external service , where in the BAPI is simple

contains a simple " SELECT " operation . so i have used

create operation from the entity service with attributes as such matching to

BAPI parameters ,

1) the first problem is only the key fields that have choosen are present as

input parameters

2) second problem is i have created a custom method

called " CREATEDATAM" , in Application service and provided

dependency in Application service as "Person"(entity service)

and in the implmentation i have written the following code

PersonServiceLocal local = this.getPersonService();


but the the values are not getting inserted in the backend r/3 database

can any one help me out with me problem?

iam desperately looking for the solution for long time and such any scenations that can help me out in working with other CURD operations

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 03, 2007 at 03:05 PM

    Hi, Murali.

    1) The create operation in CAF in NW2004s takes only the mandatory attributes as input. The idea is minimalism - you assign the mandatory attributes by calling the create operation, and immediately after this you call the update operation to set the initial values for the optional attributes.

    Unfortunately, this approach will not work if you don't have a suitable external operation to map to the update operation.

    In the CE version of CAF you may select some of the optional attributes to be included in the input of the create operation. But this feature will not be ported back to NW2004s.

    2) There might be many reasons for this. Please, check:

    a) that you have mapped the id, name and sal parameters of the create operation to the correct parameters of the external operation.

    b) that you have set the connection parameters for the BAPI correctly in the External services configuration application (accessible at the /caf alias).

    You may also debug the BAPI - put a breakpoint in its beginning and make sure that the values have arrived or not.


    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.