Skip to Content
avatar image
Former Member

BAPI for Customer Payment - F-28

Hi

We are making one development. In that development, our requirement is after clicking one button, my F-28 (customer receipt) should be executed in background. My incoming bank account should be debited and selected invoices (i.e. customer line items) should be credited.

My ABAPer is telling that it is possible. However it requires some BAPI. Can anyone tell me what is the BAPI for F-28.

Please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 30, 2011 at 12:10 PM

    Hi

    You should use BAPI_ACC_DOCUMENT_POST

    Regards

    Sanil Bhandari

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 30, 2011 at 11:53 AM

    Dear:

    Please check BAPI BAPI_ACC_DOCUMENT_POST . It can post any accounting document and can even clear customer F-32 through recording. We are successfully using it.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Deepak

      As explained by Atif, you can through Copy controls in T Code get Billing Document to be populated in Assignment field and assuming full payment against the invoice clear through F-28. This is one way. But another ways is to clear on First In first out basis, especially in countrioes like India. You can write a code with this BAPI to look at Posting Date and Clear the documents. For the remaining amount, create a residual item. Note this may effect your ageing and credit risk reports.

      Regards

      Sanil