Skip to Content

IDoc Conversion rule - wrong conversion exit used

Hi experts,

I am using a IDoc conversion rule to convert a send value from external system to internal value of SAP system (material number).

So I created a rule with BD62, defined the conversion with BD79 and assigned the message code with BD55.

The problem is that the value is not converted correct.

To do the right conversion CONVERSION_EXIT_MATN1_INPUT has to be called.

When conversion rule is reached during programm execution this is working fine in a first step. (Report SAPLKCDS - Form FIELD_CONVERSION)

In a later step (same report, form routine MAP_DIMENSIONS) the the converted value will be converted back with CONVERSION_EXIT_MATN1_OUTPUT.

The reason is a value in parameter D_LIST. Here the OUTPUT-routine is set.

The reason why here the OUTPUT-routine is set, is the parameter ANWDG of table KCDSM. In case of ALE conversion this value is set to V (ALE services). If the value is V INPUT conversion routine will be replaced by OUTPUT-conversion routine all time.

Do anybody know what is wrong or how I can force the right conversion function module?

My receiver and sender number is similar - but different ports. I don't know if this is a problem?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers