2010 Jan 04 10:58 AM
Hi,
I was trying to use 'BAPI_ACC_DOCUMENT_POST' and u2018BAPI_ACC_INVOICE_RECEIPT_POSTu2019 to process a non po invoice. It actually works, but the u2018cash discountu2019 line item which is normally generated automatically by FB60, for a document type like u2018KN u2026 net vendoru2019 for which the u2018net document typeu2019 flag is checked, is not created.
If I use u2018BAPI_INCOMINGINVOICE_CREATEu2019 the u2018cash discountu2019 line item is generated automatically, but I canu2019t use this bapi as it always generates a MM document too.
I already had a similar issue with the tax line items, Iu2019m caling now a bapi to calculate the tax before and add the taxlines manually.
Is this also necessary for the cash discount line item? If yes, are you aware of a bapi which calculates these lines?
Thanks for any hint,
Stefan
Hi,
I was trying to use 'BAPI_ACC_DOCUMENT_POST' and u2018BAPI_ACC_INVOICE_RECEIPT_POSTu2019 to process a non po invoice. It actually works, but the u2018cash discountu2019 line item which is normally generated automatically by FB60, for a document type like u2018KN u2026 net vendoru2019 for which the u2018net document typeu2019 flag is checked, is not created.
If I use u2018BAPI_INCOMINGINVOICE_CREATEu2019 the u2018cash discountu2019 line item is generated automatically, but I canu2019t use this bapi as it always generates a MM document too.
I already had a similar issue with the tax line items, Iu2019m caling now a bapi to calculate the tax before and add the taxlines manually.
Is this also necessary for the cash discount line item? If yes, are you aware of a bapi which calculates these lines?
Thanks for any hint,
Stefan
2010 Jan 04 11:04 AM
Can you use BDC instead to perform this...or try CALCULATE_TAX_FROM_GROSSAMOUNT to calculate tax line items for individual GL items.
Regards,
2010 Jan 04 11:16 AM
Thanks, but for the taxitems I'm already using CALCULATE_TAXES_NET which works.
I was wondering whether there's a similar bapi for cash discount lines.
Actually I want to avoid BDC,... That's the official statement from SAP conderning this: "every kind of Batch Input for ENJOY transactions are not supported"
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |