SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Units of Measurement(BC-SRV-ASF-UOM) SAP BC

CONTEXT_X_UNIT_CONVERSION SAP ABAP INCLUDE - Context for FM CONVERSION_FACTOR_GET








CONTEXT_X_UNIT_CONVERSION is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Check out the submitted Comments related to this SAP report or see any standard documentation available. Also check out the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. If you would like to execute this report or see the full code listing simply enter CONTEXT_X_UNIT_CONVERSION into the relevant SAP transactions such as SE38 or SE80

ABAP code to call this SAP report using the submit statement

SUBMIT CONTEXT_X_UNIT_CONVERSION. "Basic submit

SUBMIT CONTEXT_X_UNIT_CONVERSION AND RETURN. "Return to original report after report execution complete

SUBMIT CONTEXT_X_UNIT_CONVERSION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user

See more syntax options for the ABAP SUBMIT statement

Contribute (Add Comments)
Below is the basic information available for SAP report CONTEXT_X_UNIT_CONVERSION and is provided for your convenience to access as and when required. Although the basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name CONTEXT_X_UNIT_CONVERSION or its description.

INCLUDES used within this REPORT:

INCLUDE CONTEXT_I_UNIT_CONVERSION.
INCLUDE CONTEXT_PROCESSOR_VERSION.


TABLES used within REPORT and the associated SELECT statement:

NO SAP DATABASE TABLES are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CONTEXT_NEW_PROCESSOR_VERSION CALL FUNCTION 'CONTEXT_NEW_PROCESSOR_VERSION'.

CONVERSION_FACTOR_GET CALL FUNCTION 'CONVERSION_FACTOR_GET' EXPORTING UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING ADD_CONST = O-B0001-ADD_CONST DECIMALS = O-B0001-DECIMALS DENOMINATOR = O-B0001-DENOM_OUT NUMERATOR = O-B0001-NOM_OUT.

CONVERSION_FACTOR_GET CALL FUNCTION 'CONVERSION_FACTOR_GET' EXPORTING UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING ADD_CONST = O-B0001-ADD_CONST DECIMALS = O-B0001-DECIMALS DENOMINATOR = O-B0001-DENOM_OUT NUMERATOR = O-B0001-NOM_OUT EXCEPTIONS ERROR_MESSAGE = 1.

CONVERT_TO_FRACT10 CALL FUNCTION 'CONVERT_TO_FRACT10' EXPORTING NOMIN = O-B0001-NOM_OUT DENOMIN = O-B0001-DENOM_OUT IMPORTING NOMOUT = O-B0002-FRAC10_NOM_OUT DENOMOUT = O-B0002-FRAC10_DENOM_OUT.

CONVERT_TO_FRACT10 CALL FUNCTION 'CONVERT_TO_FRACT10' EXPORTING NOMIN = O-B0001-NOM_OUT DENOMIN = O-B0001-DENOM_OUT IMPORTING NOMOUT = O-B0002-FRAC10_NOM_OUT DENOMOUT = O-B0002-FRAC10_DENOM_OUT EXCEPTIONS ERROR_MESSAGE = 1.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING NOMIN = O-B0001-NOM_OUT DENOMIN = O-B0001-DENOM_OUT IMPORTING NOMOUT = O-B0003-FRAC5_NOM_OUT DENOMOUT = O-B0003-FRAC5_DENOM_OUT.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING NOMIN = O-B0001-NOM_OUT DENOMIN = O-B0001-DENOM_OUT IMPORTING NOMOUT = O-B0003-FRAC5_NOM_OUT DENOMOUT = O-B0003-FRAC5_DENOM_OUT EXCEPTIONS ERROR_MESSAGE = 1.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = O-B0007-INPUT ROUND_SIGN = O-B0010-ROUND_SIGN UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING OUTPUT = O-B0004-OUTPUT.




UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = O-B0007-INPUT ROUND_SIGN = O-B0010-ROUND_SIGN UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING OUTPUT = O-B0004-OUTPUT EXCEPTIONS ERROR_MESSAGE = 1.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = O-B0006-FLTP_INPUT ROUND_SIGN = O-B0010-ROUND_SIGN UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING OUTPUT = O-B0005-FLTP_OUTPUT.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = O-B0006-FLTP_INPUT ROUND_SIGN = O-B0010-ROUND_SIGN UNIT_IN = O-B0008-MSEHI_IN UNIT_OUT = O-B0009-MSEHI_OUT IMPORTING OUTPUT = O-B0005-FLTP_OUTPUT EXCEPTIONS ERROR_MESSAGE = 1.

RS_COMPLEX_OBJECT_EDIT CALL FUNCTION 'RS_COMPLEX_OBJECT_EDIT' EXPORTING OBJECT_NAME = FNAME CHANGING OBJECT = .


Text pool values


Title: Context for FM CONVERSION_FACTOR_GET