cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript - copying a window

Former Member
0 Kudos

If I copy a window and keep the same element names, when I call a print_form passing the element name (no window specification), will both elements (one from each window) be printed?

I need to duplicate data on an AP check and I would love to just copy the window rather than copying the print program.

Regards,

Davis

Accepted Solutions (0)

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

If you don't pass the WINDOW name, system will by default consider as MAIN window.

And SAPScript will not allow same Text element twice in the Same window.

So, I think in your case you need to change the Print program.

Regards,

Naimesh Patel

Former Member
0 Kudos

Well this would be the same element in two separate windows. It looked like the print program was calling an element in the top window (not main) without specifying the window. I didn't, however, look to see if the main window had the same element. Is it possible to just copy the window and have it automatically print that copied window (duplicate window) without modifying the print program?

Regards,

Davis