on 11-17-2014 2:39 PM
Dear All,
Need valuable inputs.
As part of Re-implementation we are copying the existing customer numbers to new system .
i.e External Number range assignment
After assigning all the existing number series ,requirement to check the last created number and assign internal customer
number series for newly customers.
Now the problem in when uploading external number range through LSMW ,Number Range status is not updating in XDN1 T-code.
Below screenshot first ,A1 is assigned to Customer Account Group for generating external number series.
But system not showing the Current number.
When creating internally changing the Customer Account group to A2 and internal number,Current Number is updating in table.
Please help is this correct way of creating the number assignment.
Where to check the current number status in external assigned number
Thanks & Regards,
Kumar Babu.
Yes, this is correct you will not get the number in XDN1 for external number range.
While uploading the customer using LSMW, you can provide the unique numbers by yourself (i.e. Manual) or you can write a logic:
LV_KUNNR = 450000,
Loop.
Search it in KNA1 (Select * from KNA1 where KUNNR = LV_KUNNR)
If yes (if sy-subrc = 0)
LV_KUNNR = LV_KUNNR +1.
else
LSMW-KUNNR = LV_KUNNR.
exit Loop.
endif.
endloop.
Your ABAP consultant can improve the performance of this Code in ABAP by using internal table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.