on 07-25-2006 8:00 AM
Hello all,
Is there any way to make a column in an alv table required?
Thanks,
raymond
Hi Raymond,
In layout, You just Rightclick on the Table and select Insert Column and then Select TableCellEditor for the Column U just created.
Regards
Sarvanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saravanan,
I tried your suggestion and at first I thought it should work as I als had used that solution to make fields read only or editable.
However, when I use 'SET_STATE_FIELDNAME' and fill the fields with value '00' or '01' nothing happens.
The technique works fine with 'SET_READ_ONLY_FIELDNAME'.
Any suggestion?
Regards,
Raymond
Hi Raymond,
Just as a quick additional note, it is better to use the constants provided for state enum instead of using values like 00 or 01 directly. The constants are CL_WD_INPUT_FIELD=>E_STATE-REQUIRED and CL_WD_INPUT_FIELD=>E_STATE-NORMAL. Of course, if you have already a pointer to that input field just write i.e. my_input_field_pointer->e_state-required.
Best regards,
Thomas
Hi Thomas,
Thanks for your advice. I have changed the constants now.
Can you tell me what required fields in an ALV look like.
You see, I have done the coding and debugged to check the values but I cannot see any changes that would indicate that the field is now required.
Please let me know.
Regards,
Raymond
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.