CHANGE_TYPE SAP Method Apply own criteria for account categorization in greek CoA









Below is documentation, parameters and attributes of ABAP Method CHANGE_TYPE within SAP class J_1GIF_EX_COA. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name J_1GIF_EX_COA into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method CHANGE_TYPE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CHANGE_TYPE

.

NameTypeData TypeDescriptionDefault Value
ACCOUNTImportingTYPE
SAKNR
Account Number
FLT_VALImportingTYPE
KTOPL
Chart of Accounts
RLEN_ALImportingTYPE
SAKLN
Redundant length of an A/L account (J_1GGS)
RLEN_GLImportingTYPE
SAKLN
Redundant length of an G/L account (J_1GGS)
ACC_GRPChangingTYPE
CHAR1
1st significant digit of the account (1-8,9,0)
ACC_TYPChangingTYPE
CHAR1
'G': G/L account, 'A': A/L account



Exceptions of Method CHANGE_TYPE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO J_1GIF_EX_COA.
DATA: lv_ACCOUNT TYPE SAKNR,
lv_ACC_GRP TYPE CHAR1,
lv_ACC_TYP TYPE CHAR1,
lv_FLT_VAL TYPE KTOPL,
lv_RLEN_AL TYPE SAKLN,
lv_RLEN_GL TYPE SAKLN,
lv_other TYPE c.

CALL METHOD lo_class=>CHANGE_TYPE(
EXPORTING
ACCOUNT = lv_ACCOUNT
FLT_VAL = lv_FLT_VAL
RLEN_AL = lv_RLEN_AL
RLEN_GL = lv_RLEN_GL
CHANGING
ACC_GRP = lv_ACC_GRP
ACC_TYP = lv_ACC_TYP ).

Links to Related Class(s)

J_1GIF_E...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!