cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Are the fields Refkey 1, 2 and 3 available to use in Supplier Invoice API?

R_Pooja1
Explorer
0 Kudos
385

SAP S4 HANA Cloud

Hi,

We are using the SAP Standard Supplier Invoice API to post expenses. We want to make use of fields Refkey1 , 2 and 3 (technical names XREF1, XREF2 and XREF3), however these do not seem to be available. Is there no provision currently provided to populate details using API for these fields? We are seeing field Payment reference but not the said fields.

Any leads appreciated. Thanks in advance.

Regards,

Pooja R

Accepted Solutions (0)

Answers (1)

Answers (1)

Vijayendra
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @R_Pooja1 R_Pooj

I am not sure which API you are referring to and I guess you are trying to post direct FI entry.

However there are few country specific fields are available as mentioned below which can be seen via below schema (Header Data) link of an API. Let me know if that can serve your purpose.
API Schema - https://api.sap.com/api/API_SUPPLIERINVOICE_PROCESS_SRV/schema 

- JrnlEntryCntrySpecificRef1
- JrnlEntryCntrySpecificRef2
- JrnlEntryCntrySpecificRef3

You can also refer below link.
https://help.sap.com/docs/SAP_S4HANA_CLOUD/bb9f1469daf04bd894ab2167f8132a1a/13c22c58f5809344e1000000... 

Otherwise you should opt for extending an standard API as mentioned in the below link.
https://community.sap.com/t5/technology-blogs-by-members/extending-a-standard-api-a-guide-to-enhanci...

Best Regards,
Vijayendra