‎2007 Jan 17 12:31 PM
Hi,
I am doing a BDC conversion Technical Design. I am mapping a field( Customer number) from input file to the the SAP ZMAPPING Table. I am mapping customer number from the external file and from zmapping table i am getting the KUNNR.
The functional designer just wanted to make sure the zmappimg read uses numeric customers with leading zeros, alphanumeric customers without leading zeros.
How can i do. Please clear me. Very Urgent.......
Thanks.....
‎2007 Jan 17 12:59 PM
Hi Anil,
Another way is the like this
IF NOT kunnr IS INITIAL AND kunnr CO ' 0123456789'.
UNPACK kunnr TO kunnr.
ENDIF.
‎2007 Jan 17 12:47 PM
Use the below FM/Conversion routines:
CONVERSION_EXIT_ALPHA_INPUT
Conversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUT
Conversion exit ALPHA, internal->external
Regards
KER
‎2007 Jan 17 12:59 PM
Hi Anil,
Another way is the like this
IF NOT kunnr IS INITIAL AND kunnr CO ' 0123456789'.
UNPACK kunnr TO kunnr.
ENDIF.