BAPI_SALESDOCU_CREATEFROMDATA - Not Able to create SALES Document of CR and DR type

Hello @LevKushnir and @pmexilinx,
as far as I can tell, this is an input error. The BAPI is called and responds. The call contains a lot of data, it is very difficult to say exactly where the problem lies, based on the description here. Therefore I suggest to debug the call and see exactly where the difference is between the call in SE37 and the BAPI call via UiPath BAPI Activity. Based on the data, the causes can be many, as seen here in an example, where the UOM is the reason.
Best regards
Stefan