11-06-2013 10:35 AM
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
11-06-2013 10:47 AM
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.
11-06-2013 10:47 AM
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.
11-06-2013 11:20 AM
11-06-2013 10:55 AM
11-06-2013 11:07 AM
11-26-2013 9:30 AM
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
11-26-2013 9:37 AM
Have you provided the required coding in the user exits EXIT_SAPFP50M_001 and EXIT_SAPFP50M_002 also?
11-26-2013 9:46 AM
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.
11-26-2013 10:17 AM
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