Skip to Content

User Exit in ML81N while saving

Hi,

I need to popup a window when a user clicks on save. On this window I will need agreement no.

I tried all the exits listed in the common list posted on various threads but it didn't help me.

Please provide me the solution.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 09, 2013 at 07:38 AM

    Hi Ekansh,

    Whenever the user clicks on SAVE the include LMLSRF0F is called and the subroutine PERFORM SAVE is executed.

    By writing the code for the popup in the include LMLSRF0F will popup a window when user clicks on save. You can use function module POPUP* for the popup window. The include LMLSRF0F contains enhancement spot so you can easily accomodate your code. Let me know if any additional information is required.

    Hope this helps.

    Thanks,

    Tooshar Bendale

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Rajesh,

      For ESLL entries, use the function module MS_READ_ENTRY_SHEET at the Enhacement Spot provided by Tooshar.

      Regards,

      Harshil

  • avatar image
    Former Member
    May 09, 2013 at 09:16 AM

    Hi,

    There are 2 options.

    Use screen exit

    Screen exits available for your application are,

    SRVDET : User screen on tab strip of service detail screen

    SRVEUSCR : User screen on entry sheet tabstrip

    OR

    Use FM

    POPUP_GET_VALUES to get the value.

    There are also FM where the value will be checked against DB

    Check the FG of this FM.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Guy's,

      Just in case if the process is automated (CATM) and there is a requirement to update any field then we can do it in FM MS_CREATE_SERVICE_ENTRY_MULTI. My requirement was to default the GL account once the service entry sheet is created. Create a source code enhancement at start of the FM and change the value.

      Hope it helps and saves time for others as i was trying to achieve it using one of the user exits found (SMOD-Package ML) and it did not worked.

      Thanks/AJ

  • avatar image
    Former Member
    May 09, 2013 at 07:33 AM

    Please search

    http://scn.sap.com/thread/1219087

    Mark if correct.

    Add comment
    10|10000 characters needed characters exceeded