Update Trading Partner Field for Posted Documents

In FBL5N/FBL1N, I have checked the related documents and found that one of the line items is having 'Trading Parnter' field as BLANK. So I need to enter the Trading Partner in the document header. Here I have noticed that the Trading partner field is DISABLED and hence I am unable to enter the values and proceed further. 

I think if I can fill the trading partner field with the required value the documents can be cleared.

How can I make the Trading Partner field active. In the document type setting KA (used here) the 'Enter Trading Partner' flag is ON. Also I have check the Field Status settings for the Posting Key also for Trading Partner.

Solution:

On the first hand it is not possible to update the trading partner field for posted documents, as per SAP Standard. There are two alternatives to this:

Alternative 1:

REVERSE AND DOCUMENTS CAUSING THE PROBLEM AND RECREATE THEM AFREASH

1. Find out if there are any clearing documents within the main document in question which is not getting cleared due the trading partner field.
2. Goto FBRA: Reset and reverse the clearing documents if any as found in step 1.
3. Goto F-02 give the main document number; then goto "Document>Reverse" menu or press CTRL+SHIFT+F12 to reverse the document.
4. Goto F-02: Recreate the main document using "Post with reference" function of document header which gets automatically populated (with correct Trading Partner field )as per setting defined in the customer/vendor master data once the document is saved. 
5. Goto F-44/F-32 and then try clearing the vendor/customer.
6. Dont forget the post the clearing documents which were reversed in Step 2.

Alternative 2:  This shall be taken as the worst case which shall not be recommended as normal practice. 

To develop an ABAP which shall update the trading partner field VBUND in Table BSEG, BSIK, BSID and then try clearing the documents.

SAP Financial Tips by : Kailash

What is Trading Partners?

In Business Terms Trading partner is your business partner within Group with whom you are doing business.In order to identify Inter Company transactions Trading partner field is used. You need to define all the Group Companies as company in SAP and all the defined Companies will be available for selection in Trading partner field.  Trading partner can be defaulted in GL, Customer or Vendor Master.  If you need you can populate trading partner at Document level too by doing settings in Document Type Master in T Code OBA7.   *--  Suresh

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.  *-- N B

SAP FI/CO Tips

See Also
ERP Financial Accounting Self Knowledge Testing

Get help for your SAP FI/CO problems
SAP FICO Forum - Do you have a SAP FI/CO Question?

SAP Books
SAP FICO Books  - Certification, Interview Questions and Configuration

SAP FICO Tips
SAP FI/CO Tips and Financial Accounting/Controlling Discussion Forum

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.