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

BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
4,055

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
Read only

Former Member
0 Likes
2,816

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

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
Read only

Former Member
0 Likes
2,816

used commit work.

Read only

Former Member
0 Likes
2,817

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

Read only

0 Likes
2,816

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

Read only

former_member194669
Active Contributor
0 Likes
2,816

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