on 01-28-2010 6:29 AM
Hi,
I have a Data Element PERSNO.
If i bind a input field with a context attribute of type persno then label for input field picks Field Symbol - Medium of this data element.
If i bind the ALV table's one column with attribute of type perso then column heading picked is Field Symbol - Heading for this data element.
Could anyone explain why this and if I want that Field Symbol - Long should be picked always when binded with input field then what needs to be taken care of ?
Any inputs on this .
Hi
When you create a binding of text for a label with attribute then there you can define ( present at bottm ) to select Type Char as Long Text.
Hope this helps
regards
manas dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
for this get the ALV column reference then get the heading reference for that column
something like this :
lt_column = lr_column_settings->get_columns( ).
loop at lt_column into ls_column.
lr_column_header = ls_column-r_column->get_header( ).
* lr_cloumn_header is of type ref to CL_SALV_WD_COLUMN_HEADER
case ls_column-id.
when 'PERSNO'.
lr_column_header->set_ddic_binding_field( cl_wd_caption=>co_long_text ).
endcase.
endloop.
I hope you got the hint
Regards
Manas Dua
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.