cancel
Showing results for 
Search instead for 
Did you mean: 

Business Partner Internet user

Former Member
0 Kudos

Hello Experts,

I have created a Person Business Partner

CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'

EXPORTING

businesspartnerextern = 'PER1'

partnercategory = '1' " c_partnercategory

partnergroup = '0002' "c_partnergroup

centraldata = e_centraldata

Then assigned a role of internet user

CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'

EXPORTING

businesspartner = 'PER1'

businesspartnerrolecategory = 'BUP005'

This all works , when i see in tcode BP and opened PER1,

In Internet user tab there is logon data and user roles , i want to create this , which function module will create it..?

This is required so that i can login to SNC

Thanks

Bijal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bijal,

The interner user creation is not supported through Business Partner BAPIs or Direct Input.

You would need to directly use the modules of the User Administration to create the user.

You can use the modules -

SUSR_USER_IN_BUFFER_CREATE followed by

SUSR_USER_BUFFERS_TO_DB

to create the internet users.

Hope this helps.

Regards,

Rishu.

Former Member
0 Kudos

Hi,

Thanks for your help,

I can create user with SUSR_BAPI_USER_CREATE , how will assign it to Business partner.?

Thanks

Bijal

Former Member
0 Kudos

Hi Bijal,

Actually, this functionality is not supported in Business partner BAPIs . However, you can use a workaorund -

there's a field XUBNAME in BUT000. You can use BUPA_CENTRAL_CHANGE to fill the user name into XUBNAME. Traditionally, XUBNAME was used to store the user name of the employee / central person / internet user BPs.

Best Regards,

Rishu.

Former Member
0 Kudos

Thanks Risha,

I updated the table BUT000-XBUNAME, using update statement.

Can you pls tell me how to do it using BUPA_CENTRAL_CHAGE.

Thanks

Bijal

Former Member
0 Kudos

Oops ! Sorry Bijal,

My mistake. XUBNAME is not supported in BAPIs/ APIs since internet user / central person is not supported !

This is supported only in transaction BP, and the SAP gui code fills XUBNAME into BUT000.

Sorry - you would need a modification to fill XUBNAME, exactly what you mentioned - using the UPDATE statement.

Regards,

Rishu.

Answers (1)

Answers (1)

Former Member
0 Kudos

Function CRM_ISA_UA_IUSER_CREATE will do the job. Contact person should already have the BUP005 role assigned.