‎2010 May 20 7:34 AM
Dear All,
I am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
Regards
D. Mallick
‎2010 May 20 8:30 AM
am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
HI ,
You can activate only one function exit EXIT_SAPMM06E_012, But you must and should create below empty screen and active Using SE51.
SAPLXM06 0101
SAPLXM06 0111
SAPLXM06 0201
SAPLXM06 0211
SAPLXM06 0301
SAPLXM06 0311
Thanks & Regards
Sudheer Madisetty
‎2010 May 20 8:30 AM
am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
HI ,
You can activate only one function exit EXIT_SAPMM06E_012, But you must and should create below empty screen and active Using SE51.
SAPLXM06 0101
SAPLXM06 0111
SAPLXM06 0201
SAPLXM06 0211
SAPLXM06 0301
SAPLXM06 0311
Thanks & Regards
Sudheer Madisetty
‎2010 May 20 8:38 AM
Hi,
Check Sap note also
Note 563022 - ME21N: Runtime error 'DYNPRO_NOT_FOUND'
Thanks & Regards
Sudheer Madisetty
‎2010 May 20 8:59 AM
Activating one of enhancement's component affects all these components within that enhancement. You can't activate just part of it. You just don't implement those unecessary, hence there will be no coding executed once they are called at certain point.
As for the error. Try to identify the function exit which raises that error. Then go to its function group and ensure the called screen is there. If not try to create new one (don't know exactly if you will be able to do so as it is an SAP namespace).
Strange is that you don't get this error DEV but in PROD. Like some part of FG is not send correctly.
Regards
Marcin
‎2010 May 20 3:18 PM
Dear All,
With the help of Basis Team, I managed to find the error. If you see the documentation for enhancement MM06E005, it says
If you use the enhancement, you must create and generate the following
dynpros *(even if the dynpros are not going to be used):* .
In my case, I only needed to write code in EXIT_SAPMM06E_005 for validation in PO when you press check button. In a customer exit you cannot activate individual component , so you have to activate all of them or none. My issue got resolved by creating all the subscreens ( although I didn't need them for my development ). Once the subscreens ( 101, 201, 301, 111, 211, 311 ) got created and generated the error 'DYNPRO NOT FOUND' got resolved. Also make sure to put the screen attributes as subscreen.
Otherwise you will get a dump. Normally when you create a screen, a normal screen gets generated.
Thanks a lot.
Regards
Debopriyo Mallick
‎2010 May 20 10:25 PM
Debopriyo, thanks for the feedback! Don't forget to close the thread.
‎2010 Oct 06 8:00 AM
Hi,
had the same issue & solved with creating sub-screens.
thanks a lot for posting this thread.
Please mark this as solved.
Regards
Waruna Nadeep
‎2010 Oct 15 6:37 AM
The issue is closed. Thank you all of you for your support and cooperation
Edited by: DEBOPRIYO MALLICK on Oct 15, 2010 7:37 AM