cancel
Showing results for 
Search instead for 
Did you mean: 

Personnel number is blank in Identification Tab of BP

former_member185241
Active Participant
0 Kudos

Hello Everyone,

I am using FM  CRM_BUPA_CREATECENTRALPERSON and passing the BP Guid, user id. Now Userid is assigned to BP, I can see in the Identification Tab. But Personnel number is blank. How should i assign Personnel number to BP.

I tried with FM BP_BUPA_CREATECENTRALPERSON also but same result.

Thanks in advance,

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

kapilpatil
Active Contributor
0 Kudos

Hello Abhishek,

You can refer standard SAP FM BUCP_BUPA_EVENT_DSAVE

call function 'BP_BUPA_CREATECENTRALPERSON'

            exporting

                 iv_bu_partner_guid = gt_empl-partner_guid

                 iv_employee_id     = gt_empl-employee_id

                 iv_user_id         = gt_empl-username

                 iv_name            = lv_emnam

                 is_bus000          = ls_bus000

                 iv_no_commit       = gc_x

                 iv_asynchron       = lv_xasynchron.



I hope this helps.

Thanks,

Kapil

former_member185241
Active Participant
0 Kudos

Hello Kapil,

I think i am not passing Employee ID to this FM. I am passing only Partner_guid and UserID and getting personal number.

Do you know what is this employee id ?

Thanks,

Abhishek

kapilpatil
Active Contributor
0 Kudos

PERNO from BUT000

Thanks,

Kapil

former_member185241
Active Participant
0 Kudos

Hello Kapil,

Passing Employee id is not updating the BUT000 table and so Identification Tab still has blank in Personnel Number.

When i passes employee id FM CRM_HRPERSONEE_INSERT will get called and it will update HRP1001 Table.

Thanks,

Abhishek

kapilpatil
Active Contributor
0 Kudos

Hello Abhishek,

If you have integration with HR Active, you will not be able to populate Personal Number in CRM. The personal number and User will be populated from HR using ALE.

Check SAP note 550055

I hope this helps.

Thanks,

Kapil

former_member185241
Active Participant
0 Kudos

Hello Kapil,

But I am able to Populate User Name to through CRM_BUPA_CREATECENTRALPERSON.

And I can see userid in Identification Tab.

Thanks,

Abhishek

kapilpatil
Active Contributor
0 Kudos

Hello Abhishek,

Personnel number  and User Name are two different attributes. In an ideal world Personnel number in SAP CRM is populated from back end systems like ECC or HR.

If your SAP CRM has integration with HR system?


Thanks,

Kapil

former_member185241
Active Participant
0 Kudos

Hello Kapil,

My SAP CRM system has integration with HCM system. But i need this functionality for Test users, that is why i have to create a new BP and assign userid, role to it then assign it to position.

My coding is working fine for all other things except Personnel number assignment.

Thanks,

Abhishek

Former Member
0 Kudos

Hi,

   If the set the integration with HCM system flag, you can't create employee by Transaction BP.

B.R

former_member185241
Active Participant
0 Kudos

Hello cheney,

I am not creating employee through BP tCode. I am using FM to create BP and then assigning Employee Role to it. Later i am adding UserId. And Employee id also has to be added via FM.

Thanks

Former Member
0 Kudos

Hi,

   Maybe you should create partner via FM BAPI_BUPA_CREATE_FROM_DATA first, then Commit. Second use FM BAPI_BUPA_ROLE_ADD_2, then commit.  Use the FM BP_BUPA_CREATECENTRALPERSON to add the userid and employee id, then commit.

  B.R.

  Cheney

Answers (0)