Fonction SAP BAPI_CONVERSION_EXT2INT - Convert data from external format into internal format

Paramètre Reférence Long. Facultatif Description
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 tobe formatted is specified and transferred in the "data" parameter. Oncethe method has been called, the converted data is also stored in thisparameter.
If no conversion routine for a parameter has been specified in the ABAPDictionary, the external data format will be returned unconverted.

Notes
This method is obsolete as of Release 4.5B and should no longer beused. Instead you should use methodBapiService.DataConversionExt2Int1..
Error messages arising from calling the method or converting the dataare returned in the parameter RETURN.
The documentation on this parameter contains the return codes and theirdescriptions.
The method BapiService.DataConversionInt2Ext converts data from theinternal format to the external format.

Description
Contains the data to be converted from the external data format intothe internal data format.
In the field of this structure you can:

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

    • Specify the data to be converted in the EXT_FORMAT format

      • Receive the converted data in the field INT_FORMAT after the method has
      • been called.
        If errors occur calling the method or converting the data, an errormessage is returned in the parameter RETURN. To display the entry in arow in which an error has occurred, a value must be entered in thefield ROWNUMBER in the parameter DATA before the method is called.Enter unique row numbers in the field ROWNUMBER becasue the table willbe sorted.

        Description
        Error messages for the method.

        Value range
        If errors do occur the following messages are returned:

        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 does not exist in method parameter 3
        E S&012 Transfer either the object name or the object type
        E S&022 No field name has been transferred

        Conversion Messages:
        All returns that can occur in individual conversion routines arepossible when the data is converted. They are forwarded in the RETURNparameter directly to the calling program.

206068Error when calling a BAPI from the Business Connector