Skip to Content

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

[MDE] Verification control function does not work on the new created screen

Hello Experts,

Here is a problem about MDE (RF) Screen Enhancement.

Generally speaking, MDE Verification Control Function does not work on the screen we customized.

For detailed info:

What we want is to create a new screen for tcode LM07, in the screen we want to add a print button and verification control function can be used (like material verification).

1. We copy a physical screen 2212 from SAPLLMOB to SAPLXLRF 9212. And delete ok_code from 9212, change it to sub-screen.

2. We use User Exit MWMRF212 to write some code to EXIT_SAPLLMOB_170 and EXIT_SAPLLMOB_480

3. Then we create a new entry in the spro (screen management) with screen variant 1.

Till now, we can realize the print function in the new screen of LM04.

However, when we configure the verification control function, we will verify each material in each TO. The verification field (RLMOB-CMATNR) can not be displayed.

We debug the program and find that logical screen which is used in user exit MWMRF212 has only two elements. One is ok_code, another is sub-screen, so that when loop screen in 1212, the verification fields was not displayed.

Code:

In flow logic of screen 2212(physical screen) and 1212(logical screen):

PERFORM TAP_DISPLAY. ---> PERFORM SET_VERIFY_FIELDS.

--->

IF VERIFICATION_TYPE-VER_SOURCE_MAT = VER_MAT OR

VERIFICATION_TYPE-VER_SOURCE_MAT = VER_ALTMAT OR

VERIFICATION_TYPE-VER_SOURCE_MAT = VER_EAN.

PERFORM DISPLAY_FIELD USING 'RLMOB-CMATNR'.

PERFORM CHECK_APPLIC_TAB USING 'RLMOB-CMATNR'.

ELSE.

PERFORM DISABLE_FIELD USING 'RLMOB-CMATNR'.

ENDIF.

For this problem, could you please help? If there is any solution on this? Thank you so much.

Kind Regards,

H.F

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