07-28-2009 8:20 AM
Hello friends,
my requirement is that i want to create interface between non-SAP & SAP system through BAPI for tcode F-28.
F-28 is used for posting incoming invoices of customers.
I have found one BAPI - BAPI_ACC_DOCUMENT_POST.
Can this be used for my requirement.
In F-28 we post open items for customers and also we do partial payments for customers.
So all these scenario can be covered in this BAPI_ACC_DOCUMENT_POST?
If no standard BAPI exist then what is the process to create new one?
Please reply.
Regards
07-28-2009 8:39 AM
Hi
The BAPI BAPI_ACC_DOCUMENT_POST can post an accound document only, but I suppose u need to post the payment and clear some invoices, that BAPI can't clear.
I don't think there's a BAPI to clear account document, but the trx F-28 is based on tranasaction FB05, this transaction is supported by batchinput standard RFBIBL00, so u can try to use that program.
Max
07-29-2009 7:15 AM
Hello max,
thanks for your valuable response.
But as this BAPI can not be used what next can be done?
Actually i want to create interface between SAP system and Non-SAP system which is using IBIS software.
Interface is to be done in such way that IBIS report output should get posted directly in SAP system via F-28 on daily basis.
Report of IBIS contains payments made by customers in a day.
So definitely there are some open items in SAP that need to clear after posting for particular customer.
Shall I go for 'Z' BAPI ? or is there any other technique for interface between two?
Please suggest.
Thank You.
07-29-2009 8:36 AM
Hi
U need to create a Z-BAPI or Z-RFC only if u need it's called by your legacy system directly, but if your interface has to read a file generated by the legacy system, u can create a program job, anyway both objects (Function module and report) should be based on BDC program in CALL TRANSACTION (for function module) or Session (for job) method for trx F-28.
Just as I said, u should considere to create your interface in order to prepare the file for BI standard RFBIBL00 and submit it in order to post the document.
Max
08-01-2009 2:09 PM
Hi Max,
As you have suggested i am thinking to go as follows -
1. Create Z Bapi.
2. In FM of Z Bapi i am taking import parameters which we need to post document in trx F-28.
3.Interface will be created so that this values will be available as import parameters in FM.
4. In source code of FM of Z Bapi i will write BDC program using Call Transaction for F-28 passing values got from interface.
Will it work? Shall i go this way?
Please correct if anything wrong.
Thanks.
08-03-2009 11:16 AM
08-03-2009 1:35 PM
Hi Max,
Thank you for Help .
If I require any help regarding this further i will ask you.
I hope you will continue to be helpful.
Regards,
Vishal
07-29-2009 8:03 AM
07-29-2022 2:44 AM
You can use POSTING_INTERFACE_CLEARING with following parameter
It will call TCode FB05 and you can make an incoming payment with clearing