Академический Документы
Профессиональный Документы
Культура Документы
SAP Development SAP Reporting File Processing File Upload & Download Fi
Interfacing
Upload Tab delimited file from application server into ABAP intern
*&-------------------
---------------------
*& Report
ZUPLOADTAB
*
*&
*&-------------------
---------------------
*& Example of Uploadi
file
*&
*&---------------------------------------------------
REPORT zuploadtab .
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 2 of 7
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*****************************************************
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-na
wa_uploadtxt-na
wa_uploadtxt-ag
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*****************************************************
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal ta
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 3 of 7
Buzz ItShare
0 tweet
Login
z
Add
Subscribe in NewsGator Online
z
Add to My Yahoo!
z
Feedblitz
z
Add to Pageflakes
z
Add to Google
z
z Add
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 4 of 7
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 5 of 7
SAP Develpment
Ads by Google
Sap
Excel Sap Upload
ABAP Project
Sap ABAP Consulting
Sap Master Data
ALV
SAP ABAP List viewer
ABAP Reporting
SAPscript
Presenting data using
SAPScripts
SAP Help
SAP development
ABAP Help
ABAP development code
Dialog screens
ABAP dynpro screen
development
BAPI/RFC
Calling BAPI's and RFC's
File Upload and
Download
MS interface
Integrating SAP and
Microsoft
ABAP Performance
Improve performance
Testing / eCATT
Test SAP programs
SAP Graphics
Using graphics in sap
programs
MINISAP
Stand alone SAP system
for you home PC
SAP Upgrade
Upgrading your SAP ERP
system
SAP Currency /
Language conversion
Converting your SAP
system to handle mutiple
currencies/languages
SAP Security and
Authorisations
Security topics such as
authority checking and
password fields
SAP Netweaver
SAP Web
development
Developing SAP web
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 6 of 7
SAP
** S
PRO
MAN
SAP
** A
MAN
MAN
MAN
SAP
This
FI C
CON
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010
Upload tab delimited file from application server to SAP - ABAP Page 7 of 7
http://www.sapdev.co.uk/file/file_uptabsap.htm 11/30/2010