2009 Jun 22 8:17 PM
Hi Friends..
I used below statement in my function module it works fine for hu = '000000BOXNO1'.
if the value having character with leading zeros , it works fine.but if the value hu = '0000000045781'
it was not working. at that moment conversion_exit_alpha_output is working.
so how can I achieve both the functionalitites in single statament.
-
shift hu left deleting leading '0'.
conversion_exit_alpha_output.
MOVE hu TO exhu.
*Begin code changed by Gowrishankar on 06-june-2009
SELECT SINGLE vhilm FROM vekp into vhilm WHERE ( exidv = hu or exidv2 = hu ) AND status NE '0060'.
-
Thanks
Gowrishankar
Gowrishankar,
Handling unit field VENUM has conversion exit ALPHA defined in the domain VENUM. Please convert the value of HU to internal value before SELECT query like this.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = hu
IMPORTING
output = hu.
.
I see a reference of conversion exit below in your code why that has been commented?
Regards,
Gajendra
2009 Jun 22 8:27 PM
2009 Jun 22 9:09 PM
Gowrishankar,
Handling unit field VENUM has conversion exit ALPHA defined in the domain VENUM. Please convert the value of HU to internal value before SELECT query like this.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = hu
IMPORTING
output = hu.
.
I see a reference of conversion exit below in your code why that has been commented?
Regards,
Gajendra
2009 Jun 22 9:36 PM
Hello,
Can you please explain your query more clearly. It would be easy to provide solution.
Thanks & Regards,
Anand Patil
2009 Jun 26 1:48 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |