Application Development 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: 

BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Kudos

I tried to test BAPI_INCOMINGINVOICE_CREATE in se37 for the IR, it's seems working and invoice document is created. But when i go to MIR4 to view or view it in the PO history, i can't see anything. i already put a "X" in the Invoice indicator in the Invoice header table. but still it show me nothing in MIR4.

anyone have those experience, how to solve it?

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I'm doing testing in SE37.... how can do the commit work? Or this BAPI only do well in the program with commit work?

4 REPLIES 4

Former Member
0 Kudos

used commit work.

Former Member
0 Kudos

I'm doing testing in SE37.... how can do the commit work? Or this BAPI only do well in the program with commit work?

0 Kudos

Goto SE37 -- > give the FM Name :BAPI_INCOMINGINVOICE_CREATE

And Press Shift + F8, then give the first FM as :BAPI_INCOMINGINVOICE_CREATE

and the second FM as BAPI_TRANSACTION_COMMIT.

Menupath for the same is

Function Module --> Test --> Test Sequences

Then you can check the Invoice in MIR4 transaction.

Since that you have not used the Commit BAPI, the invoice is not yet created, where as if you use only the BAPI_INCOMINGINVOICE_CREATE BAPI it just shows you the whether the BAPI is running successfully or not. Only once you use the Commit BAPI, the Invoice gets created.

Regards

Gopi

former_member194669
Active Contributor
0 Kudos

Hi,

If you want to test it, you can use SE37 and use test sequence.

SE37 FM->test->test sequence . here use your BAPI and also BAPI transaction commit.

aRs