on 10-17-2014 4:56 AM
Hi,
I have customized standard FPM configuration which have Text fields and types are associated from Feeder class, would like to restric few fields to 100 char length. Could not able to find properties in FPM Component configuration attribues, any help would be appreciated. Thank!
Hi Manikandan,
I dont know if we can restrict the no of characters in Component Configuration in FPM. We have an option to limit the UI width.
You can restrict the length through Get_definition Signature parameter " ET_FIELD_DESCRIPTION ".
Just change the length to your limit for the specific field and set "LENGTH_BY_DDIC" as abap_false.
This should work.
Regards,
Arpitha Nayak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arpitha,
Thanks for your reply, I have redifine GET_DEFINATION method and implemeted below code
and still no luck. But when i tried to change the label text by same code its working only size restriction is not working.
The actual field domain for that TEXT field is String and element configured through FPM is TextEdit element, do you think this any of this causing issues?
Thanks in advance.
ls_field_description-length = '50'.
ls_field_description-length_by_ddic = abap_false.
MODIFY et_field_description FROM ls_field_description INDEX sy-tabix.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.