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

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

Paramètre Reférence Type Long. Description
E_ABWHK THKON-ABWHK C 10 Alternative G/L account

Exception Description
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