11-18-2005 12:25 PM
Hi All,
My requirement is I want to fire an exit to calculate the TTC value with BIC amount and Annual Salary when the user changes or saves ther value.
I have a User Exit "EXIT_SAPFP50M_002 " .
But I am not able to capture the changed value of BIC amount in this Exit as the Exit function Module Interface is not giving that parameter " Q0008-BETRG"
There is one structure cprel-data1, in which the data is displayed in encrypted format. So I am not able to capture that value.
So I don't have any source to capture the changed value into my user Exit.
That screen field is available till the time I call the Exit. But in the exit it is not available.
Can you pl some one help me on this.
Thanks
Bhavani Somaraju
11-18-2005 12:36 PM
Hi Bhavani,
1. This Exit works with infotype.
2. Hence, kindly tell which infotype are you talking about. (0008 ?)
3. Based upon the infotyupe, one can
convert the cprel data into required format.
4. Hence, let us know the above details
so that we can further work upon it.
Regards,
Amit M.
11-18-2005 1:26 PM
Hi Bhavani,
The entire new record (0008) will be available in this exit.
If you are on 47, pl try the following..
********************************************
tables:p0008.
data: rec_i0008_new like p0008.
field-symbols: <nnnn> type x,
<0008> type x,
<0008_new> type x.
case innnn-infty.
when '0008'.
assign ('INNNN') to <nnnn> casting.
assign ('P0008') to <0008> casting.
assign ('REC_I0008_NEW') to <0008_new> casting.
move <nnnn> to <0008>.
move <nnnn> to <0008_new>.
rec_i0008 will have all the new values entered by the * user
when others.
endcase.
*******************************************
Good Luck,
Suresh Datti