Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Default selection for input field


I have two fields on my selection screen. When the user clicks the drop down for the second field the possible values displayed is dependant on the first field. I have done this using AT SELECTION-SCREEN ON VALUE-REQUEST FOR and CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'. This is working correctly

I want to be able to populate the second field with all of the possible values by default.

So I want a user to enter a name in the first field and have the second field automatically populated with several names depending on whats in the first field.

Is this at all possible?

Former Member

Hello Simon,

If you manually type the value in the first field i suppose you cannot have the data populated in the second field automatically. The application has no way to know that the value in the first field has been changed / inserted.

As suggested by Ram you either attache a dropdown list to the first field or create an F4 help. Because as long as there is no user interaction in the screen the application cannot trigger an event on its own

Hope you get the point.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question