Skip to Content
0
Former Member
Jun 17, 2009 at 07:55 PM

requirements for BAPI_ACC_GL_POSTING_REV_POST

369 Views

This is what I am passing to this BAPI

FORM F_POST_REV_GL_TRANSACTION .

DATA: gv_doc_header LIKE bapiache08,

refresh lt_reversal.

lt_reversal-COMP_CODE = gv_bukrs.

lt_reversal-AC_DOC_NO = gv_Posted-doc_num.

append lt_reversal.

CALL FUNCTION 'BAPI_ACC_GL_POSTING_REV_POST'

EXPORTING

REVERSAL = lt_reversal

IMPORTING

OBJ_TYPE = gv_doc_header-obj_type

OBJ_KEY = gv_doc_header-obj_key

OBJ_SYS = gv_doc_header-obj_sys

TABLES

RETURN = lt_return.

ENDFORM. " F_POST_REV_GL_TRANSACTION

I am getting this error on the return:

Required field OBJ_TYPE was not transferred in parameter REVERSAL

Required field OBJ_KEY_R was not transferred in parameter REVERSAL

Required field OBJ_SYS was not transferred in parameter REVERSAL