Application Development and Automation 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: 
Read only

Disable screen fields in exit

Former Member
0 Likes
499

Hi All,

In user exit EXIT_SAPFP50m_002 for update wage amounts DA , HRA, I have used code below:

call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn

EXPORTING

prelp = innnn

IMPORTING

pnnnn = I0008.

I am able to update all the amounts as per the logic. What I have to do is the wage amounts fields of DA, HRA in table control should be disabled after updation.

So, I thought to change the screen input.I write the logic in user exit:

Loop at screen.

Check screen-name = ‘Q0008-BETRG’

If screen-input = 1

Screen-input = 0.

Modify screen.

Endif.

Endloop.

But screen does not capture the subscreen for wage amounts, it captures only main screen.So, how can I disable input of subscreen.

Q0008-betrg comes under subscreen-TC0008.

If I use call subscreen subscreen_TC0008 including ‘MP000800’ ‘0300’. It gives syntax error.

Please help. Points will be awarded.

Hi All,

In user exit EXIT_SAPFP50m_002 for update wage amounts DA , HRA, I have used code below:

call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn

EXPORTING

prelp = innnn

IMPORTING

pnnnn = I0008.

I am able to update all the amounts as per the logic. What I have to do is the wage amounts fields of DA, HRA in table control should be disabled after updation.

So, I thought to change the screen input.I write the logic in user exit:

Loop at screen.

Check screen-name = ‘Q0008-BETRG’

If screen-input = 1

Screen-input = 0.

Modify screen.

Endif.

Endloop.

But screen does not capture the subscreen for wage amounts, it captures only main screen.So, how can I disable input of subscreen.

Q0008-betrg comes under subscreen-TC0008.

If I use call subscreen subscreen_TC0008 including ‘MP000800’ ‘0300’. It gives syntax error.

Please help. Points will be awarded.

1 REPLY 1
Read only

Former Member
0 Likes
421

Hi,

In the screen for the element please see if any enhancement points are there in the PBO modules...

Pls check and revert

Regards

Byju