cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for Action 0000

Former Member
0 Kudos

Hello,

I would like to know if it is possible to change the field

PSPAR-PERSG in infotype "action" -0000

via user exit ZXPADU01/2 ?

When I get p0000-MASSN = 10 ,i need to move 0 to

PSPAR-PERSG but via the user exits it is not possible.

Only when I debug and put in PSPAR-PERSG the value 0 it works.

Please let me know if there is away ...

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226519
Active Contributor
0 Kudos

use ZXPADU02 (process after input).

you get the data in parameter innnn.

Example:

data: pspar type pspar.

call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn

exporting

prelp = innnn

importing

pnnnn = pspar.

pspar-persg = '0'.

call method cl_hr_pnnnn_type_cast=>pnnnn_to_prelp

exporting

prelp = pspar

importing

pnnnn = innnn.

Former Member
0 Kudos

Hello,

I have just tried the above solution and I could nto get it to work. Any pointers?

Thansk!