Functionality The method provides the ending balance of a G/L account for the currentfiscal year. The user decides whether the balance should be provided in thetransaction currency or the company code currency. Exceptions are G/Laccounts kept in various transaction currencies. In this case, only thecompany code currency can be used. The system provides the balance and currency determined. Shouldproblems arise, they are reported in a return code. Notes The same authorization checks are carried out as those needed fordisplay authorization in the R/3 transaction. The entry parameter COMPANYCODE is not converted, so that leading zerosin this parameter are not cleared. No conversion is made for parameterGLACCT either. G/L account numbers have to be entered with leadingzeros (for example, 0000113100). Messages are reported in parameter RETURN. You can find the returnvalues and their meanings in the documentation for this parameter. Description The balance for a G/L account is provided in a structure. You can findinformation on the meaning of these parameters in the correspondingdata element documentation. Structure setup> COMP_CODE Company code> GL_ACCOUNT G/L account number> FISC_YEAR Fiscal year> BALANCE Account balance CURRENCY Currency key>Description The return code of the method is provided in a structure with fivefields. You can find information on the meaning of the individualfields in the corresponding data element documentation. Structure setup> TYPE Message type> CODE Message code> MESSAGE Message text> LOG_NO Application log: Log number LOG_MSG_NO Application log: Current message numberDescription You can find information on the meaning of company code in thecorresponding data element documentation: Company code>Description You can find information on the meaning of currency type in thecorresponding data element documentation: Currency type>Value range 00 = Balance in transaction currency 10 = Balance in local currency Description You can find information on the meaning of G/L account number in thecorresponding data element documentation G/L account number> |