SAP Function /SAPNEA/GET_ALTERNATIVE_GL - Get an alternative G/L account for a subcontractor

Parameter Reference Type Length Default Optional Text
I_BUKRS LFB1-BUKRS C 4 Chart of accounts
I_KRZKY THKON-KRZKY C 2 ID for alternative G/L account
I_KTOPL T001-KTOPL C 4 X
I_LIFNR LFB1-LIFNR C 10 General ledger account

Parameter Reference Type Length Text
E_ABWHK THKON-ABWHK C 10 Alternative G/L account

Exception Text
ERROR_WITH_COMPANY_CODE
ERROR_WITH_RECONCILIATION_AC
INACTIVE_RECONCILIATION_AC
NO_ACCOUNT_FOUND No alternative G/L account found
SEVERAL_ACCOUNTS_FOUND Several alternative G/L accounts found