2008 Oct 20 6:05 PM
Hi, I'm using a bapi BAPI_INCOMINGINVOICE_CREATE for create a invoice, it was working but now, for one invoice the bapi send a error message: Balance is not equal to zero: 48,000.00 USD, I checked the purchase orden and it's ok, and I don't know why this message, any idea?
It's pretty hard to tell without seeing the portion of the code where you fill in the parameters and call the BAPI.
Rob
2008 Oct 20 6:13 PM
Hi Jose,
Call one more function and check.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Cheers!!
Balu
2008 Oct 20 6:18 PM
>
> Hi Jose,
> Call one more function and check.
> CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
>
> Cheers!!
> Balu
Balu - how does a commit overcome an error message?
Rob
2008 Oct 20 6:39 PM
Hi Jose,
Check the amount of all the line items in that document which should make total as zero then only the document is balanced.
Thanks
Sudharshan
2008 Oct 20 6:58 PM
where can I check that?,I checked the order purchase,the order purchase has only 1 line, and its amount is 48000 usd.
2008 Oct 20 7:02 PM
It's pretty hard to tell without seeing the portion of the code where you fill in the parameters and call the BAPI.
Rob
2008 Oct 20 11:28 PM
the problem is because the order purchase hasn't the flag "GR-Based Invoice Verification" in section invoice, somebody knows this flag is necessary, I need that the bapi create the invoice without check in the order purchase.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |