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

CONVERSION_EXIT_CUNIT_OUTPUT issue

Former Member
0 Likes
8,353


I have a piece of code which is called from a sap script. The code is calling fm CONVERSION_EXIT_CUNIT_OUTPUT to convert the Unit in the language in which the form has been trigerred.



   
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT'

     
EXPORTING

       
input          = fwa_datain-value

       
language       = lw_lang

     
IMPORTING

       
output         = fwa_dataout-value

     
EXCEPTIONS

        unit_not_found
= 1

       
OTHERS         = 2.

So when form is trigerred in language DE , i want to convert the UOM into corresponding UOM in language DE. (In language EN the Unit is CS, in German its VE)

The conversion is working in development client but when the code moved to quality it no longer converting the UOM.

What might be the reason?

If I change the trigerring language from DE to PL , the UOM conversion is performing in Quality.

Only for language DE the conversion is not happening. Is there any configuration thats is missing in quality? Please advice.

3 REPLIES 3
Read only

Former Member
0 Likes
3,834

Have you been in debug in QA to see what the values it is getting are before it is executed?

Neal

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
3,834

Rakhi

Are the unit maintined in DE language..? Or do as Neal suggested debug it

Nabheet

Read only

Former Member
0 Likes
3,834

The issue  is resolved. The entry was missing for DE language in Qualiy in table T006A