Skip to Content
Author's profile photo Nishu Shah

How to treat Customer as a Vendor

Dear all,

I would like to explain how to treat customer as a vendor and settle business transactions

We have to ensure following activities in SAP, in order to ensure that the customer and vendor are correlated and function correctly

  1. Ensure Customer and Vendor Master Data are linked
  2. Open Items are existing i.e. booked as a customer and vendor separately
  3. Document Type of Customer Receipt allows settlement with vendor (Type K)
  4. Clearing is done considering open items of Customers and Vendors together
  5. Automatic Payment program – Requirement in order to ensure that the links APP picks customer and vendor open line items together

Let us have a look into details of each step mentioned above:-

Customer Master linkage to vendor, T.Code xd02 –> Select customer –> Control Data Tab –> Enter the vendor number to which it is to be linked


Go To XK02, Enter Vendor Number –> Control Tab –> Enter the Customer number (Generally it comes automatically once you link the same vendor in Customer Master)


Existence of open items can be checked in FBL5N –> Customer Code -> Open Items (Please select Normal items and Vendor Line items which will also show all the open items of vendors which have been linked above)


We can see below open items which are in existence on account of customer and vendor


Now we’ll try to receive differential amount (Amt. Rs 100) after settling Rs. 112 (receivable as Customer) and Rs. 12 (Payable as Vendor). Key things to be considered (T.Code F-28 – Customer Receipt) are:-

    1. Please select ‘Other Accounts’ check box which helps to select open items of other Account type, other than the account type selected (D in our case)
    2. Once done, please select ‘Process open items’ which will pop up a screen wherein linked vendor data is to be entered (‘Standard OIs depict checkbox ensures that special GL items will not come in open items). Press enter once done
    3. Note – Please ensure that the document type used has Vendor allowed in Account type (T.Code OBA7 –> Select Document type (DA in our case) –> ensure that Vendor checkbox is selected (Screenshot below)



Select line items which are to be cleared and press save. Please note that Rs. 112 was on account of customer and Rs 12 was on account of vendor (which is linked through respective master data). It will show a bank receipt of Rs. 100 and clear both customer and vendor line items


Let us have a look at the Customer line items post bank receipt. Please ensure that Vendor checkbox is ticked in T.Code FBL5N


Now we can see that both customer and vendor line items are cleared, with same clearing document


Automatic Payment Program – In case we want to link customers to vendors while running APP, following master data changes are required in customer and vendor as shown in the below screenshots

Please go through the standard F1 help which is available on the screenshot below when F1 is pressed on ‘Clearing with Vendor’ checkbox



Hope this helps !

Best Regards


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Murali Babu Nallamothu
      Murali Babu Nallamothu


      It's very hepful and thanks for the document.

      Author's profile photo Nishu Shah
      Nishu Shah
      Blog Post Author

      Thank You 🙂

      Author's profile photo sowmya KS
      sowmya KS

      Very Nice Document.

      Thank you