‎2016 Feb 01 9:40 AM
Dear all ,
I have added user fields in network activity in project system , however i have created Ztable and Table maintenance for SM30. but problem is user can enter data manually (which is not maintained in table ) and save the project.
Here i want to populate data which is only available in Table field with F4 help otherwise system should pop up error.
i have used class builder and FM : F4IF_INT_TABLE_VALUE_REQUEST .
Swapnil
‎2016 Feb 01 12:04 PM
Hi Swapnil
Why don't you check this in your program? For example, when a user-action happens. You can stop the execution of the action if the entry is invalid.
Another UI-side solution I can think of:
1. Make the field read-only
2. Place a button, e.g. "Select", next to your input field, which -when clicked- shows only the available values and lets the user select one.
I have seen examples where developers did not add an extra button and expected users to click the search help button or hit F4 of the read-only field. However, I would not recommend this as it is not intuitive.
Hope this helps.
*--Serdar
‎2016 Feb 01 12:52 PM
Hi,
Change the field to a drop down list and populate the list using the VRM_SET_VALUES function module. The user can then only select valid values or blank.
Rich