Difference between revisions of "SAP BDS"

From SapWiki
Line 44: Line 44:
 
==BDSFIND_1 - Iniciar Business Document Navigator (trn. OAER)==
 
==BDSFIND_1 - Iniciar Business Document Navigator (trn. OAER)==
 
==Objetos==
 
==Objetos==
 +
===Paquete SBDS===
 +
===Clases===
 +
* CL_BDS_DOCUMENT_SET
 
===Transacciones===
 
===Transacciones===
 
* SBDSV1 - Actualizar clases de documento (tabla BDS_LOCL)
 
* SBDSV1 - Actualizar clases de documento (tabla BDS_LOCL)
 
==Paquete SBDS==
 

Revision as of 22:50, 3 September 2024

BDSTESTOO - BDS: Programa de test p.métodos OO

ejemplo

Método                            GET_WITH_TABLE
Sistema lógico
Nombre de categoría               PICTURES
Tipo de clase                     OT
Mandante                          400
Clave                             HOTEL_5_STAR
  WHEN 'GET_WITH_TABLE'.
    REFRESH i_signature.
    CALL METHOD o_document_set->get_with_table
                             EXPORTING
                                 logical_system = i_logical_system
                                    classname = i_classname
                                    classtype = i_classtype
                                    client    = i_client
                                    object_key = i_object_key
                             CHANGING
                                    content = i_content
                                    signature = i_signature
                                    components = i_components
                             EXCEPTIONS
                                    OTHERS = 1.

  READ TABLE i_components INDEX 1 INTO ls_components.
  IF sy-subrc = 0.
    ld_out_len = ls_components-comp_size.
  ELSE.
    ld_out_len = 0.
  ENDIF.

  IF ld_out_len > 0.
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
      EXPORTING
        input_length         = ld_out_len
      IMPORTING
        buffer                = ed_file
      TABLES
        binary_tab            = i_content.
  endif.

BDSFIND_1 - Iniciar Business Document Navigator (trn. OAER)

Objetos

Paquete SBDS

Clases

  • CL_BDS_DOCUMENT_SET

Transacciones

  • SBDSV1 - Actualizar clases de documento (tabla BDS_LOCL)