on 11-21-2005 11:49 AM
Hi,
I need to call the FM CONVERSION_FACTOR_GET with
parameters
UNIT_IN = X
UNIT_OUT = Y
Y is 'HRS' which is okay but I need to pass X which is of type <b>CGPL_DURATION_UNIT</b> so I need to first convert it into type <b>MSEHI</b>.
<b>Is there any function module or method of some class to convert type CGPL_DURATION_UNIT to type MSEHI?</b>
Thanks in advance,
Saurabh
Hi Saurabh,
I don't think you have to use convert the Duration unit into MSEHI type. YOu can just declare a variable of type T006-MSEHI in the calling program, assign the value of X directly to that variable and pass it directly to the FM.
<b>LV = x.</b>
If it is giving a problem, then use
any one of the the conversion routies,
CONVERSION_EXIT_CUNIT_INPUT
CONVERSION_EXIT_CUNIT_OUTPUT
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi the following two Function Modules will help u.
CONVERSION_EXIT_CUNIT_INPUT
CONVERSION_EXIT_CUNIT_OUTPUT
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i guess you dont need to convert , becuase if you see the type definition both (CGPL_DURATION_UNIT & MSEHI) uses domain "MEINS".
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You may have to use either of one from the FMs.
CONVERSION_EXIT_CUNIT_INPUT
CONVERSION_EXIT_CUNIT_OUTPUT
Thanks,
Ramakrishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.