cancel
Showing results for 
Search instead for 
Did you mean: 

Number range problem SD_CUSTOMER_MAINTAIN_ALL

Former Member
0 Kudos

Hi All,

I am using SD_CUSTOMER_MAINTAIN_ALL to create customer. Everything is fine but after creating customer and i will go and check in (OVZC) the next number showing wrong.

To be clear : OVZC is the t-code to display/change Customer number range . Suppose in OVZC the next number is 5000100 and i created 2 new customers then the next number (OVZC) should be 5000102. but it is showing 5000104. I didn't is used any commit statement.

Any help will be appreciated.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Naresh,

same question as in your other thread.

The answer is therefore the same.

Hi Naresh,

SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.

It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.

This is precisely what you face in your case.

For the maintenance of customers, there is NO BAPI and NO direct function module.

There are some functions modules like the one above where the name is looking nice. But these should not be used.

  • Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462

  • Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API

Hope this helps

BR

Alain

Former Member
0 Kudos

hi,

Just check the database table KNA1/KNVV how many customers exist from 5000100 to 5000104 if only two entries are exist then there is problem in ur coding...else check in debugging any simulation ur caryying in runtime.

Regards,

kishore.

Former Member
0 Kudos

Hi Kishore,

I checked in table KNA1 it is showing 1,2 there is no 3,4. But in t-code SNRO object : DEBITOR

No. of numbers in buffer = 5 is this cause ?

Former Member
0 Kudos

Hi Naresh,

Can you check with the basis consultant if buferring has been switched on. If yes, it is possible the numbers are stored in the buffer for quick access and that's why you see the numbers missing. Can you also create another customer and check which no is being assigned, whether its 5000102 or 5000104.

Regards

Nadarajah Pratheb