Skip to Content
0

Service Layer: Check Address if exists in specific Business Partner

Apr 13 at 10:47 AM

22

avatar image

Dear experts,

We are developing with HANA Service Layer requests.

We have added a Business Partner with addresses.

We want to send a request to check if a specific AddressID exists in this Business Partner.

Can you please advise how can we achieve this ?

Kind Regards,

Aggelos Galis

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ralph Oliveira
5 days ago
0

The Address is an Array of the BusinessPartners entity.

You just need to iterate on top of this array and check if it matches the condition you need.

Another approach is to try to $crossJoin for row filtering and let SL do the work for you.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Thank you for your answer.
I am new to Service Layer development, so could you please explain how to implement both approaches with an example?

Kind Regards,

Aggelos Galis

0