07-23-2009 8:51 PM
hello,
I need to determine the SAP account number by using the company code and either the SAP Vendor # OR the SAP Customer #
What Tables do I need to look into to achieve this?
07-23-2009 9:00 PM
07-23-2009 8:55 PM
07-23-2009 8:57 PM
Hi,
You can get all the G/L accounts for the company code in table [SKB1]...
thanks
Prashant Gupta
07-23-2009 9:00 PM
07-23-2009 9:04 PM
Thanks everyone...
This could help in a roundabout way...
If I grab the GL account from SKB1, how could I either determine Vendors # or Customer # associated with that GL #?
07-23-2009 9:09 PM
07-23-2009 9:13 PM
Hi,
Vendor - Table LFB1 GL Account field is AKONT
Customer - Table KNB1 GL Account field is AKONT.
You can give the BUKRS and AKONT to verify in SKB1.
07-23-2009 9:15 PM
Please note that Customer and Vendor ledger are linked to General Ledger through Reconciliation account. This reconciliation account is part of General Ledger.
You can use table KNB1- For customer and LFB1- For Vendor master. SAP stores the Reconciliation GL account in the field "AKONT" for above two tables.( Inofrmation is kept at company code level)
Regards
07-23-2009 9:24 PM
I do not think reconciliation accounts are the same as GL accounts No?