Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Filling in E1BPACREV IDOC segment

Former Member
0 Kudos

I've been unsuccessfully trying to figure out how to fill in properly the data for message type ACC_GL_POSTING_REVERSE, which uses IDOC ACC_GL_POSTING_REVERSE01 and data segment B1PACREV.

Specifically, I need help in understanding how do I fill the following fields:

OBJ_TYPE

OBJ_KEY

(I thought Obj_type referred to BKPF-blart and Obj_key to BKPF-belnr, but it doesn't seem so).

In some cases, which I can't exactly identify, I'm asked to provide a value for OBJ_KEY_R.

For those who are into the subject, follows the name of the BAPI who is related to this IDOC, in case it might help: BAPI_ACC_GL_POSTING_REV_POST.

Thanks in advance,

Avraham

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

The details needs to be paased are like as follows.

OBJ_TYPE = 'BKPF'

OBJ_KEY = '<Combination of companycode,Accounting Document number, Fiscal Year>'.

OBJ_KEY_R - is the reversal document number.

Regards,

Prasana.

2 REPLIES 2

Former Member
0 Kudos

Hi,

The details needs to be paased are like as follows.

OBJ_TYPE = 'BKPF'

OBJ_KEY = '<Combination of companycode,Accounting Document number, Fiscal Year>'.

OBJ_KEY_R - is the reversal document number.

Regards,

Prasana.

0 Kudos

Doesn't seem that the descriptions you gave me were pretty accurate, but accidentally I happened to learn that the obj_key_r refers to BKPF-awkey, so thanks