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

ALV Factory Method Issue

kabil_g
Active Participant
0 Likes
804

Dear Freinds,

I have converted the unit of measurement and when giving output. While debugging getting correctly to my final internal table..

I am using ALV Factory Method to display it is showing ***  ....Pls help me out.

Internal unit AU, language EN is not maintained

CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT'

           EXPORTING

             input     = gw_mseg-erfme

             language  = sy-langu

           IMPORTING

*           LONG_TEXT =

             output    = gw_final-meins.

Regards,

Kabil

1 ACCEPTED SOLUTION
Read only

agnihotro_sinha2
Active Contributor
0 Likes
734

You can only pass values in "input     = gw_mseg-erfme" which are mainatined in the table -T006A field MSEHI.

AU is not maintained there so this error.


try checking with anything like "KG" and you will get

LONG_TEXT                       Kilogram

OUTPUT                          KG

SHORT_TEXT                      Kilogram

Dear Freinds,

I have converted the unit of measurement and when giving output. While debugging getting correctly to my final internal table..

I am using ALV Factory Method to display it is showing ***  ....Pls help me out.

Internal unit AU, language EN is not maintained

CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT'

           EXPORTING

             input     = gw_mseg-erfme

             language  = sy-langu

           IMPORTING

*           LONG_TEXT =

             output    = gw_final-meins.

Regards,

Kabil

3 REPLIES 3
Read only

agnihotro_sinha2
Active Contributor
0 Likes
735

You can only pass values in "input     = gw_mseg-erfme" which are mainatined in the table -T006A field MSEHI.

AU is not maintained there so this error.


try checking with anything like "KG" and you will get

LONG_TEXT                       Kilogram

OUTPUT                          KG

SHORT_TEXT                      Kilogram

Read only

former_member201275
Active Contributor
0 Likes
734

Have you looked at table T006A? This contains the allowed values.

Read only

kabil_g
Active Participant
0 Likes
734

Dear Friends,

I have changed the MEINS Field as character data type in Final internal table Issue Solved .

Thanks.for your prompt reply. Closing this thread.

Kabil