cancel
Showing results for 
Search instead for 
Did you mean: 

Number Range of a Contact Person in Vendor like UI in MDG-S.

former_member230136
Contributor
0 Kudos

Hello Guyz,

As we know that contact person is also a BP in MDG, so we have to assign the Account Group to the Contact Person, so that it picks the assigned Number Range for a contact person. Below is the screenshot in the system.

Number Range for the BP:-

BP Groupings :-

T-Code VPN1

The situation as it is working as normal. BP is getting created with the same number as the contact person in the KNVK table.

Now, the issue is If I put the number range for contact person as external in VPN1, then it wont create any records in KNVK table.

What the standard process here to create the BP & Contact peron (KNVK) with the same number.

Thanks,

Rohit

former_member230136
Contributor
0 Kudos

I maintained the same number ranges for both BP and Contacts, this worked fine for few days. We got a CVI error and only BP got created & Contacts were not created. So the NR status went out of sync for BP and Conatcts number ranges.

Can we make number range of Contacts as external and while creating whether it will take BP number?

Regards,

Rohit Singh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Rohit,

Did you find solution to above problem? If yes, please share.

Thanks and regards

Abhimanyu Singh

former_member230136
Contributor
0 Kudos

Hi Abhimanyu,

2 months are already passed but the number range is still in sync at the moment :).

All I can say that I analysed one CR that failed to create Contact Person because the user didn't put the Last Name ( in Contact Person details).

CR went to status Final Check Approved, but if failed to create the BP as Contact Person, because it already consumed the number range for a BP so it went with the next number.

However in the CVI_MAPPER class you can see the code, as in once the BP is created for Vendor or Contact Person, it will go ahead and trasfer the details to a Vendor (new) and Contact Person(new). It didn't happen.

I went ahead and made the Last Name as mandatory for Contact Person. Till now everything is good and I am still waiting for this sync going for a toss.

This is what I can think of as of now.

What I fail to understand as in why there is no config which says Same Number for a BP & Contact Person.

Cheers,
Rohit

former_member190949
Active Participant
0 Kudos

Hi Rohit,

For Last name mandatory you could implement the SAP note 2387143.

Sorry..this is not regadring the original question of number range but when I read your answer mentioning Last Name I remembered this note.

Thanks,
Kavita

former_member230136
Contributor
0 Kudos

Thanks Kavita for the Note.

Appreciate that!

0 Kudos

Can you please let me know the note number

former_member206605
Active Contributor
0 Kudos

Hi

When you maintain the grouping in view click on same number. With this you will get the same number for both

Table name - V_TBD001

Kiran

former_member230136
Contributor
0 Kudos

Hi Kiran,

This view is for BP & Customer Record maintenance. How can I maintain the Grouping here in order to make BP & Vendor Contact Person have the same number.

-Rohit

former_member206605
Active Contributor
0 Kudos

You can view it through IMG as well - for both customer and vendor...

Path - SPRO-cross application components-master data synchronization-customer/vendor integration-business partner settings - settings for vendor integration - field assignment for vendor integration - assign keys - define number assignment for direction BP to Vendor

kiran

Former Member
0 Kudos

Hi,

I guess you need to set the number manually when the number range is external.

You can try to assign the value to BP_REL/PARTNER2 using the BADI USMD_RULE_SERVICE, filtering by ENTITYTYPE = 'BP_REL' and MODEL = 'BP' - Method IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY.

In my case, I use another number range for contact person, assigning a different group in BP_HEADER/BU_GROUP (through BADI).

Thanks,

Evandro.

former_member230136
Contributor
0 Kudos

Hi Evandro Klen Stephen de Azeredo,

BADI only deals with the Partner Details. CVI mapping is responsible for creating a Vendor or Contact Person out of BP & BP Relation. So I am not sure whether this solution will work.

The Creation of Vendor Contact Person(KNVK) out of BP Contact Person (BUT000) happen in the Class CVI_MAPPER Method MAP_BPS_TO_VENDORS at the time of activation of CR.

Inside this method, there is a call of CVI_EI_API=>GET_CONTACT_PARTNER_NUMBER method to get the Contact Person Number Range which is hard coded to 'AP' (This Range can be accessed by VPN1).

I do not see any other config which can manage this situation. That's why whole solution is stuck at this point.

Regards,
Rohit

former_member230136
Contributor
0 Kudos

Hi Guyz,

Please share any support/guidance as to how to tackle this.

As these out of sync situation is occuring every after 2-3 weeks.

former_member190949
Active Participant
0 Kudos

Hello Rohit,

Were you able to resolve this? We are facing a similar issue.

Please let me know how you resolved this.

Thanks

Kavita

former_member230136
Contributor
0 Kudos

Hi Kavita,

Nope, Its a long over due Issue. I have notified this issue to Client IT team, they are raising a Customer Message to SAP.

Lets see

Thanks,

Rohit Singh

former_member190949
Active Participant
0 Kudos

Hello Rohit,

In case you reach a solution, please update it in this question.

It would be a good learning for future.

Thanks,

Kavita