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 issue:one PO repeat post!

Former Member
0 Likes
451

hi

using Standards TCODE:MIRO to create po invoice posting.

when i enter po#, the screen display all item data and the amount and quanity is initial .because this po have done.

so when i save this document , i will get message:

document does not contain any items .

don't save susscessfully.

but BAPI_INCOMINGINVOICE_CREATE create po invoice posting using the same po#, i can't get any error information

and the system will do susscessfully.

how to add check function like MIRO when using BAPI_INCOMINGINVOICE_CREATE to create po invoice posting.

another question:how to find BAPI_INCOMINGINVOICE_CREATE function user-exit.

thank in advance.

3 REPLIES 3
Read only

peter_ruiz2
Active Contributor
0 Likes
346

hi,

di you use BAPI_TRANSACTION_COMMIT after the execution of BAPI_INCOMINGINVOICE_CREATE?

regards,

Peter

Read only

Former Member
0 Likes
346

yes!

i have commit work and this function execute over!

and i will get repeat info from po history table!

Read only

Former Member
0 Likes
346

i get it!