Difference between revisions of "SAP BDS"

From SapWiki
Line 1: Line 1:
*BDSTESTOO - BDS: Programa de test p.métodos OO
+
==BDSTESTOO - BDS: Programa de test p.métodos OO==
 
ejemplo
 
ejemplo
 
  Método                            GET_WITH_TABLE
 
  Método                            GET_WITH_TABLE
Line 42: Line 42:
 
   endif.
 
   endif.
 
</nowiki>
 
</nowiki>
*BDSFIND_1 - Iniciar Business Document Navigator (trn. OAER)
+
==BDSFIND_1 - Iniciar Business Document Navigator (trn. OAER)==
 +
==Transacciones==
 +
* SBDSV1 - Actualizar clases de documento (tabla BDS_LOCL)
 +
==Paquete SBDS==

Revision as of 22:48, 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)

Transacciones

  • SBDSV1 - Actualizar clases de documento (tabla BDS_LOCL)

Paquete SBDS