In XD01 when we go to company code data we will see the Vendor and Trading partner fields. what is the functionality of those fields and when weill maintain those fields in XD01.
Amit Yadav replied
You can have the payment program and the dunning program clear customer and vendor open items. You can also select the vendor line items, when you display the customer line items for this account.
Before you can clear between a customer and vendor account, you must:
1. Create a customer master record for the vendor that is also a customer.
2. Enter the vendor account number in the Vendor field in the control section of the general data in the customer master record.
3. Enter the customer account number in the Customer field in the control section of the general data in the vendor master record.
4. Click in the box next to the Clrg with vend. field or Clrg with cust. field (this field will appear in the Automatic Components payment transactions section, only after Vendor field in the control section have been keyed) in the company code data in both the customer and vendor master records. In this way, each company code can decide separately whether it wants to clear the customer with the vendor.
Trading partner is normally used to control (payment/transaction) vendor/customer business with the group. Something like group/inter group business. You have to go to master record. for eg, in customer master, go to CONTROL DATA tab so see Acccount Control, in which you have provide trading partner number/reference.
Hope, this may help you, up to some extent.