cancel
Showing results for 
Search instead for 
Did you mean: 

How to use API to download BOM

Joanna
Participant
0 Kudos

Hello, Experts,

In API Business Hub have this API:

https://api.sap.com/api/PSM_ISI_R_II_A1S_PMM_BOM_MGMT/overview

But I don't find this communicaiton scenario in Cloud sys,

how to use this API to download BOM?

RGDS

Joanna Qiu

Accepted Solutions (1)

Accepted Solutions (1)

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Joanna,

I am not sure why you're not able to download the file. But are you having any difficulty accessing the API hub for this specific API in question. Here is the direct link: https://api.sap.com/api/API_BILL_OF_MATERIAL_SRV/overview

The good part about this API is that its a OData service and hence you should be able to configure your tenant in the API hub and test the service by yourself.

Here is a nice article that helps to understand how you can best make use of the API hub.

https://blogs.sap.com/2017/12/17/using-post-method-of-sap-s4hana-cloud-api-from-sap-api-business-hub...

I am also attaching the JSON version just in case.

Good Luck!

Amith Nair

Joanna
Participant
0 Kudos

Hello Amith,

OK, Thank you very much for your suggestion

Now I user CDS View and Query to download BOM.

If I directly to use scenario SAP_COM_0105 to download , the data is so huge then difficult to download.

RGDS

Joanna Qiu

Answers (1)

Answers (1)

JZijderveld
Active Participant
0 Kudos

Hi Joanna,

You are refering to a SAP Business ByDesign API. The S4HC API to read BOM is API_BILL_OF_MATERIAL_SRV and is part of scenario SAP_COM_0105.

rgds,

Jeroen

Joanna
Participant
0 Kudos

Hello, Jeroen,

I try to use this SAP_COM_0105 to download BOM ,but because of so many data, so still can not download BOM.

RGDS

Joanna Qiu

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Joanna

Can you provide more details on your use case and how you are trying to download the BOM? Are you using Postman? Can you use $top and $skip? https://blogs.sap.com/2013/03/20/using-odatas-top-skip-and-count/

Thanks,

Marty

Joanna
Participant
0 Kudos

Hi Marty,

Now I use standard CDS view to create Cutom CDS view and Query to download BOM.

and it works.

Thanks a lot

RGDS

Joanna Qiu