Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>GeneralLedgerAccount



Index

GeneralLedgerAccount

GeneralLedgerAccount


The business object General ledger account is a structure for
recording value movements in a company code that relate to a general ledger account item of a chart of accounts.


Structure

It comprises transaction figures in which value movements of a posting
period are represented as aggregate values for reporting purposes of
the general ledger that concern a general ledger account and, if required, a business area.


11-Dec-2005


Methods

Available Methods


  • ExistenceCheck : Check existence of G/L account [ BAPI_GL_ACC_EXISTENCECHECK ]
  • GetDetail : G/L Account Details [ BAPI_GL_ACC_GETDETAIL ]
  • GetList : List of G/L Accounts per Company Code [ BAPI_GL_ACC_GETLIST ]

11-Dec-2005


ExistenceCheck

ExistenceCheck


This function module enables you to determine whether a G/L accountexists in a company code. A return code is issued to denote the result of the search.

Notes

The same authorization checks are made as take place when you display information in any R/3 transaction.


Since the entry parameter COMPANYCODE is not converted, leading blankcharacters in this parameter are not cleared. Similarly, parameterGLACCT is also not converted. G/L account numbers must be entered with the leading zeros, for example 0000113100.

Messages are displayed in the RETURN parameter, the documentation for
which contains the return codes and their meaning. If the RETURNparameter is displayed without a message, then this confirms that the G/L account in question exists in this company code.


11-Dec-2005


GetDetail

GetDetail


This method provides the user with further information about a G/Laccount. The system provides detailed data about the G/L account.Problems arising are returned in the form of a return code message.

If you only want text to be output, you can set this using the parameter TEXT_ONLY.


Notes

The same authorization checks are carried out as take place when displaying information within an R/3 transaction.

The only exception is the output of text only. In this case, only theauthorization check for the charts of accounts is carried out.


The system does not convert 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 leading zeros (for example, 0000113100).


Depending upon the LANGUAGE parameter, any description, in so far as itexists, appears in the desired language. Where no description exists inthe desired language for the G/L account in question, nothing isreturned and the parameter RETURN contains a warning. Alternatively,
you can also specify the language as an ISO code in the LANGUAGE_ISOparameter. The LANGUAGE and LANGUAGE_ISO parameters are optional. Inthe absence of any langauge being entered, the user's logon language isused. If both parameters are set, the system ignores the LANGUAGE_ISO parameter.


Messages are returned in the RETURN parameter, the parameter documentation for which contains the return codes and their meaning.


11-Dec-2005


GetList

GetList


This method provides a list of G/L accounts for a company code. Thedata determined by the system is returned in a table. Problems arising are returned in the form of a return code message.

Notes

The same authorization checks are carried out as take place when displaying information within an R/3 transaction.


The system does not convert the input parameter COMPANYCODE, meaningthat leading blank characters within this parameter are not cleared.

Depending upon the LANGUAGE parameter, any description, in so far as itexists, appears in the desired language. Where no description exists in
the desired language for the G/L account in question, nothing isreturned. The LANGUAGE parameter is optional. In the absence of any langauge being entered, the user's logon language is used.

Messages are returned within the RETURN parameter, the parameter
documentation for which contains the return codes and their meaning.


11-Dec-2005