Skip to Content
author's profile photo Former Member
Former Member

Scroll Bar missing in transaction PKMC after activation of User-exit

Hi,

I have added custom fields in transaction PKMC using the user-exit - MPKCCY01 but i am facing an issue of missing scroll bar after activation of the exit.

I am not able to find the exact issue.

Kindly help.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 06, 2011 at 01:41 PM

    Hi Kaushik,

    Welcome to SCN.Can you paste your code.

    Regards,

    Madhu.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Code in the include of 'FM EXIT_SAPLMPK_CCY_UI_001'

      data : l_pkhd like pkhd,

      • l_cust_pkhd LIKE cust_pkhd,

      l_mode type c.

      l_pkhd = i_pkhd.

      l_mode = i_mode.

      if not ( l_pkhd-zzmax_knbn_no = 0 and l_pkhd-zzmax_knbn_qty = 0 and l_pkhd-zz_container_iss = 0 ) .

      if l_pkhd-behaz ge l_pkhd-zzmax_knbn_no or

      l_pkhd-behmg ge l_pkhd-zzmax_knbn_qty .

      message 'Please enter correct value' type 'E'.

      endif.

      endif.

      *IMPORT l_cust_pkhd FROM MEMORY id '125'.

      export l_pkhd to memory id '123'.

      export l_mode to memory id '124'.

      Code in the include of 'FM EXIT_SAPLMPK_CCY_UI_002'

      data: l_cust_pkhd like cust_pkhd.

      import l_cust_pkhd from memory id '125'.

      e_cust_pkhd = l_cust_pkhd.

      In the PBO of screen

      tables : pkhd.

      import l_pkhd from memory id '123'.

      import l_mode from memory id '124'.

      if l_mode = 'X'. "Anzeigemodus

      loop at screen.

      if screen-group1 = '004'.

      screen-input = 0.

      modify screen.

      endif.

      endloop.

      else. "Aenderungsmodus

      loop at screen.

      if screen-group1 = '004' .

      • screen-active = 0.

      screen-input = 1.

      modify screen.

      endif.

      endloop.

      endif.

      pkhd-zzmax_knbn_no = l_pkhd-zzmax_knbn_no.

      pkhd-zzmax_knbn_qty = l_pkhd-zzmax_knbn_qty.

      pkhd-zz_container_iss = l_pkhd-zz_container_iss.

      In the PAI of screen SAPLXMPK

      l_cust_pkhd-zzmax_knbn_no = pkhd-zzmax_knbn_no.

      l_cust_pkhd-zzmax_knbn_qty = pkhd-zzmax_knbn_qty.

      l_cust_pkhd-zz_container_iss = pkhd-zz_container_iss.

      export l_cust_pkhd to memory id '125'.

  • Posted on Sep 06, 2011 at 03:27 PM

    Hi,

    Sometimes, standard subscreen area; in which your custom screen is called, has not the "scrolling" option activated. I don't know the reason. You can check that by activating the screen debug, and see in what standard screen your custom screen is included, and display the attributes of the corresponding subscreen area to see if this option is checked or not. If it's not ticked, then you have the explanation.

    Sandra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.