Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

In the open event, How do make 5 columns invisible without listing each one

I never knew how to do this kind of logic and it really comes into play a lot. Like to learn the right way finally.

Example

LISTING OUT EACH ONE METHOD

dw_1.Object.t1.Visible=0

dw_1.Object.t2.Visible=0

dw_1.Object.t3.Visible=0

dw_1.Object.t4.Visible=0

dw_1.Object.t5.Visible=0

DESIRED METHOD(I know this does not work)

string ls_test

FOR i = 1 to 5

    ls_test = "dw_1.Object.t" + String(i) + ".Visible=0"

NEXT

Tags:
Not what you were looking for? View more on this topic or Ask a question