1. CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'DIR_XXX'2. ID 'VALUE' FIELD searchpoints-dirname.对于⼈⼿维护的⽬录, 它们保存在表user_dir⾥⾯, 这个表还是maintenance allowed AL11的user_dir创建 Step 1: 点configure Step 2: 点Save保存, Create这个键没什么⽤, 有兴趣的可以看看代码 ...
use FM gui upload to get data in internal table and then use OPEN DATASET command to write the file from internal table to application server. Example:- filepath(200) TYPE c default 'E:\usr\sap\DB7\DVEBMGS00\work\custno.csv' OPEN DATASET filepath FOR OUTPUT IN TEXT MODE encoding defa...
SAP Managed Tags: ABAP Development Read from the file on the application server using the OPEN DATASET and READ DATASET statements. Split the read string at ',' into variables. Assign this to an internal table of the type to be downloaded and use the function module GUI_DOWNLOAD to d...
SAP Managed Tags: ABAP Development Hi, I am able to loop an internal table and write to csv file in AL11 directory. But how to write to excel file instead of csv file. And how to format the excel file (for example, column B should be format to numeric and column E should format...
CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'DIR_XXX' ID 'VALUE' FIELD searchpoints-dirname. 对于人手维护的目录, 它们保存在表user_dir里面, 这个表还是maintenance allowed AL11的user_dir创建 Step 1: 点configure Step 2: 点Save保存, Create这个键没什么用, 有兴趣的可以看看代码 Step 3: 查看结果 ...
SAP Managed Tags: ABAP Connectivity Hi, Try this code, === TYPES : BEGIN OF ty_emp, empno(2) TYPE c, empid(10) TYPE c, empname(3) TYPE c, END OF ty_emp. DATA : it_emp TYPE TABLE OF ty_emp, wa_emp TYPE ty_emp. DATA : pbk TYPE string. SELECTION-SCREEN BEGIN OF BLO...
SAP Managed Tags: ABAP Development Hi, But, at this way; I'll create a plain file with the internal table info. I need to create a PDF file in server. Reply Former Member In response to Former Member 2009 Mar 09 4:09 PM 0 Kudos 2,500 SAP Managed Tags: ABAP Developmen...
SAP Managed Tags: ABAP Connectivity Hi, Try this code, === TYPES : BEGIN OF ty_emp, empno(2) TYPE c, empid(10) TYPE c, empname(3) TYPE c, END OF ty_emp. DATA : it_emp TYPE TABLE OF ty_emp, wa_emp TYPE ty_emp. DATA : pbk TYPE...