cancel
Showing results for 
Search instead for 
Did you mean: 

Error in print preview

Former Member
0 Kudos

Dear all,

In the transaction MB90, when I click the Print Preview Button the error message popups "Window KOPF is not defined for form Z1_WESCHEINVERS1"

Form Name: Z1_WESCHEINVERS1

Driver Program: SAPM07DR

Please recommend the possible solution.

Its urgent.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Can you please tell me how did you solved this as i am getting similar error when executing using LB10 and LT21.

Regards,

Sudhakar Reddy.A

Former Member
0 Kudos

Hi

I suppose Z1_WESCHEINVERS1 was copied from std WESCHEINVERS1 and window KOPF deleted because it wasn't necesserary. The problem is the program still call it by fm WRITE_FORM, so you can only change Z1_WESCHEINVERS1 by SE71:

- Create a new WINDOW called KOPF,

- Insert the same text elemnt used in std form  
  WESCHEINVERS1 for window KOPF: insert only the text 
  element and no text, so only the line:
  /E

- Insert it in the first and next page,

If you can't find that window in std form check in the std program where that window is called: here you can find the name of the text elements.

It's not important the size and where you place it in the pages, becouse no text will be printed in it.

In this the MB90 won't raised that error.

Max

Former Member
0 Kudos

Thanks for the guidance.

I have checked with the std WESCHEINVERS1 but in that there is no window for KOPF & even checked with all the elements of KOPF but nothing is mentioned in std WESCHEINVERS1.

In my form Z1_WESCHEINVERS1 I have created new window KOPF & then inserted the text element.

but there are many text elements which are assigned to the window KOPF as in print program.

Now in MB90 the error message is "Element WE3KOPF window KOPF is not defined for form Z1_WESCHEINVERS7"

Even after inserting the element WE3KOPF in window KOPF it is showing the same error.

Please reply.