cancel
Showing results for 
Search instead for 
Did you mean: 

Problem output transaction VF31 invoice

Former Member
0 Kudos

Hi developers,

I have a problem because I print an invoice with VF02 transaction and the system print two page, in the first page I have a normal print in the next page I have the print with the message COPY also when I repeat the print, this is a correct situation for me.

When I print the same invoice with VF31 the system print always two page with the message COPY that is an error for me.

Can you help me

Tkanks in advance

Domenico

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

select objky

kschl

erdat

eruhr

vstat from nast into table gt_date

where objky eq gv_del_num.

if sy-subrc eq 0.

sort gt_date by objky erdat descending .

describe table gt_date lines lv_n.

if lv_n gt 1.

gv_repeat = lc_x.

endif.

read table gt_date into gwa_date index 1.

endif.

if the value is GT 1 this will be copy of form....