Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

UDF Linked table in UDO

$
0
0

Hi experts,

 

I wanted to know if theres a way to create a field on a master document table which is used by a UDO that is linked to a UDT and shows up as a combo similar with what happens in a system form (Code1,Value1....; Define new value)

 

I created the field in a UDT that uses the linkedtable property to another UDT (I created using the type and size of the Code column in the UDT).

Then I bound an edittext inside the UDO to the created field but the valid values of the table doesnt show up. Then I tried to bind the field to a combobox, leaving the validvalues blank but again the values doesnt show up.

 

I used to fill the validvalues to the combobox by code in the formevent, but since I have lots of fields with the same behaviour and the linked tables have 100+ values each I have some performance issues when open the UDO form.

 

Note.- When accesing the userfields of the UDO in the right pane it shows the wanted behaviour but the same field in the UDO form doesnt load the validvalues. When I enter a random value which isnt a record in the UDT SAP throws an error saying the value is not valid so the validation process is correct.


Viewing all articles
Browse latest Browse all 3316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>