A small tip: for example, IF I want to set the width of each column in the TABLE in UI5 to adapt to what is displayed, I need to know which method of the call control to do this.

One way, of course, is to get the help documentation for the call setautostage stage. The other way is to do it in the debugger, because experience tells us that the API general naming Convention is set:

Based on experience, the method should be called setAutoResizable. The next question is what parameters should be passed to the method. Execute the getMetadata method directly in the debugger and expand the result:

The set method should pass a Boolean:

The idea is to retrieve metadata at Runtime, which is similar to Java reflection and ABAP RTTI.

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: