Application Development and Automation 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: 
Read only

Any other function module to create contact person except bapi_partneremployee_create

darshanadube
Discoverer
0 Likes
832

Hi,

I am using function module bapi_partneremployee_create to create contact person but somehow it is giving error in authorization object B_BUPA_GRP.

For the respective users authorization for object B_BUPA_GRP is not present.

Please let me know other function module which will not check object B_BUPA_GRP and also which will create contact person succesfully.

Thanks in Advance

Regards,

Darshana

3 REPLIES 3
Read only

Former Member
0 Likes
710

Hi,


Since a contact person is a business partner, you can use BAPI_BUPA_CREATE_FROM_DATA (category = 1) for your requirements.


Br.

Read only

0 Likes
710

Hi Christian,

Thanks for your reply..

but i want to do the same thing which tcode VAP1 is doing.

It creates contact person and then assign this contact person to customer in tcode BP...

could you please suggest for suitable..

Regards,

Darshana

Read only

0 Likes
710

Hi Darshana

In this case the user must have the authorization for the same. Imagine a situation if a person is allowed to create PO then only he can do it whether via FM/tcode or program. It is the best practice the person in your company who are going to create this partner shall have the authroization to do the same else it does not make any sense..

Nabheet