The Standard solution volition make an eDocument successful the eInvoice node also. If you privation to marque it nary applicable for eDocument creation, you tin usage the BAdI EDOC_ADAPTOR_CLOUD.
You request to instrumentality the BadI EDOC_ADAPTOR_CLOUD~IS_RELEVANT wherever you person to acceptable Relevant Flag to False. Kindly enactment that you volition not beryllium capable to usage this directly. Make usage of embedded steampunk. Kindly instrumentality assistance of your ABAPer.
Use the Link beneath to get much accusation connected Steampunk-
https://blogs.sap.com/2022/09/05/embedded-steampunk-some-more-details-for-abap-developers/