Skip to Content
author's profile photo Former Member
Former Member

User Exit : for update TTC value in PA30

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.