Ansicht
Dokumentation

CARD_CHAR_READ_DEP -

CARD_CHAR_READ_DEP -

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to read the dependencies for a characteristic. The first time you call this module, you see a list of the names of global dependencies. Each time you call this module, you see a local dependency with source code, description, and any documentation.

Example

*=======================================================================
* Characteristic: Read dependency
*=======================================================================

  data:  basic  like depdat,
         descr  like depdescr  occurs 0 with header line,
         docu   like doc_lang  occurs 0 with header line,
         source like depsource occurs 0 with header line.

  data:  get_next(1) type c value ' '.

* Initialize API calls
  call function 'CALO_INIT_API' ...

  do.
    call function 'CARD_CHAR_READ_DEP'
         exporting
              characteristic      = 'CHAR1'
              get_next_dependency = get_next
         importing
              basic_data          = basic
         tables
              description         = descr
              documentation       = docu
              source              = source
              dep_assign          = alloc
         exceptions
              error               = 1
              warning             = 2
              others              = 3.

    if sy-subrc <> 0.
      if sy-subrc > 1.
        "error handling...
      endif.
      exit.
    endif.

    loop at source.
      "...
    endloop.
    get_next = 'X'.

  enddo.

*=======================================================================

Notes

Further information





Parameters

CHANGE_NO
CHARACTERISTIC
DATE
DEPENDENCY_DATA
DEPENDENCY_ORDER
DEP_ASSIGN
DESCRIPTION
DOCUMENTATION
GET_NEXT_DEPENDENCY
RETURN
SOURCE

Exceptions

Function Group

CACTR

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4143 Date: 20240523 Time: 073247     sap01-206 ( 33 ms )