cancel
Showing results for 
Search instead for 
Did you mean: 

How to update Grant Master Data using Local API in SAP Public Cloud

DungVT
Explorer
0 Kudos
228

Hi everyone,

My customer wants to develop a custom application to update the status of Grant master data by using on-stack Developer Extensibility. The application will be able to upload an Excel file and then update the status of the Grant. I think I will use a local API to update Grant Master Data (EML syntax), but I can not find any local API for this requirement.

I have researched Business Object Interfaces but have not found them.

Please advise me!

Thank you

 

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos
Added Master Data tag
View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

HI @DungVT 

 

There is an API called API_GRANTCORE which is available on S/4HANA Public Cloud 

 

https://api.sap.com/api/API_GRANTCORE/resource/Grant

https://help.sap.com/docs/SAP_S4HANA_CLOUD/a235229a6c0d409486d3417da1a14f52/517981acd97a4f70bc28311b...

 

Have you considered using this ?

 

Best Regards

Enda

DungVT
Explorer
0 Kudos

Hi  @Enda 

Yes, I tried but was NOT successful.

SAP is not permitted to update the status of the Grant Master data via standard API.

Using the Postman tool to update Grant’s status via standard API will display the Error PSM_S4C_GM_MD/163.

 image-20240812-162758.png

After a long time of investigating and debugging, I found some coding that prevented Grant's status from being updated.

The code said that Modification of Grant Life Cycle status is allowed only based on the configuration entries available for Life cycle statuses.

image-20240812-161922.png

 Do you have any other solution for updating Grant's status?

Thank you