11-09-2006 10:25 AM
Hello all
Can you please tell me what i do wrong i inplementing badi for an infotype. I want to change some fields on the screen with a PAI module.
My code look's like this
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = new_innnn
IMPORTING
pnnnn = k2002.
some modifications
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = k2002
IMPORTING
prelp = new_innnn.
I have no errors but datain fields still the same.
regards
Andrzej
sorry for my english
11-10-2006 9:27 PM
Hi Andrzej,
please send the whole code and tell us which method of the BAdI do you use?
Regards
Bernd
02-15-2008 12:14 PM
I am doing the exact same thing, and I have the same problem. What is the solution to this? So inside the Badi i do the changes, but as soon as the method has been called, the data is lost to the calling instance...(ie, the old data returns to the structures).