Skip to Content
0
Jan 26, 2022 at 10:44 AM

SII AIF_XML issue

644 Views

Our requirement for SII is only to generate XML and send it to an external partner who handles then the sending to Spain Tax Agency.

Thus the interface type is set as « AIF_XML » (instead of « AIF_PROXY ») in the following SPRO path :

Cross-Application Components -> General Application Functions -> eDocument -> General Settings -> Define Interface Type for eDocument

We have tried to implement the required BADI in following path :

Cross-Application Components -> General Application Functions -> eDocument -> General Settings -> BAdI: Cross-Application Components

For this, we have referred to the SAP note 2448924 to install ZEI_EDOC_ESSII_AIF, but it seems that it is for AIF_PROXY type, not for AIF_XML type, especially when you mention in the note that the filter should be set as « AIF_PROXY » for this enhancement.

The submit button in the EDOC COCKPIT(trigger method of BADI) that we need is to generate the XML somewhere in SAP server folder , however, the current submit deals with « proxy » issue.

Can you help us to know where/how we can install the BADI enhancement for AIF_XML type ?


Thanks