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

Problem with BDC

divya_nayudu
Participant
0 Likes
1,063

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,020

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.

Read only

0 Likes
1,020

BAPI instead of BDC ??? I dont quite understand that...Could you please elaborate on it?

Read only

0 Likes
1,020

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'.

Read only

0 Likes
1,020

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...

Read only

0 Likes
1,020

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.

Read only

ak_upadhyay
Contributor
0 Likes
1,020

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

Read only

0 Likes
1,020

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?

Read only

0 Likes
1,020

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.

Read only

0 Likes
1,020

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..