2020 Mar 25 4:51 AM
Hello All,
When I use the FM 'RV_INVOICE_CREATE' the table lt_xvbfs doesn't return any entries if the invoice was created successfully or if there was any error. The same code happens to execute successfully in another system and creates the invoice but doesnt create any in the test system.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
vbsk_i = ls_vbsk
with_posting = 'C'
TABLES
xkomfk = lt_xkomfk
xkomv = lt_xkomv
xthead = lt_xthead
xvbfs = lt_xvbfs
xvbpa = lt_xvbpa
xvbrk = lt_xvbrk
xvbrp = lt_xvbrp
xvbss = lt_xvbss.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = abap_true.
Hello All,
When I use the FM 'RV_INVOICE_CREATE' the table lt_xvbfs doesn't return any entries if the invoice was created successfully or if there was any error. The same code happens to execute successfully in another system and creates the invoice but doesnt create any in the test system.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
vbsk_i = ls_vbsk
with_posting = 'C'
TABLES
xkomfk = lt_xkomfk
xkomv = lt_xkomv
xthead = lt_xthead
xvbfs = lt_xvbfs
xvbpa = lt_xvbpa
xvbrk = lt_xvbrk
xvbrp = lt_xvbrp
xvbss = lt_xvbss.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = abap_true.
2020 Mar 25 5:33 AM
Hi,
please check error table xvbfs.
Maybe master data or customizing is missing in your actual system
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |