Funktionsbaustein | Z_UTIL_CONVERT_NUMBER_TO_HEX | aktiv |

Fbausteindokumentation
Eigenschaften | Import | Export | Changing | Tabellen | Ausnahmen | Quelltext
Klassifikation
Funktionsgruppe | ZUTIL |  | Hilfsmittel
Kurztext | Zahl in einen Hexadezimal-String konvertieren
Ablaufart
| Normaler Funktionsbaustein
| Remote fähiger Baustein
| Verbuchungsbaustein
|  | Start sofort
|  | Start sofort-nicht nachverbuchbar
|  | Start verzögert
|  | Sammellauf
Allgemeine Daten
Verantwortlicher | CREYTZ
letzter Änderer | CREYTZ
Änderungsdatum | 02.03.2021
Paket | ZUTIL
Programmname | SAPLZUTIL
Includename | LZUTILU01
Originalsprache | D
Nicht freigegeben |
| Editiersperre
| Global
Parametername | Typisierung | Bezugstyp | Vorschlagswert | Optional | Wertübergabe | Kurztext | Langtext
--- | --- | --- | --- | --- | --- | --- | ---
IV_NUM | TYPE | ANY |  |  |  | eine Zahl |
Parametername | Typisierung | Bezugstyp | Wertübergabe | Kurztext | Langtext
--- | --- | --- | --- | --- | ---
EV_HEX | TYPE | STRING |  | Hexadezimalzahl |
txt
    1
    FUNCTION z_util_convert_number_to_hex.
    2
    *"----------------------------------------------------------------------
    3
    *"*"Lokale Schnittstelle:
    4
    *"  IMPORTING
    5
    *"     REFERENCE(IV_NUM) TYPE  ANY
    6
    *"  EXPORTING
    7
    *"     REFERENCE(EV_HEX) TYPE  STRING
    8
    *"----------------------------------------------------------------------
    9
    10
    *&---------------------------------------------------------------------*
    11
    *&  Function Module   Z_UTIL_CONVERT_NUMBER_TO_HEX                     *
    12
    *&                                                                     *
    13
    *&---------------------------------------------------------------------*
    14
    *&                                                                     *
    15
    *& This program is free software: you can redistribute it and/or       *
    16
    *& modify it under the terms of the GNU General Public License as      *
    17
    *& published by the Free Software Foundation, either version 3 of the  *
    18
    *& License, or any later version.                                      *
    19
    *&                                                                     *
    20
    *& This program is distributed in the hope that it will be useful,     *
    21
    *& but WITHOUT ANY WARRANTY; without even the implied warranty of      *
    22
    *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                *
    23
    *& See the GNU General Public License for more details.                *
    24
    *&                                                                     *
    25
    *& You should have received a copy of the GNU General Public License   *
    26
    *& along with this program. If not, see <http://www.gnu.org/licenses/>.*
    27
    *&                                                                     *
    28
    *&---------------------------------------------------------------------*
    29
    *&                                                                     *
    30
    *&  Author:     Ruediger von Creytz     ruediger.creytz@globalbit.net  *
    31
    *&  Copyright:  globalBIT, LLC          http://www.globalbit.net       *
    32
    *&  Version:    20210302                                               *
    33
    *&                                                                     *
    34
    *&---------------------------------------------------------------------*
    35
    36
      CLEAR ev_hex.
    37
    38
      PERFORM number_to_hex_string
    39
        USING
    40
          iv_num
    41
        CHANGING
    42
          ev_hex.
    43
    44
    ENDFUNCTION.