Skip to Content
0
Jul 04, 2012 at 06:56 PM

Issue posting to accounting

20 Views

Hi all,

I'm using BAPI BAPI_ACC_DOCUMENT_POST, with the following information:

Accounttax:

ITEMNO_ACC

GL_ACCOUNT

COND_KEY

TAX_CODE

DIRECT_TAX

30

230005

MWAS

A2

X

20

230005

MWAS

A2

X

10

230005

MWAS

A2

X

DOCUMENTHEADER:

BUS_ACT RFBU USERNAME KARINA HEADER_TXT VTA. PROD. Y/O SERVI COMP_CODE 3000 DOC_DATE 20120625 PSTNG_DATE 20120625 FISC_YEAR 2012 FIS_PERIOD 6 DOC_TYPE DR REF_DOC_NO 117

ACCOUNTGL:

ITEMNO_ACC GL_ACCOUNT ITEM_TEXT COMP_CODE PLANT FIS_PERIOD FISC_YEAR PSTNG_DATE VALUE_DATE TAX_CODE COSTCENTER 20 700100 Aceite Usado, Nov 20 3000 3000 6 2012 20120625 20120625 A2 3061000002 30 700100 Aceite Usado, Dic 20 3000 3000 6 2012 20120625 20120625 A2 3061000002

ACCOUNTRECEIVABLE:

ITEMNO_ACC CUSTOMER GL_ACCOUNT COMP_CODE PMNTTRMS BLINE_DATE ITEM_TEXT TAX_CODE 10 300005 121000 3000 NT30 20120625 Venta Aceite Usado A2

CURRENCYAMOUNT:

ITEMNO_ACC CURRENCY AMT_DOCCUR AMT_BASE TAX_AMT 30 MXN 48418.4000- 41740.0000- 6678.4000- 20 MXN 34962.4000- 30140.0000- 4822.4000- 10 MXN 83380.8 71880 11500.8

The BAPI returns the error: E RW 14 FI/CO interface: Line item entered several times $ 0000000010

It seems I'm not filling correctly the accounttax, any suggestion? how could I resolve this issue?