cancel
Showing results for 
Search instead for 
Did you mean: 

Element in Window MAIN is not Defined?

Former Member
0 Kudos

Hi Guys,

I am Working on Scripts .While using Printer functionality in MI01 tr Code (creating physical inventory Document),I am getting an Error with a dialog box "Element POS_EBELZEILE2 window MAIN is not defined from ZINVENT".

In the ZINVENT form i was able to findout the Element POS_EBELZEILE in main Window.The print program name is RMO71DRU. I was able to find out this element in Write_form FM also.

Can anybody tell me what to do know to overcome this Error?

Thanks,

Gopi.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1.You are misusing the element name:Just check the name of the element in the script and driver program.

POS_EBELZEILE2 is in driver program.But you mentioned the element in the layout is POS_EBELZEILE.

So please check , it will rectify the problem.

Regards,

Kumar(Reward if helpful).

Former Member
0 Kudos

Can u try out this,

In main window , where POS_EBELZEILE is there , exactly after that press enter and in next line put new line character as paragrapf format ( / ) , I think u won't get this error after this.

Pls reward , if found helpful.