Application Development 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: 

Restrict excise invoice from proforma invoice after reverse PGI

Former Member
0 Kudos

Hello experts,


Our sales flow is stock transfer order-> Fast Delivery-> PGI -> Billing (jex)--> excise invoice

If we have to reverse the PGI first .System give error (cancel excise invoice first)after cancel excise invoice reverse pgi then cancel proforma invoice (complete).

But once Again excise invoice  allows me create from cancel billing document.

My requirement is I want to  restrict excise invoice from billing document which already cancel and reverse post good issue.


Thanks


1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI G. Lakshmipathi,

I have checked configuration it same as you suggested.

I have compared  ABAP code in report MJ1IINI01 with other system ,

there is code to check the cancellation of proforma invoice

*Check if proforma is cancelled (Billing type is JEX & VBRK-VBTYP = 'U')

*For proforma,VBRK-FKSTO is not set as X,but VBRK-RFBSK will be set as E

  

IF WA_VBRK-VBTYP = 'U' and WA_VBRK-RFBSK = 'E'.

     MESSAGE e264(8i) WITH j1ii100-vbeln.

   ENDIF.

But in my system its not shown .

So how can i activate this message is there any setting in IMG to activate message .

5 REPLIES 5

Lakshmipathi
Active Contributor
0 Kudos

Moved from SAP ERP SD Billing to Internationalization and Unicode.  Please post all your CIN related queries here.

G. Lakshmipathi

Lakshmipathi
Active Contributor
0 Kudos

Carry out the configurational change as explained here

G. Lakshmipathi

Former Member
0 Kudos

HI G. Lakshmipathi,

I have checked configuration it same as you suggested.

I have compared  ABAP code in report MJ1IINI01 with other system ,

there is code to check the cancellation of proforma invoice

*Check if proforma is cancelled (Billing type is JEX & VBRK-VBTYP = 'U')

*For proforma,VBRK-FKSTO is not set as X,but VBRK-RFBSK will be set as E

  

IF WA_VBRK-VBTYP = 'U' and WA_VBRK-RFBSK = 'E'.

     MESSAGE e264(8i) WITH j1ii100-vbeln.

   ENDIF.

But in my system its not shown .

So how can i activate this message is there any setting in IMG to activate message .

0 Kudos

Hi

Kindly apply the below mentioned SAP Note

SAP Note : 1126281 - Cancelled proforma allows to create excise Invoice in J1IIN


I hope it will solve your problem.

0 Kudos

Hi Mahesh ,

Thanks for reply Issue has been resolved .

Thanks