Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Conversion

Former Member
0 Likes
696

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.....

1 ACCEPTED SOLUTION
Read only

marius_greeff
Active Participant
0 Likes
499

Hi Anil,

Another way is the like this

IF NOT kunnr IS INITIAL AND kunnr CO ' 0123456789'.

UNPACK kunnr TO kunnr.

ENDIF.

2 REPLIES 2
Read only

Former Member
0 Likes
499

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

Read only

marius_greeff
Active Participant
0 Likes
500

Hi Anil,

Another way is the like this

IF NOT kunnr IS INITIAL AND kunnr CO ' 0123456789'.

UNPACK kunnr TO kunnr.

ENDIF.