Skip to Content

[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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Sep 03, 2010 at 01:50 AM

    Could Experts help on this?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2010 at 06:31 AM

    Hi,

    Did you find any solution to your issue?

    I am also having similar kind of issue. If you can guide me on this. I am describing my issue below:

    I need to add verification for field dock door of tcode LM05 using user exit MWMRF302.

    I have created 9302 screen in program SAPLXLRF and deleted ok_code from it, changed it to sub-screen.

    Then i have created a new entry in the spro (screen management) with screen variant 1.

    But i am unable to understand what code i need to write in EXIT_SAPLLMOB_520 so that verification of that particular field will take place.

    Also, do i need to code both EXIT_SAPLLMOB_210 and EXIT_SAPLLMOB_520?

    Can you please help me with this.

    Thanks,

    Archana

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 29, 2010 at 06:55 AM

    Hi Archana,

    Yes, this problem has been solved by myself.

    To use verification function on new customized screen, you have to write some ABAP code in your PBO of sub-screen. Or u can copy standard ABAP code to your PBO in your sub-screen.

    You can raise MDE problem here, I'm just in a MDE implementation project, we can discuss it.

    Kind Regards,

    HF

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am creating new thread for this in the same forum.

      Please guide me in that thread.

      Thanks,

      Archana

      Edited by: Archana Pawar on Nov 29, 2010 8:11 AM

  • Nov 30, 2010 at 02:03 PM

    This problem has been solved by myself. Now it's closed. Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07, 2011 at 07:35 AM

    Hi Huang,

    I have a requirement as below,

    Userexit MWMRF800 u2018ENHANCEMENT FOR USER SCREENS (LOGICAL SCREEN 0800)u2019

    The SAP RF standard screen 2800 of function group LMOB has to copy to the custom screen 9800 of function group XLRF.

    And Create the variant 1 for the custom screen 9800.

    As i am new to screen enhancement, Can you please tel me how to resolve the two abve( create custom screen

    and create variant for the custom screen).

    I opened the new thread but no answer . I have seen you also did the same what I need to do.

    Please help me out to resolve this

    Add comment
    10|10000 characters needed characters exceeded