SAP Knowledge Base Article - Public

3785209 - How to Retrieve HSN/SAC Details for Customer and Supplier Invoices Using Standard CDS Views / APIs

Symptom

There is a request to retrieve HSN / SAC details for both customer and supplier invoice transactions using standard SAP CDS views or APIs.

Environment

SAP S/4HANA Cloud Public Edition

Cause

 HSN/SAC codes are maintained at the material master level and are relevant for GST compliance reporting in India. It is required to have a standard mechanism to extract this data at the invoice item level for both inbound and outbound transactions. 

Resolution

SAP provides the following standard released CDS views and APIs to retrieve HSN/SAC details:

I_PRODUCTPLANTBASICConsumptionTaxCtrlCodeHSN/SAC code maintained at material-plant level.

The CDS view PRODUCTPLANTBASIC has a field ConsumptionTaxCtrlCode.

Keywords

HSN, SAC, GST, FI documents, CDS view, I_PRODUCTPLANTBASIC, Control Code, India, statutory reporting, Run Statutory Report, customer invoices, supplier invoices, transactional data, public cloud, reporting , KBA , FI-LOC-MM-IN , India (aka XX-CSC-IN-MM) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions