Skip to Content

SAP FPM Form Repeater UIBB dynamic programming.

Hi Experts,

I want to know how to change the form repeaters input fields length/Data type in form repeater UIBB dynamically. I have came across ET_FIELD_DESCRIPTION exporting parameter in form repeater interface-GET_DEFINITION method. In this exporting table there is a column called field length. I tried creating technical field in CT_DATA(within UI structure) and mapped the field name in GET_DEFINITION. And filled data for the column in GET_DATA. But the length is not reflecting in UI.

Am I missing something or some steps...!?

There was an another field called READ_ONLY_REF this worked perfectly fine for me.

System in use:

Component Release SP-Level SAP_APPL 606 0010

Thanks In Advance... 😊

Please let me know I you need further details on this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 04, 2014 at 01:26 PM


    you can use the field LENGTH_REF in the field description to declare another (technical) field as dynamic length reference. However, this does only define how many characters or digits can be entered by the user. As it is the underlying UX principle of the Form GL2 and Form Repeater, the visible field length is purely defined by column fit in the configuration and cannot be dynamically changed - unless you use completely dynamic configurations, IF_FPM_GUIBB_DYNAMIC_CONFIG with NW 7.40.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      you need to handle the add / remove actions by app controller. For each add you need to draw a new instance ID, so that FPM forces a new form instance. Then GET_DEFINITION and GET_DEFAULT_CONFIG gets called (once for each add, but this suffices). In GET_DEFINITION you build the field catalog for name value with correct type. In GET_DEFAULT_CONFIG you place the label value pair on the UI. The rest is standard.

      Regards, Jens