Skip to Content

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

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.



bp-nr.png (19.4 kB)
bp-grouping.png (86.9 kB)
vpn1.png (14.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • 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?


    Rohit Singh

  • Follow
  • Get RSS Feed

4 Answers

  • Apr 03, 2017 at 11:59 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2017 at 05:52 PM


    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).



    Add comment
    10|10000 characters needed characters exceeded

    • 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.


  • Jun 30, 2017 at 05:40 AM


    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


    Add comment
    10|10000 characters needed characters exceeded

    • 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


  • avatar image
    Former Member
    Aug 21, 2017 at 08:05 AM

    Hi Rohit,

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

    Thanks and regards

    Abhimanyu Singh

    Add comment
    10|10000 characters needed characters exceeded