‎2009 Sep 21 8:35 AM
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 21 8:48 AM
‎2009 Sep 21 8:52 AM
Hi Sachin,
Thanks for the reply.But i am explicitly inputting the values in FM in se37 and checking whether excise details is getting hit or not.Also i want to make sure whether this FM or this approach is correct or not.
Thanks and Regards,
Gaurav
‎2009 Sep 21 8:56 AM
Hi,
You can use the option Function Module -> Test-> Test Sequences option form SE37 menu. Call BAPI_EXCINV_CREATE_FROMDATA and then BAPI_TRANSACTION_COMMIT.
As per the FM apporach, if it meets your requirements, it is fine
Regards,
Sachin