on 10-18-2005 5:23 PM
hi all,
iam able to get a external HU identification number(VEKP-EXIDV) when the user creates a new HU from FM 'NUMBER_GET_NEXT' with input object 'HU_VEKP'. but how do i get int. number (VEKP-VENUM) for the corresponding EXIDV.i dont see any object for this
i need this for my HU packing logic in my custom transaction(to pack and unpack an outbound delivery after PGI) and also when i update the DB tables later on directly.(This has been decided after extensive research based on a number of factors).
thanks
Hi,
RV_VEKP is the number range object that you have to use..
You can use this with NUMBER_GET_NEXT to get next VEKP-VENUM..
FYI, Transaction for maintaining this number range is VNKP..
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks a lot..
it solved my problem but iam curious to know one thing.
if i go to vnkp i see that the current number(Contains the last number assigned for internal number range intervals is '2281'.)
but when i used the FM to get the next number in my program i got 2275.
i was expecting to see 2282 though.
is there some logic SAP has in this..
Using SNRO, give your HU_VEKP object and press 'Number Ranges'. In the subsequent screen, press 'Intervals' pushbutton with the glasses icon. It will take you to a screen where you will see 5 columns. In the fifth column, you will see checkboxes. If the box is not checked, then it is your internal number range. See the corresponding value under column one (Number range number). This is the value you need to pass to your 'NUMBER_GET_NEXT' function module parameter
'NR_RANGE_NR' along with the object HU_VEKP.
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In order to pack delivery using internal numbers I used BAPI_HU_CREATE to create HU and then BAPI_HU_CHANGE_HEADER to assign delivery number to HU and
finally WS_DELIVERY_UPDATE to pack delivery.
Krzys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.