cancel
Showing results for 
Search instead for 
Did you mean: 

Creating employee with BAPI_BUPA_FS_CREATE_FROM_DATA2 - USERNAME

0 Kudos
177

Hi.

I´m using BAPI_BUPA_FS_CREATE_FROM_DATA2 to create employee, by using role, and it works fine. Now I need to fill USERNAME field, but I can´t find any structure or table into BAPI_BUPA_FS_CREATE_FROM_DATA2 to fill data.

I receive username data from an interface.

Some body help me please.

Thanks and regards.

View Entire Topic
Former Member
0 Kudos

Hi Jorge,

I was going through this thread when I cam across your query. I have a question. What is the functional use of the Username Field with the BP Create Scenario? There are a couple of fields in the BUT000 Table which will have CREATED BY and CREATED AT information which stores the logged on user information. Are you trying to fill those information by any chance?

Thanks,

Samantak.

0 Kudos

Solved.

First, BP must be created with BAPI_BUPA_FS_CREATE_FROM_DATA2. Then I gets Partner GUID with BAPI_BUPA_GET_NUMBERS, but BP is not assigned to a structure, and it´s not a central person. Central person must be created also, with BP_BUPA_CREATECENTRALPERSON, and with person ID assign username with BP_CENTRALPERSON_ASSIGN_USER.

I hope it will be helpful for anybody.

Regards.

Former Member
0 Kudos

Hi All

really helpful , i was looking for exactly the same.

Thanks!

Regards

Sachin