Eighty-five, SAP ALV in the creation of the four, remove the primary key background color

First, after we execute the program, find the table of contents are all there in the background

Second, this is because we set the primary key in the code

Third, we removed the processing other than the primary key of the first

Fourth, run the program, all the fields are found or background color

V. This is because after each ls_fieldcat assignment, he needs to be cleared, otherwise the content will be brought under one assignment, use clear in your code as follows

Sixth, the effect is as follows

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/tianpan2019/p/11260966.html