‎2015 Jan 15 2:26 PM
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
‎2015 Jan 15 2:56 PM
‎2015 Jan 15 3:14 PM
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.
‎2015 Jan 15 4:21 PM
Hi,
you can try the conversion routine "EXKUN".
Regards,
Serge M
‎2015 Jan 15 3:20 PM
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'.
‎2015 Jan 15 3:24 PM
Hi Fernando,
I do not know ABAP development.
I would like to use standard ALE methods...
Thanks.
Virginie
‎2015 Jan 16 8:51 AM
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.
‎2015 Jan 16 8:32 AM
Hello Virginie,
Please try the function Module CONVERSION_EXIT_MATN1_OUTPUT.
Here is sample program example and its output: