on ‎2025 Dec 11 4:40 AM
Hello SAP Community,
We are investigating API availability in S/4HANA Public Cloud Edition for the following three scenarios. Please answer with the specific API name if available, or clearly state if no API exists (and any alternative approaches if not possible).
Question 1: Business Partner Master Read (including Extension Fields)
・Can we retrieve BP master data including extension field values via API?
・If yes, please provide the specific API name.
・If no, please confirm that no standard API supports this and suggest any alternative approaches.
Question 2: AR Open Item - Payment Block Flag Update
・Can we toggle (set/unset) the payment block flag on AR line items via API?
・If yes, please provide the specific API name.
・If no, please confirm that no standard API supports this and suggest any alternative approaches.
Question 3: Payment Advice Document Registration
・Can we register payment advice documents via API?
・If yes, please provide the specific API name.
・If no, please confirm that no standard API supports this and suggest any alternative approaches.
Note: We would appreciate responses in the same numbered order (1→2→3) to keep the discussion clear.
Thank you in advance!
Request clarification before answering.
Dear @byd,
Question 1.
Answer: Yes
Standard API:
More details below:
This API allows read, create, update, delete of Business Partner, Customer, and Supplier data
More details below:
Extension custom fields:
Answer: Yes, custom BP fields can be read via this API, provided they are created and enabled correctly:
1. Create the custom field in business context
Master Data: Business Partner (BP_CUSTVEND1) using the Custom Fields app
More details below:
2. On the UI tab enable usage for the Business Partner (A2X) service, then Publish.
The Business Partner (A2X) help explicitly states the API entities are extensible via Custom Fields
3. After publishing the custom field:
So BP master data including extension fields is fully retrievable via API_BUSINESS_PARTNER as long as those fields are defined via Key User extensibility and enabled for the service.
Older IDoc-based options like DEBMAS/CREMAS exist but are explicitly not recommended for new integrations in current Public Cloud releases
More details below:
Question 2.
Answer: Yes, but via the generic Journal Entry change SOAP API, not an AR-specific OData service.
On the FI open item journal entry line side, the payment block is stored as:
More details below:
Standard API that can change this:
More details below:
The Finance API documentation explicitly describes this service as the way to change journal entry data and notes that it can be extended with custom fields as well
More details below:
The Operational Journal Entry Item help lists PaymentBlockingReason as a field in the structure used together with the Journal Entry APIs
More details below:
Summary: Yes, you can toggle the payment block on AR open items via SOAP using Journal Entry Change (Asynchronous)
Question 3.
Answer: Yes
Standard OData API:
More details below:
To register (create) a payment advice:
More details below:
The same service exposes entity sets for Payment Advice and Payment Advice Line Item and the Operations for Payment Advice documentation lists the standardCRUD operations
More details below:
There is also a SOAP API:
More details below:
In Public Cloud the documentation about Automatic Payment Advice Processing explicitly refers to both Payment Advice (A2X) and Payment Advice Create as the standard integration options
More details below:
Summary:
Best Regards,
Dawid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @byd,
I apologize but I didn't see your comment earlier. Below are the answers to your questions
Question 1
In this API the item key is AccountingDocument + CompanyCode + FiscalYear + AccountingDocumentItemID
So:
YES Accounting Journal Entry / FI Accounting Document number is CORRECT
IF Customer Invoice Document Number is only correct if it is the same FI Accounting Document number produced by the posting often yes in FI-based invoicing runs but not the SD Billing Document number
NO AR Open Item Document Number isn’t a separate key here the open item is a line item in the accounting document
Question 2
In Public Cloud the item number is specified as 3 numeric characters for example 001 BUT it’s mixing between documentation and system. Correct key you will find in Manage Journal Entries app below:
More details below:
Question 3
Yes the standard Change pattern in this API is:
Put the new value in the …Change node and
Set FieldValueChangeIsRequested to true so SAP actually applies the change
To clear the payment block, you send an initial/blank value for PaymentBlockingReasonCode and FieldValueChangeIsRequested=true
Best Regards,
Dawid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.