Posts

Showing posts with the label Abap

TÀI LIỆU HƯỚNG DẪN LẬP BẢNG TỔNG HỢP CHI TIẾT CÔNG NỢ PHẢI THU, PHẢI TRẢ TRÊN SAP-ERP

Image
 

Download the Abap Internal Table to A File in SAP Application Server

Image
Input. Ta có bảng sau, chứa thông tin về một document Và có một form nhập thông tin đầu vào. Một số Tcode Output. Đưa ra được file text có chứa data của bảng trên Có 4 bước cơ bản để thực hiện việc download 1 bảng Internal table đến 1 file trong SAP Application Server Declare a Abap Internal table and Fill the internal table with required data. Use OPEN DATASET ABAP statement to open/create a file on the SAP Application Server Loop through the internal table and use TRANSFER TABLE statement to move each internal table record to file on application server. Close the file on the application server using CLOSE DATASET ABAP statement Below program uses OPEN DATASET, TRANSFER AND CLOSE DATASET statement to download file TABLES  ZBKEG . DATA :  TT_ZBKEG  TYPE  STANDARD  TABLE  OF  ZBKEG ,       WA_ZBKEG  TYPE  ZBKEG . INITIALIZATION . SELECT-OPTIONS :  S_BU...