05-19-2008 10:50 AM
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.
05-19-2008 10:54 AM
05-19-2008 10:54 AM
05-19-2008 10:58 AM
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
05-19-2008 11:48 AM
Hi Murali Poli ,
Plz tell me how to use this program RFBIBL00.
With Thanks ,
Priya.
05-19-2008 12:10 PM
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
05-19-2008 12:40 PM
Hi sandeep,
Thank you for your reply.Can you sent code for me.
Priya.
05-19-2008 12:49 PM
Yes, I will try to send you ...but you want to use the BAPI for posting accounts payable or recevable?
Rgds,
Sandeep.
05-20-2008 6:06 AM
Hi Sandeep,
Thanks for your reply,I want use BAPI for posting accounts payable only.Please sent me the code.
With Regards,
Priya.M
05-19-2008 10:57 AM
05-19-2008 11:04 AM
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.
05-19-2008 11:10 AM
Hi Priya,
BAPI_ACC_DOCUMENT_POST....Use this BAPI and this will exactly match your requirement.
Raghav
06-10-2008 12:20 PM
Hi Priya,
I am working on a requirement of FB01 posting. Can you please help me with the code for the same.
Thanks,
Karthik