Skip to Content

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

Formatted search for GL account #

I've created a UDF (SalesGL) on the Business Partner master record to enter the Sales GL Account that transactions for this BP should post to. I then wanted to add a formatted search to the GL account on the line level of the Sales Order and AR Invoice to have it look to the SalesGL account associated with a BP and return that GL account. This is the query I've created, but get errors:

SELECT T0.[U_SalesGL] FROM OCRD T0 WHERE T0.CardCode = $[$4.0.0] FOR BROWSE

Any suggestions to correct this?

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