Symptom
How to enable ODN generation for all incoming invoices?
Environment
SAP S/4HANA Cloud Public Edition
Cause
As per standard, the official document numbering(ODN) will be stored in the field XBLNR_ALT of BKPF table for the inward supply documents (invoice, credit note and debit note) from unregistered vendors with reverse charge.
Resolution
In BAdI ‘J_1IG_CHANGE_ODN_CHECK’, set flag (X) for the variable C_ODN_FLAG and C_SUPPLY_TYPE = '1' based on the document type for which ODN generation is required.
To know more about implementing BAdI in SAP S/4HANA Cloud Public Edition, follow the KBA 3295502 - GST IN: Implementation of custom BADI for India in SAP S/4HANA Cloud Public Edition.
See Also
3295502 - GST IN: Implementation of custom BADI for India in SAP S/4HANA Cloud Public Edition
Keywords
GST India, Enable ODN, Official Document Numbering, RCM, Reverse charge, XBLNR_ALT, ODN for particular document types, Credit memo, vendor credit memo, cloud. , KBA , FI-LOC-SD-IN , India (aka XX-CSC-IN-SD) , FI-LOC-MM-IN , India (aka XX-CSC-IN-MM) , FI-LOC-LO-IN , India , How To