Похоже я сам с собой переписываюсь
у признака 0GLACCEXT есть Атрибут 0BAL_DEPEND на который в Правилах переноса нет связи.
как его заполнить?
дальше стоит в правилах подпрограмма преобразования.
PROGRAM UPDATE_ROUTINE.
*$*$ begin of global - insert your declaration only below this line *-*
* TABLES: ...
* DATA: ...
type-pools: bwfi1.
*$*$ end of global - insert your declaration only before this line *-*
FORM compute_key_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS0GL_ACCOUNT_TEXT
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BI0/TGLACCEXT-GLACCEXT
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
*
*$*$ begin of routine - insert your code only below this line *-*
* fill the internal table "MONITOR", to make monitor entries
data: ls_glaccext type bwfi1_ts_glaccext.
data: ls_coaglaccext type bwfi1_ts_coaglaccext.
ls_coaglaccext-coa = COMM_STRUCTURE-chrt_accts.
ls_coaglaccext-accext = COMM_STRUCTURE-gl_account.
ls_glaccext-baldep = COMM_STRUCTURE-BAL_DEPEND.
ls_glaccext-type = 'A'.
ls_glaccext-accext = ls_coaglaccext.
call function 'CONVERSION_EXIT_ACCEX_INPUT'
exporting
input = ls_glaccext
importing
output = RESULT.
* if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
* if abort is not equal zero, the update process will be canceled
ABORT = 0.
*$*$ end of routine - insert your code only before this line *-*
*
ENDFORM.
которая на выходе даёт номер статьи и везде приписывает "А" я так понимаю это означает Актив баланса...
как быть? помоги связать эти вещи
