cancel
Showing results for 
Search instead for 
Did you mean: 

how we will get data for all Business partners in odata service (MCF) instead of defining one by one in SU01?

Former Member
0 Kudos

In ERP_UTILITIES_UMC ---- ERP UTILITIES multichannel  service

When I am calling this URL .

URL:/sap/opu/odata/SAP/ERP_UTILITIES_UMC/Accounts

I am getting status code 200.But it is not showing any data in it.

So we  are maintain  Business partner  inSU01  user reference like below

BUS1006              Business Partner              103.

If we passing like below we are getting data for that particular Business partner only.

My Question is how we will data for  all Business partners instead of defining  one by one in SU01?

Accepted Solutions (1)

Accepted Solutions (1)

former_member206574
Active Participant
0 Kudos

Hi Venkatesh,

You need to maintain the business partner values both in ECC and CRM System

Please maintain below entries for User – in backend se11 table USAPPLREF for both ECC System  and CRM  system.

User – Login user id


Object type - BUS1006 and


Object Key - Business partner


Regards,

Venu

Former Member
0 Kudos

Hi Venu,

Thanks for your reply that one works.

We found enhancement for this solution.

Class name - CL_ISU_UMC_API_UM

Method : GET_LINKED_ACCOUNTS_LIST, We have implemented logic for this solution.

We are passing all BP data from BUT000 to itab .



Thanks,

Venkat

Answers (2)

Answers (2)

former_member206574
Active Participant
0 Kudos

Hi venkat,

Good to hear that your issue got resolved. Please mark it as answered.

Regards,

Venu

AshwinDutt
Active Contributor
0 Kudos

Hello Venkatesh,

In the Data Provider Class can you please check if logic to get all the BP's is implemented ? ( Query/Get_Entity_Set Operation )

/sap/opu/odata/SAP/ERP_UTILITIES_UMC/Accounts

The above URL should work and get all BP's if Query/Get_Entity_Set Operation is implemented.

Regards,

Ashwin

Former Member
0 Kudos

Hi Ashwin,

I already check GET_ENTITYSET method it is Implemented .

ERP_UTILITIES_UMC ---- ERP UTILITIES multichannel (GW service)

URL:/sap/opu/odata/SAP/ERP_UTILITIES_UMC/Accounts

Actually , when we are passing above  URL we are not getting any data but status code is 200 showing.It have records in DB.but it is not showing any account details(BP details) .

How we will data for all BP details  through Odata service when I call above URL in GW client?

I have to maintain any configuration settings for accessing BP data through Odata?

Kindly need your help in this.

former_member209217
Active Contributor
0 Kudos

Hi Venkatesh ,

Best way is to put external break point inside GET_ENTITYSET data fetching logic.

May be the Select statement/Data Retrieval isn't retrieving any records. Please check that.

Best Regards,

Lakshman.