Symptom
You are using the API_LOGBR_NOTAFISCAL_SRV and in responses it returns only a number of document and it is not available to retrieve data from J_1BN* tables.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
The API Nota Fiscal – Create, Update (https://api.sap.com/api/API_LOGBR_NOTAFISCAL_SRV/overview) DOES NOT return data, because it was not designed to return data. It is not an issue, but a behavior of this API.
Customer can use 3 HTTP Methods:
- GET
- POST
- PATCH
Method POST will create and update the NF document passing the whole XML structure.
Method PATCH will create and update the NF document passing only the relevant XML structure.
Method GET will ONLY return the XML structure of the API call. It will NOT return data as other API usually do.
The only data returned will be the NF Document Number of the document edited/created and the HTTP response (Successfull or Error).
Keywords
Nota Fiscal, API_LOGBR_NOTAFISCAL_SRV, API, nfe , KBA , XX-CSC-BR-SD , Use FI-LOC-SD-BR , XX-CSC-BR-NFE , Use FI-LOC-NFE-BR-OUT , Problem