Miscellaneous

Dynamic Select in ABAP terminates

http://itknowledgeexchange.techtarget.com/itanswers/dynamic-select-in-abap-termintes/


Dynamic Select in ABAP, Dynamic tables in select, Dynamic target area in select, ABAP

Dear abap experts,

The following sample report has a dynamic select statement which works for any table but it terminates at runtime for tables which include numeric fields of type i, p, or f.
The error message is, "The data object cannot be converted to a character-type object."
Is there any syntax in abap which gets around this problem?

REPORT ZYJK_DYNAMIC_WA2 MESSAGE-ID ZF.
parameters: ptabname type tabname default 'T001'.
parameters: pcount type i default '10'.
data: vcount type i.
data: wa type ref to data.
FIELD-SYMBOLS: <wa> TYPE ANY.
create data wa type (ptabname).
assign wa->* to <wa>.

Select * into <wa>
from (ptabname).
if vcount > pcount. Exit. Endif.
write: / <wa>(60).
add 1 to vcount.
endselect.

****************************end.

 

Documentation for SAP ERP

http://help.sap.com/content/documentation/erp/docu_sbs_erp.htm

 

从FTP服务器读取文件到本地

http://blog.chinaunix.net/u/28793/showart_336395.html

 

SAP ABAP Performance Tuning
Tips & Tricks-Proper use of INNER JOIN Statement

http://www.thespot4sap.com/articles/SAPABAPPerformanceTuning_InnerJoinStatement.asp

 

 

ABAP Gallery

http://www.blogtoplist.com/software/blogdetails-14026.html

 

FORM write_wa

http://blog.chinaunix.net/u1/40527/showart.php?id=440642

 

ABAP--关于字符串String到XString XString to String转换代码

http://blog.csdn.net/CompassButton/archive/2009/05/20/4204865.aspx

 

 

Pooled table and Cluster table

a. http://sap.javaeye.com/blog/122955

b. http://applemankt.blog.163.com/blog/static/4855287200810111265646/

 

http://help.sap.com/bp_bblibrary/500/documentation/E47_BB_ConfigGuide_EN_DE.doc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值