‎2009 Sep 19 12:10 PM
Hi Friends,
I am using BAPI_EXCINV_CREATE_FROMDATA BAPI for excise posting of material documents.But while doing it, i am not able to post the excise as bapi is not reflecting the data into the respective tables J_1IEXCHDR and J_1IEXCDTL.
In OBJHEADER,i am passing values of following fields:
comp code
plant
excgrp
excise year
vendor
ref doc 1
year
rtype
PROCESS_FLAG - 'I'
In OBJ_ITEM,i am passing following fields:
excise date
excise year
excise grp
document item
storage loc
material no
chapterid
ref doc1(po)
ritem1
ref doc2(po)
rdoc year
ritem2
Still i am not able to post the excise.Please tell me the mistake done with this process or any alternatives.
Thanks,
Gaurav
‎2009 Sep 19 3:17 PM
Hi Gaurav,
the BAPI_EXCINV_CREATE_FROMDATA consists of a couple of enhancements (at least here in ECC600). Have you checked in debugger/editor, that the enhancement sections have active code?
Anotther common error is that a BAPI call need a subsequent COMMIT WORK that will start the actual posting.
Regards,
Clemens