cancel
Showing results for 
Search instead for 
Did you mean: 

excis e invoice problem

Former Member
0 Kudos

Hello guru's

In consignment fillup my flow is

1) consignment fillup

2) delivery

3)proforma invoice

4) excise invoice with reference to proforma

now consignment issue

1)consignment issue

2)delivery

3)commercial invoice

now the problem starts

even now system is allowing to create excise invoice with reference to commercial invoice.

but i had already created excise invoice. in fillup stage

and also do i need to do 2 times pgi i mean in C fillup and C issue

regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Rithvika

After going through your issue, I have also tested one scenario in consignment fillup till commercial invoice. Also I could create excise invoice in fillup stage and issue stage as well, which logically is WRONG. In order to control this, you can try with Function Module J_1I7_USEREXIT_EXCISE_BEF_SAVE

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear laxmipathi

can you provide me the logic i mean how to give FS to Abaper

regards

rithvika

Lakshmipathi
Active Contributor
0 Kudos

Dear Rithvika

The logic is

once you generate excise invoice in fillup stage, the same will be recorded in table J_1IEXCHDR where you have to consider the following fields

- EXNUM (for Excise Invoice reference)

- RDOC (for Proforma reference) and

- STATUS (Excise Invoice Status)

Your excise invoice number will be stored in the Field EXNUM and billing document will be stored in RDOC.

Now consider table VBFA where you need to check two fields

- VBELV (preceding proforma document reference to commercial invoice)

- VBTYP_N (subsequent document category should be M)

Now if the fields RDOC and VBELV have the same billing document reference, then excise invoice should not be generated. You should also take into consideration that the _status of the excise invoice _ generated during fillup stage is C

thanks

G. Lakshmipathi

ps:- please spell the name correctly