cancel
Showing results for 
Search instead for 
Did you mean: 

Printing multiple text elements in variable window

Former Member
0 Kudos

Hello All,

I need to print data under 2 text elements in a variable window of a SAP Script.

Though the variable to be printed in the first text element has some value, it is not getting printed and only the second (last) element is getting printed.

I tried deleting the second element (and using only the first element) in the variable window and then it is getting printed.

Is it a constraint that we cannot print multiple elements in a variable window?

Could anyone please suggest a workaround.

Regards

Indrajit.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Sunil,

The elements are called in the same way.

The problem here is this is a variable window and unlike main window, when we call write_form for variable window, it does not directly go to the form and prints it - rather it will go at the end at the time close_form.

So at that time it is taking the element of the variable window which was called last i.e. the second element.

Regards

Indrajit

Former Member
0 Kudos

hi,

we can ,that means u are not calling the first text element properly because the text element 2 is calling in first time.properly.incase if it only have a limitation then that case also first text element must be printed but the thing is not happend like that please see how u call the first text element