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: 

User Exit : for update TTC value in PA30

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

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