Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RV_INVOICE_CREATE doesn't create an invoice after commit

Former Member
0 Likes
1,314

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.

Hi,

please check error table xvbfs.

Maybe master data or customizing is missing in your actual system

1 REPLY 1
Read only

RobertVit
Active Contributor
0 Likes
1,034

Hi,

please check error table xvbfs.

Maybe master data or customizing is missing in your actual system

Kind regards
Robert