2009 Mar 05 7:50 AM
Hii,
The column heading in ALV output is coming wrong. The heading enterd by me is not taken else it takes heading from data element in DDIC. I want to display heading entered by me and not of data element.
I am using field catalog as given :
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_s = 'License'.
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'.
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
For this the ALV heading is taking the text from data element for license field rather than 'License'...
I want to use ref_fieldaname and ref_tabname for help on ALV output screen.. Tell me then how can i get my own heading..
2009 Mar 05 8:16 AM
Hi,
Use in this way,
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_s = 'License'.
wa_fclog-seltext_m = 'License'. "Add this too
wa_fclog-seltext_l = 'License'. "Add this too
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'.
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
This should solve your problem without affecting anything else.
Hii,
The column heading in ALV output is coming wrong. The heading enterd by me is not taken else it takes heading from data element in DDIC. I want to display heading entered by me and not of data element.
I am using field catalog as given :
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_s = 'License'.
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'.
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
For this the ALV heading is taking the text from data element for license field rather than 'License'...
I want to use ref_fieldaname and ref_tabname for help on ALV output screen.. Tell me then how can i get my own heading..
2009 Mar 05 7:54 AM
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'License'. " make this change
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'.
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
please make the change as mentioned above and run your program one more time.
Thanks
2009 Mar 05 8:03 AM
hi,
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_M = 'License'. "-----> Replace 'S' with 'M'
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
' Comment these two wa_fclog-ref_fieldname, wa_fclog-ref_tabname
* wa_fclog-ref_fieldname = 'LICENSE'.
* wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.Thanks & REgards
2009 Mar 05 8:08 AM
No....I want to use ref_fieldaname and ref_tabname for help on ALV output screen.. Tell me then how can i get my own heading using these two fields also.. Is there any field in fclog to switch off the text coming from DDIC...
2009 Mar 05 8:16 AM
hi,
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_M = 'License'. "-----> Replace 'S' with 'M'
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'. " uncomment and see
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
'It working for me
2009 Mar 05 8:16 AM
Hi,
Use in this way,
wa_fclog-fieldname = 'LICENSE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_s = 'License'.
wa_fclog-seltext_m = 'License'. "Add this too
wa_fclog-seltext_l = 'License'. "Add this too
wa_fclog-outputlen = 8.
wa_fclog-col_pos = 1.
wa_fclog-edit = 'X'.
wa_fclog-ref_fieldname = 'LICENSE'.
wa_fclog-ref_tabname = 'ZLICENSE'.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
This should solve your problem without affecting anything else.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |