CONVERT_SINGLE_RECORD SAP Method Transfers Single Profit Record to the ACC Document Structure









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /EACA/CL_BTA_PROFIT_PROCESS 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 CONVERT_SINGLE_RECORD can also be found below:

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


Parameters of Method CONVERT_SINGLE_RECORD

.

NameTypeData TypeDescriptionDefault Value
IO_CHARS_STRUCT_RECORDImportingTYPE REF TO
CL_FINB_KF_CHARS_STRUCTURE
Characteristic Vector
IS_DESCRIPTIONImportingTYPE
/EACA/BTA_INPUT_DESCRIPTION
BTA Profit: Structure for Description of Input Data
CB_ERROR_OCCUREDChangingTYPE
/EACC/BOOLEAN
Boolean Type for e-Accounting



Exceptions of Method CONVERT_SINGLE_RECORD

/EACC/CX_PROCESS_ERROR - Processing Cannot Be Continued

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /EACA/CL_BTA_PROFIT_PROCESS.
DATA: lv_CB_ERROR_OCCURED TYPE /EACC/BOOLEAN,
lv_IO_CHARS_STRUCT_RECORD TYPE CL_FINB_KF_CHARS_STRUCTURE,
lv_IS_DESCRIPTION TYPE /EACA/BTA_INPUT_DESCRIPTION,
lv_other TYPE c.

CALL METHOD lo_class=>CONVERT_SINGLE_RECORD(
EXPORTING
IO_CHARS_STRUCT_RECORD = lv_IO_CHARS_STRUCT_RECORD
IS_DESCRIPTION = lv_IS_DESCRIPTION
CHANGING
CB_ERROR_OCCURED = lv_CB_ERROR_OCCURED ).

Links to Related Class(s)

/EACA/CL...
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!