cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Posting statistical posting via BAPI_CTRACDOCUMENT_CREATE

0 Kudos
378

Hello experts

I'm trying to post a statistical posting using BAPI_CTRACDOCUMENT_CREATE

and getting an error message: 003Balance in Document currency is not zero, posting not possible

In table: PARTNERPOSITIONS I fill stat_key = G (similliar to the customization) the rest of parameters in the table are similliar to posting a regular posting.

Table GENLEDGERPOSITIONS is empty (it's a statistical posting)

What am i doing wrong ?

Regards

Vered

Accepted Solutions (0)

Answers (1)

Answers (1)

ChristinaHo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Vered,

I did a test in an internal SAP system. It worked well.

As said GENLEDGERPOSITIONS is empty.

PARTNERPOSITIONS is filled:

ITEM
COMP
BUSPARTNER
CONT_ACCT
MAIN
SUB_
G_L_ACCT
S
DOC_DATE
POST_DATE
NET_DATE
CUR
AMOUNT_LOC_CURR
AMOUNT

Regards,
Christina