Application Development 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: 

IDoc Conversion rule - wrong conversion exit used

christian_swonke
Participant
0 Kudos

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?

Regards

Christian

0 REPLIES 0