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: 

How to create another infotype at background?

Former Member
0 Kudos

Hi,

I'm facing a problem that when I create a record in infotype 9022), when I click the save button, it will populate the data and save to IT 0027 at the background as well.

How can I do this? I tried to use BDC at the last part of the user command function at PAI but it said the employee is locked by me when create IT 27.

Your help will be highly appreciated.

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

try this.

First create the Infotype 9022.

after save button is clicked call one of the fun module which will unlock that Pernr(employee ) then Submit/call the bdc program to populate the data and save to IT 0027 .

Regards,

Anji

3 REPLIES 3

Former Member
0 Kudos

I've tried Dynamic action to call a BDC to create the IT 27 once the Save button at IT 9022 is clicked. However, it said that I'm locking the employee.

How can I solve this?

Former Member
0 Kudos

Hi,

try this.

First create the Infotype 9022.

after save button is clicked call one of the fun module which will unlock that Pernr(employee ) then Submit/call the bdc program to populate the data and save to IT 0027 .

Regards,

Anji

0 Kudos

Have you tried FM HR_INFOTYPE_OPERATION?