Problem solve Get help with specific problems with your technologies, process and projects.

Getting around selection screen problems

Got select-option problems? This tip offers a neat workaround.

I have a select-option like:
SELECT-OPTIONS S_MATNR LIKE MARA-MATNR.
Now, the problem is that the user wants to enter a list of values in the extended value option (the arrow icon). But because of "AT SELECTION-SCREEN" validation, the error comes first and does not allow the user to go any further. Of course, a simple "*" produces the wanted result, but it would be nice if the event is not triggered when the arrow icon (multiple selection) is clicked. So how do we get around this problem?

Go into DEBUG mode and capture the Function Code of that extension box and you validate against that SY-UCOMM

Example:

AT SELECTION-SCREEN.
   IF SY-UCOMM <> '%015'.
      PERFORM MATERIAL_NUMBER.
   ENDIF.


Dig Deeper on SAP ABAP

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close