SAP Knowledge Base Article - Public

3732168 - How to add "Purchase Trans. Type" in Journal Entry Post API? -SAP S/4HANA Cloud Public Edition

Symptom

  • The header-level field “Purchase Trans. Type” for supplier invoices is needed when posting via the Journal Entry API.
  • After downloading the WSDL from the communication arrangement and reviewing the service structure, the “Purchase Trans. Type” field is not present in the exposed service definition.
  • Clarification is requested on whether the field is supported, whether any configuration/scope activation/version update is needed, or if an alternative API exists to populate it.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Download the WSDL for the Journal Entry Post - API from the relevant communication arrangement.
  2. Inspect the service structure for header-level fields.
  3. Observe that a field labeled “Purchase Trans. Type” is not listed.

Resolution

The field "Purchase Trans. Type" is for Chile. Its technical name is `GLO_REF2_HD`, but it appears under a different label "Country/Region Specific Reference 2" in MIRO. 

The field "Country/Region Specific Reference 2" is supported in multiple APIs, including Journal Entry - Post (Synchronous) APIJournal Entry - Change (Asynchronous) API, and Supplier Invoice API.  

See Also

Keywords

journal entry api, wsdl, purchase trans. type, purchase transaction type, chile, country/region specific reference 2, glo_ref2_hd, bkpf_glo_ref2_hd, invfo_glo_ref2_hd, supplier invoice api, field not available, header field, api mapping, communication arrangement, s/4hana cloud public edition , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions