cancel
Showing results for 
Search instead for 
Did you mean: 

Need consultancy on developing a program to update PA40 in background run

valai
Member
0 Kudos
119

I’m developing a batch input program to perform PA40 for Action Type 21 (Change EE Situation) in background mode (DIALOG_MODE = ‘0’). Several infotypes will need to be processed and it’s very likely to encounter messages (W, I, E) embedded in the MP* modules. Since these messages will interrupt the background run, is there a way to avoid this kind of message interruption? Is there any suggestion to develop a batch input program for PA40 and make it possible to update all infotypes successfully in background mode? Is there a FM/BADI to help on this?

Accepted Solutions (0)

Answers (2)

Answers (2)

ArthurParisius
Contributor
0 Kudos

Normally in background you only have to worry about the type E messages, and if they occur you will need to deal with them and not continue. The other type messages might occur but they should stop the processing.

BGibbons
Active Contributor
0 Kudos

Hi,

FM HR_MAINTAIN_MASTERDATA can be utilised to perform an action and process the relevant info types.

Also see standard ABAP RPUSTD00. Can be run standalone or via LSMW Object '0555'

bg