EXL输出问题,无法输出

[复制链接]
查看11 | 回复3 | 2008-4-30 13:57:32 | 显示全部楼层 |阅读模式
PERFORM fill_item_cell USING row 1wa_kna1-kunnr .
FORM fill_item_cellUSING p_row p_col p_val .
* WRITE VALUE
CALL METHOD OF excel 'CELLS' = cell
EXPORTING
#1 = p_row
#2 = p_col.
SET PROPERTY OF cell 'VALUE' = p_val.

代码如上,debugg‘ SET PROPERTY OF cell 'VALUE' = p_val.’ 这句话 sy-subrc = 2.问题出在这里,如果= 0 可输出。= 2是什么意思?请问如何解决?
回复

使用道具 举报

千问 | 2008-4-30 13:57:32 | 显示全部楼层
看帮助文档
sy-subrc Meaning
0 Successful transfer of object properties
1 Error in communication to the SAP GUI
2 Error in function call in the SAP GUI
3 Error setting a property
4 Error reading a property
回复

使用道具 举报

千问 | 2008-4-30 13:57:32 | 显示全部楼层
3q
回复

使用道具 举报

千问 | 2008-4-30 13:57:32 | 显示全部楼层
原帖由 rosefish 于 2008-8-13 08:33 发表
看帮助文档
sy-subrc Meaning
0 Successful transfer of object properties
1 Error in communication to the SAP GUI
2 Error in function call in the SAP GUI
3 Error setting a property
4 Error reading a property

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行