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

Conversion exit alpha output

Former Member
0 Likes
5,426


Dear all,

I'm using ALE to transfer MM from SAP system to another SAP system.

I made a conversion rule (BD79) but I have an issue with the field MATNR and the leading zeros.

Example:

Sender system : MATNR = 123456789

Receiver system : MATNR = 000000000123456789

I know that I have to use the CONVERSION_EXIT_ALPHA_OUTPUT ; but I do not know where use it ? in BD79 ?

Could you kindly help me.

In advance many thanks.

Virginie. Frigo

7 REPLIES 7
Read only

maryshchak_conti
Explorer
0 Likes
2,575

Hi,

you can use conversion rule

Regards,

Serge M

Read only

0 Likes
2,575

Hi,

Thank for your reply. Bit I have already try and it doesn't run.

I'm still getting 000000000123456789 in the receiver system. I would like to have the result 123456789.

Regards,

Virginie.

Read only

0 Likes
2,575

Hi,

you can try the conversion routine "EXKUN".

Regards,

Serge M

Read only

tharu
Contributor
0 Likes
2,575

Hi Viginie,

Why done you try this in ABAP code.

Data : lv_convert type string.

lv_convert = MATNR.


SHIFT lv_convert LEFT DELETING LEADING '0'.

Read only

Former Member
0 Likes
2,575

Hi Fernando,

I do not know ABAP development.

I would like to use standard ALE methods...

Thanks.

Virginie

Read only

0 Likes
2,575

Hi Virginie,

You can use function module "CONVERSION_EXIT_MATN1_OUTPUT" (same like CONVERSION_EXIT_ALPHA_OUTPUT)

or

ABAP code as explained in my above response.

Read only

Former Member
0 Likes
2,575

Hello Virginie,

Please try the function Module  CONVERSION_EXIT_MATN1_OUTPUT.

Here is sample program example and its output: