This document defines variables and data types used for invoice processing in ABAP. It declares table types for invoice header and item data, as well as variables for material, package, order, and billing information. Data types are defined for invoice response and condition records.
This document defines variables and data types used for invoice processing in ABAP. It declares table types for invoice header and item data, as well as variables for material, package, order, and billing information. Data types are defined for invoice response and condition records.
This document defines variables and data types used for invoice processing in ABAP. It declares table types for invoice header and item data, as well as variables for material, package, order, and billing information. Data types are defined for invoice response and condition records.
* INCLUDE LZSD_FACTURA_ENVASESD... " Local class definition
DATA: ti_vbrp LIKE TABLE OF vbrp WITH HEADER LINE,
ti_mvke LIKE TABLE OF mvke WITH HEADER LINE, ti_packpo LIKE TABLE OF packpo WITH HEADER LINE, ti_packpo2 LIKE TABLE OF packpo WITH HEADER LINE, ti_cabecera TYPE zttsd002, es_cabecera TYPE LINE OF zttsd002, ti_items TYPE zttsd003, es_items TYPE LINE OF zttsd003, ti_precios TYPE zttsd004, ti_respuesta_cabe TYPE zttsd005, es_respuesta_cabe TYPE LINE OF zttsd005, ti_respuesta_deta TYPE zttsd006, ti_billing TYPE TABLE OF bapivbrk WITH HEADER LINE, ti_return TYPE TABLE OF bapireturn1 WITH HEADER LINE, ti_condition TYPE TABLE OF bapikomv WITH HEADER LINE, ti_ccard TYPE TABLE OF bapiccard_vf WITH HEADER LINE.
DATA: BEGIN OF ti_facturar OCCURS 0,
matnr LIKE mara-matnr, bismt LIKE mara-bismt, meins LIKE mara-meins, mtpos_mara LIKE mara-mtpos_mara, umrez LIKE marm-umrez, meinh LIKE marm-meinh, END OF ti_facturar.
DATA: es_vbak LIKE vbak.
DATA: lv_norma LIKE packkp-pobjid,
lv_mat(4), lv_packnr LIKE packkp-packnr, lv_pedido LIKE vbak-vbeln, lv_posnr LIKE vbap-posnr, lv_matnr LIKE mara-matnr. DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.