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

IDoc processing language

Clemenss
Active Contributor
0 Likes
1,910

Hi IDocers,

we have ORDRSP (base type ORDERS05) inbound Idocs set to automatic processing.

Now we found out that the processing language changes from IDoc to IDoc. We have to take care of this behaviour because the existing processing function (now under reconstruction) uses CALL TRANSACTION to maintain pricing conditions.

This fails if the condition units (e.g. ST vs PC) are not supplied in processing (logon) language.

Pls. let us know if there is a safe way to find out the actual language from the IDoc and (additionally) if there is a function module for UNIT translation.

TIA,

Clemens

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

Hi,

Did you set the defaults for the user id, which processes the idocs? Find out the user id which is used to process the idocs and then go to t.code: SU01 and under the Defaults tab you can set the default language.

If you are using a custom FM to process your inbound idocs, then you can also set the default language usign the SET LANGUAGE command.

And, for converting/translating the units you can use this FM:

1. CONVERSION_EXIT_CUNIT_OUTPUT - This will convert ST into PC

2. CONVERSION_EXIT_CUNIT_INPUT - This will convert PC into ST

Hope this helps,

Sumant.

null

2 REPLIES 2
Read only

Former Member
0 Likes
911

Hi,

Did you set the defaults for the user id, which processes the idocs? Find out the user id which is used to process the idocs and then go to t.code: SU01 and under the Defaults tab you can set the default language.

If you are using a custom FM to process your inbound idocs, then you can also set the default language usign the SET LANGUAGE command.

And, for converting/translating the units you can use this FM:

1. CONVERSION_EXIT_CUNIT_OUTPUT - This will convert ST into PC

2. CONVERSION_EXIT_CUNIT_INPUT - This will convert PC into ST

Hope this helps,

Sumant.

null

Read only

Clemenss
Active Contributor
0 Likes
910

Hi,

the IDocs come from XI via user ALEREMOTE. It could not be determined what triggers the deviation in LogOn languages.

OK, in BI we convert the quantity units using CUNIT_OUTPUT. Thanks.

Regards,

Clemens