‎2009 Apr 23 6:21 AM
Hi Experts,
I am using a new conversion routine MATN4 in place of MATN1 for the domain MATNR.
So I created two Function modules
CONVERSION_EXIT_MATN4_INPUT and CONVERSION_EXIT_MATN4_OUTPUT.
The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs the conversion from internal format to display format.
My requierment is that always the input and output should be same but internally it will link to the internal material no.
So in my FM CONVERSION_EXIT_MATN4_INPUT I am using the EXPORT statement to store the data of a variable in Memory and in FM CONVERSION_EXIT_MATN4_OUTPUT I am IMPORTing that data to display.
When I am creating a salesorder the input and output remains the same and linking to the material No.
But issue is that the for all the line items same output is displayed.
So please help me to rectify this issue.
Thanks in Advanc
‎2009 Apr 24 5:36 AM
Hi,
I did not understand why you need to create separate conversion routine. And I donu2019t see any use of this in the sales order creation. In sales order you will have the material in the external format only.
Coming back to your problem I think the in routine EXPORT/IMPORT is not working properly and you have the same value of the variable in the CONVERSION_EXIT_MATN4_OUTPUT. Please check this might be one of the reasons.
Thanks.