Application Development 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: 

BDC for FB01

Former Member
0 Kudos

Hi all,

Now i am doing BDC for FB01.If any BAPI OR Functional Module avilable instead of doing bdc.Please send me the details.

With Thanks ,

Priya.

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

Priya,

look at once BAPI_ACC_DOCUMENT_POST.

Amit.

11 REPLIES 11

former_member181995
Active Contributor
0 Kudos

Priya,

look at once BAPI_ACC_DOCUMENT_POST.

Amit.

0 Kudos

Try FM POSTING_INTERFACE_DOCUMENT

try these:

BAPI_ACC_GL_POSTING_POST

BAPI_ACC_BILLING_POST

BAPI_ACC_INVOICE_RECEIPT_POST

Please try using program RFBIBL00 .. direct input method

\[removed by moderator\]

Edited by: Jan Stallkamp on Jun 10, 2008 1:40 PM

0 Kudos

Hi Murali Poli ,

Plz tell me how to use this program RFBIBL00.

With Thanks ,

Priya.

0 Kudos

Hi Priya,

I have done this few days back You can use the BAPI BAPI_ACC_DOCUMENT_POST.

However, You will not find the posting key in the BAPI structures..but you can still pass the posting keys by using a badi implementaion..Please let me know if you need any further info..This definetly works..

Regards,

sandeep

0 Kudos

Hi sandeep,

Thank you for your reply.Can you sent code for me.

Priya.

0 Kudos

Yes, I will try to send you ...but you want to use the BAPI for posting accounts payable or recevable?

Rgds,

Sandeep.

0 Kudos

Hi Sandeep,

Thanks for your reply,I want use BAPI for posting accounts payable only.Please sent me the code.

With Regards,

Priya.M

Former Member
0 Kudos

/message/3236279#3236279 [original link is broken]

\[removed by moderator\]

Edited by: Jan Stallkamp on Jun 10, 2008 1:39 PM

Former Member
0 Kudos

Hi,

Use the Bapi 'BAPI_ACC_DOCUMENT_POST'

Have a look..............

CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'

EXPORTING

documentheader = it_hdr

TABLES

accountgl = it_gl

ACCOUNTRECEIVABLE = act_rec

currencyamount = it_curr

return = t_result.

LOOP AT t_result WHERE ( type = 'E' OR

type = 'A' ).

EXIT.

ENDLOOP.

IF sy-subrc 0.

REFRESH t_result.

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'

EXPORTING

documentheader = it_hdr

TABLES

accountgl = it_gl

ACCOUNTRECEIVABLE = act_rec

currencyamount = it_curr

return = t_result.

*

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

ENDIF.

Regards,

Raj.

former_member182354
Contributor
0 Kudos

Hi Priya,

BAPI_ACC_DOCUMENT_POST....Use this BAPI and this will exactly match your requirement.

Raghav

Former Member
0 Kudos

Hi Priya,

I am working on a requirement of FB01 posting. Can you please help me with the code for the same.

Thanks,

Karthik