cancel
Showing results for 
Search instead for 
Did you mean: 

how to create project billing request using API in sap public cloud

07-13-2026 4:49 AM
yKim Explorer
248 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

Dear SAP Community,

In our project, we need to create project billing request via API same as in application "Manage project Billing".

I found this standard API is fit my needs, but we are facing some issues.
Overview | Project Billing Request | SAP Business Accelerator Hub

In post : http://projectbillingrequest/SAP__self.CreateProjectBillingRequest
There is a restriction for BillingWBSElementInternalID string 8.

But in our system billing element is more than 8.

Is there way to create project billing request using Standard API?

Best Regards,

yKim_0-1783910875267.png

 

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

Anushka__Khanduri
Product and Topic Expert
Product and Topic Expert
0 Likes
Hello @yKim,

Good day!

If you’re on SAP S/4HANA Cloud Public Edition, use the “Project Billing Request” OData API (service CE_PROJECTBILLINGREQUEST_0001).

Steps:
  1. Create a Communication Arrangement for the API (OAuth 2.0 or Basic auth) and note the service URL.

  2. Create the PBR header via POST to the header entity set (e.g., API_PROJECT_BILLING_REQUEST_SRV A_ProjectBillingRequest) with mandatory fields like CompanyCode, Project, BillingRequestDate, Customer, Currency, and a valid PBR type.

  3. Create items via the items navigation from the header (e.g., …/A_ProjectBillingRequest('<PBR_ID>')/to_ProjectBillingRequestItem).

  4. Submit the PBR by calling the bound “submit” action on the header entity (see Operations on the API page for the exact action name and URL).

  5. Verify with a GET.
References:
Tip: If the submit step fails, check that your PBR type and status are configured correctly and that all mandatory fields (e.g., CompanyCode, Project/WBS, Customer, Currency) exist in your system. If you share the HTTP error and payload, we can help pinpoint the missing piece.
yKim
Explorer
0 Likes

Dear @Anushka__Khanduri 

Thanks for checking my issue.
But, I'm facing step2 "Create the PBR header via POST to the header entity set"
SAP Business Accelerator Hub
I'm using this API that you shared in the comment.

In the Project Billing Request API function POST to CreateProjectBillingRequest

yKim_0-1784075991892.png

The BillingWBSElementInternalID is required field to post, but I want to know which data need to put BillingWBSElementInternalID field when using Post Function.
I attached in this post, billing element data in the "Manage project billing" is more than 8 string.

Kindly check once again?
Best Regards,

 

 

 

Chris1973
Active Contributor
0 Likes

Good day @yKim