‎2008 Apr 17 6:31 AM
We have a BDC for FB01 (Customer vendor and G/L invoice posting). Whenever invoices are posted using the BDC, the posting is done properly, but there are some entries that are to be made in the table "WITH_ITEM" which does not happen. Because of this, on executing F-53 for payment, when we try to activate the amount correspondin to document number (of invoice), an informative message is displayed, saying "Cannot be activated, due to inconsistencies in withholding tax" . And activation does not take place, and hence payment is not possible.
If we manually post the invoice, this message does not come, and steps go smoothly. Need to find a way to resolve this asap.
Request your valuable suggestions. Assure points for helpful answers.
Regards,
Divya
‎2008 Apr 17 6:45 AM
Hi,
This problem appears in most of the BDCs. They run properly in forground and gives some problem in background.
You can use BAPI instead of BDC.
Thanks
Swati.
‎2008 Apr 17 6:51 AM
BAPI instead of BDC ??? I dont quite understand that...Could you please elaborate on it?
‎2008 Apr 17 6:56 AM
Hi,
Sometimes BDC is not appropriate for some transactions.
So you can go for BAPI. In normal terms you can say BAPI is the modified version of BDC. You can search for BAPI in SE37 .
Like put BAPICustoemrGLaccount* and Press F4. This will give you the list of BAPIs related to this.
Check for all the fields that you want to fill in the transaction.
I am sure that there is a BAPI for your requiement. You can also search for a BAPI via Transaction 'BAPI'.
‎2008 Apr 17 7:00 AM
okay...i get it now.. I will surely look for one. But is there a way out with BDC only? As we have been using a BDC only for FB01...
‎2008 Apr 17 7:06 AM
Hi Divya,
Try a new recording of BDC steps where you you have entries with withholding tax, compare both the recordings
change your old BDC recordingly to new process hope it will resolve your BDC issues.
Regards,
Gaurav Sood.
‎2008 Apr 17 7:00 AM
Hi Divya,
Check BAPI instead-
BAPI_ACC_GL_POSTING_POST
BAPI_ACC_BILLING_POST
BAPI_ACC_INVOICE_RECEIPT_POST
BAPI_ACC_DOCUMENT_POST
Regards,
AK
‎2008 Apr 17 7:03 AM
Since I am still new to BDC, i was not sure of how to use a BAPI instead of BDC. The names that you have suggested, would they work as it is?
‎2008 Apr 17 7:11 AM
Hi,
yes the BAPI which were stated will definately work.
BAPIS are just like function module.
Import the requried fields i.e. the fields you will be giving to your BDC through external file (.xls or .txt)
Exporting parameter will give you the related output.
Reward if useful.
Thanks.
Swati.
‎2008 Apr 17 7:14 AM
Okay...so i will have to call this function in a loop of internal table in which i will pass all my file data.. Okay i shall give this a try as well.
Thanks to all for their suggestions. Will get back if it still does not work..