cancel
Showing results for 
Search instead for 
Did you mean: 

Intercompany Subledger (IC) - Customers/Vendors Field in Blank

Former Member
0 Kudos

Good morning Gurus,

Intercompany subledger (IC) is not currently getting populated when the company code data is not populated in the customer/vendor master and consequently intercompany customers/vendors line items in General Ledger carry blank trading partner field values. We are trying to develop a new program that fixes this issue using the BADI u2018FB_ICRC_003u2019 but we are stuck there because we donu2019t know how to use this BADI correctly. Is thereu2019s already a fix for this out there, or do we need to code a solution for this?

Thanks so much in advance.

Take care all!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks Ralph,

Now I have a clearer concept of how exactly this works. When you say to update the master data with the trading partner, exactly which table should I update? Because I can see the trading partner field (VBUND) in table BSEG, but I'm not sure if I update it there only, if that would be enough.

former_member572578
Active Contributor
0 Kudos

Hello Alexander,

Do not modify BSEG!

Just go to the customer / vendor master data (tx FD02 / FK02). Enter the trading partner on tab Control Data.

Best regards,

Ralph

P.S.: Once I have answered to a thread I get a notification when there is a new post.

Edited by: Ralph Stadter on Jan 5, 2011 4:10 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ralph,

Thanks so much for your responses! We tried exactly what you said and it worked as expected. You have been a tremendous help in this Ralph, hopefully one day I can return the favor

Thanks for being so patient Ralph and take care!

Former Member
0 Kudos

Thanks Ralph,

But as you say, this will not fix documents which have already been posted and thatu2019s exactly what we are trying to fix. We think we need to use the BADI 'FB_ICRC_003u2019 to insert the documents that have as a trading partner a blank into the internal table that holds all the documents that ICR selected. Before adding it to the internal table we will fill the trading partner with the correct company code retrieved from a Z table that will serve as a matching table for these companies.

There is a method inside the BADI called ADD_INFORMATION_TO_DATA_RECORD, which we think it's the correct one for the task, but we don't know how to implement it. Do you have any experience with this BADI or may suggest another approach? Any thought will be greatly appreciated.

Thanks again Ralph,

former_member572578
Active Contributor
0 Kudos

Hello Alexander,

I am sorry that my last post was somewhat confusing.

It is correct that the procedure I described will not fix the original FI documents, i.e. the entries in BSS, BSD, BS*K, BSEG, FAGLFEXA, ... will not get the trading partner populated. This is not possible for documents which have been posted already.

But when you maintain the correct trading partner e.g. for a customer account, data selection will find that account. It will then select all open items from that account - whether a trading partner is contained in the open item or not. It will then fill the trading partner field with the information from the customer account. So the standard functionality already does what you are trying to implement in the BADI method. However, this is not necessary. All you need to do is assign the trading partner in the master data of the respective accounts.

Best regards,

Ralph

former_member572578
Active Contributor
0 Kudos

Hello Alexander,

You need to assign the appropriate trading partners to the customer and vendor accounts. This will not fix documents which have already been posted but ICR will select all open items for accounts where trading partners are assigned and treat them as if they had been posted with trading partner assignment.

There is no need to implement a BADI unless there is a reason why you cannot assign the trading partner to the customer and vendor accounts.

Best regards,

Ralph