Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Item Warehouse

Hi All,

Can someone provides me a sample of howto set the GL Account for warehouse?

My code below is returning the error message "Sales credit account not defined for this item. [OITW.ARCMAct] , 'Product1' "


item.DefaultWarehouse = "01"


item.WhsInfo.RevenuesAccount = rszGLCode

item.WhsInfo.ExpensesAccount = rszGLCode

item.WhsInfo.SalesCreditAcc = rszGLCode

item.WhsInfo.PurchaseCreditAcc = rszGLCode

Or can you point me out what did i do wrong?



Not what you were looking for? View more on this topic or Ask a question