cancel
Showing results for 
Search instead for 
Did you mean: 

Change Layout with VBS

0 Kudos

Hello,

how do I change the layout of a SAP-List without using the "Change Layout"-Menu?

When using the recording I get a lot of scroll-commands and I do not really trust in the order of all the fieldnames.

Using a predefined Layout is not an option because the Code have to work even on my colleagues computers.

Is there a command like "actualfinishdate.show"?

Best regards,

Lutz

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello Holger,

I already thought about this way, but to make it safe (even the global layoutouts may be changed), I would like to start with "zero" and build the list column by column via a vbscript.

Best reagards,

Lutz

holger_khn
Contributor
0 Kudos

The hard way is do perform an script recording where you record Setup of required layout.

1. Step: Select all existing entries from left side and move to right side

2. Step: Sort right column

3. Step: Select required rows from right side and Transfer to left side

Depence of required columns it can take a while for Setup layout in front of execution.

holger_khn
Contributor
0 Kudos

Hello.

One Option can be to use an global layout variant in coding. This is accessible for all users and you can be sure that your code is working in the right way.

Br, Holger