on 11-30-2009 12:27 PM
Hi,
Can anyone help me to get Vendor Numbers based on purchasing organization.
Example: Purchasing organization 1A, Vendor account no internal number range assigned is 10000-19999
Now we create new vendor code , it should be 1A10000, instead of 10000.
Please help.
Regards,
MG
Hi Manish,
You can use the BADI VENDOR_ADD_DATA for this purpose. Implement it and write the below code in method MODIFY_ACCOUNT_NUMBER
The code will be like below:
method IF_EX_VENDOR_ADD_DATA~MODIFY_ACCOUNT_NUMBER.
data : v_eko type ekko-ekorg.
get PARAMETER ID 'EKO' FIELD v_eko.
C_LIFNR = C_LIFNR+5(5).
CONCATENATE v_eko C_LIFNR INTO C_LIFNR.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = C_LIFNR
IMPORTING
OUTPUT = C_LIFNR .
endmethod.
It will resolve your problem.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can achieve with the help of sepearte accounting group with the external no combination.
the limitation in this we can create only one external number range for all accounting groups.
if it is okay for you then proceed accordingly.
Regards,
velu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To achieve that you need to use External Number ranges for Vendor MAster..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
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.