cancel
Showing results for 
Search instead for 
Did you mean: 

BAdI HRPAD00INFTY before output

former_member226519
Active Contributor
0 Kudos

I try to set field P0001-ANSVH in BAdI HRPAD00INFTY Method BEFORE_OUTPUT during a hiring action.

In debug modus I can see: P0001-ANSVH is set correctly.

Than, of course, I give P0001 back to Innnn.

But infotype field remains empty.

What's wrong?

Accepted Solutions (1)

Accepted Solutions (1)

former_member226519
Active Contributor
0 Kudos

Hiring creates new records.

Solved the problem by using good old CMOD exit.

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
  1. This method is only executed during creaton of a new record (psyst-nselec not initial)
  2. Is a legacy implementation of EXIT_SAPFP50M_001 yet active (and why didn't you use it in this case)
  3. Are you trying to change an input parameter ('Than, of course, I give P0001 back to Innnn.', no dump?) or do you call yourself cl_hrpa_infotype_container using some reference of main program data