Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Query all Customers

Hi all,

I'm trying to loop over all Customers in an absl script, but for the standard business object Customer there is no QueryAll, only a QueryById.

Does someone have an idea if there is a way to query all Customers?

Or is it that obvious and am I missing something here?

Thanks in advance!!

Former Member
Former Member replied

Hi Sander,

Fred Is correct you can user comment by Fred


Try this

import ABSL;

import AP.FO.BusinessPartner.Global;

var query = Customer.QueryByIdentification;

var resultData = query.Execute();

In resultData you can get all Customer and you can navigate in association as well.

I hope this will be helpful to you.



0 View this answer in context

Helpful Answer

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