Hi All,
I need your help in finding the program that is doing the validation for G/L account.
While creating a purchase order, if the purchase order is assigned with a cost center and the G/L account entered in the account assignment tab is not allowed for cost center, then it used to give an error message: G/L account cannot be used.
I would like to know the program (BADI / BAPI / FM) that is triggering this validation. I think that validation is happening based on the tables T004F and T162K.
I am looking for a program which I can incorporate in a custom enhancement for checking this G/L account.
Please advise.
Thanks,
Arun