Skip to Content

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

Subscreen validations.

Dear friends,

I want to validate the sub-screen field.

from my main screen I am calling subscree which is having the dynamic select option.

I want to validate the subscreen select option field.

my code is like this:

PROCESS BEFORE OUTPUT.

CALL SUBSCREEN: MATKL INCLUDING SY-REPID '3000'.

PROCESS AFTER INPUT.

CALL SUBSCREEN: MATKL.

MODULE USER_COMMAND_0200.

Under USER_COMMAND_0200 I have writen the validation code:

SELECT * FROM zmmsortseq INTO TABLE itab_mfg

WHERE matkl IN r_matkl.

IF sy-subrc NE 0.

MESSAGE e000(zm) WITH text-010.

ENDIF.

r_matkl is my subscreen select option.

One the error message will triger I want to enable the select option again but its displaying in grey mode.

Thanks,

Sridhar Patlola.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question