terça-feira, 17 de março de 2026

RAP - Fixando tamanho de colunas by annotation

Dentro da annotation UI.lineitem existe a propriedade cssDefault.width definir o tamanho com a unidade  "rem" 


{

@UI.hidden : true

key LogHandle : balloghndl;

@UI.hidden : true

key ExternalId : balnrext;

@UI.lineItem: [{ position: 30 }]

key logdate : aldate;

@UI.lineItem: [{ position: 40 }]

key logtime : altime;

@UI.lineItem: [{ position: 50, criticality: 'criticality', criticalityRepresentation: #ONLY_ICON }]

key MessageType : symsgty;

@UI.lineItem: [{ position: 60 , cssDefault.width: '40rem' }]

@EndUserText.label: 'Log Message'

key MessageText : bapi_msg;

@UI.hidden: true

criticality : abap.char(1);

}

Nenhum comentário:

Postar um comentário