Application Development and Automation 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: 
Read only

Issue with BAPI_EXCINV_CREATE_FROMDATA

Former Member
0 Likes
298

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

1 REPLY 1
Read only

Clemenss
Active Contributor
0 Likes
231

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