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: 

Invoice header

Former Member
0 Kudos

Hi,

While printing the Invoice header , We need to print the condition .

1.If the Tax is applicale to the Invoice header should be TAX Invoice

2. If no tax is applicable Invoice header shoild be SALES INVOICE.

What should be the the logic for thsi .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You should be able to fetch the billing document header conditions from the table KONV based on the condition document number (VBRK-KNUMV).

hope it helps!!

Regards,

Amruta

2 REPLIES 2

Former Member
0 Kudos

Hi,

You should be able to fetch the billing document header conditions from the table KONV based on the condition document number (VBRK-KNUMV).

hope it helps!!

Regards,

Amruta

Former Member
0 Kudos

Hi,

Are you using smartform?

if yes then in text element where you are printing invoice header goto condition tab and give condition as

gv_flag = 1.

You need to create one more text element as above where you have to put condition as gv_flag = 0.

gv_flag is data object whose value you have to set depending upon tax applicable or not.

if yes -> gv_flag =1.

else -> gv_flag = 2.

tax applicable or not you can find out from invoice header itself or from KONV table by passing condition no.

hope this help.