Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

4 REPLIES 4

madhu_vadlamani
Active Contributor
0 Kudos

Hi Kaushik,

Welcome to SCN.Can you paste your code.

Regards,

Madhu.

0 Kudos

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'.

Sandra_Rossi
Active Contributor
0 Kudos

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

0 Kudos

Hi,

Problem still remains.

Please help.

Regards,

Kaushik