SAP Function BAPI_CONVERSION_EXT2INT1 - Convert data from external format into internal 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 externalformat into the internal format (domain conversion). This type ofconversion is required to prepare data for further processing in theR/3 System.
With this method, you can, for example, convert data from its formatdisplayed on the screen into the R/3 internal data format.
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 parameter.
If no conversion routine for a parameter has been specified in the ABAPDictionary, the external 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.DataConversionInt2Ext1 converts data from theinternal format to the external format.
The old method BapiService.DataConversionInt2Ext is obsolete and hasbeen replaced by the above method.

Description
Contains the data that is to be converted from the external format intothe internal 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 EXT_FORMAT

      • After calling the method, receive the converted format in field
      • INT_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