Fonction SAP BUX_CONVERT_TECHNICAL_DATA - Return of Historical Data for a Business Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IS_KEY_STRUCTURE ANY A 0 Changed table record key
IT_CURRENT_DATA ANY A 0
IV_EXCL_FIRST_KEY FIELDNAME C 30 Field Name
IV_OBJECTCLASS CDHDR-OBJECTCLAS C 15 Object class
IV_OBJECTID CDHDR-OBJECTID C 90 X Object value
IV_TABLENAME CDPOS-TABNAME C 30
IV_TECHNICAL_DATE SYST-DATLO D 8
IV_TECHNICAL_TIME SYST-UZEIT T 6 '235959' X Time

Paramètre Reférence Type Long. Description
ET_HISTORY_DATA ANY A 0

Exception Description
ERROR_WHILE_CONVERSION Error during conversion

Functionality
This function module determines the historical data for a particulardate. The function module has the following import parameters:

  • IV_OBJECTCLASS

  • This parameter holds the name of the object class for which the systemshould read the change documents.
    Value Range
    Maintain the object class with the transaction SCDO. The systemdoes not check the object class. If the specified object class does notexist, the system does not read any documents for it.
    Default
    This parameter has no default, you must always specify the value.
    • IV_TABLENAME

    • This parameter contains the table name for which the system should readthe change documents.
      Value range
      Enter the name of a table that belongs to the specified object class.The system reads only the documents belonging to the specified table.The system does not check the table name.
      Default
      By default, the table name does not affect the selection.
      • IV_TECHNICAL_DATE

      • This parameter contains the date from which the system should determinethe change documents.
        Value range
        Enter either the initial value or a valid date. If you enter the initialvalue, the date does not affect the selection. If you enter a validdate, the system determines only the change documents from the specifieddate. The system does not check the date. You must enter the date in theformat YYYYMMDD.
        Default
        By default, the date does not affect the selection.
        • IV_TECHNICAL_TIME

        • This parameter contains the time from which the system should determinethe change documents.
          Value range
          Enter either the initial value or a valid time. If you enter the initialvalue, the time does not affect the selection. If you enter a validtime, the system determines only the change documents from the specifieddate and the specified time. The system does not check the time. Youmust enter the time in the format HHMMSS.
          Default
          By default the time does not affect the selection.
          • IT_CURRENT_DATA

          • This parameter contains the current data based on which the systemderives the historical data.
            Value range
            Enter the current data that is present in the table.
            Default
            This parameter has no default, you must always specify the value.
            • IS_KEY_STRUCTURE

            • This parameter contains the details of the key fields of the record forwhich the historical data is required.
              Value range
              Enter the values of the key fields of the records of the table.
              Default
              This parameter has no default, you must always specify the value.
              • IV_EXCL_FIRST_KEY

              • This parameter contains the name of the first key field whose value isnot there in the IS_KEY_STRUCTURE.
                Value range
                You can enter a space or a value.
                Default
                This parameter has no default, you must always specify the value.
                • ET_HISTORY_DATA

                • This parameter holds the historical data.