cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to import users data after exporting it

Former Member
0 Kudos

Hello,

I am using EP7 SP9.

I have exported a certain user's info and I would like to import it to another portal with the same version. The info contains one role and few groups.

When I do the import I receive this error: Warning: Role <role_name> not defined for individual users.

If I remove the problematic role and import just the groups I receive java.lang.NullPointerException.

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If the role doesn't exist, I can understand the first error. It you post the user data, we can see what is causing the null pointer...

Former Member
0 Kudos

Hi Michael,

The <role_name> it states does exist at the other portal and on the same pcd location. I think the error states it as well, it does exist but not for individual users... I just don't know what does it mean...

Below is the full export text, I tried to remove the whole role entry and got the Null Pointer Exception.

[User]

uid=HUGGK1

role=pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/WSHCLNT100/ZGPD_UPLOAD;pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/WSHCLNT100/ZGPD_VALREP_AE2;pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/WSHCLNT100/ZGPD_VALREP_ROLE;pcd:portal_content/com.bp.neela/com.bp.Roles/com.bp.GPDFileLoad;pcd:portal_content/com.sap.portal.migrated/SAPComponentSystems/roles/WSHCLNT100/ZGPD_VALREP_AE1;

group=GPDSTND;ZGPD_VALREP_ROLE;ZGPD_VALREP_AE2;ZGPD_UPLOAD;

last_name=HUGGK1

Former Member
0 Kudos

Is it possible one of the roles you mention has been assigned to one of the groups? In other words, are you trying to add a role to the user that they would have because they belong to a group that has the role?

Cheers

Former Member
0 Kudos

Hi Michael,

I am not sure what you mean but what I can say is that the groups you see are roles that have been exported from BI to the portal so you see them as groups...

Former Member
0 Kudos

Ahah, your UME is ABAP. You shouldn't try to do user to group assignment through user uploading. This should generally be done through PFCG or SU01 in the backend system.

Cheers

Former Member
0 Kudos

Why is that?

Former Member
0 Kudos

Because the ABAP administrators like to be the ones to do this...

Former Member
0 Kudos

So it is not possible doing it from the portal at all?

Former Member
0 Kudos

I suppose you could try playing with some UME parameters, but basically it will be challenging..

Cheers

Former Member
0 Kudos

I see, but when I manually assign a certain user to a ceratin BW group from the portal it is working. Why it's not working with an import than?

Former Member
0 Kudos

I didn't realise you had that set up.In that case the import should work. If you create the user manually can you then try the upload?