Function Returns the column header of an attribute
Example myheader =
s10columnheader( "kunnr" ).
Format data:
  myattrname type string,
  myheader type string.

myheader =
  s10columnheader( myattrname ).
Parameters
Name Type Description
attrname string
Attribute name
header string
Column header
Description The method s10columnheader() is called automatically by the S10 Framework if the class "colhead output" is specified in HTML for a column header. With s10columnheader() the column header is read from the SAP Data Dictionary and displayed. Example:

HTML
<
div class="colhead output"
style="width:60px" name="land1"> </div>

If you output the country name with the notation name="land1@text", the field name for "land1" is displayed as the heading:

HTML
<
div class="colhead output"
style="width:200px" name="land1@text"> </div>

If the country indicator is output in the column immediately to the left of the text field with name="land1", then the column heading of the text field of the text table is displayed instead:  

HTML
<
div class="colhead output"
style="width:60px"  name="land1"> </div>
<
div class="colhead output"
style="width:200px" name="land1@text"> </div>

 

Components S10 Framework