Warning: The method GetCurrentBalance will no longer be supported infuture. The functions in this method are transferred to the object typeBUS1028 General Ledger. If you have already applied this method, convert to the new method withobject type BUS1028. If you are using the method for the first time, use the method withobject type BUS1028.Functionality This module returns the closing balance for a G/L account for thecurrent fiscal year. The user can choose whether the balance is displayed in the transactionor company code currency (with the exception of G/L accounts that aremanaged in different transaction currencies). For such accounts, onlythe company code currency can be used. The balance determined by the system together with the currency arereturned, with problems arising being output as a return code. Notes The same authorization checks are carried out as take place whendisplaying information within a transaction. No conversion takes place for the input parameter COMPANYCODE, meaningthat leading blank characters within this parameter are not cleared.Likewise, no conversion is carried out for the parameter GLACCT. G/Laccount numbers must therefore be entered with the leading zeros (e.g.0000113100). Messages are returned within the RETURN parameter, the parameterdocumentation for which contains the return codes and their meaning. Description The return code for the method is supplied in a structure containingfive fields. You will find information on the significance of theindividual fields in the relevant data element documentation. Layout of the structure> TYPE Message type> CODE Message code> MESSAGE Message text> LOG_NO Application log: Log number LOG_MSG_NO Application log: Sequence number of messageDescription You will find information on the significance of the company code inthe relevant data element documentation: Company code>Description You will find information on the significance of the currency type inthe relevant data element documentation: Currency type>Value range 00 = Balance in transaction currency 10 = Balance in local currency Description You will find information on the significance of the G/L account numberin the relevant data element documentation: G/L account number> |