Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI HRPAD00INFTY - please help

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

Hi Andrzej,

please send the whole code and tell us which method of the BAdI do you use?

Regards

Bernd

Former Member
0 Kudos

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).