cancel
Showing results for 
Search instead for 
Did you mean: 

API service cost rate maintenance

Vivek0459
Participant
0 Kudos

Hi Sap Folks,

Need help to understand how to use below API for create/update service cost rate . API documentation says it can be used but i dont found any post method for same

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

https://help.sap.com/viewer/1e3c2c0366834d1fb76461f439248880/2002.500/en-US/8c0f33ac6f6046d5aafd4334...

Accepted Solutions (1)

Accepted Solutions (1)

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi vivekkumar.singh2 ,

You could refer to the API Hub:

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

Communication Scenario:

Finance - Activity Type Integration (SAP_COM_0129)

Best Regards,

Owen

Vivek0459
Participant
0 Kudos

hi owen.liu yes i have gone through every part of this API hub documentation i can use this service to get data , even tried in postman get method is working fine but i am unable to understand to create service cost rate through this one .

No hint or tryout available for same in API hub to create or update service cost rate using this API ... Thanks for your reply

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi vivekkumar.singh2 ,

To owen.liu 's point we are working on this. Will provide you with an update.

Thank you,

Feras

Vivek0459
Participant
0 Kudos

Hi ferasbasha3 , Yes documentation mentions that CRUD operations are supported for the API , but i don't found any tryout option "POST" in API business hub , like most of CRUD supported API has

I tried in postman with POST below is my payload for same .

{

"CompanyCode": "1810",

"ReceivingCompanyCode": "1010",

"IsIntercompanyRate": true,

"ActivityType": "T005",

"WBSElementExternalID": "CNOKI10100000115.1.1",

"ValidityStartFiscalYearPeriod": "2019012",

"ValidityEndFiscalYearPeriod": "9998012",

"Currency": "EUR",

"CostRateVarblAmount": "24.00",

"CostRateScaleFactor": "1",

"CostCtrActivityTypeQtyUnit": "H"

}

Thanks 🙂

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

The CUD options were deactivated.

Relevant developer will followup this issue and make republishing.

Feras_Al-Basha
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi vivekkumar.singh2 ,

As you point out the documentation mentions that CRUD operations are support for the API.

https://help.sap.com/viewer/1e3c2c0366834d1fb76461f439248880/2002.500/en-US/599a4093d9614191bbd357e9...

In your screenshot from postman I see you successfully call a get method. Have you tried a post? What does your payload look like? Do you get an error message for when trying post?

Thank you,

Feras

Vivek0459
Participant
0 Kudos

Hi owen.liu and ferasbasha3 ,

Thanks for helping "POST" method worked for me seems like there was a typo in header data .

I have added extra , while setting header " Content-Type"

Regards

Vivek Singh

Answers (0)