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 for Tcode - F-28 (Finance Module Transaction)

Former Member
0 Likes
832

Dear Experts,

I am trying to find out the BAPI for transaction F-28 (Post Incoming Payments).

I have searched on internet and got 'BAPI_ACC_DOCUMENT_POST' .

Also i am trying to execute the bapi with the data but it is throughing me an error.

BDC has been created for the same t-code and it is working fine. But it should be achieved through bapi only.

Queries:

1) BAPI whichever i am using is correct or not. If it is correct please help me what are all the tables needs to be filled with values.

2) I have debugged standard transaction (F-28) to findout which BAPI / F.M  does SAP is using for post the document. I dont find the above said BAPI being used.

Please help me.

Thanks & Regards,

Ragunathan.R

Dear Experts,

I am trying to find out the BAPI for transaction F-28 (Post Incoming Payments).

I have searched on internet and got 'BAPI_ACC_DOCUMENT_POST' .

Also i am trying to execute the bapi with the data but it is throughing me an error.

BDC has been created for the same t-code and it is working fine. But it should be achieved through bapi only.

Queries:

1) BAPI whichever i am using is correct or not. If it is correct please help me what are all the tables needs to be filled with values.

2) I have debugged standard transaction (F-28) to findout which BAPI / F.M  does SAP is using for post the document. I dont find the above said BAPI being used.

Please help me.

Thanks & Regards,

Ragunathan.R

2 REPLIES 2
Read only

Former Member
0 Likes
741

Hello.

That BAPI is correct, it works for tcode F-28.

Post ur code, so we can check it and help u.

Regards

Read only

0 Likes
741

Dear Miguel Alvear,

I am trying to execute the BAPI individually in SE37 by filling the following structure & table fields.

Document Header:

username   - M1021286 - (sy-uname)
header_txt - Bapi test
comp_code  - 2001 - BSID-BUKRS
fisc_year  - 2012 - BSID-GJAHR
doc_date   - 08.05.2013 - (sy-datum)
pstng_date - 08.05.2013 - (sy-datum)
doc_type   - RV  - BSID-BLART
ref_doc_no - 20000007 - BSID-XBLNR

ACCOUNTGL :

itemno_acc - 1
gl_account - 0000123000 - BSID-SAKNR
item_text  - BAPI Test
profit_ctr - 2001
comp_code  - 2001 - BSID-BUKRS


ACCOUNTRECEIVABLE: 

itemno_acc 1
CUSTOMER 0900014451 - BSID-KUNNR
comp_code 2001    - BSID-BUKRS
item_text Bapi Test


ACCOUNTTAX 

itemno_acc 1
gl_account 0000123000 - BSID-SAKNR
tax_code   O7    - BSID-MWSKZ


CURRENCYAMOUNT 

itemno_acc 1
currency   THB    - BSID-WAERS
amt_doccur 2.268,40   - BSID-WRBTR

The above are the only data which i am passing to that BAPI.

Please check and correct me if i need to pass additional fields etc.,

Thanks & Regards,

Ragunathan.R