The segment BSET is posted in different way when an accounting document is created using a BAPI instead posting manually the document.
In particular the segment BSET created via BAPI seems to be strange and having big impacts with the fiscal journal RFUMSV00.
The BSET created via BAPI often create a line having field TXGRP initial (in particular when a discount is present two BSET lines are created as described belowe:
TXGRP SHKZG HWBAS FWBAS HWSTE FWSTE KTOSL KNUMH
1 H 21.600,00- 21.600,00- 864,00 864,00 MWS 0000006900
S 1.620,00- 1.620,00- 64,80 64,80 MWS
The BAPI used to post the accounting document is :
BAPI_ACC_DOCUMENT_POST
Second poit is to know if it's possible to adjust the segment BSET for the already posted documents.
Best regards.
Giuseppe Tiana
cell. 3356512487