cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Could Experts help on this?