I'm stuck with a problem concerning the customer data. I need to write a function that returns all information about a customer (from tables kna1, knb1, .. wrf3). Basicly everything that can be found in the IDoc DEBMAS06. So far I couldn't find a BAPI/function that does that. There are only BAPIs like BAPI_CUSTOMER_GETDETAIL which return only a very limited amount of information about a customer.
Does anyone know a function that does that or can help in any other way?
PS: I don't want to query the database tables myself as I don't know the relations between them and don't want to select wrong data.