Skip to Content
avatar image
Former Member

Update wagetype amount on Infotype 0008 via user-exit

Hi,

I'm trying to update the wagetype amount on Infotype 8 during PAI using EXIT_SAPFP50M_002. I'm successfully changing the value of I0008-betxx but the value is not reflected on the screen. The corresponding screen field is Q0008-betrg.

Structure Q0008 does not exist as a parameter to this function module so how should this field be updated?

Another post suggested to use FM FC_SET_DYNPRO_SET_VALUES to update the screen values but shouldn't this be handled by the SAP standard module pool?

Any examples will be appreciated.

Kind regards

Liza-Marie

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 08, 2007 at 08:36 AM

    Do you want to display changed value on the screen then you should be doing it in PBO rather than PAI? There is an example in LXPADF01 for using this exit, probably that will help you.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Yes, the changed vale should be displayed on the screen after the the user has changed the value of P0008-TRFGR. However, the PBO is not called again after the PAI. I tested this with a break-point in the PBO.

      Regards

      Liza-Marie

  • avatar image
    Former Member
    Feb 08, 2007 at 10:18 AM

    use set parameter id for the field in the screen

    Add comment
    10|10000 characters needed characters exceeded

    • Hi ,

      I am facing the same prroblem.

      calculated all values but in display mode it is not reflecting the calculated value ..

      i m trying to use your code :

      >     if sy-ucomm ne 'UPD' and sy-ucomm ne 'UPDL'.

      >       show_data_again = 'X'.

      >     endif.

      but still not getting..

      need to display

      1spl wage type(bet06) and total amount (sumbb)

      please guide....