I'm also facing the same issue.
I believe the UDO form should function in the same way as all other SAP B1 forms.
If the UDF is linked to a UDT, then the values should be available from a drop down list as with standard SAP B1 forms.
If I use the old style UDO 'matrix' style with drill down to the lines table, then the drop down works as required.
It doesn't work with the new 'header - lines' UDO form type.
Just found this SAP note: 1857246 with a workaround.
The scenario is as follows:
- Create User-defined Table (UDT) List_A , (Object Type: No Object/Document/Master Data)
- List_A has some values
- Create UDT Test1, (Object Type: Document/Master Data)
- Create User-defined Field (UDF) Field1 for Test1. Set Linked Table to List_A
- Register a User-Defined Object for Test1 with a Header Line Style Default Form
There is not drop-down list for the field on the Default Form.
CauseFVC
SolutionWorkaround As a workaround, you can use Screen Painter to edit the Default Form and create a custom Choose From List for the field.
- Register the UDT (i.e. List_A) as a User-defined Object (i.e. List_A_UDO). In the ‘Modifying Services’ step, ensure you select ‘Find’.
- Via Screen Painter, edit the Default Form.
- Add a Choose From List linked to the target UDO (i.e. List_A_UDO). Note that the Object Type for the Choose From List should be set to the UniqueID (OUDO.Code) of the UDO. Set the Choose From List for the relevant field.