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: 

PA30 user exit is not getting called for change button

0 Kudos

Dear All,

i need to make some field output only for infotype 57 and some conditions while any record is to be changed.

so i had written the corrosponding code in user exit EXIT_SAPFP50M_001 and  EXIT_SAPFP50M_002.

but while i click the change button it is not going into the user-exits. (i checked it throught debugging)

why is this happening and what can i do to resolve this.

please help, <text removed>

With Regards

priya

Message was edited by: Matthew Billingham

1 ACCEPTED SOLUTION

former_member184569
Active Contributor
0 Kudos

Try the BADI HRPAD00INFTY.

Create an implementation for BADI HRPAD00INFTY.

Then create your logic in BEFORE_OUTPUT and AFTER_INPUT method.

Write some code and activate the implementation.

Insert a   BREAK-POINT.  line of code too and check.

One of these methods will definitely be triggered.

8 REPLIES 8

former_member184569
Active Contributor
0 Kudos

Try the BADI HRPAD00INFTY.

Create an implementation for BADI HRPAD00INFTY.

Then create your logic in BEFORE_OUTPUT and AFTER_INPUT method.

Write some code and activate the implementation.

Insert a   BREAK-POINT.  line of code too and check.

One of these methods will definitely be triggered.

0 Kudos

hi ,

thanks, after editing that badi my issue was resolved.

With Regards

Priya.

former_member188827
Active Contributor
0 Kudos

Check if your project is activated in CMOD.

Regards

raymond_giuseppi
Active Contributor
0 Kudos

17889951866133

0 Kudos

Hi Experts,

one problem is coming in this process.everything is working fine except, when enter is pressed in the current screen, all the flield which i made dissabled in the BEFORE_OUTPUT of  BADI HRPAD00INFTY, is again getting enabled.

please help.

with regards

priya

0 Kudos

Have you provided  the required coding in the user exits EXIT_SAPFP50M_001 and  EXIT_SAPFP50M_002 also?

0 Kudos

Does this field have to be output only always?

If so, there is another solution also.. This is very simple.  You dont have to provide any coding.

Go to SM30 - V_T588M - Maintain.

Enter module pool - I suppose it would be MP005700.

Select the screen , should be 2000 with feature P0057 specified.

Click the radio button Output field corresponding to your field that you want to make output only.

Save.

Now test your infotype in PA30.

0 Kudos

hi,

thanks for replying, but the screen have to be output only for modification operation.

earlier we considered what u suggested but that would make the filed output only for all operations,(ie. insert operation). That we cant do.

is it some way possible to modify the screen flied in pai, coz it is going into the code written in AFTER_INPUT in that badi, but afterwards that screen modification is not getting reflected.

any idea !!

with regards

priya