Skip to Content
0
Former Member
Jun 29, 2009 at 09:36 AM

Data object creation / standard BAPIs

32 Views

Hi Experts,

I'd like to create a simple mobile app to display customer details on a phone. This is my first application and I'd like to know how I should create the CUSTOMER data object and the backend adapters (download only so getlist and getdetail). Should I define only a rootnode just like this :

Data Object : CUSTOMER

ROOTNODE : CUSTOMER

CUSTOMER_ID

CUSTOMER_NAME

CUSTOMER_CITY

CUSTOMER_POSTL_CODE

...

Or maybe something like this :

Data Object : CUSTOMER

ROOTNODE : CUSTOMER

CUSTOMER_ID

CHILDNODE : DETAILS

CUSTOMER_NAME

CUSTOMER_CITY

CUSTOMER_POSTL_CODE

...

And do I have to create custom BAPIs in the backend in order to have the exact same structure or is it possible to use standard BAPIs (BAPI_CUSTOMER_GETLIST and BAPI_CUSTOMER_GETDETAILS) and map the fields? It seems possible to change the mapping for BAPI_CUSTOMER_GETDETAILS but I don't know if I can do this for BAPI_CUSTOMER_GETLIST.

Regards,

Pierre