SAP Function BAPI_CONVERSION_INT2EXT1 - Convert data from Internal Format into External Format

Parameter Reference Length Optional Text
DATA BAPICONVRS 656 X Conversion Data
RETURN BAPIRET2 548 X Return Messages

Functionality
This method converts the data in method parameters from the internalformat into the external format (domain conversion). This type ofconversion is required to prepare data for external use, for example,to display on the screen.
The data to be formatted is specified and transferred in the "data"parameter. Once the method has been called, the converted data is alsostored in this structure.
If no conversion routine for a parameter has been specified in the ABAPDictionary, the internal data format will be returned unconverted.

Notes
Messages for errors when calling the method call or converting the dataare reported in the return parameter. This parameter documentationcontains the return values and their meanings.
The method BapiService.DataConversionExt2Int converts data from theexternal format to the internal format.

Description
Contains the data that is to be converted from the internal format intothe external format.
In the fields of this structure you should:

  • Identify the values for which a domain conversion is to be carried out.

    • Transfer the values to be converted in field INT_FORMAT

      • After calling the method, receive the converted format in field
      • EXT_FORMAT.
        If there is an error when calling the method or converting the formatan error message is returned in the parameter RETURN. To find out inwhich line the error occurred, the field ROWNUMBER in parameter DATAmust be set before the method is called.
        Enter a unique line number in the field ROWNUMBER as the table issorted.

        Description
        Error messages about the method.

        Value range
        If there is an error, the following messages may be issued:

        Input check messages
        Type Code Message
        E S&002 Method &2 of object &1 does not exist
        E S&003 Parameter &3 of object method 2 does not exist
        E S&004 Field &1 of method parameter 3 does not exist
        E S&012 Either transfer the object name or the object type
        E S&022 No field name has been transferred

        Messages about the conversion
        All return values that can occur in the individual conversion routinesare possible for the conversions. These values are forwarded to thecalling program in the return parameter.

206068Error when calling a BAPI from the Business Connector